summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba/samba_utils.py
AgeCommit message (Collapse)AuthorFilesLines
2012-02-12wafsamba: Add tests for unique_list, subst_vars_error.Jelmer Vernooij1-2/+1
2011-12-05wafsamba: Cope with not everything having a final_libs attribute.Jelmer Vernooij1-1/+1
2011-12-05wafsamba: Use final_libs list to determine if a target needs private ↵Jelmer Vernooij1-1/+1
libraries, rather than direct dependencies list.
2011-10-20build: explain the passing of make options to wafAndrew Tridgell1-0/+7
add a comment explaining how we pass make command line options into waf Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Oct 20 07:24:02 CEST 2011 on sn-devel-104
2011-03-15waf: ensure that MAKEFLAGS is set before parsing itAndrew Tridgell1-0/+2
2011-03-15waf: make mkdir_p() a bit more robustAndrew Tridgell1-1/+6
2011-02-18waf: support building libraries with a directory prefixAndrew Tridgell1-2/+9
SAMBA_LIBRARY('libsmb/smbclient') can now be built, which distinguishes it from the binary 'smbclient' Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-12-09waf: make mkdir_p on a empty string not recurse foreverAndrew Tridgell1-1/+1
2010-12-09waf-abi: auto-generate per-symbol versions from ABI filesAndrew Tridgell1-0/+3
This changes our version-script generation to use the ABI files that are saved in git with each version number change of our public libraries. We use these ABI files to generate a linker version script that gives the exact version number that each symbol was introduced. This provides us with automatic fine grained symbol versioning. Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org> Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-11-30wafsamba: Fix indentation.Jelmer Vernooij1-1/+1
Without this change we'd exclude the rpath for private libraries whenever the first dependency of a subsystem was a public library. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Nov 30 13:08:04 CET 2010 on sn-devel-104
2010-11-30wafsamba: Only use private library rpath when linking against privateJelmer Vernooij1-2/+12
libraries. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Nov 30 02:23:37 CET 2010 on sn-devel-104
2010-11-05waf: Put private libraries in a separate directory when building.Jelmer Vernooij1-3/+4
Thanks to Tridge for pointing out what exactly I had to change. :-)
2010-11-05wafsamba: Support expanding variables in LIBDIR/PRIVATELIBDIR variables.Jelmer Vernooij1-2/+2
2010-11-05Add --disable-rpath-private-install flag.Jelmer Vernooij1-2/+5
2010-11-05samba_utils: Use LIBDIR rather than assuming it is set to $prefix/lib.Jelmer Vernooij1-1/+1
2010-10-30waf: use Utils.WafError() instead of raising an AssertionErrorAndrew Tridgell1-2/+1
this produces clearer output on errors
2010-10-30waf: separate out get_tgt_list()Andrew Tridgell1-0/+19
this is a useful function for the new symbols code, so separate it out of samba_deps.py Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-21waf: cope with libraries with a specified version numberAndrew Tridgell1-0/+3
this fixes a problem with libnss_winbind.so.2. Thanks to Jelmer for spotting this.
2010-10-19waf: automap shared library names from .so to the right extensionAndrew Tridgell1-0/+39
this should help with MacOSX .dylib libraries
2010-10-06waf: fixed some python3.x portability issuesAndrew Tridgell1-0/+4
these have crept into the tree over time. Maybe we should add testing of a range of python versions to autobuild?
2010-10-03wafsamba: Some reformatting.Jelmer Vernooij1-3/+1
2010-09-27waf: add delimiter argument to TO_LIST.Günther Deschner1-2/+2
Guenther
2010-09-04waf: fixed make test with TESTS="test1 test2"Andrew Tridgell1-1/+3
when multiple tests are specified, make escapes the space in MAKEFLAGS with a backslash, so we need to use shlex.split()
2010-06-29build: allow LOAD_ENVIRONMENT() to pass when no configure has been runAndrew Tridgell1-2/+5
this returns an empty environment
2010-05-13buildtools/wafsamba: fix build group orderingThomas Nagy1-2/+5
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-06build: added a reconfigure targetAndrew Tridgell1-0/+10
this is meant to be used by the s3 build, to allow jelmers work on smbtorture4 in s3 to avoid re-running configure unless its needed
2010-05-03build: use the waf patterns for RPATHAndrew Tridgell1-4/+2
Use the self.env.RPATH variable to set the RPATH for each target. This gives consistent ordering of the link command, ensuring that we don't get rebuilds if we ask for a --targets= build after a normal build. This also means we are now using the RPATH_ST pattern, which means we can potentially support compilers that don't use -Wl,xxx as the command line for rpath support
2010-04-19build: fixed a python-3 indent errorAndrew Tridgell1-1/+1
2010-04-18build: support make V=1 for verbose buildAndrew Tridgell1-1/+10
this also adds support for other options, such as "make TESTS=testpattern"
2010-04-18build: added ABI checking to the WAF buildAndrew Tridgell1-0/+36
See http://wiki.samba.org/index.php/Waf#ABI_Checking for details
2010-04-15build: throw a fatal error for duplicate target declarationsAndrew Tridgell1-4/+4
We don't want someone to declare two subsystems of the same name but with different source files Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-14build: try to honor MAKEFLAGS from makeAndrew Tridgell1-0/+26
This means "make -j" and "make -k" now do roughly what is expected make -j will use the number of CPUs on the system, regardless of the number after the -j (as MAKEFLAGS doesn't contain that value). make -k will will continue on errors
2010-04-12build: allow target upgrades from EMPTY to SYSLIBAndrew Tridgell1-1/+1
A library may be initially set as empty if it wasn't needed for a list of functions in CHECK_FUNCS_IN(). A later check may require the library. Pair-Programmed-With: Kai Blin <kai@samba.org>
2010-04-09build: use Logs.error() and Logs.info() instead of print()Andrew Tridgell1-6/+6
this gives appropriate colors on output, and ensures it works with compiler output
2010-04-08build: make the handling of relative paths a bit sanerAndrew Tridgell1-1/+1
This should fix a problem that Anatoliy has struck with the PIDL rules. It also brings us much closer to a working build for a true out of tree build (ie. with waf configure -b /tmp/build)
2010-04-08build: allow the waf build to work with python 3.0 and 3.1Thomas Nagy1-3/+3
Python 3.x is a bit fussier about print statements and indentation. Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-04-06s4-waf: replace TOUCH_FILE() with normal install rulesAndrew Tridgell1-13/+0
this allows it to work with 'waf uninstall'
2010-04-06build: fixed LOAD_ENVIRONMENT for out of tree buildsAndrew Tridgell1-1/+2
2010-04-06s4-waf: move to a universal method of recursing into subdirsAndrew Tridgell1-0/+32
This works with both standalone lib builds and bundled builds
2010-04-06build: fixed DESTDIR for TOUCH_FILE()Andrew Tridgell1-1/+6
2010-04-06build: make sure the directory exists in TOUCH_FILE()Andrew Tridgell1-0/+1
2010-04-06s4-waf: create a blank __init__.py in samba/externalAndrew Tridgell1-0/+5
needed for the external lib loader
2010-04-06build: a bit more information for tracking --target depsAndrew Tridgell1-1/+2
2010-04-06build: sys.exit is better than raise hereAndrew Tridgell1-2/+2
using raise produces a screen full of stuff the user can't understand. The message is much clearer with an exit
2010-04-06s4-waf: fixed some of the group orderingAndrew Tridgell1-7/+21
We need to try to keep targets in the right groups
2010-04-06s4-waf: added rules for rebuilding the yapp parser in pidlAndrew Tridgell1-0/+9
2010-04-06build: added pattern option for recursive_dirlistAndrew Tridgell1-2/+12
also added LOAD_ENVIRONMENT(), which will be used in the testsuite
2010-04-06build: tidy up the wafsamba rules a bitAndrew Tridgell1-73/+22
use python string conventions for function comments
2010-04-06build: throw an error on all bad variable substitutionsAndrew Tridgell1-12/+18
2010-04-06build: fixed EXPAND_VARIABLES() for env expansionAndrew Tridgell1-1/+2