summaryrefslogtreecommitdiff
path: root/source4/build/smb_build/makefile.pm
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r13960: Generate makefile rules for installing/removing shared modules.Jelmer Vernooij1-2/+13
(This used to be commit 2c746980328431ab04852dc668899e3eb042da99)
2007-10-10r13943: the -rpath-link should be only used for binaries,Stefan Metzmacher1-1/+1
otherwise application linking to the installed lib would look at the builddir for searching other libs metze (This used to be commit f4996fbacc58618bb04c5587b4c45925cc430997)
2007-10-10r13940: use the local vs. install linkerflag trick for shared libs tooStefan Metzmacher1-6/+43
metze (This used to be commit 65bb303ff3815cc11e07061d478e317ffb24d453)
2007-10-10r13939: Fix bin/.dummy issues, add more ignoresJelmer Vernooij1-5/+5
(This used to be commit 557533b9173a72d2db2a0fa05ab5500f446306c8)
2007-10-10r13924: Split more prototypes out of include/proto.h + initial work on headerJelmer Vernooij1-0/+12
file dependencies (This used to be commit 122835876748a3eaf5e8d31ad1abddab9acb8781)
2007-10-10r13867: Wrap the cflags.sh hack in the build system. You can now simplyJelmer Vernooij1-2/+2
set subsystem-specific compiler flags in the .mk files. (This used to be commit d512b147e8dda39016faf74a50a9d85bfc23a2eb)
2007-10-10r13244: Allow control of the location of the Samba3-compatible winbindd pipeAndrew Bartlett1-0/+1
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-10r13163: as we don't import the raw magic configure vars forStefan Metzmacher1-2/+0
libdir, datadir, sysconfdir,localstatedir into our Makefile we need to expand them in configure I'll maybe rework this later but for now this works metze (This used to be commit 615b82f7c73ff52ab62489ec635aefecf2b2f04c)
2007-10-10r13153: Try to move closer to FHS. This probably breaks everything...Andrew Bartlett1-2/+4
Andrew Bartlett (This used to be commit 2c02a45d5a6c79ced7aea0f7e9d23fae19c2d127)
2007-10-10r13070: Add a simple smbd manpage, based on the Samba 3 one.Jelmer Vernooij1-1/+1
(This used to be commit cbcce3b5731d27e863c916731fe30acac0602c16)
2007-10-10r12896: IRIX make will fallback to gmake with this,Stefan Metzmacher1-0/+1
as normal IRIX make doesn't support shell commands or functions in $(FOO) variables metze (This used to be commit de7b0b2dc9616c007916cce9d69051f76d4fd559)
2007-10-10r12772: - create variables for the %(patsubst ...) statements for the idl filesStefan Metzmacher1-5/+2
- this also fixes the build on BSD systems metze (This used to be commit 31ff172773f1700bfd7ff24fc764d37d9b6e82c1)
2007-10-10r12753: Try to fix the build after a 'make clean'. (the wildcards will notAndrew Bartlett1-0/+1
expand because they don't exist yet). Thanks again to HotaruT. Andrew Bartlett (This used to be commit d3abfecec5c9468e93d2d40181ce5d20f8135566)
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-10r12613: workarround a BSD make bug, where $< gets expanded to ↵Stefan Metzmacher1-2/+2
'torture/libnet/userman.c' when $@ is 'libnet/userman.o' metze (This used to be commit 48d975cc5e4c3c2a5c6fe84e5b245c0d8529c5d1)
2007-10-10r12523: Convert the registry subsystem to use a seperate prototype headerJelmer Vernooij1-5/+9
(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-5/+18
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-0/+1
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-1/+33
'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-10r12325: - remove the hostcc object files with make cleanStefan Metzmacher1-0/+1
- move the .SUFFIXES statement before the suffix rules this fixes the build with bsd make metze (This used to be commit 11da32df31db8cd0836bf66ce2650cb1c43c24c5)
2007-10-10r12254: Add some (hopefully correct) descriptions for libraries that are ↵Jelmer Vernooij1-1/+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-17/+42
using shared libraries and developer mode is enabled. (This used to be commit 507bee76dc26b048ead317ec5e10a9deb1ff7f09)
2007-10-10r12219: Use some more common functionsJelmer Vernooij1-32/+22
(This used to be commit 57ea480c24ff914dfa6cbc5a309020b21fa4af39)
2007-10-10r12218: Use common functions for generating listsJelmer Vernooij1-41/+27
(This used to be commit ba913b86e866a67402785d9177711beb16db2cab)
2007-10-10r12216: Couple of small fixes: reduce include/includes.h a bit, simplify headersJelmer Vernooij1-8/+6
in build/smb_build/, remove unused pstring macros (This used to be commit 432296207400636dd81d0929ec7b1b4cebbcaa62)
2007-10-10r11377: Add support for building LIBRARY elements as shared libraries:Jelmer Vernooij1-8/+26
- 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)
2007-10-10r11311: Move some more logic to envJelmer Vernooij1-29/+28
(This used to be commit 990419bac7ce335ffcec84017614eb9642a6ece6)
2007-10-10r11307: Add support for generating pkg-config filesJelmer Vernooij1-2/+16
(This used to be commit 9c211507c15092ce09fd519cd0ffadf4b9f69492)
2007-10-10r11306: Move more static Makefile data to main.mkJelmer Vernooij1-349/+89
Clean up smb_build::makefile a bit (This used to be commit 28931219a19317f6c7208086416bc675bb259179)
2007-10-10r11303: Support defining and installing public headers for libraries.Jelmer Vernooij1-0/+41
Support installing libraries. Get rid of pkg-config file (will be autogenerated later on). (This used to be commit b4745032a2c55752c527026feb221ccc3dce10c8)
2007-10-10r11257: Add and use output functionJelmer Vernooij1-143/+120
(This used to be commit 734da63a4e7ff44d9417066300383bbf7cd08d8f)
2007-10-10r11254: Remove support for [TARGET:foo]-like .mk-file entriesJelmer Vernooij1-13/+0
(it is already possible to include verbatim make data) (This used to be commit 21e355d031c6233ed0f40207d716987931927c6c)
2007-10-10r11252: Make makefile.pm OO and descend from envJelmer Vernooij1-121/+121
(This used to be commit c53b32e0932ef6c048f8aec23ec6df2fe66a7887)
2007-10-10r11249: More OpenBSD make fixes...Jelmer Vernooij1-1/+4
(This used to be commit 118e3bc507b2694f7e5ea191950626931d8ebf29)
2007-10-10r11247: Add environment classJelmer Vernooij1-84/+78
(This used to be commit 90c3f8b3beda525b700688fc4d6ed0584ff2e27c)
2007-10-10r11245: Hopefully fix heimdal build on some hostsJelmer Vernooij1-1/+1
Fix manpage locations (This used to be commit 33c71c0fb13b55741f1b1fffc8945ccda6f3bf51)
2007-10-10r10526: BASEDIR must be set or we end up installing most of the binaries ↵Andrew Tridgell1-0/+1
into lib/ (This used to be commit 8ec69f8ddf4961f4b864fa98aa6f8ecf2e13511d)
2007-10-10r10366: More scons fixes. Building et, asn1, lex and yacc files sort-of ↵Jelmer Vernooij1-5/+1
works now (This used to be commit 22f18a84242e5e68a2d57b6d7ff77c089ee7434a)
2007-10-10r10294: Generate Makefile directly rather then thru Makefile.in. AutoconfJelmer Vernooij1-38/+50
substitution variables are now no longer used. This is one more step towards a (hopefully) perl-based configure (This used to be commit 6f9956a1dd870c0669c288b0fe72b7b1c8773dd0)
2007-10-10r10287: Compile compilers for build host. This fixes some bits ofJelmer Vernooij1-2/+2
the mingw32 build (it now fails on missing inet_aton / in_addr definitions). Find sane default for HOSTCC (This used to be commit 1a833690b8fd9a22169882c41704d24f2d52b2d9)
2007-10-10r10283: Eliminate some more use of autoconf substitution variables.Jelmer Vernooij1-9/+35
Add makefile rule for '.ho' files (compiled with host compiler). This does not allow for cross-compiling yet as that requires a HOSTLD as well. (This used to be commit c675ba0ee437ade4abe839a2fb193b9e3a98a3de)
2007-10-10r10140: reorder some stuff, for nicer outputStefan Metzmacher1-4/+8
metze (This used to be commit 517d0ded6b4dc7aabe48581fee5878637bc2a674)
2007-10-10r10091: Fix perl warningsJelmer Vernooij1-0/+2
(This used to be commit 045bce900ea0b864bf3ac2fe8c197d42c6d38a91)
2007-10-10r10043: Only recompile subsystems that actually need recompilationJelmer Vernooij1-1/+1
(This used to be commit de9830979788528754175b17fe45477e6ce9ce9e)
2007-10-10r10041: Add 'gcov' make target. RunJelmer Vernooij1-2/+3
'make clean gcov' to generate a set of files describing the test coverage of the Samba 4 code. (This used to be commit 72bb84add469ad4f027ddbd8d73bb846b0609fa2)
2007-10-10r10032: Add tdr generated files to clean targetJelmer Vernooij1-1/+2
(This used to be commit c1e9fb24e1b53fb2c5ee6e32454350dff710c627)
2007-10-10r9939: Add configure check for yapp.James Peach1-0/+1
(This used to be commit 0300f2329c71429e43ed18e6f411985a76e5aad5)
2007-10-10r9587: Fix SWAT data dir for --with-fhsJelmer Vernooij1-0/+1
(This used to be commit 53d0c3e4852c977901a6bdbe196e0d00753beeda)
2007-10-10r9549: Rerun ./config.status if one of the .mk files changesJelmer Vernooij1-0/+19
(This used to be commit 729b8bd7832b0db19d68dd3348b1b7103ab135fb)