summaryrefslogtreecommitdiff
path: root/buildtools
AgeCommit message (Collapse)AuthorFilesLines
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>
2010-10-30waf: added suncc_wrapAndrew Tridgell1-1/+16
this should solve a problem with creating alias modules with Sun CC. Thanks to Matthieu for the idea, and Thomas for the waf code
2010-10-28build: add the -fno-common flags to fix the link pb on mac os XMatthieu Patou1-0/+2
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Thu Oct 28 22:35:08 UTC 2010 on sn-devel-104
2010-10-28build: Add XPG6 otherwise we have a configure pb on sun SolarisMatthieu Patou1-0/+1
2010-10-27build: remove warnings about redifinition of boolean use -KPIC on sunccMatthieu Patou1-1/+9
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Wed Oct 27 22:57:19 UTC 2010 on sn-devel-104
2010-10-27wafsamba: support 'soname' attribute on SAMBA_LIBRARY()Stefan Metzmacher2-1/+16
It's sometimes needed to specifiy the soname directly. metze
2010-10-27waf: sped up the project rules checkingAndrew Tridgell1-21/+60
this also makes the --show-duplicates output more useful Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Oct 27 01:36:46 UTC 2010 on sn-devel-104
2010-10-26waf: quote subsystem names to make them clearerAndrew Tridgell1-1/+1
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-25waf: moved the -Wl,-no-undefined flags to source4 and ldbAndrew Tridgell1-2/+0
moved it out of the general waf build as the s3 waf build cannot yet handle linking with -Wl,-no-undefined Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Oct 25 01:12:15 UTC 2010 on sn-devel-104
2010-10-23waf: Rename some BUNDLED_ functios to PRIVATE_.Jelmer Vernooij3-20/+20
2010-10-21waf: check the linker accepts a set of ldflags before using themAndrew Tridgell1-1/+10
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Oct 21 08:45:49 UTC 2010 on sn-devel-104
2010-10-21waf: loosen the restriction on depending on python libsAndrew Tridgell1-1/+3
the pidl generated python code can generate dependencies between two python modules, so we have to allow this for now
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 Tridgell3-11/+5
this flag was not being propogated to our link rules, so we were not in fact enforcing no undefined symbols in libraries.