summaryrefslogtreecommitdiff
path: root/buildtools
Commit message (Collapse)AuthorAgeFilesLines
* lib/replace: split out GSSAPI from lib/replace/system/kerberos.h into ↵Alexander Bokovoy2012-04-251-1/+3
| | | | | | | | | | | | | | lib/replace/system/gssapi.h With waf build include directories are defined by dependencies specified to subsystems. Without proper dependency <gssapi/gssapi.h> cannot be found for embedded Heimdal builds when there are no system-wide gssapi/gssapi.h available. Split out GSSAPI header includes in a separate replacement header and use that explicitly where needed. Autobuild-User: Alexander Bokovoy <ab@samba.org> Autobuild-Date: Wed Apr 25 00:18:33 CEST 2012 on sn-devel-104
* wafsamba: allow certain public libraries to be forced to be privateAndrew Bartlett2012-04-203-0/+12
| | | | | | | | | | | | | | | This will help installations where the Samba4 libraries must be used but the main system is not using the system libs that would normally be installed. This in particular impacts on libwbclient, which is a core dep, but is different to that used by the rest of a Samba 3.x based system. Use eg: ./configure --private-libraries=wbclient Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Apr 20 03:27:22 CEST 2012 on sn-devel-104
* waf: Fix mispellingSimo Sorce2012-04-193-10/+10
| | | | | Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Thu Apr 19 17:36:41 CEST 2012 on sn-devel-104
* build: Remove more of the s3 special cases in waf: only pidfile.c needs ↵Andrew Bartlett2012-04-181-6/+0
| | | | -DCONFIGFILE
* Fix typoSimo Sorce2012-04-171-2/+2
| | | | | Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Tue Apr 17 22:22:26 CEST 2012 on sn-devel-104
* waf: samba-specific methods should have capitalized names, change ↵Alexander Bokovoy2012-04-141-3/+3
| | | | | | | | | | | process_separate_rule to follow Changing process_separate_rule to PROCESS_SEPARATE_RULE. Thanks Thomas Nagy for review. Autobuild-User: Alexander Bokovoy <ab@samba.org> Autobuild-Date: Sat Apr 14 08:55:43 CEST 2012 on sn-devel-104
* wafsamba: add support for separate rules in stagesAlexander Bokovoy2012-04-132-6/+24
| | | | | | | | | | | | | | | bld.process_separate_rule(rule) and conf.process_separate_rule(rule) will cause WAF to import wscript_<stage>_<rule> script into current context. Files wscript_<configure|build>_<rule> should exist in the current directory. This can be used to provide rules specific for alternative implementations of certain libraries Autobuild-User: Alexander Bokovoy <ab@samba.org> Autobuild-Date: Fri Apr 13 18:34:39 CEST 2012 on sn-devel-104
* WAF: Add support for stopping processing before end of wscript{_*}Alexander Bokovoy2012-04-121-0/+5
| | | | | | | | | | | | | | | | | | WAF scripts are written in Python and Python has no simple way to stop program execution other than using exceptions. This change adds WscriptCheckSkipped exception and its handling in core WAF code. When any of wscript{_*} throws WscriptCheckSkipped exception, WAF simply continues to process next wscript in queue rather than breaking build. WscriptCheckSkipped exception can be used to perform early bail out of configuration/build target checks if certain dependency is not available when the default checks are way more numerous than a check for this particular dependency. This is to avoid 'if ...' indenting for large blocks of existing code which also muddens git history for nothing. Signed-off-by: Andreas Schneider <asn@samba.org>
* wafsamba: point out that local heimdal paths are not included whenGünther Deschner2012-04-121-0/+1
| | | | | | | | USING_SYSTEM_KRB5 gets set. Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
* build: Fix spelling of teventAndrew Bartlett2012-04-111-1/+1
| | | | | | | | | Found by metze. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Apr 11 17:36:19 CEST 2012 on sn-devel-104
* build: use include paths for pkg-config found librariesAndrew Bartlett2012-04-113-15/+23
|
* buildtools: Add --enable-debug optionAndrew Bartlett2012-04-112-0/+7
|
* build: search for talloc, tdb, tevent in non-standard system locationsAndrew Bartlett2012-04-111-5/+21
| | | | | | | This is needed because the s3 includes.h directly mentions these headers, but not every part of s3 depends on these directly. Andrew Bartlett
* wafsamba/bundled: Fix typo in tuplize_version.Jelmer Vernooij2012-04-103-1/+29
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Apr 10 02:21:39 CEST 2012 on sn-devel-104
* wafsamba: Parse Python versions as integers separated by dots.Jelmer Vernooij2012-04-091-1/+4
| | | | | | | This causes tdb "1.2.10" to no longer be considered older than "1.2.9". Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Apr 9 23:16:17 CEST 2012 on sn-devel-104
* wafsamba: Return missing libs rather than last syslib.Jelmer Vernooij2012-04-081-1/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Apr 8 05:31:15 CEST 2012 on sn-devel-104
* build: Require 64-bit files support and do not define ↵Andrew Bartlett2012-04-051-1/+2
| | | | HAVE_EXPLICIT_LARGEFILE_SUPPORT
* build: Add getconf LFS_CFLAGS support to waf buildAndrew Bartlett2012-04-051-1/+19
|
* wafsamba: Avoid NameError when printing error about missing system deps.Jelmer Vernooij2012-04-031-6/+9
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Apr 3 17:46:42 CEST 2012 on sn-devel-104
* wafsamba: Cope with slight differences in gdb output regarding incomplete ↵Jelmer Vernooij2012-03-263-0/+58
| | | | | | sequences. Bug: https://bugzilla.samba.org/show_bug.cgi?id=8820
* waf: Add autoconf --target support.Andreas Schneider2012-03-211-0/+3
| | | | | | | | | This is needed on some platforms so that you can set it and it is not automagically transformed into --targets. The --target option is normally set by the RPM %configure macro. Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Wed Mar 21 11:54:02 CET 2012 on sn-devel-104
* build: Fix build issue on OpenBSD 5.xAmitay Isaacs2012-03-161-2/+2
| | | | | | | Do not use -Wl,-no-undefined flag on OpenBSD 5.x (tested on 5.0) Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Fri Mar 16 05:14:03 CET 2012 on sn-devel-104
* wafsamba: Remove shebang lines from non-executable files.Jelmer Vernooij2012-03-154-5/+0
|
* waf: Do not use standards.h on darwinVolker Lendecke2012-03-111-1/+6
| | | | We get a nasty warning every time we include that
* waf: Make sure libraries are installed with the execute flag set.Andreas Schneider2012-02-231-1/+2
| | | | | | | | | | There are two reasons for that. The first is that libraries are executables and can have main functions (see libc). The second reason is that rpm script to extract debuginfo are looking for executables and then check if it is the right file to extract the info. Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Thu Feb 23 20:57:11 CET 2012 on sn-devel-104
* waf: make "update-waf" script work on Darwin tooDave Abrahams2012-02-191-1/+1
| | | | | | | | | | This fixes bug #8766 Reviewed by: Jelmer Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Feb 19 21:35:06 CET 2012 on sn-devel-104
* waf: Use libraries when building.Jelmer Vernooij2012-02-191-2/+4
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Feb 19 06:27:55 CET 2012 on sn-devel-104
* Use uselib in CHECK_HEADER.Jelmer Vernooij2012-02-191-0/+3
|
* library_flags: Leave setting of CPPPATH to waf too.Jelmer Vernooij2012-02-191-4/+1
|
* waf: Update to new upstream version.Jelmer Vernooij2012-02-181-2/+5
|
* wafsamba: Fix some whitespace issues.Jelmer Vernooij2012-02-181-4/+1
|
* wafsamba: fix blacklist handling in "make dist"Michael Adam2012-02-161-1/+1
|
* wafsamba: Add tests for dict_concat.Jelmer Vernooij2012-02-121-1/+20
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Feb 12 20:17:54 CET 2012 on sn-devel-104
* wafsamba: Add tests for unique_list, subst_vars_error.Jelmer Vernooij2012-02-122-3/+38
|
* waf: Add initial unit test for samba_utils.Jelmer Vernooij2012-02-123-0/+54
|
* wafsamba: Expand tabs.Jelmer Vernooij2012-02-1010-597/+597
|
* build: fixed a link order problemAndrew Tridgell2012-02-021-1/+3
| | | | | | | | | | | | | | | | | this fixes a problem found by obnox where the -L path for CUPS was put before the path to internal libraries. The install path for CUPS happened to be the same as for a old system libtevent, which meant we linked against the old tevent instead of the correct one from our private library paths. The problem was that we were adding the -L paths directly to the ldflags. The waf core code (in ccroot.py) only adds more paths if they are not there already. So by adding it in ldflags it was not added at the end of the list. The fix is just to not do the -L processing in wafsamba and let the waf core do it in the right order Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Feb 2 06:54:42 CET 2012 on sn-devel-104
* waf: Use git repository.Jelmer Vernooij2012-01-051-1/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Jan 5 00:10:24 CET 2012 on sn-devel-104
* Include waf as an extracted source directory, rather than as a one-in-a-file ↵Jelmer Vernooij2012-01-0479-17/+18127
| | | | script.
* wafsamba: Fix undefined variable name in error message.Jelmer Vernooij2011-12-161-1/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Dec 16 21:53:57 CET 2011 on sn-devel-104
* wafsamba: Cope with not everything having a final_libs attribute.Jelmer Vernooij2011-12-051-1/+1
|
* wafsamba: Use final_libs list to determine if a target needs private ↵Jelmer Vernooij2011-12-051-1/+1
| | | | libraries, rather than direct dependencies list.
* Revert making public of the samba-module library.Jelmer Vernooij2011-12-031-1/+1
| | | | | | | | | | | | | | | This library was tiny - containing just two public functions than were themselves trivial. The amount of overhead this causes isn't really worth the benefits of sharing the code with other projects like OpenChange. In addition, this code isn't really generically useful anyway, as it can only load from the module path set for Samba at configure time. Adding a new library was breaking the API/ABI anyway, so OpenChange had to be updated to cope with the new situation one way or another. I've added a simpler (compatible) routine for loading modules to OpenChange, which is less than 100 lines of code. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Dec 3 08:36:33 CET 2011 on sn-devel-104
* waf: Fix uselib_store for system libsubunit.Jelmer Vernooij2011-11-141-1/+1
|
* waf: Factor checking for undefined symbol flags out into separate method.Jelmer Vernooij2011-11-131-0/+12
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Nov 13 19:38:38 CET 2011 on sn-devel-104
* waf: Simplify handling of python modules.Jelmer Vernooij2011-11-132-21/+6
|
* Revert 9a5ae8edd6d006c078b3af8fdfd84677a63276b1.Jelmer Vernooij2011-11-131-3/+0
|
* wafsamba: Support allow_undefined_symbols in SAMBA_SUBSYSTEM.Jelmer Vernooij2011-11-131-4/+10
|
* wafsambaa: Support libraries that don't have the same name as their ↵Jelmer Vernooij2011-11-131-1/+1
| | | | pkg-config file.
* wafsamba: add CHECK_BUNDLED_SYSTEM_PKG function.Jelmer Vernooij2011-11-131-8/+64
|