1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/buildtools/wafsamba
Andrew Tridgell 35134214ae waf: use -Wl,--version-script if available
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-08 05:26:06 +01:00
..
gccdeps.py build: gccdeps fixes from ita 2010-04-06 20:26:55 +10:00
generic_cc.py build: try the generic C compiler on hpux if gcc not found 2010-04-06 20:27:24 +10:00
hpuxcc.py build: fix hpux build pb 2010-12-08 00:32:49 +01:00
irixcc.py build: added 'generic' cc support and a simple irix cc support module 2010-04-06 20:27:23 +10:00
nothreads.py build: enable nothreads workaround only with WAF_NOTHREADS=1 2010-04-06 20:27:21 +10:00
pkgconfig.py waf: ensure pkgconfig files depend on the prefix 2010-11-03 01:34:04 +00:00
README build: tidy up the wafsamba rules a bit 2010-04-06 20:27:14 +10:00
samba3.py s3-waf: avoid module name uppercasing. 2010-12-01 18:39:14 +01:00
samba_abi.py build: allow "waf --abi-check" to force a re-check of the ABI 2010-04-20 15:50:26 +10:00
samba_autoconf.py waf: fixed the build with a space in the source directory 2010-11-21 23:10:14 +11:00
samba_autoproto.py waf: fixed the build with a space in the source directory 2010-11-21 23:10:14 +11:00
samba_bundled.py wafsamba: Drop private library prefix when installing private libraries 2010-11-05 02:06:05 +00:00
samba_conftests.py waf: added configure test for -Wl,--version-script 2010-12-08 05:26:06 +01:00
samba_cross.py build: fixed uname output to be on target machine when cross compiling 2010-04-21 15:16:01 +10:00
samba_deps.py waf: use -Wl,--version-script if available 2010-12-08 05:26:06 +01:00
samba_dist.py wafsamba: Only include versioned files when building tarball from bzr. 2010-12-05 16:13:06 +01:00
samba_install.py waf: added configure test for -Wl,--version-script 2010-12-08 05:26:06 +01:00
samba_optimisation.py waf: fixed tabs/spaces for python3.0 2010-11-08 00:55:13 +00:00
samba_patterns.py waf: added --git-local-changes configure option 2010-11-16 01:51:54 +00:00
samba_pidl.py waf: fixed the build with a space in the source directory 2010-11-21 23:10:14 +11:00
samba_python.py wafsamba: Clarify needs_python argument name, use pyembed/pyext where 2010-10-10 03:54:01 +00:00
samba_utils.py wafsamba: Fix indentation. 2010-11-30 13:08:04 +01:00
samba_version.py s4-waf: get the version number right on private libraries 2010-12-08 05:26:06 +01:00
samba_wildcard.py waf: fixed wildcard build for full paths 2010-11-03 10:53:12 +11:00
stale_files.py s4-waf: automatically remove stale C and header files 2010-10-14 07:44:13 +00:00
symbols.py waf: less verbose message for failing to resolve a syslib path 2010-12-01 16:09:57 +11:00
tru64cc.py build: added 'generic' cc support and a simple irix cc support module 2010-04-06 20:27:23 +10:00
wafsamba.py waf: use -Wl,--version-script if available 2010-12-08 05:26:06 +01:00
wscript waf: added configure test for -Wl,--version-script 2010-12-08 05:26:06 +01:00

This is a set of waf 'tools' to help make building the Samba
components easier, by having common functions in one place. This gives
us a more consistent build, and ensures that our project rules are
obeyed


TODO:
	see http://wiki.samba.org/index.php/Waf