summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba
AgeCommit message (Collapse)AuthorFilesLines
2011-03-23waf: prevent an error in the symbol checking codeAndrew Tridgell1-1/+2
2011-03-19wafsamba: add -Wcast-qual only to the toplevel (s4) build.Günther Deschner1-1/+3
In samba3 there are a lot of warnings generated that make it a bit hard to track and monitor other build warnings. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Sat Mar 19 00:58:25 CET 2011 on sn-devel-104
2011-03-15waf: ensure that MAKEFLAGS is set before parsing itAndrew Tridgell1-0/+2
2011-03-15build: added simple header handling for our librariesAndrew Tridgell1-1/+23
we don't need header munging for tdb/talloc etc
2011-03-15build: removed mkdir of public headers directoryAndrew Tridgell1-7/+0
not needed now that we have public_headers_allow_broken
2011-03-15build: added public_headers_allow_broken optionAndrew Tridgell1-1/+6
the s3 waf build will use this to say that we should allow public headers that contain references to non-public headers. In the s4 build that is not allowed, but the s3 build does not yet have clean public headers
2011-03-15waf: auto-create include paths if neededAndrew Tridgell1-0/+7
2011-03-15waf: make mkdir_p() a bit more robustAndrew Tridgell1-1/+6
2011-03-15waf: build headers in separate 'headers' build groupAndrew Tridgell2-1/+2
2011-03-15waf: always generate public headers in the build treeAndrew Tridgell2-166/+123
this allows us to properly test our public headers before install
2011-03-15waf: build substituted public headers in build treeAndrew Tridgell1-1/+3
the bin/default/include/public directory will contain headers that are ready to install
2011-03-15waf: moved header file handling into its own moduleAndrew Tridgell2-196/+201
It is getting quite complex now, and shouldn't just be mixed in with everything else
2011-03-15wafsamba: keep a list of public headersAndrew Tridgell1-1/+3
this will be used to construct test_headers.h, for testing our public headers
2011-03-15wafsamba: don't follow symlinks outside the build treeAndrew Tridgell1-1/+3
when computing stale files, don't follow symlinks that are not within the build tree
2011-03-15wafsamba: added global_include optionAndrew Tridgell2-3/+15
this allows you to disable the global include additions. We will use this for testing our public headers without including any of the source tree directories
2011-03-15build: install public headers in the build treeAndrew Tridgell1-15/+54
this symlinks our public headers into the build tree, which will allow us to refer to the public headers by their public name inside the source tree.
2011-03-12samba_abi: Also sort ABI files properly so symbols end up in the right version.Jelmer Vernooij1-2/+6
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Mar 12 02:45:20 CET 2011 on sn-devel-104
2011-03-12Sort by release component integer values rather than using standard stringJelmer Vernooij1-1/+2
sort. This makes sure tevent 0.9.9 is considered to be older than 0.9.10 and 0.9.11
2011-03-02build: fixed the ELF name for private librariesAndrew Tridgell1-2/+6
thanks to Simo and rpmbuild for spotting this! Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Mar 2 02:49:34 CET 2011 on sn-devel-104
2011-02-28samba_abi: Generate vscript entries even for ABI versions that didn't introduceJelmer Vernooij1-10/+21
any new symbols. The version entries also appear in the symbol table and removing them (we always add an entry for the current version) breaks the ABI.
2011-02-23build: fixed 'make dist' without configuringAndrew Tridgell1-1/+5
this finds git inside samba_version.py thanks to Simo for noticing this problem Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Feb 23 07:55:28 CET 2011 on sn-devel-104
2011-02-23build: don't display expected duplicate symbolsAndrew Tridgell1-1/+6
2011-02-23build: duplicate symbols between system libraries aren't interestingAndrew Tridgell1-0/+10
we expect dups in libpthread, libc and libattr Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Feb 23 01:29:38 CET 2011 on sn-devel-104
2011-02-22build: added WHYNEEDED=TARGET:DEPENDENCYAndrew Tridgell2-9/+40
you can now do: make WHYNEEDED=smbd/smbd:gensec and it will print: Checking why smbd/smbd needs to link to gensec target 'smbd/smbd' uses symbols set(['open_schannel_session_store']) from 'gensec' Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Feb 22 03:35:58 CET 2011 on sn-devel-104
2011-02-22build: enhanced the symbolcheck codeAndrew Tridgell1-14/+86
we can now work out why a binary needs a library, and we can find all the duplicate symbols (we currently have 1087 symbols defined in more than one place in Samba).
2011-02-22python: use os.environ[] instead of os.putenv()Andrew Tridgell1-1/+1
using os.putenv() causes too much confusion, as it doesn't update os.getenv() Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22build: we don't need the special case for s3build any moreAndrew Tridgell1-6/+0
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-20s4-version: Fix version finding for bzr branches.Jelmer Vernooij1-1/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Feb 20 17:35:45 CET 2011 on sn-devel-104
2011-02-18s3-waf: fix popt support.Günther Deschner1-0/+3
Guenther
2011-02-18build: put links for libs in the right directoryAndrew Tridgell1-1/+1
when a library is declared as libdir/libname, still put the symlink in bin/shared Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Feb 18 06:03:57 CET 2011 on sn-devel-104
2011-02-18waf: improved error message for bad paths in SAMBA_LIBRARY()Andrew Tridgell1-1/+7
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-18waf: support building libraries with a directory prefixAndrew Tridgell3-4/+13
SAMBA_LIBRARY('libsmb/smbclient') can now be built, which distinguishes it from the binary 'smbclient' Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-18waf: added SAMBA3_*() build rules to samba3.pyAndrew Tridgell1-2/+72
these provide samba build rule wrappers for Samba3 specific subsystems Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-18waf: give a more sensible error on symlink_bin with missing directoryAndrew Tridgell1-0/+2
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-18build: fixed passing of includes= for modulesAndrew Tridgell1-0/+1
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-18build: added subdir option for module buildingAndrew Tridgell1-0/+3
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-18build: added allow_undefined_symbols options for libraries and modulesAndrew Tridgell2-2/+10
the s4 build uses linker flags to disallow undefined symbols in libraries. To accomodate s3 libraries in the top level build we need to be able to disable this on a per-library basis. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-18build: make ADD_LDFLAGS() returns the flags that were addedAndrew Tridgell1-1/+3
this will be used by the s3 top level build to work out how to undo the effects of -Wl,-no-undefined Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-18waf: library_flags() doesn't only operate on conf objectsAndrew Tridgell1-7/+8
use a better name for the first argument Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-18waf: added subdir= option in SAMBA_*() rulesAndrew Tridgell1-0/+9
this allows you to prepend a subdirectory to the source rules, after variable substitution. This is useful for the s3 waf build when it is in s3build/
2011-02-18waf: use Utils.WafError() instead of sys.exit(1)Andrew Tridgell1-2/+1
better to raise an expection than just exiting
2011-02-16waf Fix dependencies for .pc (pkg-config) filesAndrew Bartlett1-1/+1
We used the wrong parameter for the dependency calculation. thanks to Thomas Nagy for the fix! Andrew Bartlett
2011-02-15Fix private libdir and codepages pathsSimo Sorce1-1/+1
The private libraries need to be arch specific as well. With --enable-fhs the codepages should go in /usr/share/samba and not in /usr/lib{64}/samba as they are data files not libraries. Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Tue Feb 15 04:22:37 CET 2011 on sn-devel-104
2011-02-11waf: substitute '/' in -D static defines as well.Günther Deschner1-2/+4
Tridge, please check. Guenther
2011-02-07s4-build: fixed uses of os.path.relpath()Andrew Tridgell1-2/+2
these should be os_path_relpath() to support older python versions. This should fix the build on FreeBSD 7.2 Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Feb 7 05:49:58 CET 2011 on sn-devel-104
2011-02-07build: fixed error message for incorrect waf versionAndrew Tridgell1-3/+2
just need configure now Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-07waf: samba deps generation depends on EXTRA_INCLUDESAndrew Tridgell1-1/+1
2011-02-02waf: Replace python installation rule to allow PYTHONARCHDIR and PYTHONDIRAndrew Bartlett1-7/+23
The old rule could only substitute one part of one line, but we need to add a second line to handle when PYTHONDIR and PYTHONARCHDIR do not match. This also avoids shelling out to sed with a regex, which was difficult to read. Andrew Bartlett
2011-01-25s4-waf: Skip header-not-found cache if a library is specified, as it may provideJelmer Vernooij1-1/+1
additional C flags. Tridge, please check. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Jan 25 03:59:32 CET 2011 on sn-devel-104
2011-01-24s4-waf: Only show minversion when there was a minimum version specified.Jelmer Vernooij1-1/+5