summaryrefslogtreecommitdiff
path: root/buildtools
Commit message (Collapse)AuthorAgeFilesLines
* wafsamba: Only install .pc files if libraries are public.Jelmer Vernooij2011-08-211-1/+1
|
* wafsamba: Require public libraries to have headers.Jelmer Vernooij2011-08-211-0/+3
|
* wafsamba: Require public libraries to have a pc file specified, or ↵Jelmer Vernooij2011-08-211-4/+11
| | | | explicitly specified that they don't need one.
* waf: Add SAMBA3_PYTHON context to build python wrappers in samba3Amitay Isaacs2011-08-131-0/+5
|
* waf: update to latest waf 1.5 versionAndrew Tridgell2011-07-271-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
* wafsamba: Properly lock object store when retrieving version through Bazaar.Jelmer Vernooij2011-07-231-1/+5
|
* param: Move per-share parameters into a seperate file, to share with s3Andrew Bartlett2011-07-081-0/+2
| | | | | | | This will allow the struct loadparm_service to be in common between the two loadparm implementations in the tree. Andrew Bartlett
* ldb: make ldb a top level library for Samba 4.0Andrew Bartlett2011-07-051-2/+2
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* build: remove mktowscriptAndrew Bartlett2011-07-053-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
* s3-build Require fully defined modules by defaultAndrew Bartlett2011-07-031-2/+0
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sun Jul 3 10:33:44 CEST 2011 on sn-devel-104
* s3-build Require fully defined symbols in ALL libraries by defaultAndrew Bartlett2011-06-241-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
* s3-build: Require fully defined symbols for all public librariesAndrew Bartlett2011-06-241-1/+1
|
* tdb2: tie it into build process if --enable-tdb2-breaks-compatRusty Russell2011-06-201-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>
* tdb_compat.h: divert every tdb build and includes to tdb_compatRusty Russell2011-06-201-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>
* build: only use the git version on install, not in the build treeAndrew Tridgell2011-06-172-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
* build: fixed development symlinks for libraries in subdirectoriesAndrew Tridgell2011-06-151-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
* build: fixed dependencies on install prefix for pc files and python scriptsAndrew Tridgell2011-06-152-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
* waf-symbols: don't look for symbol lists in GENERATOR targetsAndrew Tridgell2011-06-101-1/+1
| | | | | | generated header files are not object files Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* waf: fixed 'make bin/XXX' for the remaining binariesAndrew Tridgell2011-06-102-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
* build: fixed a problem with installing scripts in the build treeAndrew Tridgell2011-06-011-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
* Add -fno-common where supported (WAF only)Rusty Russell2011-05-101-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>
* build: allow s3 libraries to be built with no undefined symbolsAndrew Tridgell2011-05-081-2/+4
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* waf: introduce reverse logic for allowing unknown symbolsMatthieu Patou2011-04-261-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>
* 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
|