summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba
AgeCommit message (Collapse)AuthorFilesLines
2010-11-21waf: fixed the build with a space in the source directoryAndrew Tridgell4-5/+6
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
2010-10-31build: In some case the flags for the sun studio linker are wrongMatthieu Patou2-0/+24
In this case we test if the -Wl,-h,%s works and if so use this form Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sun Oct 31 16:35:17 UTC 2010 on sn-devel-104
2010-10-31build: check that if we provide -liconv we can build shared libsMatthieu Patou1-2/+13
On Solaris with sun studio compiling an executable with -liconv even if there is no libiconv.so or libiconv.a will work but not for a shared lib. This problem leads to build problem as the linker won't be able to find libiconv when building shared lib as liconv is wrongly specified
2010-10-30build: strip -single_module when doing bundle on mac OS XMatthieu Patou1-0/+12
2010-10-30build: set shared libraries flags correctly on mac os XMatthieu Patou2-2/+21
2010-10-30waf: fixed building of non-shared binaries that contain modulesAndrew Tridgell1-0/+19
we need to incorporate the module objects too
2010-10-30waf: get rid of target aliases in wafsambaAndrew Tridgell2-30/+1
these aliases are no longer needed, and can cause a lot of confusion
2010-10-30waf: save the samba_deps_extendedAndrew Tridgell1-1/+1
this is needed for the symbols.py extension
2010-10-30waf: give a better error on a bad grouping libraryAndrew Tridgell1-0/+1
give a clear error on an unknown dependency in a grouping library Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-30waf: cope with subsystems with no static modulesAndrew Tridgell1-4/+6
we still need the STATIC_xx_MODULES define when there are no static modules. It contains just the sentinal. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-30waf: don't auto-depend on subsystemsAndrew Tridgell1-7/+0
this is part of an effort to reduce the amount of automatic dependency munging we do. When working on the correct dependency tree for Samba it is easier to add the right dependencies in the wscript files than rely on them being added by the waf rules. This change removes the automatic dependency of modules on their subsystem. Many modules don't actually need this dependency anyway, so it is better to add it where they are needed (for example, for ldb modules) Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-30waf: added --symbol-check optionAndrew Tridgell2-47/+125
this adds checking of the symbols in all our object files, libraries and syslibs. It will form the basis in future for a lot more checks, but for now it just checks basic rules like not allowing us to use symbols that are in system libs. Currently this is enabled only if you use the --symbol-check option, (or use make with SYMBOLCHECK=1) but I intend to make this always enabled once it has had more testing. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
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: use Utils.WafError() instead of raising an AssertionErrorAndrew Tridgell1-2/+1
this produces clearer output on errors
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-30waf: separate out get_tgt_list()Andrew Tridgell2-12/+20
this is a useful function for the new symbols code, so separate it out of samba_deps.py Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-30waf: display the paths in library loopsAndrew Tridgell1-0/+21
when we detect a library loop, try to display the paths between the two libraries. This should make it easier to fix. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-30waf: added env.DEVELOPER_MODE flagAndrew Tridgell2-0/+309
this makes it easier to add project rules that are only run in developer mode Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>