summaryrefslogtreecommitdiffstats
path: root/buildtools
Commit message (Collapse)AuthorAgeFilesLines
...
* waf: rerun deps calculation on LDFLAGS or CFLAGS changeAndrew Tridgell2010-11-031-1/+1
|
* waf: fixed wildcard buildAndrew Tridgell2010-11-031-1/+2
| | | | this fixes minimal includes for subsystems that use autoproto
* waf: removed the module aliases codeAndrew Tridgell2010-11-011-32/+0
| | | | This is not needed with the new ldb modules approacg
* waf: added automatic prototyping of static module init functionsAndrew Tridgell2010-11-011-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>
* waf: added module_init_name parameter to SAMBA_MODULE()Andrew Tridgell2010-11-011-2/+3
| | | | this will be used for ldb module loading
* build: In some case the flags for the sun studio linker are wrongMatthieu Patou2010-10-312-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
* build: check that if we provide -liconv we can build shared libsMatthieu Patou2010-10-311-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
* build: strip -single_module when doing bundle on mac OS XMatthieu Patou2010-10-301-0/+12
|
* build: set shared libraries flags correctly on mac os XMatthieu Patou2010-10-302-2/+21
|
* waf: fixed building of non-shared binaries that contain modulesAndrew Tridgell2010-10-301-0/+19
| | | | we need to incorporate the module objects too
* waf: get rid of target aliases in wafsambaAndrew Tridgell2010-10-302-30/+1
| | | | these aliases are no longer needed, and can cause a lot of confusion
* waf: save the samba_deps_extendedAndrew Tridgell2010-10-301-1/+1
| | | | this is needed for the symbols.py extension
* waf: give a better error on a bad grouping libraryAndrew Tridgell2010-10-301-0/+1
| | | | | | give a clear error on an unknown dependency in a grouping library Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* waf: cope with subsystems with no static modulesAndrew Tridgell2010-10-301-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>
* waf: don't auto-depend on subsystemsAndrew Tridgell2010-10-301-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>
* waf: added --symbol-check optionAndrew Tridgell2010-10-302-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>
* waf: build all libraries after all object filesAndrew Tridgell2010-10-301-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
* waf: use Utils.WafError() instead of raising an AssertionErrorAndrew Tridgell2010-10-301-2/+1
| | | | this produces clearer output on errors
* waf: cope with rules with no inputsAndrew Tridgell2010-10-301-0/+3
| | | | | | | when we display a rule with no inputs, just call the original display function Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* waf: separate out get_tgt_list()Andrew Tridgell2010-10-302-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>
* waf: display the paths in library loopsAndrew Tridgell2010-10-301-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>
* waf: added env.DEVELOPER_MODE flagAndrew Tridgell2010-10-302-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>
* waf: added suncc_wrapAndrew Tridgell2010-10-301-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
* build: add the -fno-common flags to fix the link pb on mac os XMatthieu Patou2010-10-281-0/+2
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Thu Oct 28 22:35:08 UTC 2010 on sn-devel-104
* build: Add XPG6 otherwise we have a configure pb on sun SolarisMatthieu Patou2010-10-281-0/+1
|
* build: remove warnings about redifinition of boolean use -KPIC on sunccMatthieu Patou2010-10-271-1/+9
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Wed Oct 27 22:57:19 UTC 2010 on sn-devel-104
* wafsamba: support 'soname' attribute on SAMBA_LIBRARY()Stefan Metzmacher2010-10-272-1/+16
| | | | | | It's sometimes needed to specifiy the soname directly. metze
* waf: sped up the project rules checkingAndrew Tridgell2010-10-271-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
* waf: quote subsystem names to make them clearerAndrew Tridgell2010-10-261-1/+1
|
* wafsamba: Fix soname for standalone private libraries.Jelmer Vernooij2010-10-261-1/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Oct 26 18:10:13 UTC 2010 on sn-devel-104
* waf: Stop automaticaly changing dashes to underscores in library names.Jelmer Vernooij2010-10-261-2/+1
|
* waf: Remove lib prefix from libraries manually.Jelmer Vernooij2010-10-261-2/+0
|
* waf: build private libraries with so names.Jelmer Vernooij2010-10-261-1/+6
|
* waf: moved the -Wl,-no-undefined flags to source4 and ldbAndrew Tridgell2010-10-251-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
* waf: Rename some BUNDLED_ functios to PRIVATE_.Jelmer Vernooij2010-10-233-20/+20
|
* waf: check the linker accepts a set of ldflags before using themAndrew Tridgell2010-10-211-1/+10
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Oct 21 08:45:49 UTC 2010 on sn-devel-104
* waf: loosen the restriction on depending on python libsAndrew Tridgell2010-10-211-1/+3
| | | | | the pidl generated python code can generate dependencies between two python modules, so we have to allow this for now
* waf-python: make the pyext flag add the pyembed features for librariesAndrew Tridgell2010-10-211-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
* waf: fixed the handling of -Wl,-no-undefinedAndrew Tridgell2010-10-213-11/+5
| | | | | this flag was not being propogated to our link rules, so we were not in fact enforcing no undefined symbols in libraries.
* waf: show duplicate objects in python modules as well as librariesAndrew Tridgell2010-10-211-2/+3
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* waf: added pyext option to SAMBA_LIBRARY()Andrew Tridgell2010-10-211-1/+2
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* waf: raise an error on a dependency on a python moduleAndrew Tridgell2010-10-211-0/+3
| | | | | | it is never correct to list a dependency on a python module Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* waf: prevent the global deps list creating depenency loopsAndrew Tridgell2010-10-211-1/+9
| | | | | this prevents a loop between SOCKET_WRAPPER and replace in the s3 waf build
* waf: replace the is_bundled option with private_libraryAndrew Tridgell2010-10-212-9/+5
| | | | | 'private_library' better captures what we are trying to get at when we bundle a library
* waf: added the concept of a grouping_libraryAndrew Tridgell2010-10-211-1/+32
| | | | | | | | | | | | a grouping library is one which 'groups' a set of subsystems. This means that if a target depends on a subsystem that is within a grouping library then that dependency is replaced with a dependency on the grouping library. This gives us a powerful method to avoid duplicated object files between libraries. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* waf: cope with libraries with a specified version numberAndrew Tridgell2010-10-211-0/+3
| | | | | this fixes a problem with libnss_winbind.so.2. Thanks to Jelmer for spotting this.
* waf: re-work the module alias codeAndrew Tridgell2010-10-211-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>
* waf: fixed expansion of direct_objects and direct_libsAndrew Tridgell2010-10-211-2/+2
| | | | these do not need to be expanded in break_dependency_loops()
* waf: allows libraries to be marked as private_library=TrueAndrew Tridgell2010-10-212-3/+13
| | | | | | | | | | | 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>
* waf: rework expand_subsystem_deps()Andrew Tridgell2010-10-211-18/+36
| | | | | | | | | make the variable names a lot clearer, and restrict the expansion of subsystem deps to object style subsystems and modules. If a subsystem or a module is built as a library then we don't need to expand the dependencies across that boundary Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>