summaryrefslogtreecommitdiff
path: root/source4/main.mk
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r14350: Keep "make proto". It's hard to forget old habits. :-)Jelmer Vernooij1-1/+2
(This used to be commit e0d96ecfb41d99eee818ba12dd6bbc251f938c14)
2007-10-10r14349: Kill proto.h!Jelmer Vernooij1-12/+8
Prototypes are now spread over multiple headers, usually one per subsystem. This change is required to allow proper header dependencies later on, without recompiling Samba each time the mtime of any source file changes. (This used to be commit 3da79bf909f801386a52e6013db399c384d0401c)
2007-10-10r14327: Replace MAJOR_VERSION/MINOR_VERSION/RELEASE_VERSION with two parameters:Jelmer Vernooij1-9/+0
- VERSION: should contain the current version. Will be made part of the filename. - SO_VERSION: should contain the latest version that this on is compatible to. Will be used for setting the soname of the shared library. Fix sonames and use them on platforms that support them Remove symlinking code. ldconfig will take care of creating the symlinks now that we set the soname. (This used to be commit 7871b07e21c85c63d0ecac4c31b98dc112d18af5)
2007-10-10r14322: Remove the BROKEN_CC flag for now. None of the buildfarm hosts hasJelmer Vernooij1-0/+14
a C compiler that doesn't support -c and -o together and it makes the build system more complicated. This also means the current handling of broken C compilers is most likely broken as it isn't tested. This detection can be readded when we stumble upon a C compiler that supports both C99 (or at least the parts of it we need) and also has broken -c/-o handling, which I think is unlikely to happen. (This used to be commit 7fd74cfbb90063c79994fb6691dbe456d9ad9efa)
2007-10-10r14281: Pull apart LIBDIR and MODULESDIRJelmer Vernooij1-3/+6
Move architecture-independent data to DATADIR (was LIBDIR) (This used to be commit 2c7b62a861f702067e8df4c3239ac7e377631a15)
2007-10-10r14097: Remove subsystem names when installing modules (they're already ↵Jelmer Vernooij1-1/+1
installed in a subsystem-specific directory) No longer install smb.h as it only contains (internal) constants. (This used to be commit b76126628c21755bb8d30e72e3044bd1785a2447)
2007-10-10r14094: Use saner module directory names, fix loading of server service modules.Jelmer Vernooij1-3/+4
(This used to be commit b6ffad3860ba2cf9d8f3423d65be91dcfc962ca2)
2007-10-10r14072: - only add the 'lib' prefix to libraries not modulesStefan Metzmacher1-2/+8
- fix installation of plugins (and make it a bit more verbose - get rid of the '#define libfoo_module_init init_module' and genereated a wrapper function in bin/libfoo_module_init_module.c - change the standard visibility for modules to hidden - a few make clean fixes metze (This used to be commit 89b5667ab0f761e679fdee0f5c3d94942e67e28e)
2007-10-10r13938: Around round of splitupsJelmer Vernooij1-0/+1
(This used to be commit 2d655f05285a86bb1bbb882e4dd843def15c9dfa)
2007-10-10r13926: More header splitups.Jelmer Vernooij1-2/+1
(This used to be commit 930daa9f416ecba1d75b8ad46bb42e336545672f)
2007-10-10r13924: Split more prototypes out of include/proto.h + initial work on headerJelmer Vernooij1-1/+1
file dependencies (This used to be commit 122835876748a3eaf5e8d31ad1abddab9acb8781)
2007-10-10r13905: include/includes.h now includes param/param.h..Jelmer Vernooij1-1/+2
(This used to be commit 408ecfb75464f287a91e3f20627a9b54370824ee)
2007-10-10r13658: More moving around of files:Jelmer Vernooij1-1/+1
- Collect the generic utility functions into a lib/util/ (a la GLib is for the GNOME folks) - Remove even more files from include/ (This used to be commit ba62880f5b05c2a505dc7f54676b231197a7e707)
2007-10-10r13653: Copy headers from the right placeJelmer Vernooij1-1/+1
(This used to be commit 5e884f156f8f824b0540351ce07cd423595d9d1f)
2007-10-10r13246: Print winbindd pipe location correctly.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit fc045b42c24d9bfb10b9f98f38c771df4abcdee0)
2007-10-10r13244: Allow control of the location of the Samba3-compatible winbindd pipeAndrew Bartlett1-13/+14
in Samba4. This allows us to start winbindd by default, including in 'make test'. This is via a new 'winbindd socket directory' parameter for utilities linked against loadparm, as well as a --with-winbindd-socket-dir option to configure (setting the default and the value for simple clients). I hope to add basic winbindd tests, to ensure continued correct operation, but at least now I don't have to manually change my 'server services' line. The other problem with the hard-coded /tmp/.winbind is that RedHat has moved this in Fedora (to /var/run I think). For this reason, this functionality should probably be ported to Samba3 as well. The default for Samba4 is PREFIX/var/run/winbind_pipe. I have also re-added the paranoia checks from Samba3 for correct permissions on the socket directory. Andrew Bartlett (This used to be commit 8866aa06ffc3896094c878e9c07b40c03826d9a7)
2007-10-10r13158: Fix setup and ejs pathsJelmer Vernooij1-2/+4
(This used to be commit c3bc39bd713e2a2b0a270d22e38fe39959a6a7c9)
2007-10-10r13153: Try to move closer to FHS. This probably breaks everything...Andrew Bartlett1-1/+3
Andrew Bartlett (This used to be commit 2c02a45d5a6c79ced7aea0f7e9d23fae19c2d127)
2007-10-10r13070: Add a simple smbd manpage, based on the Samba 3 one.Jelmer Vernooij1-0/+3
(This used to be commit cbcce3b5731d27e863c916731fe30acac0602c16)
2007-10-10r12972: Use single quotes in the showflags and showlayout targets to stop theJames Peach1-20/+20
shell interpreting the expanded make variables. (This used to be commit ae7541a377eb9bd4a5b8b2bd779811e354f80d4a)
2007-10-10r12801: Some more include/ cleanups (remove unused macros + move filesJelmer Vernooij1-3/+2
to specific dirs) (This used to be commit 243cf760b077e155f5ac508aeebf819f7708a84e)
2007-10-10r12772: - create variables for the %(patsubst ...) statements for the idl filesStefan Metzmacher1-0/+17
- this also fixes the build on BSD systems metze (This used to be commit 31ff172773f1700bfd7ff24fc764d37d9b6e82c1)
2007-10-10r12751: Another make clean fix.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit 9e6997d5bde306f442b2c7379870af6495e11d25)
2007-10-10r12696: Reduce the size of include/structs.hJelmer Vernooij1-1/+1
(This used to be commit 63917616016133c623fc6ff59454bc313ee7dd8f)
2007-10-10r12694: Move some headers to the directory of the subsystem they belong to.Jelmer Vernooij1-1/+3
(This used to be commit c722f665c90103f3ed57621c460e32ad33e7a8a3)
2007-10-10r12693: Move core data structures out of smb.h into core.hJelmer Vernooij1-2/+5
torture prototypes in seperate header (This used to be commit 73610639b23ca3743077193fa0b1de7c7f65944d)
2007-10-10r12675: fix some dependencies and don't use long linesStefan Metzmacher1-8/+16
metze (This used to be commit 80bf8b5716bf49b5aaf289cee66a6aac72877dad)
2007-10-10r12670: Make a couple of dependencies stricterJelmer Vernooij1-0/+2
Re-introduce and use the OUTPUT_TYPE property for MODULEs to force specific modules to always be included (This used to be commit f9eede3d40098eddc3618ee48f9253cdddb94a6f)
2007-10-10r12615: prepare building with ../samba4/source/configure ↵Stefan Metzmacher1-1/+1
--srcdir=../samba4/source/ metze (This used to be commit bf35c74218476fc568e251bb337e794ed9d51fac)
2007-10-10r12559: use the selftest_prefix, we should use this for all make test output,Stefan Metzmacher1-1/+1
(e.g. the pidl tests and tdbtests, tridge, jelmer can you look at this) to not polute the source/ directory with a lot of files metze (This used to be commit 4636f9ee7d066f5e24393f94644dbf74c42b9039)
2007-10-10r12556: added 'make gdbtest'Andrew Tridgell1-0/+4
this runs smbd under gdb in a xterm, and starts the quicktest tests. Then you can set a breakpoint on an interesting place. This makes it easier to track down where something is happening in the test suite (I used it to find the NTLMSSP annoyance from the previous commit) (This used to be commit 2c3b7585c76d13107d1b0d31aebef961627cdbc3)
2007-10-10r12550: - fixed 'make pch' to always rebuild the gch file. The dependenciesAndrew Tridgell1-2/+3
were wrong, and we were using old gch files after include changes, so safest to just rebuild when the user specifically asks for 'make pch' - fixed deps for includes.h so 'make pch' can work after a clean build - changed 'make valgrindtest' to run valgrind on both client and server binaries (This used to be commit d39c749c71d66dd21e37cdaa75daaaeab5f4be0a)
2007-10-10r12542: Move some more prototypes out to seperate headersJelmer Vernooij1-1/+2
(This used to be commit 0aca5fd5130d980d07398f3291d294202aefe3c2)
2007-10-10r12530: Let include/includes.h depend on lib/basic.h (which it includes)Jelmer Vernooij1-0/+2
(This used to be commit 90129b081e5bda3c69c3f01f53704b5d34817605)
2007-10-10r12528: Add seperate proto headers for ntvfs, tdr, smb_server and nbt_server.Jelmer Vernooij1-2/+2
(This used to be commit 87f665a1d5ba74289974bf9d8f9441c162e6f1b1)
2007-10-10r12523: Convert the registry subsystem to use a seperate prototype headerJelmer Vernooij1-1/+4
(note that this doesn't use the distinction between private and public prototypes yet) (This used to be commit 60e11f575821c1762b25ad66441b6e69ad1167ef)
2007-10-10r12520: Add support for --help to mkproto.plJelmer Vernooij1-1/+4
Allow the use of {PRIVATE,PUBLIC}_PROTO_HEADER for [SUBSYSTEM] and [LIBRARY] sections in .mk files. Public functions can be marked by adding _PUBLIC_ between their return type and function name. This should eventually make include/proto.h and include/structs.h obsolete. (This used to be commit cdfd20fa17c5c4655689e8611e0106d5716b6995)
2007-10-10r12494: Support loading modules from .so files for most subsystems.Jelmer Vernooij1-1/+3
We now use a different system for initializing the modules for a subsystem. Most subsystems now have an init function that looks something like this: init_module_fn static_init[] = STATIC_AUTH_MODULES; init_module_fn *shared_init = load_samba_modules(NULL, "auth"); run_init_functions(static_init); run_init_functions(shared_init); talloc_free(shared_init); I hope to eliminate the other init functions later on (the init_programname_subsystems; defines). (This used to be commit b6d2ad4ce0a91c4be790dd258820c492ff1787ea)
2007-10-10r12450: Move generation of proto and full object lists to makefile.pm. ↵Jelmer Vernooij1-2/+2
'make' now handles expanding the protoheader object list, rather then the build system, which makes the makefile quite a bit shorter. (This used to be commit a4088ccc704f1338c040c53596ff606cc1651d03)
2007-10-10r12446: Merge mkproto.sh's functionality into mkproto.plJelmer Vernooij1-4/+4
Allow specifying the _PUBLIC_ keyword on functions to indicate a function is public. Public prototypes can now be written to a seperate header, although this functionality is not used yet. (This used to be commit e3466df6dfb62bbf8bee3acfa92996945054c2dd)
2007-10-10r12325: - remove the hostcc object files with make cleanStefan Metzmacher1-2/+2
- move the .SUFFIXES statement before the suffix rules this fixes the build with bsd make metze (This used to be commit 11da32df31db8cd0836bf66ce2650cb1c43c24c5)
2007-10-10r12302: - create the logfilebase directory with make installStefan Metzmacher1-3/+28
- get rid of unreadable long lines metze (This used to be commit 98fa61714b61d8a725b1aca82f830fd0d24456d3)
2007-10-10r12256: Add helper script for installing pkg-config filesJelmer Vernooij1-1/+1
(This used to be commit c05ffb05c85475669d72afcc183cfb54bd7c73d5)
2007-10-10r12254: Add some (hopefully correct) descriptions for libraries that are ↵Jelmer Vernooij1-2/+6
installed. Install pkg-config files. (This used to be commit a86abe84e2cae7c6188c094a92c6b62aace02fdf)
2007-10-10r12253: Automatically build seperate binaries without -rpath to install whenJelmer Vernooij1-5/+5
using shared libraries and developer mode is enabled. (This used to be commit 507bee76dc26b048ead317ec5e10a9deb1ff7f09)
2007-10-10r12219: Use some more common functionsJelmer Vernooij1-2/+2
(This used to be commit 57ea480c24ff914dfa6cbc5a309020b21fa4af39)
2007-10-10r11391: Add includedir to the list of directories to createJelmer Vernooij1-1/+1
(This used to be commit dab450a50194181aed14e93130eb2a1c42e616d0)
2007-10-10r11387: Remove pidl from the default 'install' target as it doesn't obey theJelmer Vernooij1-1/+1
user specified install paths. (This used to be commit d537a35ec3d5fb2dc5143c1fb880faab5c64a862)
2007-10-10r11386: Add install rule for pidlJelmer Vernooij1-1/+7
(This used to be commit b740d0d28043e37ba3f0bec0c1bfbd68c0fb56e6)
2007-10-10r11377: Add support for building LIBRARY elements as shared libraries:Jelmer Vernooij1-0/+2
- Adds -rpath bin/ so you don't have to install Samba in order to use compiled binaries. - Writes out pkg-config files when building shared libs - Supports automatic fallback to MERGEDOBJ (which is the default) or OBJ_LIST (if ld -r is not supported) Building with shared libs reduces the size of the Samba binaries from 197 Mb to 60 Mb (including libraries) on my system (GCC4, with debugging). To build with shared libraries support enabled, run: LIBRARY_OUTPUT_TYPE=SHARED_LIBRARY ./config.status init functions don't get called correctly yet when using shared libs, so you won't be able to actually run anything with success :-) Once init functions are done, I'll look at support for loading shared modules once again. Based on a patch by Peter Novodvorsky (nidd on IRC). (This used to be commit 0b54405685674a2b19a28d77aae5b1136b5a4728)