summaryrefslogtreecommitdiff
path: root/buildtools
AgeCommit message (Collapse)AuthorFilesLines
2010-10-21waf: replace the is_bundled option with private_libraryAndrew Tridgell2-9/+5
'private_library' better captures what we are trying to get at when we bundle a library
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: cope with libraries with a specified version numberAndrew Tridgell1-0/+3
this fixes a problem with libnss_winbind.so.2. Thanks to Jelmer for spotting this.
2010-10-21waf: re-work the module alias codeAndrew Tridgell1-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>
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: allows libraries to be marked as private_library=TrueAndrew Tridgell2-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>
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 Tridgell2-1/+74
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: put -Wl,-no-undefined only in the linker flags, not when compiling CAndrew Tridgell2-3/+28
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-19waf: automap shared library names from .so to the right extensionAndrew Tridgell4-11/+58
this should help with MacOSX .dylib libraries
2010-10-16heimdal_build: Use existing functions for finding system libraries.Jelmer Vernooij1-1/+1
2010-10-14s4-waf: automatically remove stale C and header filesAndrew Tridgell3-0/+98
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/developer: Forbid shared objects with unresolved symbols, ifJelmer Vernooij1-1/+1
the linker supports such a flag. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Oct 13 12:52:22 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-10-10wafsamba: Fix handling of pyembed/pyext.Jelmer Vernooij1-5/+2
2010-10-11wafsamba: Support setting pyembed on libraries.Jelmer Vernooij1-3/+9
2010-10-10wafsamba: Fix init function when building modules as shared objects.Jelmer Vernooij1-0/+3
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-10-10wafsamba: Clarify needs_python argument name, use pyembed/pyext whereJelmer Vernooij2-12/+12
applicable. Allow using both pyembed and pyext, to prevent unresolved symbols. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 10 03:54:01 UTC 2010 on sn-devel-104
2010-10-06waf: allow for commands like "make bin/smbtorture"Andrew Tridgell1-0/+4
I finally worked out the GNU make syntax for this
2010-10-06waf: fixed some python3.x portability issuesAndrew Tridgell4-5/+9
these have crept into the tree over time. Maybe we should add testing of a range of python versions to autobuild?
2010-10-06waf: update to waf version 1.5.19Andrew Tridgell2-1/+1
this includes a number of perforance improvements and bug fixes. Thanks to Thomas for all the recent improvements!
2010-10-06waf: fixed the problem with com_err on Ubuntu 9.04Andrew Tridgell2-22/+32
this changes CHECK_BUNDLED_SYSTEM() to honor the checkfunctions and headers options even for libraries found with pkgconfig. Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Oct 6 05:06:42 UTC 2010 on sn-devel-104
2010-10-05waf: workaround for the 'make install' breakageAndrew Tridgell1-4/+4
This is a temporary workaround until Jelmer gets a chance to look at this Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Oct 5 06:57:59 UTC 2010 on sn-devel-104
2010-10-04waf: Add function for checking for system python modules.Jelmer Vernooij1-0/+32
2010-10-03wafsamba: Some reformatting.Jelmer Vernooij2-5/+1
2010-10-03heimdal: Move asn1 list to heimdal_build.Jelmer Vernooij1-109/+0
2010-10-03heimdal: Move SAMBA_ERRTABLE to heimdal_build.Jelmer Vernooij1-27/+0
2010-10-03heimdal: Move autoproto code to heimdal_build.Jelmer Vernooij1-23/+0
2010-10-03wafsamba: Move heimdal library code to heimdal_build.Jelmer Vernooij1-8/+0
2010-10-03heimdal: convert some subsystems to libraries, consistent with upstream heimdal.Jelmer Vernooij1-7/+8
2010-09-27waf: add delimiter argument to TO_LIST.Günther Deschner1-2/+2
Guenther
2010-09-27s3-waf: add some module specific functions for s3 waf build.Günther Deschner1-0/+20
Thanks to Kai. Guenther
2010-09-20Merge branch 'v4-0-stable' into newmasterJelmer Vernooij2-3/+3
2010-09-20wafsamba: Fix docstring for DIST_BLACKLIST.Jelmer Vernooij1-1/+1
2010-09-20wafsamba: Fix parsing of IS_GIT_VERSION.Jelmer Vernooij1-2/+2
2010-09-19waf: add a '+' to the git hash if the working tree isn't cleanStefan Metzmacher1-0/+9
metze
2010-09-19waf: fix typos in GIT_COMMIT_* stringsStefan Metzmacher1-3/+3
metze
2010-09-08wafsamba: Eliminate sys.path updating if installing to a standard pythonJelmer Vernooij1-1/+7
path.
2010-09-07waf-abi: fixed small uninitialised data on PPC64 Andrew Tridgell1-1/+1
on PPC64 Linux systems a 'S' line from nm means "small object uninitialised data"
2010-09-05wafsamba: Create bin/defaukt/modules if it does not yet exist.Jelmer Vernooij1-0/+1
2010-09-05waf: Use os.makedirs rather than os.mkdir in case parent directoriesJelmer Vernooij1-1/+1
don't exist yet.
2010-09-04waf: Support aliases in SAMBA_MODULE.Jelmer Vernooij1-27/+29
2010-09-04waf: Make shared modules available in the build dir.Jelmer Vernooij2-2/+10
2010-09-04waf: fixed make test with TESTS="test1 test2"Andrew Tridgell1-1/+3
when multiple tests are specified, make escapes the space in MAKEFLAGS with a backslash, so we need to use shlex.split()
2010-08-30Disable gccdeps if -MD is not supportedThomas Nagy1-3/+23
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-08-22s4-waf: re-use SAMBA_LIBRARY() in building shared modulesAndrew Tridgell1-35/+15
make SAMBA_MODULE() call SAMBA_LIBRARY() to do the heavy lifting. This fixes the problem with modules being a bit too slim :-) Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
2010-08-22wafsamba: fix CHECK_XSLTPROC_MANPAGES().Jelmer Vernooij1-12/+5
2010-08-17Revert "waf: enable gccdeps in developer mode"Stefan Metzmacher1-3/+2
This reverts commit 61930f50cbace4741500d8b53fc11a4ef3e0d4f8. This breaks the build with older gcc versions gcc --version gcc (SUSE Linux) 4.3.2 [gcc-4_3-branch revision 141291] (This is SLES 11) Please only enable it if thet compiler supports it. metze