summaryrefslogtreecommitdiff
path: root/source4/build/smb_build/makefile.pm
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r14562: Use VPATH to solve strange heimdal dependenciesJelmer Vernooij1-1/+1
(This used to be commit 4d09ffa7f128e881fc891988ea672ae93a7ab45d)
2007-10-10r14554: Write out header dependencies. This means all C files affected will beJelmer Vernooij1-6/+3
rebuilt when a header file is changed. It also means parallel builds work now. It will take a minute or so to generate all the dependency information, but there should be no need to rebuild that information later on, unless a file changes. This behaviour is only enabled when building in developer mode (--enable-developer) and requires a GNU make (or compatible). In all other cases, the file 'static_deps.mk' is included, which contains some basic hardcoded dependency information. (This used to be commit eb435386f015ce1d89eb6f7e7837622ebd9e1951)
2007-10-10r14552: Remove old dependency codeJelmer Vernooij1-15/+3
(This used to be commit 44e132cf1a48174f538348b743096251b3e8f92f)
2007-10-10r14543: Fix some build dependency problems caused by the use of $(builddir)Jelmer Vernooij1-10/+10
(This used to be commit c85c4b97f35ac32c3e7b40fa84414171975ecf54)
2007-10-10r14529: Include $(builddir) where necesaryJelmer Vernooij1-10/+10
(This used to be commit ee49674dc6cbda95590409541703c36534b195b3)
2007-10-10r14516: dynconfig fixesJelmer Vernooij1-1/+3
(This used to be commit c7f6b0801da00d6eeb846f63a39b656f02b7a6e8)
2007-10-10r14501: Re-add nicely working hack to allow running from the builddirJelmer Vernooij1-0/+5
(including modules, codepages and ejs!) without installing. (This used to be commit cdff0a63fe13197b63f022a4d1460a232cec7051)
2007-10-10r14499: Remove dynconfig hack for now - it caused a recompile of theJelmer Vernooij1-4/+4
asn1 compiler every time a .mk file changed, thus causing the recompilation of the files generated from ASN1. (This used to be commit 4cd1e017e335818ef4585ff1096cb9968d14399f)
2007-10-10r14497: Fix build with shared librariesJelmer Vernooij1-2/+7
(This used to be commit c74fc55831ca24819ae7f5e0920d0351e2b46a08)
2007-10-10r14492: Fix shared libs - set SO_VERSION to 0 everywhere for now.Jelmer Vernooij1-1/+4
(This used to be commit 4682bc5ce047d81586447b9df82c91ed1fe677cf)
2007-10-10r14483: Allow subsystems with just a public prototype header, no private onesJelmer Vernooij1-4/+13
(This used to be commit bb6541126c94b33e4a24d9f036655b55b704923b)
2007-10-10r14478: Remove unused proto_objs variableJelmer Vernooij1-21/+0
(This used to be commit acd23e351e92c59c4bbc12c06d0686e355fa82e8)
2007-10-10r14472: fix typoStefan Metzmacher1-1/+1
metze (This used to be commit 7713a5333edc11cc4fb76211509e5c0c368f9592)
2007-10-10r14469: Don't the variable INSTALLDIR for two different things...Jelmer Vernooij1-5/+5
(This used to be commit fd47e975a4c4d225e7513b6dd2223a8eac9b4348)
2007-10-10r14335: Build shared modules in bin/modules/$SUBSYSTEM when in developer mode.Jelmer Vernooij1-5/+6
(This used to be commit 4799f7bd1fbf0ed3cd4c52bd6eef129666ac74b5)
2007-10-10r14332: Built in different paths when running locally (from ./bin/) in developerJelmer Vernooij1-4/+4
mode (./configure.developer). This will change the hardcoded value of a few paths (BINDIR, SWATDIR, EJSDIR, SETUPDIR, DATADIR, MODULESDIR). The regular locations will be used when running 'make install'. This enables developers to work on (shared built) modules, swat, ejs and setup files without having to run 'make install' each time. (This used to be commit f12c1ee19349e17dc5d109ccc71b5374796a6e23)
2007-10-10r14327: Replace MAJOR_VERSION/MINOR_VERSION/RELEASE_VERSION with two parameters:Jelmer Vernooij1-32/+9
- 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-60/+0
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-1/+2
Move architecture-independent data to DATADIR (was LIBDIR) (This used to be commit 2c7b62a861f702067e8df4c3239ac7e377631a15)
2007-10-10r14139: Fix issue with undefined variables.Jelmer Vernooij1-5/+1
(This used to be commit 03c06c6f7fedb0e47483cc6de7732c1e78e60703)
2007-10-10r14117: fix a perl warningStefan Metzmacher1-0/+4
jelmer: is there a better place to catch this? metze (This used to be commit 1e6ac4537024e7924333050125c33f792f982bbe)
2007-10-10r14097: Remove subsystem names when installing modules (they're already ↵Jelmer Vernooij1-4/+8
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-1/+1
(This used to be commit b6ffad3860ba2cf9d8f3423d65be91dcfc962ca2)
2007-10-10r14072: - only add the 'lib' prefix to libraries not modulesStefan Metzmacher1-6/+31
- 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-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)