summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba/samba_deps.py
AgeCommit message (Collapse)AuthorFilesLines
2012-09-27s4-python: Various formatting fixes.Jelmer Vernooij1-4/+4
* Trailing whitespace * use of "==" where "is" should be used * double spaces
2012-04-19waf: Fix mispellingSimo Sorce1-6/+6
Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Thu Apr 19 17:36:41 CEST 2012 on sn-devel-104
2012-04-17Fix typoSimo Sorce1-2/+2
Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Tue Apr 17 22:22:26 CEST 2012 on sn-devel-104
2012-04-11build: use include paths for pkg-config found librariesAndrew Bartlett1-1/+1
2012-02-18wafsamba: Fix some whitespace issues.Jelmer Vernooij1-4/+1
2011-04-26waf: introduce reverse logic for allowing unknown symbolsMatthieu Patou1-0/+4
Some os (ie OSX 10.6) forbids by default unknown symbols so in order to allow them (for special case) we have no to remove linker option *but* to add options to ask the linker to be more relax. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-03-15wafsamba: added global_include optionAndrew Tridgell1-2/+3
this allows you to disable the global include additions. We will use this for testing our public headers without including any of the source tree directories
2011-02-18build: added allow_undefined_symbols options for libraries and modulesAndrew Tridgell1-1/+5
the s4 build uses linker flags to disallow undefined symbols in libraries. To accomodate s3 libraries in the top level build we need to be able to disable this on a per-library basis. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-18waf: use Utils.WafError() instead of sys.exit(1)Andrew Tridgell1-2/+1
better to raise an expection than just exiting
2011-02-11waf: substitute '/' in -D static defines as well.Günther Deschner1-2/+4
Tridge, please check. Guenther
2011-02-07waf: samba deps generation depends on EXTRA_INCLUDESAndrew Tridgell1-1/+1
2011-01-05buildtools/wafsamba: import 'sys' and 'Logs' if we use themStefan Metzmacher1-1/+1
We should avoid generating a backtrace in a normal error case, just because sys.exit(1) isn't known. metze
2010-12-17wafsamba: Move version script handling out of SAMBA_LIBRARY.Jelmer Vernooij1-1/+1
2010-12-15waf: fixed re-running of build rulesAndrew Tridgell1-2/+2
the addition of ldflags deps caused us to re-run the build rules every time.
2010-12-08waf: use -Wl,--version-script if availableAndrew Tridgell1-1/+2
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-11-08waf: fixed tabs/spaces for python3.0Andrew Tridgell1-1/+1
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Nov 8 00:55:13 UTC 2010 on sn-devel-104
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: rerun deps calculation on LDFLAGS or CFLAGS changeAndrew Tridgell1-1/+1
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-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 Tridgell1-24/+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: separate out get_tgt_list()Andrew Tridgell1-12/+1
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-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-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: fixed the handling of -Wl,-no-undefinedAndrew Tridgell1-1/+1
this flag was not being propogated to our link rules, so we were not in fact enforcing no undefined symbols in libraries.
2010-10-21waf: show duplicate objects in python modules as well as librariesAndrew Tridgell1-2/+3
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-21waf: raise an error on a dependency on a python moduleAndrew Tridgell1-0/+3
it is never correct to list a dependency on a python module Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-21waf: prevent the global deps list creating depenency loopsAndrew Tridgell1-1/+9
this prevents a loop between SOCKET_WRAPPER and replace in the s3 waf build
2010-10-21waf: added the concept of a grouping_libraryAndrew Tridgell1-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>
2010-10-21waf: fixed expansion of direct_objects and direct_libsAndrew Tridgell1-2/+2
these do not need to be expanded in break_dependency_loops()
2010-10-21waf: rework expand_subsystem_deps()Andrew Tridgell1-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>
2010-10-21waf: added --show-deps and --show-duplicatesAndrew Tridgell1-1/+66
these options make it easier to examine our depenency tree, by showing any objects linked into more than one library, and by showing the dependency tree for a chosen target
2010-10-19waf: don't save deps on installAndrew Tridgell1-1/+2
this prevents an install triggering a new check of the project rules on the next build
2010-10-14s4-waf: automatically remove stale C and header filesAndrew Tridgell1-0/+1
this prevents stale .c and .h files in bin/ from causing build problems Thanks to Thomas Nagy for the example implementation! Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Oct 14 07:44:13 UTC 2010 on sn-devel-104
2010-10-13wafsamba: Don't allow circular dependencies involving libraries byJelmer Vernooij1-7/+17
default.
2010-10-12wafsamba: Warn about circular dependencies between libraries.Jelmer Vernooij1-1/+1
2010-06-15wafsamba: Improve assertion error message to include the module.Jelmer Vernooij1-1/+2
2010-05-03build: added a check for group ordering within target dependenciesAndrew Tridgell1-0/+47
If target A depends on target B, then target B must not be in a later build group from target A Pair-Programmed-With: Thomas Nagy
2010-04-26build: normalise paths in unique source checkingAndrew Tridgell1-1/+1
2010-04-21build: recalculate project deps when NONSHARED_BINARIES changesAndrew Tridgell1-0/+10
2010-04-21build: added --nonshared-binary=LIST optionAndrew Tridgell1-0/+13
This allows you to specify some binaries that should be built without shared libs. A non-shared smbtorture will make testing s3 in the build farm easier
2010-04-15build: ensure we don't recreate library loops in expansionsAndrew Tridgell1-1/+26
after removing library loops from the dependeny graph, we re-add parent dependencies. We need to ensure that we don't re-add a dependency which re-creates the loop we so carefully removed. This also adds a final check for library dependency loops, and shows an appropriate error if one is found.
2010-04-13build: check the type of implied dependenciesAndrew Tridgell1-1/+12
an implied dependency needs to be a library or module
2010-04-12wafsamba: don't add global dependencies to hostcc targetsStefan Metzmacher1-1/+2
metze