summaryrefslogtreecommitdiff
path: root/buildtools
AgeCommit message (Collapse)AuthorFilesLines
2011-07-05ldb: make ldb a top level library for Samba 4.0Andrew Bartlett1-2/+2
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-05build: remove mktowscriptAndrew Bartlett3-574/+0
We finished the conversion a long time ago Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Jul 5 05:56:06 CEST 2011 on sn-devel-104
2011-07-03s3-build Require fully defined modules by defaultAndrew Bartlett1-2/+0
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sun Jul 3 10:33:44 CEST 2011 on sn-devel-104
2011-06-24s3-build Require fully defined symbols in ALL libraries by defaultAndrew Bartlett1-2/+0
The only exception here is libsmbregistry, which needs further work to resolve the library loop caused by the registry based smb.conf loading. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Jun 24 05:01:38 CEST 2011 on sn-devel-104
2011-06-24s3-build: Require fully defined symbols for all public librariesAndrew Bartlett1-1/+1
2011-06-20tdb2: tie it into build process if --enable-tdb2-breaks-compatRusty Russell1-2/+6
This is simplistic. We need to support making TDB2 a standalone library, but for now, we simply built it in-tree. Once we have tdb1 compatibility in tdb2, we can rename this option to --enable-tdb2. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-06-20tdb_compat.h: divert every tdb build and includes to tdb_compatRusty Russell1-1/+1
We change all the headers and wscript files to use tdb_compat; this means we have one place to decide whether to use TDB1 or TDB2. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-06-17build: only use the git version on install, not in the build treeAndrew Tridgell2-7/+11
having the git version in our version.h in the build tree is annoying for developers, as every time you commit or rebase you need to spend several minutes re-linking. This changes it to use the git version only on install, which is much more useful as when you actually install the binaries you may be using them in a way that reporting the version is useful Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Jun 17 08:37:06 CEST 2011 on sn-devel-104
2011-06-15build: fixed development symlinks for libraries in subdirectoriesAndrew Tridgell1-2/+2
this fixes the symlink for libsmbclient.so Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Jun 15 07:23:10 CEST 2011 on sn-devel-104
2011-06-15build: fixed dependencies on install prefix for pc files and python scriptsAndrew Tridgell2-0/+3
waf can't automatically determine these dependencies as the construction of the files is via a python function thanks to Andrew for noticing this bug
2011-06-10waf-symbols: don't look for symbol lists in GENERATOR targetsAndrew Tridgell1-1/+1
generated header files are not object files Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-06-10waf: fixed 'make bin/XXX' for the remaining binariesAndrew Tridgell2-5/+32
this fixes 'make bin/smbd' to work correctly with the waf build. It didn't work before as smbd is actually 'smbd/smbd' internally and we tried to use the target name 'smbd'. The new approach reads the symlink to get the right target. This also speeds up the null build by quite a lot
2011-06-01build: fixed a problem with installing scripts in the build treeAndrew Tridgell1-18/+9
the SAMBA_SCRIPT() function was not always triggering correctly. The base problem was that we were using a target outside the build tree. This implements a simpler solution where we just create the links directly in SAMBA_SCRIPT() rather than creating a waf task Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Jun 1 06:50:04 CEST 2011 on sn-devel-104
2011-05-10Add -fno-common where supported (WAF only)Rusty Russell1-1/+1
Normally under UNIX, uninitialized non-static global variables get placed in the "common" section, where they are merged at link time. This means if two C files define "int debug", they will end up referring to the same variable. Or if one does "float level" and the other does "int level" you'll get an accidental union. Such bugs can be hard to track down; fortunately GCC offers -fno-common to disable this feature. It didn't reveal any places which need fixing, however). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-05-08build: allow s3 libraries to be built with no undefined symbolsAndrew Tridgell1-2/+4
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-04-26waf: introduce reverse logic for allowing unknown symbolsMatthieu Patou1-0/+4
Some os (ie OSX 10.6) forbids by default unknown symbols so in order to allow them (for special case) we have no to remove linker option *but* to add options to ask the linker to be more relax. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-04-13build: use readelf as a replacement for lddAndrew Tridgell1-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
2011-04-13build: speed up SYMBOLCHECK codeAndrew Tridgell1-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>
2011-04-06waf: a better way to detect duplicated symbolsAndrew Tridgell1-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
2011-04-02s3:waf:compare_config_h3.sh: make diff tool configurable as env var "DIFF"Michael Adam1-3/+5
2011-04-02s3:waf:compare_config_h3.sh: specify autoconf-config.h as commandline parameterMichael Adam1-1/+6
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