summaryrefslogtreecommitdiff
path: root/buildtools
AgeCommit message (Collapse)AuthorFilesLines
2010-04-18build: fixed install of binary targets that are in subdirsAndrew Tridgell1-1/+1
this should fix the smbd/smbd install problem with Kai's s3 waf build
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: more adjustments for the ABI type name mapsAndrew Tridgell1-4/+12
- use 'va_list' instead of 'struct __va_list_tag *' Using the C name for va_list is preferable - add support for negative ABI name matches in abi_match=. That is used to exlude ldb_*module_ops from the ldb ABI - don't include the ldb module ops or backend ops in the ABI
2010-04-18build: added abi_type_maps for FC12 struct va_listAndrew Tridgell1-1/+2
fedora12 x86 uses "struct va_list"
2010-04-18build: don't depend on the word size of nm outputAndrew Tridgell1-1/+1
the first column varies in length for different architectures
2010-04-18build: added abi type maps for _Bool and __va_list_tagAndrew Tridgell1-0/+10
This allows us to make the signature files platform independent
2010-04-18build: added ABI checking to the WAF buildAndrew Tridgell6-27/+214
See http://wiki.samba.org/index.php/Waf#ABI_Checking for details
2010-04-18build: added a script for generating ABI signatures from shared librariesAndrew Tridgell1-0/+20
2010-04-15build: throw a fatal error for duplicate target declarationsAndrew Tridgell3-15/+8
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-15build: ensure we don't recreate library loops in expansionsAndrew Tridgell1-1/+26
after removing library loops from the dependeny graph, we re-add parent dependencies. We need to ensure that we don't re-add a dependency which re-creates the loop we so carefully removed. This also adds a final check for library dependency loops, and shows an appropriate error if one is found.
2010-04-15build: make the 'wrong version of waf' message even clearerAndrew Tridgell1-1/+4
suggest ./autogen-waf.sh
2010-04-15build: check that the user is not using an old /usr/bin/wafAndrew Tridgell1-1/+11
some systems have /usr/bin/waf installed, and its quite old
2010-04-14build: try to honor MAKEFLAGS from makeAndrew Tridgell3-6/+28
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-13buildtools/wafsamba: make sure CHECK_FUNC() and CHECK_VARIABLE() work with ↵Stefan Metzmacher1-2/+6
-O3 in the CFLAGS 'CFLAGS="-O3" waf configure' was not detecting dlopen() needs -ldl. metze
2010-04-13tdb-waf: added build of manpages and config options for RPM buildAndrew Tridgell1-0/+1
Building a RPM from the fedora spec file now works with minimal changes Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-13build: for unbundled libraries install devel link tooAndrew Tridgell1-0/+8
We need a symlink libFOO.so -> libFOO.so.x.y as a development symlink Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-13build: added autoconf compatible configure optionsAndrew Tridgell1-0/+27
This adds --build, --host, --program-prefix and --disable-dependency-tracking. All we do with them is check them for sanity and throw an error if (for example) the user tries a cross-compile using these options Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-13build: cope with spaces in options passed to ./configureAndrew Tridgell1-1/+1
2010-04-13build: allow cross-builds to use shared librariesAndrew Tridgell1-1/+1
2010-04-13build: check the type of implied dependenciesAndrew Tridgell1-1/+12
an implied dependency needs to be a library or module
2010-04-13build: fixed a typo that prevented --bundled-libraries from working correctlyAndrew Tridgell1-1/+1
Jelmer noticed that --minimum-library-version=talloc:2.0.1 --bundled-libraries=!tevent didn't do the right thing.
2010-04-13build: cope with existing binaries in bin/ left over from the old buildAndrew Tridgell1-4/+2
2010-04-12build: added cross-compilation configure optionsAndrew Tridgell3-0/+53
this enables use of a cross-compilation emulator, so configure tests run on an emulator of the target platform
2010-04-12wafsamba: don't add global dependencies to hostcc targetsStefan Metzmacher2-3/+8
metze
2010-04-12wafsamba: allow passing 'use_hostcc' to SAMBA_SUBSYSTEM()Stefan Metzmacher1-3/+6
metze
2010-04-12build: Add an always parameter to CHECK_DECLSKai Blin1-2/+3
2010-04-12s3-waf: Correctly create symlink if SAMBA_BINARY targets are not in the ↵Kai Blin1-1/+1
current diectory Many thanks to ita for pointing out the fix.
2010-04-12build: allow target upgrades from EMPTY to SYSLIBAndrew Tridgell2-2/+2
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-12build: use a common autogen-waf.sh for all buildsAndrew Tridgell1-0/+27
the symlink will get updated with the right target when waf dist is used in each directory
2010-04-12build: cope with symlinks between build components in waf distAndrew Tridgell1-2/+50
This will allow us to have autogen-waf.sh be a symlink to ../buildtools/scripts/autogen-waf.sh in each library. That will prevent people from updating only the script in source4/, and forgetting to udpate the scripts in the other libs, as happened with commit f3f82496
2010-04-12build: added --minimum-library-version configure optionAndrew Tridgell2-0/+23
this allows the packager to override the default choice of system library version
2010-04-10s4:autogen-waf: generate 'Makefile' instead of 'makefile'Stefan Metzmacher1-0/+7
This hopefully fixes the build on MacOS 10. metze
2010-04-09build: use Logs.error() and Logs.info() instead of print()Andrew Tridgell6-27/+29
this gives appropriate colors on output, and ensures it works with compiler output
2010-04-09build: nicer error message on missing file in waf distAndrew Tridgell1-2/+6
2010-04-09build: no need to re-create the lib and bin symlinks if they existAndrew Tridgell1-0/+6
this saves a few unlink/symlink calls for null builds
2010-04-09build: added --picky-developer and --fatal-errorsAndrew Tridgell2-1/+13
Added configure options for --fatal-errors and --picky-developer. This removes -Wfatal-errors from the --enable-developer flags.
2010-04-08s4:WAF buildsystem - support out of "source4" directory buildsMatthias Dieter Wallnöfer1-0/+3
Bug: https://bugzilla.samba.org/show_bug.cgi?id=4081 With this patch we are able to invoke s4 builds from the outside of the "source4" directory (but the target remains the "source4/bin" path). One constraint: all commands: "autogen-waf.sh", "configure", "make" have to be run from the same directory! Regarding "make": you have to run it using "make -C <source4 path> [targets]" if the invoke directory is not "source4" itself.
2010-04-08build: we need this isinstance() check for distcheckAndrew Tridgell1-1/+1
Jelmer, this works around a bug in waf distcheck that will be fixed soon. We really need the isinstance() check for now.
2010-04-08build: the exceptions here are not usefulAndrew Tridgell1-3/+3
they just make the failure hard to spot
2010-04-08build: make the handling of relative paths a bit sanerAndrew Tridgell6-18/+16
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-08s4-waf: Add dist target.Jelmer Vernooij1-0/+3
2010-04-08build: allow the waf build to work with python 3.0 and 3.1Thomas Nagy5-20/+23
Python 3.x is a bit fussier about print statements and indentation. Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-04-07s4-waf: Fix 'waf dist' app name.Jelmer Vernooij1-1/+1
2010-04-07Support 'make test TESTS=foo' again.Jelmer Vernooij1-2/+2
2010-04-06build: use a target_in_list() function for more flexible builtin controlAndrew Tridgell1-3/+14
2010-04-06build: cope with binaries with subdir prefixes (for s3 waf build)Andrew Tridgell1-1/+1
2010-04-06build: run distcheck in testwaf.shAndrew Tridgell1-0/+1
2010-04-06build: update version of waf to add subdir argument to distcheckAndrew Tridgell1-0/+0
2010-04-06s4-waf: replace TOUCH_FILE() with normal install rulesAndrew Tridgell2-14/+1
this allows it to work with 'waf uninstall'
2010-04-06build: simpler symlink_bin and symlink_lib methodsAndrew Tridgell1-22/+20