summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba/samba_utils.py
AgeCommit message (Collapse)AuthorFilesLines
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
2010-04-06build: support variable expansion in source= arguments to build rulesAndrew Tridgell1-0/+34
This makes it much easier to follow the s3 approach to lists of source files in the top level wscript Pair-Programmed-With: Kai Blin <kai@samba.org>
2010-04-06build: honor existing LD_LIBRARY_PATH settings when adding shared lib pathsAndrew Tridgell1-1/+12
2010-04-06build: we need to replace md5 in Task as wellAndrew Tridgell1-1/+2
2010-04-06build: need to set h_file on UtilsAndrew Tridgell1-2/+3
2010-04-06build: replace h_file when replacing md5Thomas Nagy1-0/+8
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-04-06build: cope with systems that don't have md5 in pythonAndrew Tridgell1-0/+21
2010-04-06build: need to mark disabled libraries as DISABLEDAndrew Tridgell1-0/+1
2010-04-06build: add cflags from pkg_config results to header/function testsAndrew Tridgell1-0/+2
When we find a package with pkg_config we may need to use the resulting ccflags and ldflags in later tests. Support this by adding lib= options to CHECK_FUNC and CHECK_HEADER This gets gnutls on FreeBSD working
2010-04-06build: finer grained rpath checking for binary/installAndrew Tridgell1-10/+13
2010-04-06build: support systems without rpathAndrew Tridgell1-3/+6
2010-04-06build: cope with multiple checks for the same function/libraryAndrew Tridgell1-0/+9
2010-04-06build: added SUBST_VARS_RECURSIVE()Andrew Tridgell1-3/+12
2010-04-06build: use RUN_COMMAND() to wrap os.system()Andrew Tridgell1-0/+18
2010-04-06build: split build and install libraries/binariesAndrew Tridgell1-14/+9
we need to split these to avoid re-compilation on install as install has different rpath settings
2010-04-06build: try faster includes processingAndrew Tridgell1-1/+0
2010-04-06build: waf quicktest nearly worksAndrew Tridgell1-12/+38
Rewrote wafsamba using a new dependency handling system, and started adding the waf test code
2010-04-06build: nearly there on samba4 buildAndrew Tridgell1-32/+27
2010-04-06build: assert on missing dependencyAndrew Tridgell1-1/+13
2010-04-06build: added ENFORCE_GROUP_ORDERING()Andrew Tridgell1-0/+28
2010-04-06build: added SUBST_ENV_VAR()Andrew Tridgell1-0/+5
2010-04-06build: smarter list splittingAndrew Tridgell1-2/+9
2010-04-06build: a useful example of a debug technique in wafAndrew Tridgell1-0/+8
2010-04-06build: result of hack session with itaAndrew Tridgell1-4/+4
2010-04-06build: fixes from itaAndrew Tridgell1-1/+43