summaryrefslogtreecommitdiffstats
path: root/buildtools
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* waf: added -Wmissing-prototypes to buildAndrew Tridgell2010-12-081-1/+1
| | | | | | | | This ensures that we always have a prototype for any function we declare Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Dec 8 06:12:07 CET 2010 on sn-devel-104
* waf: make all generators depend on their rulesAndrew Tridgell2010-12-081-0/+2
| | | | this ensures we rebuild when a constructed rule changes
* waf: use -Wl,--version-script if availableAndrew Tridgell2010-12-082-2/+19
| | | | | | | | | | | | | | | | | | | | | | | This enables symbol version on our libraries, if the system supports it If the library is a public library, then set the symbol version based on the major number. If it is a private library then set it based on the full version number (which will include the git hash if available). This ensures that applications using our libraries don't use symbols from other libraries that they may be linked to. It also ensures we only use the right version of any private libraries. Note that the linker ends up generating both a version and unversioned symbol for all symbols. This means existing users of our public libraries will continue to work, with symbols resolved to the unversioned symbol. When applications are re-linked they will bind to the specific symbol version. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
* waf: added configure test for -Wl,--version-scriptAndrew Tridgell2010-12-083-1/+21
| | | | | | this checks that the linker supports --version-script Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-waf: get the version number right on private librariesAndrew Tridgell2010-12-082-1/+14
| | | | | | use the first digit of the version number for the library version Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
* build: fix hpux build pbMatthieu Patou2010-12-082-0/+57
| | | | | | | | | | | | | | | | | | Pair-Programmed-With: Thomas Nagy <tnagy2pow10@gmail.com> Fix the library extension from .so to .sl Add full path to library when linking this is needed due to a strange behavior of HP-UX: This command: gcc demo demo.c -L dir1/dir2/ -lsomelib will give a binary with a hard coded lib like dir1/dir2/libsomelib.sl. Somehow like a partial rpath, it has the first impact of fooling waf detection of wether the plateform support libraries or not (leading to being unable to compile samba on HPUX) and the impact of having non functionnal binaries. Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Wed Dec 8 00:32:50 CET 2010 on sn-devel-104
* wafsamba: Only include versioned files when building tarball from bzr.Jelmer Vernooij2010-12-051-1/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Dec 5 16:13:06 CET 2010 on sn-devel-104
* wafsamba: Override GIT_DIR without using putenv.Jelmer Vernooij2010-12-031-3/+4
| | | | | | | putenv has sideffects on later code. This overrides GIT_DIR for just this call. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Dec 3 04:24:53 CET 2010 on sn-devel-104
* waf/buildtools: remove more bash shebangs and fix a == to =Björn Jacke2010-12-022-3/+3
|
* waf/buildtools: use /bin/sh instead of /bin/bash and put ^ in quotesBjörn Jacke2010-12-024-8/+8
| | | | | | | - some Unix shells actually don't like grep ^foo, use grep "^foo" instead. - bash is not installed on every system, please avoid #!/bin/bash and use #!/bin/sh instead
* buildtools: fix --git-local-changes optionStefan Metzmacher2010-12-021-0/+1
| | | | | | | | | | If we set the GIT_DIR envvar we also need to set GIT_WORK_TREE, otherwise we can't expect valid output from 'git diff HEAD'. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Dec 2 09:09:21 CET 2010 on sn-devel-104
* s3-waf: avoid module name uppercasing.Günther Deschner2010-12-011-2/+2
| | | | | | | | | | This finally allows mixed case module names like the classic build (./configure --shared_modules=charset_CP850) Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Dec 1 18:39:14 CET 2010 on sn-devel-104
* waf: less verbose message for failing to resolve a syslib pathAndrew Tridgell2010-12-011-1/+1
|
* waf: use Logs.warn() instead of print() in the symbol check codeAndrew Tridgell2010-12-011-1/+1
|
* waf: added a help target for the other waf buildsAndrew Tridgell2010-12-011-1/+6
| | | | | | | this lets the s3 waf build use "make help" Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Dec 1 01:47:50 CET 2010 on sn-devel-104
* wafsamba: Fix indentation.Jelmer Vernooij2010-11-301-1/+1
| | | | | | | | Without this change we'd exclude the rpath for private libraries whenever the first dependency of a subsystem was a public library. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Nov 30 13:08:04 CET 2010 on sn-devel-104
* wafsamba: Only use private library rpath when linking against privateJelmer Vernooij2010-11-302-4/+14
| | | | | | | libraries. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Nov 30 02:23:37 CET 2010 on sn-devel-104
* samba_dist: Fix dist for subprojects.Jelmer Vernooij2010-11-301-10/+30
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Nov 30 00:32:41 CET 2010 on sn-devel-104
* waf: fixed the build with a space in the source directoryAndrew Tridgell2010-11-215-7/+8
|
* waf: added --git-local-changes configure optionAndrew Tridgell2010-11-163-16/+25
| | | | | | | | | | | | | if you use --git-local-changes then the version number that waf extracts from git will have a '+' on the end if you have local changes, as determined by running 'git diff'. This used to be the default, but unfortunately it is far too slow on some systems. On a NFS build system I was using the first line of configure took about 2 minutes. Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Nov 16 01:51:54 UTC 2010 on sn-devel-104
* waf: fixed configure again on RHEL5Andrew Tridgell2010-11-151-1/+1
| | | | | | | the fancier cmd_output() broke git versioning Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Nov 15 11:33:41 UTC 2010 on sn-devel-104
* waf/samba_version: Simplify git show command.Jelmer Vernooij2010-11-121-1/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Nov 12 18:38:21 UTC 2010 on sn-devel-104
* samba_version: Make COMMIT_IS_CLEAN an int rather than a string.Jelmer Vernooij2010-11-121-4/+4
|
* samba_version: Simplify dirty tree detection.Jelmer Vernooij2010-11-121-5/+4
|
* waf/samba_version: Support integer defines.Jelmer Vernooij2010-11-121-4/+12
|
* samba_version: When working from git checkout, display git revision SHA1 ratherJelmer Vernooij2010-11-122-45/+67
| | | | than Bazaar revision ids.
* samba_version: Support retrieving snapshot identity from bzr.Jelmer Vernooij2010-11-121-0/+23
|
* samba_version: Cope with building snapshots in directories without git checkout.Jelmer Vernooij2010-11-121-1/+6
| | | | Error out when run in a git checkout in which git fails.
* Put git tree finding into a separate function.Jelmer Vernooij2010-11-121-32/+32
|
* sambaversion.py: Some cleanups, make less git-specific.Jelmer Vernooij2010-11-121-18/+22
|
* wafsamba: Support make dist from bzr checkout.Jelmer Vernooij2010-11-121-3/+11
|