summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba/wscript
AgeCommit message (Collapse)AuthorFilesLines
2011-01-05buildtools/wafsamba: import 'sys' and 'Logs' if we use themStefan Metzmacher1-1/+1
We should avoid generating a backtrace in a normal error case, just because sys.exit(1) isn't known. metze
2010-12-11build: add more CFLAGS for aixMatthieu Patou1-1/+3
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sat Dec 11 18:09:23 CET 2010 on sn-devel-104
2010-12-11build: On AIX we need _XOPEN_SOURCE >= 500 for CLOCK_REALTIMEMatthieu Patou1-0/+3
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sat Dec 11 14:48:21 CET 2010 on sn-devel-104
2010-12-08waf: added --disable-symbol-versions configure optionAndrew Tridgell1-3/+8
some people may not want symbol versions.
2010-12-08waf: added configure test for -Wl,--version-scriptAndrew Tridgell1-0/+9
this checks that the linker supports --version-script Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-11-16waf: added --git-local-changes configure optionAndrew Tridgell1-0/+5
if you use --git-local-changes then the version number that waf extracts from git will have a '+' on the end if you have local changes, as determined by running 'git diff'. This used to be the default, but unfortunately it is far too slow on some systems. On a NFS build system I was using the first line of configure took about 2 minutes. Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Nov 16 01:51:54 UTC 2010 on sn-devel-104
2010-11-05wafsamba: Use project name variable rather than hardcoding 'samba4'.Jelmer Vernooij1-2/+2
Suggested-By: Andrew Tridgell <tridge@samba.org>
2010-11-05Add --disable-rpath-private-install flag.Jelmer Vernooij1-2/+15
2010-11-05Add --with-privatelibdir build option.Jelmer Vernooij1-0/+5
2010-10-31build: In some case the flags for the sun studio linker are wrongMatthieu Patou1-0/+10
In this case we test if the -Wl,-h,%s works and if so use this form Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sun Oct 31 16:35:17 UTC 2010 on sn-devel-104
2010-10-30build: set shared libraries flags correctly on mac os XMatthieu Patou1-2/+0
2010-10-30waf: added --symbol-check optionAndrew Tridgell1-0/+4
this adds checking of the symbols in all our object files, libraries and syslibs. It will form the basis in future for a lot more checks, but for now it just checks basic rules like not allowing us to use symbols that are in system libs. Currently this is enabled only if you use the --symbol-check option, (or use make with SYMBOLCHECK=1) but I intend to make this always enabled once it has had more testing. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-28build: add the -fno-common flags to fix the link pb on mac os XMatthieu Patou1-0/+2
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Thu Oct 28 22:35:08 UTC 2010 on sn-devel-104
2010-10-28build: Add XPG6 otherwise we have a configure pb on sun SolarisMatthieu Patou1-0/+1
2010-10-27build: remove warnings about redifinition of boolean use -KPIC on sunccMatthieu Patou1-1/+9
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Wed Oct 27 22:57:19 UTC 2010 on sn-devel-104
2010-10-23waf: Rename some BUNDLED_ functios to PRIVATE_.Jelmer Vernooij1-10/+10
2010-10-21waf: added --show-deps and --show-duplicatesAndrew Tridgell1-0/+8
these options make it easier to examine our depenency tree, by showing any objects linked into more than one library, and by showing the dependency tree for a chosen target
2010-10-19waf: automap shared library names from .so to the right extensionAndrew Tridgell1-1/+6
this should help with MacOSX .dylib libraries
2010-08-30Disable gccdeps if -MD is not supportedThomas Nagy1-3/+23
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-08-17Revert "waf: enable gccdeps in developer mode"Stefan Metzmacher1-3/+2
This reverts commit 61930f50cbace4741500d8b53fc11a4ef3e0d4f8. This breaks the build with older gcc versions gcc --version gcc (SUSE Linux) 4.3.2 [gcc-4_3-branch revision 141291] (This is SLES 11) Please only enable it if thet compiler supports it. metze
2010-08-14waf: enable gccdeps in developer modeAndrew Tridgell1-2/+3
there are some bugs in the waf builtin preproc this that avoids
2010-05-28waf Provide release signing capability in 'waf dist'Andrew Bartlett1-0/+8
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-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-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-07build: treat a blank --build or --host as not a cross-compileAndrew Tridgell1-1/+3
This matches autoconf behaviour
2010-05-05build: added configure test for inlineAndrew Tridgell1-0/+2
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-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: added --nonshared-binary=LIST optionAndrew Tridgell1-0/+4
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 Tridgell1-4/+7
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 Tridgell1-0/+3
suggestion from Metze
2010-04-19build: added --cross-answers supportAndrew Tridgell1-0/+4
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-18build: added ABI checking to the WAF buildAndrew Tridgell1-24/+47
See http://wiki.samba.org/index.php/Waf#ABI_Checking for details
2010-04-14build: try to honor MAKEFLAGS from makeAndrew Tridgell1-0/+1
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-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-12build: added cross-compilation configure optionsAndrew Tridgell1-0/+15
this enables use of a cross-compilation emulator, so configure tests run on an emulator of the target platform
2010-04-12build: added --minimum-library-version configure optionAndrew Tridgell1-0/+4
this allows the packager to override the default choice of system library version
2010-04-09build: added --picky-developer and --fatal-errorsAndrew Tridgell1-0/+6
Added configure options for --fatal-errors and --picky-developer. This removes -Wfatal-errors from the --enable-developer flags.
2010-04-06s4-waf: added 'waf dist' to build the tarballAndrew Tridgell1-0/+3
2010-04-06build: added functions for compound configuration testingAndrew Tridgell1-0/+1
This allows us to give a single 'Checking ...' msg for a compound set of tests.
2010-04-06build: work around missing defaults from gnu_dirs.pyAndrew Tridgell1-12/+3
2010-04-06build: auto-detect platforms which don't support shared libsAndrew Tridgell1-1/+5
2010-04-06build: only add -fPIC if it is supportedAndrew Tridgell1-1/+1
2010-04-06s4-waf: support the use of system librariesAndrew Tridgell1-3/+3
distros can set --bundled-libraries=NONE to force use of all system libraries. If the right version isn't found then configure will fail. Users may choose which libraries to use from the system, and which to use bundled libs. The default is to try system libs, and use them if their version matches the one in the source tree.
2010-04-06build: better control over bundled library extensionsAndrew Tridgell1-7/+15
2010-04-06build: added support for controlling library typesAndrew Tridgell1-1/+18
added: --bundled-library-extension : control library extension for bundled libraries --builtin-libraries : force a list of libraries to be builtin (non-shared)
2010-04-06s4-waf: mark the wscript files as python so vim/emacs knows how to highlight ↵Andrew Tridgell1-0/+2
them
2010-04-06s4-waf: move the gnu dirs check to the generic wafsamba codeAndrew Tridgell1-0/+2