summaryrefslogtreecommitdiff
path: root/buildtools
AgeCommit message (Collapse)AuthorFilesLines
2011-09-07build: Replace mkbuildoptions-waf awk script with waf targetAmitay Isaacs1-0/+174
2011-08-21wafsamba: Only install .pc files if libraries are public.Jelmer Vernooij1-1/+1
2011-08-21wafsamba: Require public libraries to have headers.Jelmer Vernooij1-0/+3
2011-08-21wafsamba: Require public libraries to have a pc file specified, or ↵Jelmer Vernooij1-4/+11
explicitly specified that they don't need one.
2011-08-13waf: Add SAMBA3_PYTHON context to build python wrappers in samba3Amitay Isaacs1-0/+5
2011-07-27waf: update to latest waf 1.5 versionAndrew Tridgell1-0/+0
this includes an on_results fix from thomas that fixes a dependency problem with our autoproto code Note that this changes task signatures, so it will trigger a complete rebuild Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Jul 27 04:27:32 CEST 2011 on sn-devel-104
2011-07-23wafsamba: Properly lock object store when retrieving version through Bazaar.Jelmer Vernooij1-1/+5
2011-07-08param: Move per-share parameters into a seperate file, to share with s3Andrew Bartlett1-0/+2
This will allow the struct loadparm_service to be in common between the two loadparm implementations in the tree. Andrew Bartlett
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