summaryrefslogtreecommitdiff
path: root/buildtools
AgeCommit message (Collapse)AuthorFilesLines
2012-04-13wafsamba: add support for separate rules in stagesAlexander Bokovoy2-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
2012-04-12WAF: Add support for stopping processing before end of wscript{_*}Alexander Bokovoy1-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>
2012-04-12wafsamba: point out that local heimdal paths are not included whenGünther Deschner1-0/+1
USING_SYSTEM_KRB5 gets set. Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
2012-04-11build: Fix spelling of teventAndrew Bartlett1-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
2012-04-11build: use include paths for pkg-config found librariesAndrew Bartlett3-15/+23
2012-04-11buildtools: Add --enable-debug optionAndrew Bartlett2-0/+7
2012-04-11build: search for talloc, tdb, tevent in non-standard system locationsAndrew Bartlett1-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
2012-04-10wafsamba/bundled: Fix typo in tuplize_version.Jelmer Vernooij3-1/+29
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Apr 10 02:21:39 CEST 2012 on sn-devel-104
2012-04-09wafsamba: Parse Python versions as integers separated by dots.Jelmer Vernooij1-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
2012-04-08wafsamba: Return missing libs rather than last syslib.Jelmer Vernooij1-1/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Apr 8 05:31:15 CEST 2012 on sn-devel-104
2012-04-05build: Require 64-bit files support and do not define ↵Andrew Bartlett1-1/+2
HAVE_EXPLICIT_LARGEFILE_SUPPORT
2012-04-05build: Add getconf LFS_CFLAGS support to waf buildAndrew Bartlett1-1/+19
2012-04-03wafsamba: Avoid NameError when printing error about missing system deps.Jelmer Vernooij1-6/+9
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Apr 3 17:46:42 CEST 2012 on sn-devel-104
2012-03-26wafsamba: Cope with slight differences in gdb output regarding incomplete ↵Jelmer Vernooij3-0/+58
sequences. Bug: https://bugzilla.samba.org/show_bug.cgi?id=8820
2012-03-21waf: Add autoconf --target support.Andreas Schneider1-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
2012-03-16build: Fix build issue on OpenBSD 5.xAmitay Isaacs1-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
2012-03-15wafsamba: Remove shebang lines from non-executable files.Jelmer Vernooij4-5/+0
2012-03-11waf: Do not use standards.h on darwinVolker Lendecke1-1/+6
We get a nasty warning every time we include that
2012-02-23waf: Make sure libraries are installed with the execute flag set.Andreas Schneider1-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
2012-02-19waf: make "update-waf" script work on Darwin tooDave Abrahams1-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
2012-02-19waf: Use libraries when building.Jelmer Vernooij1-2/+4
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Feb 19 06:27:55 CET 2012 on sn-devel-104
2012-02-19Use uselib in CHECK_HEADER.Jelmer Vernooij1-0/+3
2012-02-19library_flags: Leave setting of CPPPATH to waf too.Jelmer Vernooij1-4/+1
2012-02-18waf: Update to new upstream version.Jelmer Vernooij1-2/+5
2012-02-18wafsamba: Fix some whitespace issues.Jelmer Vernooij1-4/+1
2012-02-16wafsamba: fix blacklist handling in "make dist"Michael Adam1-1/+1
2012-02-12wafsamba: Add tests for dict_concat.Jelmer Vernooij1-1/+20
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Feb 12 20:17:54 CET 2012 on sn-devel-104
2012-02-12wafsamba: Add tests for unique_list, subst_vars_error.Jelmer Vernooij2-3/+38
2012-02-12waf: Add initial unit test for samba_utils.Jelmer Vernooij3-0/+54
2012-02-10wafsamba: Expand tabs.Jelmer Vernooij10-597/+597
2012-02-02build: fixed a link order problemAndrew Tridgell1-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
2012-01-05waf: Use git repository.Jelmer Vernooij1-1/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Jan 5 00:10:24 CET 2012 on sn-devel-104
2012-01-04Include waf as an extracted source directory, rather than as a one-in-a-file ↵Jelmer Vernooij79-17/+18127
script.
2011-12-16wafsamba: Fix undefined variable name in error message.Jelmer Vernooij1-1/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Dec 16 21:53:57 CET 2011 on sn-devel-104
2011-12-05wafsamba: Cope with not everything having a final_libs attribute.Jelmer Vernooij1-1/+1
2011-12-05wafsamba: Use final_libs list to determine if a target needs private ↵Jelmer Vernooij1-1/+1
libraries, rather than direct dependencies list.
2011-12-03Revert making public of the samba-module library.Jelmer Vernooij1-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
2011-11-14waf: Fix uselib_store for system libsubunit.Jelmer Vernooij1-1/+1
2011-11-13waf: Factor checking for undefined symbol flags out into separate method.Jelmer Vernooij1-0/+12
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Nov 13 19:38:38 CET 2011 on sn-devel-104
2011-11-13waf: Simplify handling of python modules.Jelmer Vernooij2-21/+6
2011-11-13Revert 9a5ae8edd6d006c078b3af8fdfd84677a63276b1.Jelmer Vernooij1-3/+0
2011-11-13wafsamba: Support allow_undefined_symbols in SAMBA_SUBSYSTEM.Jelmer Vernooij1-4/+10
2011-11-13wafsambaa: Support libraries that don't have the same name as their ↵Jelmer Vernooij1-1/+1
pkg-config file.
2011-11-13wafsamba: add CHECK_BUNDLED_SYSTEM_PKG function.Jelmer Vernooij1-8/+64
2011-11-13ldb: Use pyembed rather than pyext for ldb-util library.Jelmer Vernooij1-1/+5
2011-11-13waf: Don't link python modules against libpython2.x, consistent with other ↵Jelmer Vernooij2-5/+4
Python modules. Rather, rely just on waf's pyext feature. This fixes a warning from dh_python2.
2011-10-28lib/util Rename samba_init_module -> samba_module_initAndrew Bartlett1-1/+1
This is to provide a cleaner namespace in the public samba plugin functions. Andrew Bartlett
2011-10-20build: explain the passing of make options to wafAndrew Tridgell1-0/+7
add a comment explaining how we pass make command line options into waf Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Oct 20 07:24:02 CEST 2011 on sn-devel-104
2011-10-19build: added deletion of stale .so and .o filesAndrew Tridgell1-2/+16
when we change our build rules to move a C file, we need to remove the old ('stale') .so and .o files from the build directory, or they may be used as part of the new build, which means that old code will be linked in. This expands the list of stale files that we remove on rule changes to include .so and .o files Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Oct 19 09:02:23 CEST 2011 on sn-devel-104
2011-10-14build: added autoconf --disable-silent-rules optionSumit Bose1-0/+3
Signed-off-by: Günther Deschner <gd@samba.org>