summaryrefslogtreecommitdiff
path: root/buildtools
AgeCommit message (Collapse)AuthorFilesLines
2010-05-28waf Provide release signing capability in 'waf dist'Andrew Bartlett2-4/+40
This helps ensure the release is signed correctly - the .tar file, not the .tar.gz must be signed, and it's easy to forget this. Andrew Bartlett
2010-05-28waf Add DIST_BLACKLIST to list files that we cannot include in a releaseAndrew Bartlett1-0/+20
This currently includes the source3 directory for Samba4 releases (per past practice in mkrelease.sh), but also could include things like DFSG-unfree RFC files in the future. Andrew Barltett
2010-05-28waf Read VERSION file inside WAF to set package versionAndrew Bartlett3-8/+190
This replaces the call to mkversion.sh in both the Samba3 and Samba4 WAF builds. Andrew Bartlett
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-11build: skip missing executables in testwaf.shKai Blin1-2/+12
2010-05-10build: Update the waf build to fix python header checksKai Blin1-0/+0
2010-05-09buildtools: Add 'make testenv' to Samba4 make targetsAndrew Bartlett1-0/+3
I'm still too addicted to this as my standard debugging environment, and while I can learn the new command, this helps the muscle-memory. Andrew Bartlett
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 Tridgell2-0/+13
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: update version of wafAndrew Tridgell1-0/+0
this fixes a slow configure problem on HPUX
2010-05-05build: use the wrapper commands in testwaf.shAndrew Tridgell1-5/+5
this ensures they are well tested
2010-05-05build: added a distcheck targetAndrew Tridgell1-0/+3
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-05build: exit with an error if waf configure failsAndrew Tridgell1-2/+2
We don't want configure in the build farm to show green when it fails
2010-05-04build: enable python 3.0 and 3.1 in testwaf.shAndrew Tridgell1-2/+1
try to ensure that we don't let support for python 3.x bitrot
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: automatically run autogen-waf.sh when neededAndrew Tridgell1-4/+2
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-23build: use 'waf distclean' for make distcleanAndrew Tridgell1-2/+2
this cleans up the more than rm -rf bin
2010-04-22build: we don't need this makefile magic any moreAndrew Tridgell1-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>
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