summaryrefslogtreecommitdiff
path: root/buildtools
AgeCommit message (Collapse)AuthorFilesLines
2011-02-18waf: give a more sensible error on symlink_bin with missing directoryAndrew Tridgell1-0/+2
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-18build: fixed passing of includes= for modulesAndrew Tridgell1-0/+1
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-18build: added subdir option for module buildingAndrew Tridgell1-0/+3
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-18build: added allow_undefined_symbols options for libraries and modulesAndrew Tridgell2-2/+10
the s4 build uses linker flags to disallow undefined symbols in libraries. To accomodate s3 libraries in the top level build we need to be able to disable this on a per-library basis. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-18build: make ADD_LDFLAGS() returns the flags that were addedAndrew Tridgell1-1/+3
this will be used by the s3 top level build to work out how to undo the effects of -Wl,-no-undefined Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-18waf: library_flags() doesn't only operate on conf objectsAndrew Tridgell1-7/+8
use a better name for the first argument Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-18waf: added subdir= option in SAMBA_*() rulesAndrew Tridgell1-0/+9
this allows you to prepend a subdirectory to the source rules, after variable substitution. This is useful for the s3 waf build when it is in s3build/
2011-02-18waf: use Utils.WafError() instead of sys.exit(1)Andrew Tridgell1-2/+1
better to raise an expection than just exiting
2011-02-16waf Fix dependencies for .pc (pkg-config) filesAndrew Bartlett1-1/+1
We used the wrong parameter for the dependency calculation. thanks to Thomas Nagy for the fix! Andrew Bartlett
2011-02-15Fix private libdir and codepages pathsSimo Sorce1-1/+1
The private libraries need to be arch specific as well. With --enable-fhs the codepages should go in /usr/share/samba and not in /usr/lib{64}/samba as they are data files not libraries. Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Tue Feb 15 04:22:37 CET 2011 on sn-devel-104
2011-02-11waf: substitute '/' in -D static defines as well.Günther Deschner1-2/+4
Tridge, please check. Guenther
2011-02-08waf: bring back shared Makefile and configure (needed by s3-waf).Günther Deschner3-0/+113
Guenther Revert "build: removed unused build scripts" This reverts commit 2e520ca91180920e4c8b71be4eaa7fabb56d2a12.
2011-02-07s4-build: fixed uses of os.path.relpath()Andrew Tridgell1-2/+2
these should be os_path_relpath() to support older python versions. This should fix the build on FreeBSD 7.2 Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Feb 7 05:49:58 CET 2011 on sn-devel-104
2011-02-07build: removed unused build scriptsAndrew Tridgell3-113/+0
each library has its own configure/Makefile now Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-07build: fixed error message for incorrect waf versionAndrew Tridgell1-3/+2
just need configure now Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-07waf: samba deps generation depends on EXTRA_INCLUDESAndrew Tridgell1-1/+1
2011-02-02waf: Replace python installation rule to allow PYTHONARCHDIR and PYTHONDIRAndrew Bartlett1-7/+23
The old rule could only substitute one part of one line, but we need to add a second line to handle when PYTHONDIR and PYTHONARCHDIR do not match. This also avoids shelling out to sed with a regex, which was difficult to read. Andrew Bartlett
2011-01-25s4-waf: Skip header-not-found cache if a library is specified, as it may provideJelmer Vernooij1-1/+1
additional C flags. Tridge, please check. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Jan 25 03:59:32 CET 2011 on sn-devel-104
2011-01-24s4-waf: Only show minversion when there was a minimum version specified.Jelmer Vernooij1-1/+5
2011-01-24Show text output messages when interfacing with bzr.Jelmer Vernooij1-1/+6
2011-01-19wafsamba: quote CPP and CC values when calling pidlStefan Metzmacher1-4/+4
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Jan 19 20:23:50 CET 2011 on sn-devel-104
2011-01-19waf: change private libraries to use the same soname as public librariesAndrew Tridgell1-7/+5
See http://lists.samba.org/archive/samba-technical/2011-January/075816.html for a description of the reason behind this change Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Jan 19 02:21:06 CET 2011 on sn-devel-104
2011-01-14waf: this script does need bashAndrew Tridgell1-2/+1
this is a developer test script. It is not meant to be portable. Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Jan 14 09:10:20 CET 2011 on sn-devel-104
2011-01-14waf: use PYTHONARCHDIR for installing python shared libsAndrew Tridgell2-3/+3
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
2011-01-14waf: new version of wafAndrew Tridgell1-0/+0
this one adds PYTHONARCHDIR to fix bug 7905 thanks to Thomas Nagy for the fix!
2011-01-11abi: force TERM=none in abi generationAndrew Tridgell1-1/+2
on Fedora12 gdb puts out a bit of binary garbage at the front of script output when TERM=xterm, presumably trying something like a clear screen. luckily it doesn't do it for unknown terminal types Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Jan 11 06:48:56 CET 2011 on sn-devel-104
2011-01-05buildtools/wafsamba: import 'sys' and 'Logs' if we use themStefan Metzmacher7-7/+7
We should avoid generating a backtrace in a normal error case, just because sys.exit(1) isn't known. metze
2010-12-24wafsamba: Fix handling of nick name in VERSION.Jelmer Vernooij1-2/+1
2010-12-22wafsamba: Allow newer or the same python module versions to be installed,Jelmer Vernooij1-1/+1
not older. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Dec 22 00:42:23 CET 2010 on sn-devel-104
2010-12-18wafsamba: Use abi_match in version script files.Jelmer Vernooij2-7/+19
2010-12-17wafsamba: Specify full vscript path so non-autogenerated files are possible, ↵Jelmer Vernooij2-1/+2
too.
2010-12-17wafsamba: Don't build vscript for modules.Jelmer Vernooij1-3/+2
2010-12-17wafsamba: Move version script handling out of SAMBA_LIBRARY.Jelmer Vernooij3-2/+16
2010-12-17Simplify link installation.Jelmer Vernooij1-8/+3
2010-12-17heimdal_build: Simplify library handling.Jelmer Vernooij1-1/+1
2010-12-15waf: fixed re-running of build rulesAndrew Tridgell2-4/+5
the addition of ldflags deps caused us to re-run the build rules every time.
2010-12-15build: hpux didn't support -BdynamicMatthieu Patou1-1/+1
2010-12-14wafsamba: change the default value for SAMBA_MODULE of pyembed to FalseMatthieu Patou1-1/+1
ALL SAMBA_MODULE didn't need this, new modules that could need will just have to opt this in Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Tue Dec 14 14:45:15 CET 2010 on sn-devel-104
2010-12-12build: move the import near the place where need it, so that we can build on ↵Matthieu Patou1-1/+2
hosts with python's zlib Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sun Dec 12 22:54:19 CET 2010 on sn-devel-104
2010-12-11build: add more CFLAGS for aixMatthieu Patou1-1/+3
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sat Dec 11 18:09:23 CET 2010 on sn-devel-104
2010-12-11build: On AIX we need _XOPEN_SOURCE >= 500 for CLOCK_REALTIMEMatthieu Patou1-0/+3
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sat Dec 11 14:48:21 CET 2010 on sn-devel-104
2010-12-10build: cpp is prefixed by CPP=Matthieu Patou1-1/+1
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Fri Dec 10 22:34:45 CET 2010 on sn-devel-104
2010-12-10build: add a function to test if -lc is neededMatthieu Patou1-0/+45
This is needed on openbsd as some linking flags makes mandatory to specify the libc for the linking
2010-12-10build: compiler on aix is xlc_r not xlr_cMatthieu Patou1-1/+1
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Fri Dec 10 17:54:49 CET 2010 on sn-devel-104
2010-12-10build: reset cpp on host with xlr_c and let pidl use $CC -EMatthieu Patou1-0/+4
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Fri Dec 10 13:27:22 CET 2010 on sn-devel-104
2010-12-10build: detect if conf.env['CPP'] is an array or notMatthieu Patou1-1/+6
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Fri Dec 10 10:18:20 CET 2010 on sn-devel-104
2010-12-10waf: the libXX.inst.so file also depends on the vscriptAndrew Tridgell1-0/+4
this fixes a problem with installed libraries not relinking after a git version change Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Dec 10 09:30:46 CET 2010 on sn-devel-104
2010-12-10build: use CPP and CC values when calling pidlMatthieu Patou2-1/+19
2010-12-10build: introduce SAMBA_CHECK_PYTHON_HEADERSMatthieu Patou1-0/+9
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-09waf: remove the restriction that private libraries must not have a vnumAndrew Tridgell1-5/+0
we need the vnum for ABI checking for public libraries built as private libraries when bundled Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Dec 9 12:47:41 CET 2010 on sn-devel-104