summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba
AgeCommit message (Collapse)AuthorFilesLines
2010-08-30Disable gccdeps if -MD is not supportedThomas Nagy1-3/+23
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-08-22s4-waf: re-use SAMBA_LIBRARY() in building shared modulesAndrew Tridgell1-35/+15
make SAMBA_MODULE() call SAMBA_LIBRARY() to do the heavy lifting. This fixes the problem with modules being a bit too slim :-) Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
2010-08-22wafsamba: fix CHECK_XSLTPROC_MANPAGES().Jelmer Vernooij1-12/+5
2010-08-17Revert "waf: enable gccdeps in developer mode"Stefan Metzmacher1-3/+2
This reverts commit 61930f50cbace4741500d8b53fc11a4ef3e0d4f8. This breaks the build with older gcc versions gcc --version gcc (SUSE Linux) 4.3.2 [gcc-4_3-branch revision 141291] (This is SLES 11) Please only enable it if thet compiler supports it. metze
2010-08-14waf: enable gccdeps in developer modeAndrew Tridgell1-2/+3
there are some bugs in the waf builtin preproc this that avoids
2010-07-19waf: make the error msg when gen_ndr directory is missing clearerAndrew Tridgell1-0/+7
the next time someone removes gen_ndr/README the fix should be more obvious.
2010-06-29build: only use git when found by configureAndrew Tridgell2-15/+18
this rebuilds version.h whenever the git version changes, so we always get the right version with samba -V. That adds about 15s to the build time on each git commit, which shouldn't be too onerous
2010-06-29build: allow LOAD_ENVIRONMENT() to pass when no configure has been runAndrew Tridgell1-2/+5
this returns an empty environment
2010-06-29build: allow always=True/False on SAMBA_GENERATOR()Andrew Tridgell1-1/+5
this allows us to force a rule to always run. Will be used by samba_version Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-06-24build: check if the manpages stylesheet is available locallyAndrew Tridgell2-8/+34
this avoids trying to fetch the stylesheet from the internet. If we can't process the stylesheet with --nonet at configure time then don't build manpages. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-06-20build: Allow for a custom message in CHECK_C_PROTOTYPEKai Blin1-2/+4
2010-06-19wafsamba: Use octal modes directly rather than constants.Jelmer Vernooij2-8/+4
2010-06-19wafsamba: Allow manually specifying cflags/ldflags for system libraries.Jelmer Vernooij1-5/+6
2010-06-19wafsamba: Use convenience function to find out if bundling is necessary.Jelmer Vernooij1-2/+2
2010-06-19wafsamba: Factor out functions to determine if a bundled library should not orJelmer Vernooij1-2/+14
must be used.
2010-06-19wafsamba: Fix typo: noextenion -> noextension.Jelmer Vernooij1-2/+2
2010-06-18wafsamba: Use BUILTIN_LIBRARY() rather than relying on side-effects.Jelmer Vernooij1-2/+2
2010-06-15s4-waf: Fix build of libldb_ildap against system ldb.Jelmer Vernooij1-1/+1
2010-06-15wafsamba: Fix include path inheritance from module subsystems.Jelmer Vernooij1-6/+16
2010-06-15ldb: Fix included ldb build.Jelmer Vernooij1-0/+1
2010-06-15wafsamba: Fix filenames for ldb modules.Jelmer Vernooij1-2/+10
2010-06-15wafsamba: Fix building of modules as shared libraries.Jelmer Vernooij1-22/+22
2010-06-15wafsamba: Improve assertion error message to include the module.Jelmer Vernooij1-1/+2
2010-06-15wafsamba: Only add init function if not building module as shared library.Jelmer Vernooij1-8/+9
2010-06-13s4-waf: Fix installation of .so links for libraries that are not bundled but ↵Jelmer Vernooij2-2/+3
have a mangled name.
2010-06-13Do not use headermap.txt for the header installationThomas Nagy1-32/+67
Try to find the headers by searching on the filesystem. Warn when a public header replacement cannot be found (talloc.h, ...). Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-05-31wafsamba: Only try to build manpages if XSLTPROC was actually found.Jelmer Vernooij1-2/+2
2010-05-31buildtools/wafsamba: use build group 'final' for the creation of manpagesStefan Metzmacher1-0/+1
This way we don't try to build manpages just for waf build --target=smbtorture metze
2010-05-31waf: Refactor manpage building code.Jelmer Vernooij1-18/+15
2010-05-31Add manpages argument to SAMBA_LIBRARY().Jelmer Vernooij1-1/+14
2010-05-31wafsamba: Correctly detect if bld.env.XSLTPROC is not setKai Blin1-1/+1
This fixes the build on some build farm hosts and my machine. Jelmer, please check.
2010-05-31wafsamba: Default blacklist to an empty list rather than None.Jelmer Vernooij1-1/+1
2010-05-31s4-waf: sanitize library names like the old build system did, only addJelmer Vernooij1-2/+6
-samba4 suffix for libraries that are bundled.
2010-05-31wafsamba: Actually install manual pages.Jelmer Vernooij1-0/+11
2010-05-30build: Also replace '-' by '_' when creating header definesKai Blin1-0/+1
Tridge, please check
2010-05-28waf Provide release signing capability in 'waf dist'Andrew Bartlett2-4/+40
This helps ensure the release is signed correctly - the .tar file, not the .tar.gz must be signed, and it's easy to forget this. Andrew Bartlett
2010-05-28waf Add DIST_BLACKLIST to list files that we cannot include in a releaseAndrew Bartlett1-0/+20
This currently includes the source3 directory for Samba4 releases (per past practice in mkrelease.sh), but also could include things like DFSG-unfree RFC files in the future. Andrew Barltett
2010-05-28waf Read VERSION file inside WAF to set package versionAndrew Bartlett3-8/+190
This replaces the call to mkversion.sh in both the Samba3 and Samba4 WAF builds. Andrew Bartlett
2010-05-24solve the error "ldb.inst.h does not exist"Thomas Nagy1-0/+2
The error happens when headermap.txt is not available Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-05-23build: get the SONAME right for installed librariesAndrew Tridgell1-0/+4
2010-05-23Substitute the pidl files without using 'headermap.txt'Thomas Nagy1-1/+9
The headers generated by pidl contain references to bin/default. Those paths may be replaced automatically. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-05-21wafsamba: Disable the abi checks when gdb is not availableThomas Nagy1-0/+4
Try to find gdb during the configuration, if gdb is missing, disable the abi checks. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-20s3-waf: note that the options are brokenKai Blin1-0/+2
2010-05-20s3-waf: replace all - with _ in the configuration option namesKai Blin1-1/+1
2010-05-20s3-waf: Allow using --enable/--disable options as wellKai Blin1-3/+4
2010-05-20s3-waf: Add helper that facilitates defining --with-x and --without-x optionsKai Blin1-0/+20
2010-05-19s4-waf: Replace local includes in header files with proper system names.Thomas Nagy1-21/+100
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-05-14waf: Make waf handle IDL files from Samba3Andrew Bartlett1-4/+8
For s3compat, we need to handle IDL files not in the current directory (so the incoming file names have a directory prefix - so we must use os.path.basename()). We also need to be able to disable the addition of some IDL files into the tables.c/tables.h - some of the Samba3 IDL files are in conflict with Samba4. Andrew Bartlett
2010-05-14Revert "wafsamba: use -D_XOPEN_SOURCE=700 for the build"Stefan Metzmacher1-1/+0
This reverts commit 3408c942ab09387c399dad03e22233e33fe1e2fc. This seems to cause more problems than it tries to solve. And Mac OS 10.4 doesn't need it anymore (after commit bd6d76d77621c1dc92262c48204b65455a214b62). metze
2010-05-14wafsamba: use -D_XOPEN_SOURCE=700 for the buildStefan Metzmacher1-0/+1
Some systems set this automaticly via -D_GNU_SOURCE=1, but on others we need to set it ourself (e.g. Mac OS 10.4) metze