summaryrefslogtreecommitdiffstats
path: root/buildtools
Commit message (Collapse)AuthorAgeFilesLines
* build: use readelf as a replacement for lddAndrew Tridgell2011-04-131-33/+77
| | | | | | | | using readelf allows us to do a non-recursive library listing, which is important to remove false positive symbol duplication Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Apr 13 04:37:33 CEST 2011 on sn-devel-104
* build: speed up SYMBOLCHECK codeAndrew Tridgell2011-04-131-6/+41
| | | | | | | this uses a nm and ldd cache to speed up the duplicate symbol checking code Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* waf: a better way to detect duplicated symbolsAndrew Tridgell2011-04-061-20/+82
| | | | | | | | | | | | | | this detects when we have the same symbol linked in twice in any binary by using ldd and nm on the binary and its associated libraries. Some of these duplicates are caused by a subsystem being linked twice, and some are caused by two versions of the same function name being linked into a binary Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Apr 6 06:44:14 CEST 2011 on sn-devel-104
* s3:waf:compare_config_h3.sh: make diff tool configurable as env var "DIFF"Michael Adam2011-04-021-3/+5
|
* s3:waf:compare_config_h3.sh: specify autoconf-config.h as commandline parameterMichael Adam2011-04-021-1/+6
|
* waf: prevent an error in the symbol checking codeAndrew Tridgell2011-03-231-1/+2
|
* wafsamba: add -Wcast-qual only to the toplevel (s4) build.Günther Deschner2011-03-191-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
* waf: ensure that MAKEFLAGS is set before parsing itAndrew Tridgell2011-03-151-0/+2
|
* build: added simple header handling for our librariesAndrew Tridgell2011-03-151-1/+23
| | | | we don't need header munging for tdb/talloc etc
* build: removed mkdir of public headers directoryAndrew Tridgell2011-03-151-7/+0
| | | | not needed now that we have public_headers_allow_broken
* build: added public_headers_allow_broken optionAndrew Tridgell2011-03-151-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
* waf: auto-create include paths if neededAndrew Tridgell2011-03-151-0/+7
|
* waf: make mkdir_p() a bit more robustAndrew Tridgell2011-03-151-1/+6
|
* waf: build headers in separate 'headers' build groupAndrew Tridgell2011-03-152-1/+2
|
* waf: always generate public headers in the build treeAndrew Tridgell2011-03-152-166/+123
| | | | this allows us to properly test our public headers before install
* waf: build substituted public headers in build treeAndrew Tridgell2011-03-151-1/+3
| | | | | the bin/default/include/public directory will contain headers that are ready to install
* waf: moved header file handling into its own moduleAndrew Tridgell2011-03-152-196/+201
| | | | | It is getting quite complex now, and shouldn't just be mixed in with everything else
* wafsamba: keep a list of public headersAndrew Tridgell2011-03-151-1/+3
| | | | | this will be used to construct test_headers.h, for testing our public headers
* wafsamba: don't follow symlinks outside the build treeAndrew Tridgell2011-03-151-1/+3
| | | | | when computing stale files, don't follow symlinks that are not within the build tree
* wafsamba: added global_include optionAndrew Tridgell2011-03-152-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
* build: install public headers in the build treeAndrew Tridgell2011-03-151-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.
* samba_abi: Also sort ABI files properly so symbols end up in the right version.Jelmer Vernooij2011-03-121-2/+6
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Mar 12 02:45:20 CET 2011 on sn-devel-104
* Sort by release component integer values rather than using standard stringJelmer Vernooij2011-03-121-1/+2
| | | | | | sort. This makes sure tevent 0.9.9 is considered to be older than 0.9.10 and 0.9.11
* build: fixed the ELF name for private librariesAndrew Tridgell2011-03-021-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
* samba_abi: Generate vscript entries even for ABI versions that didn't introduceJelmer Vernooij2011-02-281-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.
* build: fixed 'make dist' without configuringAndrew Tridgell2011-02-231-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
* build: don't display expected duplicate symbolsAndrew Tridgell2011-02-231-1/+6
|
* build: duplicate symbols between system libraries aren't interestingAndrew Tridgell2011-02-231-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
* build: added WHYNEEDED=TARGET:DEPENDENCYAndrew Tridgell2011-02-222-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
* build: enhanced the symbolcheck codeAndrew Tridgell2011-02-221-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).
* python: use os.environ[] instead of os.putenv()Andrew Tridgell2011-02-221-1/+1
| | | | | | | using os.putenv() causes too much confusion, as it doesn't update os.getenv() Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* build: we don't need the special case for s3build any moreAndrew Tridgell2011-02-221-6/+0
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-version: Fix version finding for bzr branches.Jelmer Vernooij2011-02-201-1/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Feb 20 17:35:45 CET 2011 on sn-devel-104
* s3-waf: fix popt support.Günther Deschner2011-02-181-0/+3
| | | | Guenther
* build: put links for libs in the right directoryAndrew Tridgell2011-02-181-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
* waf: improved error message for bad paths in SAMBA_LIBRARY()Andrew Tridgell2011-02-181-1/+7
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* waf: support building libraries with a directory prefixAndrew Tridgell2011-02-183-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>
* waf: added SAMBA3_*() build rules to samba3.pyAndrew Tridgell2011-02-181-2/+72
| | | | | | these provide samba build rule wrappers for Samba3 specific subsystems Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* waf: give a more sensible error on symlink_bin with missing directoryAndrew Tridgell2011-02-181-0/+2
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* build: fixed passing of includes= for modulesAndrew Tridgell2011-02-181-0/+1
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* build: added subdir option for module buildingAndrew Tridgell2011-02-181-0/+3
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* build: added allow_undefined_symbols options for libraries and modulesAndrew Tridgell2011-02-182-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>
* build: make ADD_LDFLAGS() returns the flags that were addedAndrew Tridgell2011-02-181-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>
* waf: library_flags() doesn't only operate on conf objectsAndrew Tridgell2011-02-181-7/+8
| | | | | | use a better name for the first argument Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* waf: added subdir= option in SAMBA_*() rulesAndrew Tridgell2011-02-181-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/
* waf: use Utils.WafError() instead of sys.exit(1)Andrew Tridgell2011-02-181-2/+1
| | | | better to raise an expection than just exiting
* waf Fix dependencies for .pc (pkg-config) filesAndrew Bartlett2011-02-161-1/+1
| | | | | | | | We used the wrong parameter for the dependency calculation. thanks to Thomas Nagy for the fix! Andrew Bartlett
* Fix private libdir and codepages pathsSimo Sorce2011-02-151-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
* waf: substitute '/' in -D static defines as well.Günther Deschner2011-02-111-2/+4
| | | | | | Tridge, please check. Guenther
* waf: bring back shared Makefile and configure (needed by s3-waf).Günther Deschner2011-02-083-0/+113
| | | | | | | | Guenther Revert "build: removed unused build scripts" This reverts commit 2e520ca91180920e4c8b71be4eaa7fabb56d2a12.