summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba/wafsamba.py
AgeCommit message (Collapse)AuthorFilesLines
2010-12-18wafsamba: Use abi_match in version script files.Jelmer Vernooij1-1/+2
2010-12-17wafsamba: Specify full vscript path so non-autogenerated files are possible, ↵Jelmer Vernooij1-0/+1
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 Vernooij1-1/+3
2010-12-17heimdal_build: Simplify library handling.Jelmer Vernooij1-1/+1
2010-12-15waf: fixed re-running of build rulesAndrew Tridgell1-2/+3
the addition of ldflags deps caused us to re-run the build rules every time.
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-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-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
2010-12-09waf: fixed path to abi_directoryAndrew Tridgell1-1/+1
this broke in a recent patch
2010-12-09waf: add a dependency between the library and its vscriptAndrew Tridgell1-0/+2
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Dec 9 04:32:18 CET 2010 on sn-devel-104
2010-12-09waf: don't use symbol versioning on our modulesAndrew Tridgell1-3/+6
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-12-09waf: use vscripts for our private libraries tooAndrew Tridgell1-8/+9
if the library has a vnum, then use it. If it doesn't have a vnum then use the application version for symbol versions
2010-12-09waf-abi: auto-generate per-symbol versions from ABI filesAndrew Tridgell1-14/+8
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>
2010-12-08buildtools: private_libraries should not have a version in the sonameStefan Metzmacher1-1/+1
metze
2010-12-08buildtools: make sure we have no '+' in the version scriptsStefan Metzmacher1-1/+1
This happens if '--git-local-changes' was used. metze
2010-12-08waf: make all generators depend on their rulesAndrew Tridgell1-0/+2
this ensures we rebuild when a constructed rule changes
2010-12-08waf: use -Wl,--version-script if availableAndrew Tridgell1-1/+17
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>
2010-12-08s4-waf: get the version number right on private librariesAndrew Tridgell1-1/+1
use the first digit of the version number for the library version Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
2010-12-08build: fix hpux build pbMatthieu Patou1-0/+1
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
2010-11-21waf: fixed the build with a space in the source directoryAndrew Tridgell1-1/+1
2010-11-05waf: Put private libraries in a separate directory when building.Jelmer Vernooij1-0/+1
Thanks to Tridge for pointing out what exactly I had to change. :-)
2010-11-03waf: split pkgconfig logic into a separate moduleAndrew Tridgell1-56/+1
2010-11-01waf: removed the module aliases codeAndrew Tridgell1-32/+0
This is not needed with the new ldb modules approacg
2010-11-01waf: added module_init_name parameter to SAMBA_MODULE()Andrew Tridgell1-2/+3
this will be used for ldb module loading
2010-10-30build: strip -single_module when doing bundle on mac OS XMatthieu Patou1-0/+12
2010-10-30waf: get rid of target aliases in wafsambaAndrew Tridgell1-6/+0
these aliases are no longer needed, and can cause a lot of confusion
2010-10-30waf: build all libraries after all object filesAndrew Tridgell1-7/+17
this makes it easier to perform symbol checking before the link stage. The two new build groups symbolcheck and syslibcheck will be used by the symbols.py extension
2010-10-30waf: cope with rules with no inputsAndrew Tridgell1-0/+3
when we display a rule with no inputs, just call the original display function Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-27wafsamba: support 'soname' attribute on SAMBA_LIBRARY()Stefan Metzmacher1-1/+3
It's sometimes needed to specifiy the soname directly. metze
2010-10-26wafsamba: Fix soname for standalone private libraries.Jelmer Vernooij1-1/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Oct 26 18:10:13 UTC 2010 on sn-devel-104
2010-10-26waf: Stop automaticaly changing dashes to underscores in library names.Jelmer Vernooij1-2/+1
2010-10-26waf: Remove lib prefix from libraries manually.Jelmer Vernooij1-2/+0
2010-10-26waf: build private libraries with so names.Jelmer Vernooij1-1/+6
2010-10-23waf: Rename some BUNDLED_ functios to PRIVATE_.Jelmer Vernooij1-1/+1
2010-10-21waf-python: make the pyext flag add the pyembed features for librariesAndrew Tridgell1-1/+3
this is rather strange, but we get build errors without it. There may be a bug in the waf python tool, or I may misunderstand how to use it
2010-10-21waf: fixed the handling of -Wl,-no-undefinedAndrew Tridgell1-2/+0
this flag was not being propogated to our link rules, so we were not in fact enforcing no undefined symbols in libraries.
2010-10-21waf: added pyext option to SAMBA_LIBRARY()Andrew Tridgell1-1/+2
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-21waf: replace the is_bundled option with private_libraryAndrew Tridgell1-8/+4
'private_library' better captures what we are trying to get at when we bundle a library
2010-10-21waf: re-work the module alias codeAndrew Tridgell1-22/+52
we now create a base library, and then create the alias modules as wrappers around that base. That prevents double instantiation of any object files in the modules Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-21waf: allows libraries to be marked as private_library=TrueAndrew Tridgell1-1/+11
this is for libraries where we make no promises about the API, but where we wish it to be a library to allow our binaries to use common code. These libraries always get the project suffix added to the library name, to ensure we are in a separate namespace Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-19waf: put -Wl,-no-undefined only in the linker flags, not when compiling CAndrew Tridgell1-2/+2
2010-10-19waf: automap shared library names from .so to the right extensionAndrew Tridgell1-1/+4
this should help with MacOSX .dylib libraries
2010-10-14s4-waf: automatically remove stale C and header filesAndrew Tridgell1-0/+1
this prevents stale .c and .h files in bin/ from causing build problems Thanks to Thomas Nagy for the example implementation! Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Oct 14 07:44:13 UTC 2010 on sn-devel-104
2010-10-10wafsamba: Fix handling of pyembed/pyext.Jelmer Vernooij1-5/+2
2010-10-11wafsamba: Support setting pyembed on libraries.Jelmer Vernooij1-3/+9
2010-10-10wafsamba: Fix init function when building modules as shared objects.Jelmer Vernooij1-0/+3
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-10-10wafsamba: Clarify needs_python argument name, use pyembed/pyext whereJelmer Vernooij1-9/+9
applicable. Allow using both pyembed and pyext, to prevent unresolved symbols. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 10 03:54:01 UTC 2010 on sn-devel-104
2010-10-06waf: fixed some python3.x portability issuesAndrew Tridgell1-3/+3
these have crept into the tree over time. Maybe we should add testing of a range of python versions to autobuild?
2010-10-06waf: update to waf version 1.5.19Andrew Tridgell1-1/+1
this includes a number of perforance improvements and bug fixes. Thanks to Thomas for all the recent improvements!