Andrew Tridgell
9e9e878e8f
s4-waf: allow standalone tarball build of libraries
2010-04-06 20:27:25 +10:00
Andrew Tridgell
528d7c7cf3
s4-waf: added 'waf dist' to our standalone libs as well
2010-04-06 20:27:25 +10:00
Andrew Tridgell
c8062fb65e
s4-waf: added 'waf dist' to build the tarball
2010-04-06 20:27:24 +10:00
Andrew Tridgell
735934bfed
build: removed some unused imports found by pyflakes
...
thanks to Jelmer for pointing me at pyflakes
2010-04-06 20:27:24 +10:00
Andrew Tridgell
2bf15566c6
talloc-waf: install talloc.pc if standalone
2010-04-06 20:27:24 +10:00
Andrew Tridgell
23ff97e629
build: fixed the expansions in pkgconfig files
...
thanks to Jelmer for the hint on this
2010-04-06 20:27:24 +10:00
Andrew Tridgell
7aa3f08f85
build: fixed DESTDIR for TOUCH_FILE()
2010-04-06 20:27:24 +10:00
Andrew Tridgell
feafcd2fb4
build: waf update to fix macos build error
2010-04-06 20:27:24 +10:00
Andrew Tridgell
fce1f19800
build: try to fix the python link problem on SerNet-imini
2010-04-06 20:27:24 +10:00
Andrew Tridgell
3efd865d61
build: use waf from waf-svn.git repo
...
Added README explaining where waf comes from, and where to get the
upstream sources and the exact version we use in Samba
2010-04-06 20:27:24 +10:00
Andrew Tridgell
1b15b28eaa
build: try the generic C compiler on hpux if gcc not found
2010-04-06 20:27:24 +10:00
Andrew Tridgell
a02d98ebb6
build: update wav-svn
...
this version works around the tarfile problem on irix
2010-04-06 20:27:23 +10:00
Andrew Tridgell
20c7cd878b
build: added 'generic' cc support and a simple irix cc support module
...
these will let us get past the 'detect cc' stage and try a build. It
also makes for a reasonable template for new ports
2010-04-06 20:27:23 +10:00
Andrew Tridgell
b849bea079
build: initial version of a tru64 compiler module
...
this doesn't do shared libs yet, but at least configure passes
2010-04-06 20:27:23 +10:00
Andrew Tridgell
7a8d58dbbc
pidl-waf: disable pidl manpages
...
it's still causing trouble in the build farm
2010-04-06 20:27:23 +10:00
Andrew Tridgell
a799f5995e
pidl-waf: better handling of the man page generation
...
we now avoid leaving build files in the source tree
2010-04-06 20:27:23 +10:00
Andrew Tridgell
3385b1e2e9
pidl-waf: build pidl man pages and parsers separately
...
this should prevent gratuitious builds
2010-04-06 20:27:23 +10:00
Andrew Tridgell
0c294655f6
build: don't depend on the blib/ files in SAMBA_PIDL()
2010-04-06 20:27:23 +10:00
Andrew Tridgell
f01f74b2be
talloc-waf: match version number with main build
2010-04-06 20:27:23 +10:00
Andrew Tridgell
93a099c2de
build: loop until all object reductions are complete
...
we will issue a warning if any object duplication remains
2010-04-06 20:27:23 +10:00
Andrew Tridgell
470c14cbf3
build: make sure the directory exists in TOUCH_FILE()
2010-04-06 20:27:23 +10:00
Andrew Tridgell
31a88f266c
build: nicer display of command type for prototypes and generators
2010-04-06 20:27:22 +10:00
Andrew Tridgell
865e478e25
s4-waf: create a blank __init__.py in samba/external
...
needed for the external lib loader
2010-04-06 20:27:22 +10:00
Andrew Tridgell
9e52dc441e
s4-waf: fixed install location of external python libs
...
this merges with jelmers recent changes in master
2010-04-06 20:27:22 +10:00
Andrew Tridgell
9eb5cb784c
build: a bit more information for tracking --target deps
2010-04-06 20:27:22 +10:00
Andrew Tridgell
4731442dfa
s4-waf: format-subunit and filter-subunit are in python now
2010-04-06 20:27:22 +10:00
Andrew Tridgell
fe0febcf30
s4-waf: added new install system for external python libs
2010-04-06 20:27:22 +10:00
Andrew Tridgell
60bfedb8f4
s4-waf: filter-subunit has been renamed
2010-04-06 20:27:22 +10:00
Andrew Tridgell
4fa9c3187d
s4-waf: updates for the new python installer from jelmer
2010-04-06 20:27:22 +10:00
Andrew Tridgell
ba64e236d5
build: much simpler and faster rpath install handler
...
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
2010-04-06 20:27:22 +10:00
Andrew Tridgell
6dbf576e81
build: only link install targets at install time
2010-04-06 20:27:22 +10:00
Andrew Tridgell
f189af143b
build: enable nothreads workaround only with WAF_NOTHREADS=1
2010-04-06 20:27:21 +10:00
Andrew Tridgell
d06df81df2
build: fixed the dependencies of the install targets
...
we want the install targets to have identical calculated dependencies
to the build targets.
2010-04-06 20:27:21 +10:00
Andrew Tridgell
375277beee
s4-waf: disable MAKEMAKER until a dependency problem is solved
2010-04-06 20:27:21 +10:00
Andrew Tridgell
c0b67c6e7e
build: fixed the task counter when nothreads is used
2010-04-06 20:27:21 +10:00
Andrew Tridgell
a7386c9625
s4-waf: set JOBS=1 during configure.waf
...
this allows configure to run on AIX, which has broken threading
2010-04-06 20:27:21 +10:00
Andrew Tridgell
e42a13d1d0
build: enable 'nothreads' when JOBS=1
...
this makes waf not use pthreads, which should fix the problems on AIX
and maybe on HPUX. It looks like process handling with Python on AIX
is broken if threads are used.
When JOBS=1 we don't need threads anyway.
2010-04-06 20:27:21 +10:00
Andrew Tridgell
fe2c1f1e7c
build: refactor the object reduction code
...
split it out into a separate function, and use the final_* attributes
instead of the direct_* and indirect_* attributes
2010-04-06 20:27:21 +10:00
Andrew Tridgell
d830661f22
s4-waf: remove PYTHONDIR from config.h
...
prevent unnecessary rebuilds
2010-04-06 20:27:21 +10:00
Andrew Tridgell
aceb14f611
s4-waf: use cflags for LDB_MODULESDIR
...
this prevents rebuilds when it changes
2010-04-06 20:27:21 +10:00
Andrew Tridgell
9ac8899d87
build: sys.exit is better than raise here
...
using raise produces a screen full of stuff the user can't
understand. The message is much clearer with an exit
2010-04-06 20:27:21 +10:00
Andrew Tridgell
cd104102b9
build: don't define vars in config.h for CONFIG_PATH()
...
we don't want paths in config.h, as that just causes full rebuilds
when you change --prefix. Better to use cflags= on the right subsystem
2010-04-06 20:27:20 +10:00
Andrew Tridgell
dab7b26528
s4-waf: we don't need strerror_r from roken
2010-04-06 20:27:20 +10:00
Andrew Tridgell
30fa7da524
build: finally got LIBRARY<->LIBRARY reductions working
...
the install size is now 100M
2010-04-06 20:27:20 +10:00
Andrew Tridgell
3154733c33
build: add python library object reduction
...
This reduces the install size of s4 from 393M down to 132M on my
system. We had a lot of duplicate code in our python modules!
2010-04-06 20:27:20 +10:00
Andrew Tridgell
d39b44c989
build: python libs need to be built shared, regardless of --disable-shared
...
we don't have a way to load them otherwise
2010-04-06 20:27:19 +10:00
Andrew Tridgell
178b0d178d
build: add require_headers option to CHECK_BUNDLED_SYSTEM()
...
Useful to ensure the package has usable headers
2010-04-06 20:27:18 +10:00
Andrew Tridgell
b498378c8f
s4-waf: fixed some of the group ordering
...
We need to try to keep targets in the right groups
2010-04-06 20:27:18 +10:00
Andrew Tridgell
20a8574717
s4-waf: look in libintl for dgettext()
2010-04-06 20:27:18 +10:00
Andrew Tridgell
0a6a808113
s4-waf: add getaddrinfo.c replacement if needed
2010-04-06 20:27:18 +10:00