summaryrefslogtreecommitdiffstats
path: root/buildtools/wafsamba/wafsamba.py
Commit message (Collapse)AuthorAgeFilesLines
* wafsamba: Only install .pc files if libraries are public.Jelmer Vernooij2011-08-211-1/+1
|
* wafsamba: Require public libraries to have headers.Jelmer Vernooij2011-08-211-0/+3
|
* wafsamba: Require public libraries to have a pc file specified, or ↵Jelmer Vernooij2011-08-211-4/+11
| | | | explicitly specified that they don't need one.
* param: Move per-share parameters into a seperate file, to share with s3Andrew Bartlett2011-07-081-0/+2
| | | | | | | This will allow the struct loadparm_service to be in common between the two loadparm implementations in the tree. Andrew Bartlett
* build: fixed dependencies on install prefix for pc files and python scriptsAndrew Tridgell2011-06-151-0/+2
| | | | | | | 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
* build: fixed a problem with installing scripts in the build treeAndrew Tridgell2011-06-011-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
* waf: build headers in separate 'headers' build groupAndrew Tridgell2011-03-151-0/+1
|
* waf: always generate public headers in the build treeAndrew Tridgell2011-03-151-1/+5
| | | | this allows us to properly test our public headers before install
* waf: build substituted public headers in build treeAndrew Tridgell2011-03-151-1/+3
| | | | | the bin/default/include/public directory will contain headers that are ready to install
* waf: moved header file handling into its own moduleAndrew Tridgell2011-03-151-196/+1
| | | | | It is getting quite complex now, and shouldn't just be mixed in with everything else
* wafsamba: keep a list of public headersAndrew Tridgell2011-03-151-1/+3
| | | | | this will be used to construct test_headers.h, for testing our public headers
* wafsamba: added global_include optionAndrew Tridgell2011-03-151-1/+12
| | | | | | 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
* build: install public headers in the build treeAndrew Tridgell2011-03-151-15/+54
| | | | | | this symlinks our public headers into the build tree, which will allow us to refer to the public headers by their public name inside the source tree.
* python: use os.environ[] instead of os.putenv()Andrew Tridgell2011-02-221-1/+1
| | | | | | | using os.putenv() causes too much confusion, as it doesn't update os.getenv() Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* waf: improved error message for bad paths in SAMBA_LIBRARY()Andrew Tridgell2011-02-181-1/+7
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* waf: support building libraries with a directory prefixAndrew Tridgell2011-02-181-2/+2
| | | | | | | SAMBA_LIBRARY('libsmb/smbclient') can now be built, which distinguishes it from the binary 'smbclient' Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* build: fixed passing of includes= for modulesAndrew Tridgell2011-02-181-0/+1
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* build: added subdir option for module buildingAndrew Tridgell2011-02-181-0/+3
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* build: added allow_undefined_symbols options for libraries and modulesAndrew Tridgell2011-02-181-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>
* waf: added subdir= option in SAMBA_*() rulesAndrew Tridgell2011-02-181-0/+9
| | | | | | this allows you to prepend a subdirectory to the source rules, after variable substitution. This is useful for the s3 waf build when it is in s3build/
* waf Fix dependencies for .pc (pkg-config) filesAndrew Bartlett2011-02-161-1/+1
| | | | | | | | We used the wrong parameter for the dependency calculation. thanks to Thomas Nagy for the fix! Andrew Bartlett
* build: fixed error message for incorrect waf versionAndrew Tridgell2011-02-071-3/+2
| | | | | | just need configure now Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* waf: Replace python installation rule to allow PYTHONARCHDIR and PYTHONDIRAndrew Bartlett2011-02-021-7/+23
| | | | | | | | | | | The old rule could only substitute one part of one line, but we need to add a second line to handle when PYTHONDIR and PYTHONARCHDIR do not match. This also avoids shelling out to sed with a regex, which was difficult to read. Andrew Bartlett
* waf: use PYTHONARCHDIR for installing python shared libsAndrew Tridgell2011-01-141-2/+2
| | | | | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Jan 14 08:19:40 CET 2011 on sn-devel-104
* buildtools/wafsamba: import 'sys' and 'Logs' if we use themStefan Metzmacher2011-01-051-1/+1
| | | | | | | We should avoid generating a backtrace in a normal error case, just because sys.exit(1) isn't known. metze
* wafsamba: Use abi_match in version script files.Jelmer Vernooij2010-12-181-1/+2
|
* wafsamba: Specify full vscript path so non-autogenerated files are possible, ↵Jelmer Vernooij2010-12-171-0/+1
| | | | too.
* wafsamba: Don't build vscript for modules.Jelmer Vernooij2010-12-171-3/+2
|
* wafsamba: Move version script handling out of SAMBA_LIBRARY.Jelmer Vernooij2010-12-171-1/+3
|
* heimdal_build: Simplify library handling.Jelmer Vernooij2010-12-171-1/+1
|
* waf: fixed re-running of build rulesAndrew Tridgell2010-12-151-2/+3
| | | | | the addition of ldflags deps caused us to re-run the build rules every time.
* wafsamba: change the default value for SAMBA_MODULE of pyembed to FalseMatthieu Patou2010-12-141-1/+1
| | | | | | | | ALL SAMBA_MODULE didn't need this, new modules that could need will just have to opt this in Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Tue Dec 14 14:45:15 CET 2010 on sn-devel-104
* waf: the libXX.inst.so file also depends on the vscriptAndrew Tridgell2010-12-101-0/+4
| | | | | | | | this fixes a problem with installed libraries not relinking after a git version change Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Dec 10 09:30:46 CET 2010 on sn-devel-104
* waf: remove the restriction that private libraries must not have a vnumAndrew Tridgell2010-12-091-5/+0
| | | | | | | | we need the vnum for ABI checking for public libraries built as private libraries when bundled Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Dec 9 12:47:41 CET 2010 on sn-devel-104
* waf: fixed path to abi_directoryAndrew Tridgell2010-12-091-1/+1
| | | | this broke in a recent patch
* waf: add a dependency between the library and its vscriptAndrew Tridgell2010-12-091-0/+2
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Dec 9 04:32:18 CET 2010 on sn-devel-104
* waf: don't use symbol versioning on our modulesAndrew Tridgell2010-12-091-3/+6
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* waf: use vscripts for our private libraries tooAndrew Tridgell2010-12-091-8/+9
| | | | | if the library has a vnum, then use it. If it doesn't have a vnum then use the application version for symbol versions
* waf-abi: auto-generate per-symbol versions from ABI filesAndrew Tridgell2010-12-091-14/+8
| | | | | | | | | | | | | This changes our version-script generation to use the ABI files that are saved in git with each version number change of our public libraries. We use these ABI files to generate a linker version script that gives the exact version number that each symbol was introduced. This provides us with automatic fine grained symbol versioning. Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org> Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* buildtools: private_libraries should not have a version in the sonameStefan Metzmacher2010-12-081-1/+1
| | | | metze
* buildtools: make sure we have no '+' in the version scriptsStefan Metzmacher2010-12-081-1/+1
| | | | | | This happens if '--git-local-changes' was used. metze
* waf: make all generators depend on their rulesAndrew Tridgell2010-12-081-0/+2
| | | | this ensures we rebuild when a constructed rule changes
* waf: use -Wl,--version-script if availableAndrew Tridgell2010-12-081-1/+17
| | | | | | | | | | | | | | | | | | | | | | | 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>
* s4-waf: get the version number right on private librariesAndrew Tridgell2010-12-081-1/+1
| | | | | | use the first digit of the version number for the library version Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
* build: fix hpux build pbMatthieu Patou2010-12-081-0/+1
| | | | | | | | | | | | | | | | | | Pair-Programmed-With: Thomas Nagy <tnagy2pow10@gmail.com> Fix the library extension from .so to .sl Add full path to library when linking this is needed due to a strange behavior of HP-UX: This command: gcc demo demo.c -L dir1/dir2/ -lsomelib will give a binary with a hard coded lib like dir1/dir2/libsomelib.sl. Somehow like a partial rpath, it has the first impact of fooling waf detection of wether the plateform support libraries or not (leading to being unable to compile samba on HPUX) and the impact of having non functionnal binaries. Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Wed Dec 8 00:32:50 CET 2010 on sn-devel-104
* waf: fixed the build with a space in the source directoryAndrew Tridgell2010-11-211-1/+1
|
* waf: Put private libraries in a separate directory when building.Jelmer Vernooij2010-11-051-0/+1
| | | | Thanks to Tridge for pointing out what exactly I had to change. :-)
* waf: split pkgconfig logic into a separate moduleAndrew Tridgell2010-11-031-56/+1
|
* waf: removed the module aliases codeAndrew Tridgell2010-11-011-32/+0
| | | | This is not needed with the new ldb modules approacg
* waf: added module_init_name parameter to SAMBA_MODULE()Andrew Tridgell2010-11-011-2/+3
| | | | this will be used for ldb module loading