summaryrefslogtreecommitdiffstats
path: root/wscript
Commit message (Collapse)AuthorAgeFilesLines
* ntdb: put it back into the build.Rusty Russell2012-06-191-2/+4
| | | | | | | This doesn't do anything with it yet, just wires it back into the build. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* waf: support --without-ad-dc for Heimdal (embedded and system) as wellAlexander Bokovoy2012-06-071-3/+3
| | | | | | --without-ad-dc was hardwired to mean --with-system-mitkrb5. With this change it also possible to build source3/ code and source4/ client side without building AD DC functionality using Heimdal (embedded or system).
* freebsd9: support both WAF MIT krb5 build and autoconf build against MIT krb5Alexander Bokovoy2012-05-281-2/+17
| | | | | | | | | | | | | | | | | | | | | | System-provided Heimdal Kerberos in FreeBSD 9 lacks proper support for parsing MS PAC. This leaves us with MIT krb5 package from ports or embedded Heimdal in source4. MIT krb5 from ports is 1.9.2, it supports all needed features for AD support in smbd, as well as WAF MIT krb5 build. In order to use it, one needs to install 'krb5' package. Autoconf build: --with-krb5=/usr/local WAF build: --with-system-mitkrb5 /usr/local or otherwise krb5-config from system Heimdal will overtake and break the detection, leaving you with a mixture of Kerberos libraries from different locations. WAF build accepts multiple paths as sub-arguments of the --with-system-mitkrb5 and searches through them for krb5-config, i.e. /usr/local /usr/kerberos ... Autobuild-User: Alexander Bokovoy <ab@samba.org> Autobuild-Date: Mon May 28 23:40:30 CEST 2012 on sn-devel-104
* build: Remove all references to libuuidAndrew Bartlett2012-05-271-1/+0
| | | | | | | | | We simply do not need this library any more. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sun May 27 11:08:22 CEST 2012 on sn-devel-104
* Introduce system MIT krb5 build with --with-system-mitkrb5 option.Alexander Bokovoy2012-05-231-2/+13
| | | | | | | | | | | | | | | | | System MIT krb5 build also enabled by specifying --without-ad-dc When --with-system-mitkrb5 (or --withou-ad-dc) option is passed to top level configure in WAF build we are trying to detect and use system-wide MIT krb5 libraries. As result, Samba 4 DC functionality will be disabled due to the fact that it is currently impossible to implement embedded KDC server with MIT krb5. Thus, --with-system-mitkrb5/--without-ad-dc build will only produce * Samba 4 client libraries and their Python bindings * Samba 3 server (smbd, nmbd, winbindd from source3/) * Samba 3 client libraries In addition, Samba 4 DC server-specific tests will not be compiled into smbtorture. This in particular affects spoolss_win, spoolss_notify, and remote_pac rpc tests.
* allow to use system iniparser library.Günther Deschner2012-05-091-0/+1
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed May 9 17:38:33 CEST 2012 on sn-devel-104
* waf: move krb5 checks to a separate waf fileAlexander Bokovoy2012-04-231-1/+8
| | | | | | | | | | | | | | | | | With PROCESS_SEPARATE_RULE in wafsamba it is now possible to simplify configuration and checks for MIT/Heimdal Kerberos implementations. 1. Move MIT krb5 checks from source3/wscript to wscript_configure_krb5 2. Make sure they are called same way (--with-mit-krb5-checks) 3. If no configure checks identified MIT krb5 in system (or were disabled), make sure Heimdal build is selected, embedded (default) or system-provided. This makes logic of configuration unchanged for Heimdal builds but adds less hacky way to use MIT krb5 builds. The latter does not work yet as we need to untangle more subsystems from HDB/Heimdal-specific details but lays out a foundation for that. Signed-off-by: Simo Sorce <idra@samba.org>
* build: Remove support for a system libsmbclientAndrew Bartlett2012-04-231-1/+0
| | | | | | | | | | | | | | | With the new --private-libraries option, there is no longer the need to have this support, which was aimed at avoiding the duplication between two different libsmbclient binaries in a packaged distribution. By using --private-libraries instead, we do not introduce a dependency between Samba 4.0 packages and whatever other packages are on the system. This effectivly reverts part of e3ffb31554927a24df35576bd753ee4eb2dc2a3c while kpeeing the improved SAMBA_LIBRARY declaration. Andrew Bartlett
* build: Remove support for system libwbclientAndrew Bartlett2012-04-231-1/+0
| | | | | | | | | This effectively reverts commit 2c49782dc1069eebc9f5a5cd2a055b5912665595 This also adds explaination about what would need to be done to support a system libwbclient Andrew Bartlett
* waf: Add possibility to build with system libwbclient.Andreas Schneider2012-04-171-0/+1
|
* s3-waf: Add possibility to build with system libsmbclient.Andreas Schneider2012-04-171-0/+1
|
* waf: when USING_SYSTEM_KRB5 environment variable is set, dont configure localGünther Deschner2012-04-121-1/+2
| | | | | | | | heimdal. Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
* build: Add configure summary checking to waf buildAndrew Bartlett2012-04-051-0/+7
| | | | | | | | | | When we remove the autoconf build, this can be re-expressed in python, but for now it is good to share this double-check. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Apr 5 04:11:45 CEST 2012 on sn-devel-104
* util: Add --disable-fault-handling.Ira Cooper2012-03-151-0/+1
| | | | | | On some platforms you can not debug coredumps after the default signal handler gets done dumping core. This allows waf to have an option to disable our default signal handler.
* wscript: Include talloc, tdb and ldb in pydoctor output.Jelmer Vernooij2012-03-101-1/+10
|
* pydoctor: Specify --project-name.Jelmer Vernooij2012-03-101-1/+1
|
* addns: Fix the Solaris/Illumos build.Ira Cooper2012-03-071-0/+1
| | | | | | uuid_t is not defined without including sys/uuid.h, configure+waf checks added. Signed-off-by: Jeremy Allison <jra@samba.org>
* wafsamba: exclude '.brzignore' from "make dist"Michael Adam2012-02-161-1/+1
| | | | | | | | .bzrignore can cause unwanted effects, if one e.g. maintains a packaging (like debian) of the generated distribution in bzr. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Thu Feb 16 13:47:52 CET 2012 on sn-devel-104
* wafsamba: exclude '.gitignore' from "make dist"Michael Adam2012-02-161-0/+1
| | | | | .gitignore can cause unwanted effects, if one e.g. maintains a packaging (like debian) of the generated distribution in git
* crypto: Use libbsd md5 header, if available.Jelmer Vernooij2012-02-071-0/+1
|
* Add 'make pep8' target.Jelmer Vernooij2011-12-091-0/+8
|
* waf: Factor checking for undefined symbol flags out into separate method.Jelmer Vernooij2011-11-131-9/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Nov 13 19:38:38 CET 2011 on sn-devel-104
* build: Remove _SAMBA_WAF_BUILD_Andrew Bartlett2011-10-071-1/+0
| | | | | | The _SAMBA_BUILD_ macro can pick the difference between autoconf and waf builds now Andrew Bartlett
* build: Reduce build systems to just top level waf and autoconfAndrew Bartlett2011-10-071-3/+0
| | | | | | | | | The s3-waf build system is a key component of the top level build, but with this commit is is no longer available directly. This reduces the number of build system combinations in master as we prepare for the Samba 4.0 release. Andrew Bartlett
* wscript: Also generate ctags for python filesKai Blin2011-10-021-1/+1
|
* build: Fix waf build on MacOS XAndrew Bartlett2011-09-231-0/+4
| | | | | | | | | | | The -framework CoreFoundation is required by the charset_macosxfs module The system/time.h header is required to access the replacement clock_gettime() Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Sep 23 10:58:02 CEST 2011 on sn-devel-104
* build: Add duplicate symbol checking as part of make testAndrew Bartlett2011-09-081-0/+1
| | | | | | | | | | This ensures we do not get duplicate symbols again, when run as ./configure.developer on non-build farm machines. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Sep 8 13:37:40 CEST 2011 on sn-devel-104
* build: Re-enable the -Wl,--as-needed flagAndrew Bartlett2011-07-061-6/+2
|
* ldb: make ldb a top level library for Samba 4.0Andrew Bartlett2011-07-051-2/+2
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* build: Remove blacklist now we have a common buildAndrew Bartlett2011-06-241-10/+0
|
* build: move dynconfig for top level build upAndrew Bartlett2011-06-211-2/+2
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* build: disable -Wl,--as-needed to try and fix the buildAndrew Bartlett2011-06-211-2/+7
| | | | | | | | | | | The issue here is that the source3 components now built as part of the top level build do not have their depenencies fully specified, and this causes the build to fail for many of our users. When we fix that, we can restore this flag, so we again find that kind of bug, which will show up for our Gentoo users regardless. Andrew Bartlett
* lib: import ccan modules for tdb2Rusty Russell2011-06-201-0/+1
| | | | | | | Imported from git://git.ozlabs.org/~ccan/ccan init-1161-g661d41f Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* build: only use the git version on install, not in the build treeAndrew Tridgell2011-06-171-1/+1
| | | | | | | | | | | | | | having the git version in our version.h in the build tree is annoying for developers, as every time you commit or rebase you need to spend several minutes re-linking. This changes it to use the git version only on install, which is much more useful as when you actually install the binaries you may be using them in a way that reporting the version is useful Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Jun 17 08:37:06 CEST 2011 on sn-devel-104
* build: Remove --disable-s3build so we can rely on these subsystemsAndrew Bartlett2011-05-091-10/+1
| | | | | | | | | This will make it easier to write code that uses the whole codebase. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon May 9 12:25:33 CEST 2011 on sn-devel-104
* build: Allow the C code to know if this is a waf buildAndrew Bartlett2011-05-081-0/+1
| | | | | | | This allows addition of functionality that can't be handled (for example, due to dependencies) in the autoconf build. Andrew Bartlett
* build: Add lib/replace as a default include pathAndrew Bartlett2011-04-271-1/+1
| | | | | | | This makes #include "system/filesys.h" in the source3/includes/includes.h work more often. Andrew Bartlett
* waf: introduce reverse logic for allowing unknown symbolsMatthieu Patou2011-04-261-0/+5
| | | | | | | | Some os (ie OSX 10.6) forbids by default unknown symbols so in order to allow them (for special case) we have no to remove linker option *but* to add options to ask the linker to be more relax. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* build: Invert --enable-s3build into --disable-s3buildAndrew Bartlett2011-04-261-3/+4
| | | | | | | | | | We always want the s3 binaries, except when building an smbtorture4 for the s3-waf and autoconf builds. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Apr 26 04:27:28 CEST 2011 on sn-devel-104
* selftest: Move Samba4 selftest wscript to the top levelAndrew Bartlett2011-04-161-2/+2
|
* build: added include/public to the list of include pathsAndrew Tridgell2011-03-151-1/+1
| | | | this allows us to use the public name of any header in the source tree
* Fix broken build with make dist tarballsSimo Sorce2011-02-231-1/+1
| | | | | Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Wed Feb 23 22:02:06 CET 2011 on sn-devel-104
* s4-waf: fixed make test for toplevelAndrew Tridgell2011-02-221-2/+1
| | | | | | | amazingly, os.putenv() is broken. If you do os.putenv('FOO', '1') and then do os.getenv('FOO') you don't get '1' Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-waf: added --enable-s3build configure optionAndrew Tridgell2011-02-221-1/+9
| | | | | | this enables the build of the s3 binaries in the toplevel build Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s3build: use source3/wscript for s3 configure rulesAndrew Tridgell2011-02-221-0/+5
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* build: remember the flags used for undefined variable errorsAndrew Tridgell2011-02-181-2/+2
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* waf Remove debugging hacks left in the top level buildAndrew Bartlett2011-02-091-1/+1
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Feb 9 01:55:15 CET 2011 on sn-devel-104
* build: fixed top level etags and ctags targetAndrew Tridgell2011-02-071-2/+2
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* waf: added top level build rules Andrew Tridgell2011-02-071-0/+199
This adds build rules for the top level directory based on the ones from source4. This is an intermediate step towards a combined top level build which will build both the Samba3 (bin/smbd, bin/nmbd etc) and Samba4 (bin/samba) binaries from a single build Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>