summaryrefslogtreecommitdiffstats
path: root/buildtools
Commit message (Collapse)AuthorAgeFilesLines
...
* s4-build: fixed uses of os.path.relpath()Andrew Tridgell2011-02-071-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
* build: removed unused build scriptsAndrew Tridgell2011-02-073-113/+0
| | | | | | each library has its own configure/Makefile now Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* build: fixed error message for incorrect waf versionAndrew Tridgell2011-02-071-3/+2
| | | | | | just need configure now Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* waf: samba deps generation depends on EXTRA_INCLUDESAndrew Tridgell2011-02-071-1/+1
|
* waf: Replace python installation rule to allow PYTHONARCHDIR and PYTHONDIRAndrew Bartlett2011-02-021-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
* s4-waf: Skip header-not-found cache if a library is specified, as it may provideJelmer Vernooij2011-01-251-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
* s4-waf: Only show minversion when there was a minimum version specified.Jelmer Vernooij2011-01-241-1/+5
|
* Show text output messages when interfacing with bzr.Jelmer Vernooij2011-01-241-1/+6
|
* wafsamba: quote CPP and CC values when calling pidlStefan Metzmacher2011-01-191-4/+4
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Jan 19 20:23:50 CET 2011 on sn-devel-104
* waf: change private libraries to use the same soname as public librariesAndrew Tridgell2011-01-191-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
* waf: this script does need bashAndrew Tridgell2011-01-141-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
* waf: use PYTHONARCHDIR for installing python shared libsAndrew Tridgell2011-01-142-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
* waf: new version of wafAndrew Tridgell2011-01-141-0/+0
| | | | | | this one adds PYTHONARCHDIR to fix bug 7905 thanks to Thomas Nagy for the fix!
* abi: force TERM=none in abi generationAndrew Tridgell2011-01-111-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
* buildtools/wafsamba: import 'sys' and 'Logs' if we use themStefan Metzmacher2011-01-057-7/+7
| | | | | | | We should avoid generating a backtrace in a normal error case, just because sys.exit(1) isn't known. metze
* wafsamba: Fix handling of nick name in VERSION.Jelmer Vernooij2010-12-241-2/+1
|
* wafsamba: Allow newer or the same python module versions to be installed,Jelmer Vernooij2010-12-221-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
* wafsamba: Use abi_match in version script files.Jelmer Vernooij2010-12-182-7/+19
|
* wafsamba: Specify full vscript path so non-autogenerated files are possible, ↵Jelmer Vernooij2010-12-172-1/+2
| | | | too.
* wafsamba: Don't build vscript for modules.Jelmer Vernooij2010-12-171-3/+2
|
* wafsamba: Move version script handling out of SAMBA_LIBRARY.Jelmer Vernooij2010-12-173-2/+16
|
* Simplify link installation.Jelmer Vernooij2010-12-171-8/+3
|
* heimdal_build: Simplify library handling.Jelmer Vernooij2010-12-171-1/+1
|
* waf: fixed re-running of build rulesAndrew Tridgell2010-12-152-4/+5
| | | | | the addition of ldflags deps caused us to re-run the build rules every time.
* build: hpux didn't support -BdynamicMatthieu Patou2010-12-151-1/+1
|
* wafsamba: change the default value for SAMBA_MODULE of pyembed to FalseMatthieu Patou2010-12-141-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
* build: move the import near the place where need it, so that we can build on ↵Matthieu Patou2010-12-121-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
* build: add more CFLAGS for aixMatthieu Patou2010-12-111-1/+3
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sat Dec 11 18:09:23 CET 2010 on sn-devel-104
* build: On AIX we need _XOPEN_SOURCE >= 500 for CLOCK_REALTIMEMatthieu Patou2010-12-111-0/+3
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sat Dec 11 14:48:21 CET 2010 on sn-devel-104
* build: cpp is prefixed by CPP=Matthieu Patou2010-12-101-1/+1
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Fri Dec 10 22:34:45 CET 2010 on sn-devel-104
* build: add a function to test if -lc is neededMatthieu Patou2010-12-101-0/+45
| | | | | This is needed on openbsd as some linking flags makes mandatory to specify the libc for the linking
* build: compiler on aix is xlc_r not xlr_cMatthieu Patou2010-12-101-1/+1
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Fri Dec 10 17:54:49 CET 2010 on sn-devel-104
* build: reset cpp on host with xlr_c and let pidl use $CC -EMatthieu Patou2010-12-101-0/+4
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Fri Dec 10 13:27:22 CET 2010 on sn-devel-104
* build: detect if conf.env['CPP'] is an array or notMatthieu Patou2010-12-101-1/+6
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Fri Dec 10 10:18:20 CET 2010 on sn-devel-104
* waf: the libXX.inst.so file also depends on the vscriptAndrew Tridgell2010-12-101-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
* build: use CPP and CC values when calling pidlMatthieu Patou2010-12-102-1/+19
|
* build: introduce SAMBA_CHECK_PYTHON_HEADERSMatthieu Patou2010-12-101-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.
* waf: remove the restriction that private libraries must not have a vnumAndrew Tridgell2010-12-091-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
* waf: fixed path to abi_directoryAndrew Tridgell2010-12-091-1/+1
| | | | this broke in a recent patch
* waf: add a dependency between the library and its vscriptAndrew Tridgell2010-12-092-1/+3
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Dec 9 04:32:18 CET 2010 on sn-devel-104
* waf: don't use symbol versioning on our modulesAndrew Tridgell2010-12-091-3/+6
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* waf: use vscripts for our private libraries tooAndrew Tridgell2010-12-092-15/+14
| | | | | if the library has a vnum, then use it. If it doesn't have a vnum then use the application version for symbol versions
* waf: make mkdir_p on a empty string not recurse foreverAndrew Tridgell2010-12-091-1/+1
|
* waf-abi: auto-generate per-symbol versions from ABI filesAndrew Tridgell2010-12-093-17/+87
| | | | | | | | | | | | | This changes our version-script generation to use the ABI files that are saved in git with each version number change of our public libraries. We use these ABI files to generate a linker version script that gives the exact version number that each symbol was introduced. This provides us with automatic fine grained symbol versioning. Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org> Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* buildtools: private_libraries should not have a version in the sonameStefan Metzmacher2010-12-081-1/+1
| | | | metze
* buildtools: add the PRIVATE_EXTENSION for private librariesStefan Metzmacher2010-12-081-3/+0
| | | | metze
* buildtools: make sure we have no '+' in the version scriptsStefan Metzmacher2010-12-081-1/+1
| | | | | | This happens if '--git-local-changes' was used. metze
* waf: added --disable-symbol-versions configure optionAndrew Tridgell2010-12-081-3/+8
| | | | some people may not want symbol versions.
* waf: support @LIB_RPATH@ in pc filesAndrew Tridgell2010-12-081-2/+6
| | | | | | | this will be used to get the needed -Wl,-rpath options into our pc files Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* build: tru64 needs -shared for building libsMatthieu Patou2010-12-081-1/+1
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Wed Dec 8 08:33:54 CET 2010 on sn-devel-104