summaryrefslogtreecommitdiffstats
path: root/buildtools/wafsamba/samba_install.py
Commit message (Collapse)AuthorAgeFilesLines
* wafsamba: If we define a realname and a soname create a symlink.Andreas Schneider2012-10-221-0/+2
| | | | | This is needed that libnss_winbind.so.2 and libnss_wins.so.2 will get a corresponding symlinks.
* waf: Make sure libraries are installed with the execute flag set.Andreas Schneider2012-02-231-1/+2
| | | | | | | | | | There are two reasons for that. The first is that libraries are executables and can have main functions (see libc). The second reason is that rpm script to extract debuginfo are looking for executables and then check if it is the right file to extract the info. Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Thu Feb 23 20:57:11 CET 2012 on sn-devel-104
* build: fixed development symlinks for libraries in subdirectoriesAndrew Tridgell2011-06-151-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
* build: fixed the ELF name for private librariesAndrew Tridgell2011-03-021-2/+6
| | | | | | | thanks to Simo and rpmbuild for spotting this! Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Mar 2 02:49:34 CET 2011 on sn-devel-104
* build: put links for libs in the right directoryAndrew Tridgell2011-02-181-1/+1
| | | | | | | | | | when a library is declared as libdir/libname, still put the symlink in bin/shared Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Feb 18 06:03:57 CET 2011 on sn-devel-104
* waf: give a more sensible error on symlink_bin with missing directoryAndrew Tridgell2011-02-181-0/+2
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* wafsamba: Specify full vscript path so non-autogenerated files are possible, ↵Jelmer Vernooij2010-12-171-1/+1
| | | | too.
* wafsamba: Move version script handling out of SAMBA_LIBRARY.Jelmer Vernooij2010-12-171-0/+12
|
* Simplify link installation.Jelmer Vernooij2010-12-171-8/+3
|
* waf: added configure test for -Wl,--version-scriptAndrew Tridgell2010-12-081-0/+3
| | | | | | this checks that the linker supports --version-script Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* wafsamba: Only use private library rpath when linking against privateJelmer Vernooij2010-11-301-2/+2
| | | | | | | libraries. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Nov 30 02:23:37 CET 2010 on sn-devel-104
* waf: go back to the previous method of handling .inst. rulesAndrew Tridgell2010-11-081-1/+1
| | | | | the change broke the library linkages for some library, as spotted by Brad
* waf: fixed the names of the installed libraries after the last changeAndrew Tridgell2010-11-081-5/+13
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Nov 8 02:31:18 UTC 2010 on sn-devel-104
* waf: prevent us from modifying non-install libs during make installAndrew Tridgell2010-11-081-2/+6
| | | | | | | | | | | | | we need to ensure that 'make install' does not change any of our build libraries, and only changes the .inst.so libraries, otherwise doing a make test in the build directory directly after a make install could use the installed libraries, which would mean using the wrong LDB_MODULES_PATH this could cause the "unknown error" loading ldb modules when running some commands directly after a make install Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* waf: Put private libraries in a separate directory when building.Jelmer Vernooij2010-11-051-1/+5
| | | | Thanks to Tridge for pointing out what exactly I had to change. :-)
* Add --with-privatelibdir build option.Jelmer Vernooij2010-11-051-1/+6
|
* wafsamba: support 'soname' attribute on SAMBA_LIBRARY()Stefan Metzmacher2010-10-271-0/+13
| | | | | | It's sometimes needed to specifiy the soname directly. metze
* waf: replace the is_bundled option with private_libraryAndrew Tridgell2010-10-211-1/+1
| | | | | 'private_library' better captures what we are trying to get at when we bundle a library
* waf: automap shared library names from .so to the right extensionAndrew Tridgell2010-10-191-9/+9
| | | | this should help with MacOSX .dylib libraries
* waf: fixed some python3.x portability issuesAndrew Tridgell2010-10-061-1/+1
| | | | | these have crept into the tree over time. Maybe we should add testing of a range of python versions to autobuild?
* waf: workaround for the 'make install' breakageAndrew Tridgell2010-10-051-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
* waf: Use os.makedirs rather than os.mkdir in case parent directoriesJelmer Vernooij2010-09-051-1/+1
| | | | don't exist yet.
* waf: Make shared modules available in the build dir.Jelmer Vernooij2010-09-041-0/+5
|
* wafsamba: Use octal modes directly rather than constants.Jelmer Vernooij2010-06-191-3/+1
|
* s4-waf: Fix installation of .so links for libraries that are not bundled but ↵Jelmer Vernooij2010-06-131-1/+1
| | | | have a mangled name.
* build: get the SONAME right for installed librariesAndrew Tridgell2010-05-231-0/+4
|
* build: mark cloned task generators as not postedAndrew Tridgell2010-05-051-0/+1
| | | | this solves an incompatibility with a newer version of waf from svn
* build: use the waf patterns for RPATHAndrew Tridgell2010-05-031-7/+7
| | | | | | | | | | Use the self.env.RPATH variable to set the RPATH for each target. This gives consistent ordering of the link command, ensuring that we don't get rebuilds if we ask for a --targets= build after a normal build. This also means we are now using the RPATH_ST pattern, which means we can potentially support compilers that don't use -Wl,xxx as the command line for rpath support
* build: cope with realname for install of non-python libsAndrew Tridgell2010-04-261-1/+4
| | | | this fixes the install of mit_samba.so
* build: fixed install of binary targets that are in subdirsAndrew Tridgell2010-04-181-1/+1
| | | | this should fix the smbd/smbd install problem with Kai's s3 waf build
* build: for unbundled libraries install devel link tooAndrew Tridgell2010-04-131-0/+8
| | | | | | | We need a symlink libFOO.so -> libFOO.so.x.y as a development symlink Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* build: cope with existing binaries in bin/ left over from the old buildAndrew Tridgell2010-04-131-4/+2
|
* s3-waf: Correctly create symlink if SAMBA_BINARY targets are not in the ↵Kai Blin2010-04-121-1/+1
| | | | | | current diectory Many thanks to ita for pointing out the fix.
* build: no need to re-create the lib and bin symlinks if they existAndrew Tridgell2010-04-091-0/+6
| | | | this saves a few unlink/symlink calls for null builds
* build: make the handling of relative paths a bit sanerAndrew Tridgell2010-04-081-7/+3
| | | | | | This should fix a problem that Anatoliy has struck with the PIDL rules. It also brings us much closer to a working build for a true out of tree build (ie. with waf configure -b /tmp/build)
* build: allow the waf build to work with python 3.0 and 3.1Thomas Nagy2010-04-081-1/+3
| | | | | | Python 3.x is a bit fussier about print statements and indentation. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* build: cope with binaries with subdir prefixes (for s3 waf build)Andrew Tridgell2010-04-061-1/+1
|
* build: simpler symlink_bin and symlink_lib methodsAndrew Tridgell2010-04-061-22/+20
|
* build: much simpler and faster rpath install handlerAndrew Tridgell2010-04-061-0/+158
This avoids creating additional task generators at build time, and instead moves all the rpath logic into samba_install.py where it is triggered by the install_lib and install_bin features