summaryrefslogtreecommitdiffstats
path: root/source4/wscript
Commit message (Collapse)AuthorAgeFilesLines
* s4-waf Remove source4 build system.Andrew Bartlett2011-02-091-199/+0
| | | | | | The top level build is the official build system now. Andrew Bartlett
* waf: use PYTHONARCHDIR for installing python shared libsAndrew Tridgell2011-01-141-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
* build: remove -no-undefined and -as-needed on openbsdMatthieu Patou2010-12-131-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
* build: add a function to test if -lc is neededMatthieu Patou2010-12-101-0/+2
| | | | | This is needed on openbsd as some linking flags makes mandatory to specify the libc for the linking
* s4-dist: Remove no longer existing files from blacklist (fixes 'makeJelmer Vernooij2010-12-101-2/+1
| | | | dist' inclusion of configure)
* build: introduce SAMBA_CHECK_PYTHON_HEADERSMatthieu Patou2010-12-101-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.
* build: do not duplicate the checks for python in samba4Matthieu Patou2010-12-091-2/+3
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Thu Dec 9 00:47:23 CET 2010 on sn-devel-104
* s4-waf: get the version number right on private librariesAndrew Tridgell2010-12-081-17/+5
| | | | | | use the first digit of the version number for the library version Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
* build: change compile flags on mac os x if we face pb with common symbolsMatthieu Patou2010-11-271-2/+4
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sat Nov 27 18:02:41 CET 2010 on sn-devel-104
* waf: added --git-local-changes configure optionAndrew Tridgell2010-11-161-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
* samba_version: When working from git checkout, display git revision SHA1 ratherJelmer Vernooij2010-11-121-1/+1
| | | | than Bazaar revision ids.
* waf: Put private libraries in a separate directory when building.Jelmer Vernooij2010-11-051-2/+2
| | | | Thanks to Tridge for pointing out what exactly I had to change. :-)
* s4: don't run etags over .inst filesAndrew Tridgell2010-11-041-2/+2
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Nov 4 22:51:06 UTC 2010 on sn-devel-104
* s4-build: use -Wl,--as-needed if supportedAndrew Tridgell2010-11-031-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
* build: make this test darwin only as it mess a bit more the freebsd buildMatthieu Patou2010-10-301-1/+1
|
* build: set shared libraries flags correctly on mac os XMatthieu Patou2010-10-301-0/+5
|
* s4-replace: make libreplace a private shared lib in s4Andrew Tridgell2010-10-301-1/+1
|
* s4-waf: don't generate PACKAGE_* defines in config.hStefan Metzmacher2010-10-251-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
* waf: moved the -Wl,-no-undefined flags to source4 and ldbAndrew Tridgell2010-10-251-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
* waf: Rename some BUNDLED_ functios to PRIVATE_.Jelmer Vernooij2010-10-231-1/+1
|
* s4: mark us as not supporting python3 yetAndrew Tridgell2010-10-121-1/+4
| | | | | python3 works fine with waf fine, but our C interfaces need 2.x for now
* samba: share readline wrappers among all buildsystems.Günther Deschner2010-10-011-1/+1
| | | | Guenther
* waf: we don't need the preprocessor recursion limit any moreAndrew Tridgell2010-09-281-3/+0
| | | | thanks to ita for this
* torture: Use system subunit library if available.Jelmer Vernooij2010-09-221-0/+1
|
* build: only use git when found by configureAndrew Tridgell2010-06-291-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
* samba4: Build libreplace as builtin library by default so it doesn't endJelmer Vernooij2010-06-181-1/+1
| | | | up in $prefix/lib.
* s4-waf: Look for xsltproc executable, required to build manpages.Jelmer Vernooij2010-05-311-0/+1
|
* s4:waf Exclude the autotools based build environment from a Samba4 releaseAndrew Bartlett2010-05-281-1/+7
|
* waf Add DIST_BLACKLIST to list files that we cannot include in a releaseAndrew Bartlett2010-05-281-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
* waf Read VERSION file inside WAF to set package versionAndrew Bartlett2010-05-281-4/+7
| | | | | | | This replaces the call to mkversion.sh in both the Samba3 and Samba4 WAF builds. Andrew Bartlett
* build: added a reconfigure targetAndrew Tridgell2010-05-061-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
* build: allow use of target names as commands in wafAndrew Tridgell2010-05-041-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
* s4-waf: added --enable-build-farm configure optionAndrew Tridgell2010-04-291-0/+9
| | | | | this adds a smbtorture.static binary which s3 will use in the build farm
* s4-waf: python devel headers are mandatory for the source4 buildAndrew Tridgell2010-04-211-1/+1
|
* s4:selftest/wscript: --enable-selftest and --with-selftest-prefix are ↵Stefan Metzmacher2010-04-151-0/+1
| | | | | | configure options metze
* build: allow the waf build to work with python 3.0 and 3.1Thomas Nagy2010-04-081-5/+5
| | | | | | Python 3.x is a bit fussier about print statements and indentation. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-waf: add subdir argument to distcheck for source4Andrew Tridgell2010-04-061-0/+7
|
* s4-waf: move to a universal method of recursing into subdirsAndrew Tridgell2010-04-061-28/+28
| | | | This works with both standalone lib builds and bundled builds
* s4-waf: avoid having to run waf configure before waf distAndrew Tridgell2010-04-061-1/+2
| | | | This should be useful for building tarballs from a clean checkout
* s4-waf: added 'waf dist' to build the tarballAndrew Tridgell2010-04-061-1/+11
|
* s4-waf: remove PYTHONDIR from config.hAndrew Tridgell2010-04-061-0/+3
| | | | prevent unnecessary rebuilds
* s4-waf: install in /usr/local/samba by defaultAndrew Tridgell2010-04-061-0/+4
|
* s4-waf: added pydoctor and wafdocs targetsAndrew Tridgell2010-04-061-0/+20
| | | | | | these generate html documentation for the Samba python code You need a very recent version of pydoctor
* s4-waf: change bundled extension to 'samba4'Andrew Tridgell2010-04-061-1/+1
| | | | This matches what debian currently uses for libldb-samba4
* s4-waf: cleanup use of LIBPOPT vs popt dependencyAndrew Tridgell2010-04-061-1/+0
|
* s4-waf: set default for bundled librariesAndrew Tridgell2010-04-061-2/+2
|
* s4-waf: don't auto-include bundled library headersAndrew Tridgell2010-04-061-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
* s4-waf: set the bundled library extension for some libsAndrew Tridgell2010-04-061-6/+9
|
* s4-waf: enable the configuration and options for pidlAndrew Tridgell2010-04-061-0/+2
|
* build: spelling fix, and syntax highlighting fixAndrew Tridgell2010-04-061-2/+2
|