summaryrefslogtreecommitdiff
path: root/buildtools
AgeCommit message (Collapse)AuthorFilesLines
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 Tridgell2-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>
2010-12-08waf: added configure test for -Wl,--version-scriptAndrew Tridgell3-1/+21
this checks that the linker supports --version-script Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-12-08s4-waf: get the version number right on private librariesAndrew Tridgell2-1/+14
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 Patou2-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
2010-12-05wafsamba: Only include versioned files when building tarball from bzr.Jelmer Vernooij1-1/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Dec 5 16:13:06 CET 2010 on sn-devel-104
2010-12-03wafsamba: Override GIT_DIR without using putenv.Jelmer Vernooij1-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
2010-12-02waf/buildtools: remove more bash shebangs and fix a == to =Björn Jacke2-3/+3
2010-12-02waf/buildtools: use /bin/sh instead of /bin/bash and put ^ in quotesBjörn Jacke4-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
2010-12-02buildtools: fix --git-local-changes optionStefan Metzmacher1-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
2010-12-01s3-waf: avoid module name uppercasing.Günther Deschner1-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
2010-12-01waf: less verbose message for failing to resolve a syslib pathAndrew Tridgell1-1/+1
2010-12-01waf: use Logs.warn() instead of print() in the symbol check codeAndrew Tridgell1-1/+1
2010-12-01waf: added a help target for the other waf buildsAndrew Tridgell1-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
2010-11-30wafsamba: Fix indentation.Jelmer Vernooij1-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
2010-11-30wafsamba: Only use private library rpath when linking against privateJelmer Vernooij2-4/+14
libraries. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Nov 30 02:23:37 CET 2010 on sn-devel-104
2010-11-30samba_dist: Fix dist for subprojects.Jelmer Vernooij1-10/+30
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Nov 30 00:32:41 CET 2010 on sn-devel-104
2010-11-21waf: fixed the build with a space in the source directoryAndrew Tridgell5-7/+8
2010-11-16waf: added --git-local-changes configure optionAndrew Tridgell3-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
2010-11-15waf: fixed configure again on RHEL5Andrew Tridgell1-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
2010-11-12waf/samba_version: Simplify git show command.Jelmer Vernooij1-1/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Nov 12 18:38:21 UTC 2010 on sn-devel-104
2010-11-12samba_version: Make COMMIT_IS_CLEAN an int rather than a string.Jelmer Vernooij1-4/+4
2010-11-12samba_version: Simplify dirty tree detection.Jelmer Vernooij1-5/+4
2010-11-12waf/samba_version: Support integer defines.Jelmer Vernooij1-4/+12
2010-11-12samba_version: When working from git checkout, display git revision SHA1 ratherJelmer Vernooij2-45/+67
than Bazaar revision ids.
2010-11-12samba_version: Support retrieving snapshot identity from bzr.Jelmer Vernooij1-0/+23
2010-11-12samba_version: Cope with building snapshots in directories without git checkout.Jelmer Vernooij1-1/+6
Error out when run in a git checkout in which git fails.
2010-11-12Put git tree finding into a separate function.Jelmer Vernooij1-32/+32
2010-11-12sambaversion.py: Some cleanups, make less git-specific.Jelmer Vernooij1-18/+22
2010-11-12wafsamba: Support make dist from bzr checkout.Jelmer Vernooij1-3/+11
2010-11-08waf: go back to the previous method of handling .inst. rulesAndrew Tridgell1-1/+1
the change broke the library linkages for some library, as spotted by Brad
2010-11-08waf: fixed the names of the installed libraries after the last changeAndrew Tridgell1-5/+13
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Nov 8 02:31:18 UTC 2010 on sn-devel-104
2010-11-08waf: fixed tabs/spaces for python3.0Andrew Tridgell2-5/+5
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Nov 8 00:55:13 UTC 2010 on sn-devel-104
2010-11-08waf: prevent us from modifying non-install libs during make installAndrew Tridgell1-2/+6
we need to ensure that 'make install' does not change any of our build libraries, and only changes the .inst.so libraries, otherwise doing a make test in the build directory directly after a make install could use the installed libraries, which would mean using the wrong LDB_MODULES_PATH this could cause the "unknown error" loading ldb modules when running some commands directly after a make install Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-11-05waf: Put private libraries in a separate directory when building.Jelmer Vernooij3-4/+10
Thanks to Tridge for pointing out what exactly I had to change. :-)
2010-11-05wafsamba: Use project name variable rather than hardcoding 'samba4'.Jelmer Vernooij1-2/+2
Suggested-By: Andrew Tridgell <tridge@samba.org>
2010-11-05wafsamba: Drop private library prefix when installing private librariesJelmer Vernooij1-2/+5
to a custom path.
2010-11-05wafsamba: Support expanding variables in LIBDIR/PRIVATELIBDIR variables.Jelmer Vernooij1-2/+2
2010-11-05Add --disable-rpath-private-install flag.Jelmer Vernooij2-4/+20
2010-11-05Add --with-privatelibdir build option.Jelmer Vernooij2-1/+11
2010-11-05samba_utils: Use LIBDIR rather than assuming it is set to $prefix/lib.Jelmer Vernooij1-1/+1
2010-11-03waf: more agressively expand subsystem syslib depsAndrew Tridgell1-4/+9
this solves an openchange build problem with an indirect dependency on talloc when talloc is a syslib Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Nov 3 02:17:30 UTC 2010 on sn-devel-104
2010-11-03waf: ensure pkgconfig files depend on the prefixAndrew Tridgell1-0/+3
2010-11-03waf: split pkgconfig logic into a separate moduleAndrew Tridgell2-56/+62
2010-11-03waf: fixed wildcard build for full pathsAndrew Tridgell1-3/+16
2010-11-03waf: rerun deps calculation on LDFLAGS or CFLAGS changeAndrew Tridgell1-1/+1
2010-11-03waf: fixed wildcard buildAndrew Tridgell1-1/+2
this fixes minimal includes for subsystems that use autoproto
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 automatic prototyping of static module init functionsAndrew Tridgell1-0/+8
this avoids the need to manually list all our static init functions in the code Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-11-01waf: added module_init_name parameter to SAMBA_MODULE()Andrew Tridgell1-2/+3
this will be used for ldb module loading