summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba
AgeCommit message (Collapse)AuthorFilesLines
2012-02-19waf: Use libraries when building.Jelmer Vernooij1-2/+4
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Feb 19 06:27:55 CET 2012 on sn-devel-104
2012-02-19Use uselib in CHECK_HEADER.Jelmer Vernooij1-0/+3
2012-02-19library_flags: Leave setting of CPPPATH to waf too.Jelmer Vernooij1-4/+1
2012-02-18wafsamba: Fix some whitespace issues.Jelmer Vernooij1-4/+1
2012-02-16wafsamba: fix blacklist handling in "make dist"Michael Adam1-1/+1
2012-02-12wafsamba: Add tests for dict_concat.Jelmer Vernooij1-1/+20
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Feb 12 20:17:54 CET 2012 on sn-devel-104
2012-02-12wafsamba: Add tests for unique_list, subst_vars_error.Jelmer Vernooij2-3/+38
2012-02-12waf: Add initial unit test for samba_utils.Jelmer Vernooij3-0/+54
2012-02-10wafsamba: Expand tabs.Jelmer Vernooij10-597/+597
2012-02-02build: fixed a link order problemAndrew Tridgell1-1/+3
this fixes a problem found by obnox where the -L path for CUPS was put before the path to internal libraries. The install path for CUPS happened to be the same as for a old system libtevent, which meant we linked against the old tevent instead of the correct one from our private library paths. The problem was that we were adding the -L paths directly to the ldflags. The waf core code (in ccroot.py) only adds more paths if they are not there already. So by adding it in ldflags it was not added at the end of the list. The fix is just to not do the -L processing in wafsamba and let the waf core do it in the right order Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Feb 2 06:54:42 CET 2012 on sn-devel-104
2011-12-16wafsamba: Fix undefined variable name in error message.Jelmer Vernooij1-1/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Dec 16 21:53:57 CET 2011 on sn-devel-104
2011-12-05wafsamba: Cope with not everything having a final_libs attribute.Jelmer Vernooij1-1/+1
2011-12-05wafsamba: Use final_libs list to determine if a target needs private ↵Jelmer Vernooij1-1/+1
libraries, rather than direct dependencies list.
2011-12-03Revert making public of the samba-module library.Jelmer Vernooij1-1/+1
This library was tiny - containing just two public functions than were themselves trivial. The amount of overhead this causes isn't really worth the benefits of sharing the code with other projects like OpenChange. In addition, this code isn't really generically useful anyway, as it can only load from the module path set for Samba at configure time. Adding a new library was breaking the API/ABI anyway, so OpenChange had to be updated to cope with the new situation one way or another. I've added a simpler (compatible) routine for loading modules to OpenChange, which is less than 100 lines of code. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Dec 3 08:36:33 CET 2011 on sn-devel-104
2011-11-14waf: Fix uselib_store for system libsubunit.Jelmer Vernooij1-1/+1
2011-11-13waf: Factor checking for undefined symbol flags out into separate method.Jelmer Vernooij1-0/+12
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Nov 13 19:38:38 CET 2011 on sn-devel-104
2011-11-13waf: Simplify handling of python modules.Jelmer Vernooij2-21/+6
2011-11-13Revert 9a5ae8edd6d006c078b3af8fdfd84677a63276b1.Jelmer Vernooij1-3/+0
2011-11-13wafsamba: Support allow_undefined_symbols in SAMBA_SUBSYSTEM.Jelmer Vernooij1-4/+10
2011-11-13wafsambaa: Support libraries that don't have the same name as their ↵Jelmer Vernooij1-1/+1
pkg-config file.
2011-11-13wafsamba: add CHECK_BUNDLED_SYSTEM_PKG function.Jelmer Vernooij1-8/+64
2011-11-13ldb: Use pyembed rather than pyext for ldb-util library.Jelmer Vernooij1-1/+5
2011-11-13waf: Don't link python modules against libpython2.x, consistent with other ↵Jelmer Vernooij2-5/+4
Python modules. Rather, rely just on waf's pyext feature. This fixes a warning from dh_python2.
2011-10-28lib/util Rename samba_init_module -> samba_module_initAndrew Bartlett1-1/+1
This is to provide a cleaner namespace in the public samba plugin functions. Andrew Bartlett
2011-10-20build: explain the passing of make options to wafAndrew Tridgell1-0/+7
add a comment explaining how we pass make command line options into waf Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Oct 20 07:24:02 CEST 2011 on sn-devel-104
2011-10-19build: added deletion of stale .so and .o filesAndrew Tridgell1-2/+16
when we change our build rules to move a C file, we need to remove the old ('stale') .so and .o files from the build directory, or they may be used as part of the new build, which means that old code will be linked in. This expands the list of stale files that we remove on rule changes to include .so and .o files Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Oct 19 09:02:23 CEST 2011 on sn-devel-104
2011-10-14build: added autoconf --disable-silent-rules optionSumit Bose1-0/+3
Signed-off-by: Günther Deschner <gd@samba.org>
2011-10-07build: Reduce build systems to just top level waf and autoconfAndrew Bartlett2-3/+2
The s3-waf build system is a key component of the top level build, but with this commit is is no longer available directly. This reduces the number of build system combinations in master as we prepare for the Samba 4.0 release. Andrew Bartlett
2011-09-08build: Add duplicate symbol checking as part of make testAndrew Bartlett2-6/+26
This ensures we do not get duplicate symbols again, when run as ./configure.developer on non-build farm machines. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Sep 8 13:37:40 CEST 2011 on sn-devel-104
2011-09-07build: Replace mkbuildoptions-waf awk script with waf targetAmitay Isaacs1-0/+174
2011-08-21wafsamba: Only install .pc files if libraries are public.Jelmer Vernooij1-1/+1
2011-08-21wafsamba: Require public libraries to have headers.Jelmer Vernooij1-0/+3
2011-08-21wafsamba: Require public libraries to have a pc file specified, or ↵Jelmer Vernooij1-4/+11
explicitly specified that they don't need one.
2011-08-13waf: Add SAMBA3_PYTHON context to build python wrappers in samba3Amitay Isaacs1-0/+5
2011-07-23wafsamba: Properly lock object store when retrieving version through Bazaar.Jelmer Vernooij1-1/+5
2011-07-08param: Move per-share parameters into a seperate file, to share with s3Andrew Bartlett1-0/+2
This will allow the struct loadparm_service to be in common between the two loadparm implementations in the tree. Andrew Bartlett
2011-07-03s3-build Require fully defined modules by defaultAndrew Bartlett1-2/+0
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sun Jul 3 10:33:44 CEST 2011 on sn-devel-104
2011-06-24s3-build Require fully defined symbols in ALL libraries by defaultAndrew Bartlett1-2/+0
The only exception here is libsmbregistry, which needs further work to resolve the library loop caused by the registry based smb.conf loading. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Jun 24 05:01:38 CEST 2011 on sn-devel-104
2011-06-24s3-build: Require fully defined symbols for all public librariesAndrew Bartlett1-1/+1
2011-06-20tdb2: tie it into build process if --enable-tdb2-breaks-compatRusty Russell1-2/+6
This is simplistic. We need to support making TDB2 a standalone library, but for now, we simply built it in-tree. Once we have tdb1 compatibility in tdb2, we can rename this option to --enable-tdb2. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-06-20tdb_compat.h: divert every tdb build and includes to tdb_compatRusty Russell1-1/+1
We change all the headers and wscript files to use tdb_compat; this means we have one place to decide whether to use TDB1 or TDB2. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-06-17build: only use the git version on install, not in the build treeAndrew Tridgell2-7/+11
having the git version in our version.h in the build tree is annoying for developers, as every time you commit or rebase you need to spend several minutes re-linking. This changes it to use the git version only on install, which is much more useful as when you actually install the binaries you may be using them in a way that reporting the version is useful Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Jun 17 08:37:06 CEST 2011 on sn-devel-104
2011-06-15build: fixed development symlinks for libraries in subdirectoriesAndrew Tridgell1-2/+2
this fixes the symlink for libsmbclient.so Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Jun 15 07:23:10 CEST 2011 on sn-devel-104
2011-06-15build: fixed dependencies on install prefix for pc files and python scriptsAndrew Tridgell2-0/+3
waf can't automatically determine these dependencies as the construction of the files is via a python function thanks to Andrew for noticing this bug
2011-06-10waf-symbols: don't look for symbol lists in GENERATOR targetsAndrew Tridgell1-1/+1
generated header files are not object files Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-06-10waf: fixed 'make bin/XXX' for the remaining binariesAndrew Tridgell1-4/+31
this fixes 'make bin/smbd' to work correctly with the waf build. It didn't work before as smbd is actually 'smbd/smbd' internally and we tried to use the target name 'smbd'. The new approach reads the symlink to get the right target. This also speeds up the null build by quite a lot
2011-06-01build: fixed a problem with installing scripts in the build treeAndrew Tridgell1-18/+9
the SAMBA_SCRIPT() function was not always triggering correctly. The base problem was that we were using a target outside the build tree. This implements a simpler solution where we just create the links directly in SAMBA_SCRIPT() rather than creating a waf task Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Jun 1 06:50:04 CEST 2011 on sn-devel-104
2011-05-10Add -fno-common where supported (WAF only)Rusty Russell1-1/+1
Normally under UNIX, uninitialized non-static global variables get placed in the "common" section, where they are merged at link time. This means if two C files define "int debug", they will end up referring to the same variable. Or if one does "float level" and the other does "int level" you'll get an accidental union. Such bugs can be hard to track down; fortunately GCC offers -fno-common to disable this feature. It didn't reveal any places which need fixing, however). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-05-08build: allow s3 libraries to be built with no undefined symbolsAndrew Tridgell1-2/+4
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
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>