summaryrefslogtreecommitdiff
path: root/source4/wscript
AgeCommit message (Collapse)AuthorFilesLines
2011-02-09s4-waf Remove source4 build system.Andrew Bartlett1-199/+0
The top level build is the official build system now. Andrew Bartlett
2011-01-14waf: use PYTHONARCHDIR for installing python shared libsAndrew Tridgell1-0/+2
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Jan 14 08:19:40 CET 2011 on sn-devel-104
2010-12-13build: remove -no-undefined and -as-needed on openbsdMatthieu Patou1-2/+5
This is causing problems with linker Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Mon Dec 13 00:25:38 CET 2010 on sn-devel-104
2010-12-10build: add a function to test if -lc is neededMatthieu Patou1-0/+2
This is needed on openbsd as some linking flags makes mandatory to specify the libc for the linking
2010-12-10s4-dist: Remove no longer existing files from blacklist (fixes 'makeJelmer Vernooij1-2/+1
dist' inclusion of configure)
2010-12-10build: introduce SAMBA_CHECK_PYTHON_HEADERSMatthieu Patou1-1/+1
This function is a wrapper around waf's check_python_header. It avoids searching more than once for the headers bringing a small speed improvement and a better lisibility of the logs. But it's mainly to avoid a nasty bug when python libraries are in path pointed by python_LIBPL (ie. /usr/local/lib/python2.6/config/) instead of python_LIBDIR (ie. /usr/local/lib). On the first call waf will correctly find that in order to link with python libs it needs to add -L$python_LIBPL. But on the next calls of check_python_headers, waf will use both the current library path value (ie. -L/usr/local/lib/python2.6/config) and -L$python_LIBDIR (ie. /usr/local/lib/) which will make him beleive that python libraries are in $python_LIBDIR which at the end will make the final link test fails in check_python_headers as it will not use the good directory. So by avoiding calling check_python_headers more than once we avoid making waf fooling itself.
2010-12-09build: do not duplicate the checks for python in samba4Matthieu Patou1-2/+3
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Thu Dec 9 00:47:23 CET 2010 on sn-devel-104
2010-12-08s4-waf: get the version number right on private librariesAndrew Tridgell1-17/+5
use the first digit of the version number for the library version Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
2010-11-27build: change compile flags on mac os x if we face pb with common symbolsMatthieu Patou1-2/+4
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sat Nov 27 18:02:41 CET 2010 on sn-devel-104
2010-11-16waf: added --git-local-changes configure optionAndrew Tridgell1-8/+8
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-12samba_version: When working from git checkout, display git revision SHA1 ratherJelmer Vernooij1-1/+1
than Bazaar revision ids.
2010-11-05waf: Put private libraries in a separate directory when building.Jelmer Vernooij1-2/+2
Thanks to Tridge for pointing out what exactly I had to change. :-)
2010-11-04s4: don't run etags over .inst filesAndrew Tridgell1-2/+2
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Nov 4 22:51:06 UTC 2010 on sn-devel-104
2010-11-03s4-build: use -Wl,--as-needed if supportedAndrew Tridgell1-0/+6
this makes our runtime load times smaller, and also means we find bugs that this may cause on gentoo. gentoo uses this by default Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Nov 3 00:35:56 UTC 2010 on sn-devel-104
2010-10-30build: make this test darwin only as it mess a bit more the freebsd buildMatthieu Patou1-1/+1
2010-10-30build: set shared libraries flags correctly on mac os XMatthieu Patou1-0/+5
2010-10-30s4-replace: make libreplace a private shared lib in s4Andrew Tridgell1-1/+1
2010-10-25s4-waf: don't generate PACKAGE_* defines in config.hStefan Metzmacher1-7/+0
- We don't use them anywhere (heimdal has special rules) - They calculate the version at configure time and may contain the wrong git hash while building - If we really need them in future we should add them to version.h and not config.h, as the changing git hash will trigger a full rebuild if config.h changes. metze
2010-10-25waf: moved the -Wl,-no-undefined flags to source4 and ldbAndrew Tridgell1-0/+4
moved it out of the general waf build as the s3 waf build cannot yet handle linking with -Wl,-no-undefined Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Oct 25 01:12:15 UTC 2010 on sn-devel-104
2010-10-23waf: Rename some BUNDLED_ functios to PRIVATE_.Jelmer Vernooij1-1/+1
2010-10-12s4: mark us as not supporting python3 yetAndrew Tridgell1-1/+4
python3 works fine with waf fine, but our C interfaces need 2.x for now
2010-10-01samba: share readline wrappers among all buildsystems.Günther Deschner1-1/+1
Guenther
2010-09-28waf: we don't need the preprocessor recursion limit any moreAndrew Tridgell1-3/+0
thanks to ita for this
2010-09-22torture: Use system subunit library if available.Jelmer Vernooij1-0/+1
2010-06-29build: only use git when found by configureAndrew Tridgell1-2/+17
this rebuilds version.h whenever the git version changes, so we always get the right version with samba -V. That adds about 15s to the build time on each git commit, which shouldn't be too onerous
2010-06-18samba4: Build libreplace as builtin library by default so it doesn't endJelmer Vernooij1-1/+1
up in $prefix/lib.
2010-05-31s4-waf: Look for xsltproc executable, required to build manpages.Jelmer Vernooij1-0/+1
2010-05-28s4:waf Exclude the autotools based build environment from a Samba4 releaseAndrew Bartlett1-1/+7
2010-05-28waf Add DIST_BLACKLIST to list files that we cannot include in a releaseAndrew Bartlett1-0/+5
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 Bartlett1-4/+7
This replaces the call to mkversion.sh in both the Samba3 and Samba4 WAF builds. Andrew Bartlett
2010-05-06build: added a reconfigure targetAndrew Tridgell1-0/+4
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-04build: allow use of target names as commands in wafAndrew Tridgell1-1/+10
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-04-29s4-waf: added --enable-build-farm configure optionAndrew Tridgell1-0/+9
this adds a smbtorture.static binary which s3 will use in the build farm
2010-04-21s4-waf: python devel headers are mandatory for the source4 buildAndrew Tridgell1-1/+1
2010-04-15s4:selftest/wscript: --enable-selftest and --with-selftest-prefix are ↵Stefan Metzmacher1-0/+1
configure options metze
2010-04-08build: allow the waf build to work with python 3.0 and 3.1Thomas Nagy1-5/+5
Python 3.x is a bit fussier about print statements and indentation. Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-04-06s4-waf: add subdir argument to distcheck for source4Andrew Tridgell1-0/+7
2010-04-06s4-waf: move to a universal method of recursing into subdirsAndrew Tridgell1-28/+28
This works with both standalone lib builds and bundled builds
2010-04-06s4-waf: avoid having to run waf configure before waf distAndrew Tridgell1-1/+2
This should be useful for building tarballs from a clean checkout
2010-04-06s4-waf: added 'waf dist' to build the tarballAndrew Tridgell1-1/+11
2010-04-06s4-waf: remove PYTHONDIR from config.hAndrew Tridgell1-0/+3
prevent unnecessary rebuilds
2010-04-06s4-waf: install in /usr/local/samba by defaultAndrew Tridgell1-0/+4
2010-04-06s4-waf: added pydoctor and wafdocs targetsAndrew Tridgell1-0/+20
these generate html documentation for the Samba python code You need a very recent version of pydoctor
2010-04-06s4-waf: change bundled extension to 'samba4'Andrew Tridgell1-1/+1
This matches what debian currently uses for libldb-samba4
2010-04-06s4-waf: cleanup use of LIBPOPT vs popt dependencyAndrew Tridgell1-1/+0
2010-04-06s4-waf: set default for bundled librariesAndrew Tridgell1-2/+2
2010-04-06s4-waf: don't auto-include bundled library headersAndrew Tridgell1-1/+1
If we are going to use the system versions of these libraries then we should not force the use of the non-system headers
2010-04-06s4-waf: set the bundled library extension for some libsAndrew Tridgell1-6/+9
2010-04-06s4-waf: enable the configuration and options for pidlAndrew Tridgell1-0/+2
2010-04-06build: spelling fix, and syntax highlighting fixAndrew Tridgell1-2/+2