summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba
AgeCommit message (Collapse)AuthorFilesLines
2010-05-05build: added configure test for inlineAndrew Tridgell2-0/+26
2010-05-05build: mark cloned task generators as not postedAndrew Tridgell1-0/+1
this solves an incompatibility with a newer version of waf from svn
2010-05-04build: fixed wildcard handling for python 3.xAndrew Tridgell1-1/+1
print must take parentheses
2010-05-04build: allow use of target names as commands in wafAndrew Tridgell2-0/+115
This allows for the following types of commands: waf smbd/samba waf smbd/server.c waf ../lib/util/util_file.c waf ../lib/util/util_file_*.o this will be used as part of an updated minimal_includes.pl script
2010-05-03build: use the waf patterns for RPATHAndrew Tridgell2-11/+9
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-05-03build: added a check for group ordering within target dependenciesAndrew Tridgell1-0/+47
If target A depends on target B, then target B must not be in a later build group from target A Pair-Programmed-With: Thomas Nagy
2010-05-03build: fix for combined configure/build in one commandAndrew Tridgell1-3/+10
This is a fix from ita for "waf distclean configure build". Running it as one command failed with missing config.h
2010-05-02build: uname on opensolaris returns 1 for successAndrew Tridgell1-1/+1
check for -1 as failure, not 0 for success
2010-04-29build: added enabled=True/False option to SAMBA_BINARY()Andrew Tridgell1-1/+6
2010-04-26build: cope with realname for install of non-python libsAndrew Tridgell2-2/+8
this fixes the install of mit_samba.so
2010-04-26build: normalise paths in unique source checkingAndrew Tridgell1-1/+1
2010-04-26build: a library is only empty if it has no depsAndrew Tridgell1-3/+3
2010-04-26build: use option_group() not add_option_group()Andrew Tridgell1-1/+1
option_group() ensures we don't end up with duplicate groups
2010-04-26build: cope with duplicates in source listsAndrew Tridgell1-2/+5
2010-04-24buildtools/wafsamba: inline defines during configure into the testsStefan Metzmacher1-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
2010-04-24buildtools/wafsamba: make sure we create bin/default/ before trying to ↵Stefan Metzmacher1-0/+1
create symlinks in it metze
2010-04-23build: give a more useful error when the source dir has movedAndrew Tridgell1-0/+6
you need a distclean if you mv the source directory
2010-04-22build: added --enable-auto-reconfigureAndrew Tridgell1-1/+13
this is off by default until some issues are resolved. See my mail to samba-technical for details.
2010-04-21build: recalculate project deps when NONSHARED_BINARIES changesAndrew Tridgell1-0/+10
2010-04-21build: added --nonshared-binary=LIST optionAndrew Tridgell3-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
2010-04-21build: fixed uname output to be on target machine when cross compilingAndrew Tridgell4-15/+51
this also makes the output of define_ret configure tests show up in the configure output
2010-04-20build: added uname display and SYSTEM_UNAME defineAndrew Tridgell2-0/+22
suggestion from Metze
2010-04-20build: quote cross-answer stringsAndrew Tridgell1-1/+1
This allows for spaces and special characters in cross-answers
2010-04-20build: allow "waf --abi-check" to force a re-check of the ABIAndrew Tridgell1-0/+3
2010-04-19s4-waf: follow the configure directories for the empty install dirsAndrew Tridgell1-0/+2
Thanks to Metze for spotting this
2010-04-19s4-waf: install some missing empty directoriesAndrew Tridgell1-0/+7
2010-04-19build: added --cross-answers supportAndrew Tridgell4-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
2010-04-19build: fixed a python-3 indent errorAndrew Tridgell1-1/+1
2010-04-18build: more dependencies on /usr/bin/perl -> ${PERL}Andrew Tridgell2-2/+2
2010-04-18build: cope with perl not being in /usr/bin/perlAndrew Tridgell1-1/+1
This should fixed the pidl build on SerNet-NetBSD5
2010-04-18s4-waf: removed the unused installdir= option to SAMBA_BINARY()Andrew Tridgell1-1/+0
This was left over from the automatic conversion of the config.mk files
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: 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-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 Tridgell2-0/+27
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: 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