summaryrefslogtreecommitdiffstats
path: root/buildtools
Commit message (Collapse)AuthorAgeFilesLines
...
* build: cope with duplicates in source listsAndrew Tridgell2010-04-261-2/+5
|
* buildtools/wafsamba: inline defines during configure into the testsStefan Metzmacher2010-04-241-7/+4
| | | | | | | | | | | | There 2 reasons for this change: - This is how autoconf tests work and it makes config.log much more useful - The waf c preprocessor ignored changes in bin/default/__confdefs.h when using waf configure -C, because is outside of the configure tests project path and handled like a system header. Many thanks to ita for pointing out the fix. metze
* buildtools/wafsamba: make sure we create bin/default/ before trying to ↵Stefan Metzmacher2010-04-241-0/+1
| | | | | | create symlinks in it metze
* build: give a more useful error when the source dir has movedAndrew Tridgell2010-04-231-0/+6
| | | | you need a distclean if you mv the source directory
* build: use 'waf distclean' for make distcleanAndrew Tridgell2010-04-231-2/+2
| | | | this cleans up the more than rm -rf bin
* build: we don't need this makefile magic any moreAndrew Tridgell2010-04-221-2/+2
| | | | | | | | | | | The waf build now checks for all A=B variables passed via make and sets the same waf internal variable. This means all waf options are available via make. Removing this from the Makefile makes us less reliant on a modern version of make. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* build: added --enable-auto-reconfigureAndrew Tridgell2010-04-221-1/+13
| | | | | this is off by default until some issues are resolved. See my mail to samba-technical for details.
* build: recalculate project deps when NONSHARED_BINARIES changesAndrew Tridgell2010-04-211-0/+10
|
* build: added --nonshared-binary=LIST optionAndrew Tridgell2010-04-213-0/+25
| | | | | | This allows you to specify some binaries that should be built without shared libs. A non-shared smbtorture will make testing s3 in the build farm easier
* build: make python development headers not mandatory in standalone libsAndrew Tridgell2010-04-211-0/+0
| | | | | | This needed an update to the python tool in waf thanks to Kai for spotting this
* waftest: updated the cross compilation environment I test withAndrew Tridgell2010-04-211-1/+1
|
* build: fixed uname output to be on target machine when cross compilingAndrew Tridgell2010-04-214-15/+51
| | | | | this also makes the output of define_ret configure tests show up in the configure output
* build: added uname display and SYSTEM_UNAME defineAndrew Tridgell2010-04-202-0/+22
| | | | suggestion from Metze
* build: include uninitialised data in the ABI symbolsAndrew Tridgell2010-04-201-1/+1
| | | | | | | This is needed for symbols like tdb_null in tdb, which are part of the public ABI Pair-Programmed-With: Rusty Russell <rusty@samba.org>
* build: quote cross-answer stringsAndrew Tridgell2010-04-201-1/+1
| | | | This allows for spaces and special characters in cross-answers
* build: allow "waf --abi-check" to force a re-check of the ABIAndrew Tridgell2010-04-201-0/+3
|
* s4-waf: follow the configure directories for the empty install dirsAndrew Tridgell2010-04-191-0/+2
| | | | Thanks to Metze for spotting this
* build: update waf from svnAndrew Tridgell2010-04-191-0/+0
| | | | this adds bld.install_dir()
* s4-waf: install some missing empty directoriesAndrew Tridgell2010-04-191-0/+7
|
* build: make compare_install.sh also check for missing directoriesAndrew Tridgell2010-04-191-2/+2
| | | | Thanks to Nadya for pointing this out
* build: added --cross-answers supportAndrew Tridgell2010-04-194-9/+114
| | | | | | | This allows you to easily cross-compile even without a --cross-execute emulator See http://wiki.samba.org/index.php/Waf#cross-compiling for details
* build: fixed a python-3 indent errorAndrew Tridgell2010-04-191-1/+1
|
* build: expanded testwaf to include cross-compiling and python versionsAndrew Tridgell2010-04-191-11/+31
|
* build: more dependencies on /usr/bin/perl -> ${PERL}Andrew Tridgell2010-04-182-2/+2
|
* build: cope with perl not being in /usr/bin/perlAndrew Tridgell2010-04-181-1/+1
| | | | This should fixed the pidl build on SerNet-NetBSD5
* s4-waf: removed the unused installdir= option to SAMBA_BINARY()Andrew Tridgell2010-04-181-1/+0
| | | | | This was left over from the automatic conversion of the config.mk files
* build: fixed install of binary targets that are in subdirsAndrew Tridgell2010-04-181-1/+1
| | | | this should fix the smbd/smbd install problem with Kai's s3 waf build
* build: support make V=1 for verbose buildAndrew Tridgell2010-04-181-1/+10
| | | | this also adds support for other options, such as "make TESTS=testpattern"
* build: more adjustments for the ABI type name mapsAndrew Tridgell2010-04-181-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
* build: added abi_type_maps for FC12 struct va_listAndrew Tridgell2010-04-181-1/+2
| | | | fedora12 x86 uses "struct va_list"
* build: don't depend on the word size of nm outputAndrew Tridgell2010-04-181-1/+1
| | | | the first column varies in length for different architectures
* build: added abi type maps for _Bool and __va_list_tagAndrew Tridgell2010-04-181-0/+10
| | | | This allows us to make the signature files platform independent
* build: added ABI checking to the WAF buildAndrew Tridgell2010-04-186-27/+214
| | | | See http://wiki.samba.org/index.php/Waf#ABI_Checking for details
* build: added a script for generating ABI signatures from shared librariesAndrew Tridgell2010-04-181-0/+20
|
* build: throw a fatal error for duplicate target declarationsAndrew Tridgell2010-04-153-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>
* build: ensure we don't recreate library loops in expansionsAndrew Tridgell2010-04-151-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.
* build: make the 'wrong version of waf' message even clearerAndrew Tridgell2010-04-151-1/+4
| | | | suggest ./autogen-waf.sh
* build: check that the user is not using an old /usr/bin/wafAndrew Tridgell2010-04-151-1/+11
| | | | some systems have /usr/bin/waf installed, and its quite old
* build: try to honor MAKEFLAGS from makeAndrew Tridgell2010-04-143-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
* buildtools/wafsamba: make sure CHECK_FUNC() and CHECK_VARIABLE() work with ↵Stefan Metzmacher2010-04-131-2/+6
| | | | | | | | -O3 in the CFLAGS 'CFLAGS="-O3" waf configure' was not detecting dlopen() needs -ldl. metze
* tdb-waf: added build of manpages and config options for RPM buildAndrew Tridgell2010-04-131-0/+1
| | | | | | Building a RPM from the fedora spec file now works with minimal changes Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* build: for unbundled libraries install devel link tooAndrew Tridgell2010-04-131-0/+8
| | | | | | | We need a symlink libFOO.so -> libFOO.so.x.y as a development symlink Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* build: added autoconf compatible configure optionsAndrew Tridgell2010-04-131-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>
* build: cope with spaces in options passed to ./configureAndrew Tridgell2010-04-131-1/+1
|
* build: allow cross-builds to use shared librariesAndrew Tridgell2010-04-131-1/+1
|
* build: check the type of implied dependenciesAndrew Tridgell2010-04-131-1/+12
| | | | an implied dependency needs to be a library or module
* build: fixed a typo that prevented --bundled-libraries from working correctlyAndrew Tridgell2010-04-131-1/+1
| | | | | Jelmer noticed that --minimum-library-version=talloc:2.0.1 --bundled-libraries=!tevent didn't do the right thing.
* build: cope with existing binaries in bin/ left over from the old buildAndrew Tridgell2010-04-131-4/+2
|
* build: added cross-compilation configure optionsAndrew Tridgell2010-04-123-0/+53
| | | | | this enables use of a cross-compilation emulator, so configure tests run on an emulator of the target platform
* wafsamba: don't add global dependencies to hostcc targetsStefan Metzmacher2010-04-122-3/+8
| | | | metze