summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba
AgeCommit message (Collapse)AuthorFilesLines
2010-05-24solve the error "ldb.inst.h does not exist"Thomas Nagy1-0/+2
The error happens when headermap.txt is not available Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-05-23build: get the SONAME right for installed librariesAndrew Tridgell1-0/+4
2010-05-23Substitute the pidl files without using 'headermap.txt'Thomas Nagy1-1/+9
The headers generated by pidl contain references to bin/default. Those paths may be replaced automatically. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-05-21wafsamba: Disable the abi checks when gdb is not availableThomas Nagy1-0/+4
Try to find gdb during the configuration, if gdb is missing, disable the abi checks. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-20s3-waf: note that the options are brokenKai Blin1-0/+2
2010-05-20s3-waf: replace all - with _ in the configuration option namesKai Blin1-1/+1
2010-05-20s3-waf: Allow using --enable/--disable options as wellKai Blin1-3/+4
2010-05-20s3-waf: Add helper that facilitates defining --with-x and --without-x optionsKai Blin1-0/+20
2010-05-19s4-waf: Replace local includes in header files with proper system names.Thomas Nagy1-21/+100
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-05-14waf: Make waf handle IDL files from Samba3Andrew Bartlett1-4/+8
For s3compat, we need to handle IDL files not in the current directory (so the incoming file names have a directory prefix - so we must use os.path.basename()). We also need to be able to disable the addition of some IDL files into the tables.c/tables.h - some of the Samba3 IDL files are in conflict with Samba4. Andrew Bartlett
2010-05-14Revert "wafsamba: use -D_XOPEN_SOURCE=700 for the build"Stefan Metzmacher1-1/+0
This reverts commit 3408c942ab09387c399dad03e22233e33fe1e2fc. This seems to cause more problems than it tries to solve. And Mac OS 10.4 doesn't need it anymore (after commit bd6d76d77621c1dc92262c48204b65455a214b62). metze
2010-05-14wafsamba: use -D_XOPEN_SOURCE=700 for the buildStefan Metzmacher1-0/+1
Some systems set this automaticly via -D_GNU_SOURCE=1, but on others we need to set it ourself (e.g. Mac OS 10.4) metze
2010-05-13buildtools/wafsamba: fix build group orderingThomas Nagy1-2/+5
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-07build: fixed pc file variable substitutionAndrew Tridgell1-1/+7
We should not substitute for the first use of each variable declaration in the pkgconfig file
2010-05-07build: treat a blank --build or --host as not a cross-compileAndrew Tridgell1-1/+3
This matches autoconf behaviour
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-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