Andrew Tridgell
553029b88b
s4-build: use -Wl,--as-needed if supported
...
this makes our runtime load times smaller, and also means we find bugs
that this may cause on gentoo. gentoo uses this by default
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Nov 3 00:35:56 UTC 2010 on sn-devel-104
2010-11-03 00:35:56 +00:00
Matthieu Patou
4e30a5dd0b
build: make this test darwin only as it mess a bit more the freebsd build
2010-10-30 16:50:03 +00:00
Matthieu Patou
33b276c2f1
build: set shared libraries flags correctly on mac os X
2010-10-30 13:45:18 +00:00
Andrew Tridgell
3f3783cad3
s4-replace: make libreplace a private shared lib in s4
2010-10-30 23:49:01 +11:00
Stefan Metzmacher
8ea6f41ec9
s4-waf: don't generate PACKAGE_* defines in config.h
...
- We don't use them anywhere (heimdal has special rules)
- They calculate the version at configure time
and may contain the wrong git hash while building
- If we really need them in future we should add them
to version.h and not config.h, as the changing git hash
will trigger a full rebuild if config.h changes.
metze
2010-10-25 08:16:28 +00:00
Andrew Tridgell
db73b4a2c1
waf: moved the -Wl,-no-undefined flags to source4 and ldb
...
moved it out of the general waf build as the s3 waf build cannot yet
handle linking with -Wl,-no-undefined
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Mon Oct 25 01:12:15 UTC 2010 on sn-devel-104
2010-10-25 01:12:15 +00:00
Jelmer Vernooij
49ef288819
waf: Rename some BUNDLED_ functios to PRIVATE_.
2010-10-23 22:24:06 +00:00
Andrew Tridgell
a89331e954
s4: mark us as not supporting python3 yet
...
python3 works fine with waf fine, but our C interfaces need 2.x for
now
2010-10-12 02:13:19 +00:00
Günther Deschner
0ff7e0c998
samba: share readline wrappers among all buildsystems.
...
Guenther
2010-10-01 22:30:22 +02:00
Andrew Tridgell
cd3eddbb59
waf: we don't need the preprocessor recursion limit any more
...
thanks to ita for this
2010-09-28 11:36:40 -07:00
Jelmer Vernooij
a15a33a9a8
torture: Use system subunit library if available.
2010-09-22 22:29:09 -07:00
Andrew Tridgell
30dc87dab9
build: only use git when found by configure
...
this rebuilds version.h whenever the git version changes, so we always
get the right version with samba -V. That adds about 15s to the build
time on each git commit, which shouldn't be too onerous
2010-06-29 14:28:08 +10:00
Jelmer Vernooij
5143353108
samba4: Build libreplace as builtin library by default so it doesn't end
...
up in $prefix/lib.
2010-06-18 23:51:40 +02:00
Jelmer Vernooij
f757263fb3
s4-waf: Look for xsltproc executable, required to build manpages.
2010-05-31 01:38:35 +02:00
Andrew Bartlett
708d6fc5b0
s4:waf Exclude the autotools based build environment from a Samba4 release
2010-05-28 21:59:07 +10:00
Andrew Bartlett
b50c006e20
waf Add DIST_BLACKLIST to list files that we cannot include in a release
...
This currently includes the source3 directory for Samba4 releases (per
past practice in mkrelease.sh), but also could include things like
DFSG-unfree RFC files in the future.
Andrew Barltett
2010-05-28 21:59:07 +10:00
Andrew Bartlett
892a4b24e7
waf Read VERSION file inside WAF to set package version
...
This replaces the call to mkversion.sh in both the Samba3 and Samba4
WAF builds.
Andrew Bartlett
2010-05-28 15:20:03 +10:00
Andrew Tridgell
c61f4dcc0f
build: added a reconfigure target
...
this is meant to be used by the s3 build, to allow jelmers work on
smbtorture4 in s3 to avoid re-running configure unless its needed
2010-05-06 14:56:43 +02:00
Andrew Tridgell
7281b02181
build: allow use of target names as commands in waf
...
This allows for the following types of commands:
waf smbd/samba
waf smbd/server.c
waf ../lib/util/util_file.c
waf ../lib/util/util_file_*.o
this will be used as part of an updated minimal_includes.pl script
2010-05-04 11:45:43 +02:00
Andrew Tridgell
4a87ca2028
s4-waf: added --enable-build-farm configure option
...
this adds a smbtorture.static binary which s3 will use in the build
farm
2010-04-29 08:01:48 +10:00
Andrew Tridgell
1d5aee6b91
s4-waf: python devel headers are mandatory for the source4 build
2010-04-21 16:21:30 +10:00
Stefan Metzmacher
2fd0137a87
s4:selftest/wscript: --enable-selftest and --with-selftest-prefix are configure options
...
metze
2010-04-15 09:34:02 +02:00
Thomas Nagy
7f3116a63d
build: allow the waf build to work with python 3.0 and 3.1
...
Python 3.x is a bit fussier about print statements and indentation.
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-04-08 07:46:39 +10:00
Andrew Tridgell
bfd30ebcba
s4-waf: add subdir argument to distcheck for source4
2010-04-06 20:27:26 +10:00
Andrew Tridgell
553324bc10
s4-waf: move to a universal method of recursing into subdirs
...
This works with both standalone lib builds and bundled builds
2010-04-06 20:27:25 +10:00
Andrew Tridgell
1883ee6dbc
s4-waf: avoid having to run waf configure before waf dist
...
This should be useful for building tarballs from a clean checkout
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
d830661f22
s4-waf: remove PYTHONDIR from config.h
...
prevent unnecessary rebuilds
2010-04-06 20:27:21 +10:00
Andrew Tridgell
ed5522adf2
s4-waf: install in /usr/local/samba by default
2010-04-06 20:27:16 +10:00
Andrew Tridgell
cd8de15819
s4-waf: added pydoctor and wafdocs targets
...
these generate html documentation for the Samba python code
You need a very recent version of pydoctor
2010-04-06 20:27:15 +10:00
Andrew Tridgell
f72145c416
s4-waf: change bundled extension to 'samba4'
...
This matches what debian currently uses for libldb-samba4
2010-04-06 20:27:13 +10:00
Andrew Tridgell
b9aa63887c
s4-waf: cleanup use of LIBPOPT vs popt dependency
2010-04-06 20:27:13 +10:00
Andrew Tridgell
c2d17cf978
s4-waf: set default for bundled libraries
2010-04-06 20:27:12 +10:00
Andrew Tridgell
29b1e8b70f
s4-waf: don't auto-include bundled library headers
...
If we are going to use the system versions of these libraries then
we should not force the use of the non-system headers
2010-04-06 20:27:12 +10:00
Andrew Tridgell
42c9380760
s4-waf: set the bundled library extension for some libs
2010-04-06 20:27:12 +10:00
Andrew Tridgell
ad0a99f62c
s4-waf: enable the configuration and options for pidl
2010-04-06 20:27:10 +10:00
Andrew Tridgell
75c2c870c1
build: spelling fix, and syntax highlighting fix
2010-04-06 20:26:55 +10:00
Andrew Tridgell
5aacacea67
build: check for pam headers
2010-04-06 20:26:55 +10:00
Kai Blin
5e73038ba3
build: Add a ctags command to build a ctags-style tags file
2010-04-06 20:26:54 +10:00
Andrew Tridgell
dae33b53a5
build: ensure that the 'build' command appears in waf --help
2010-04-06 20:26:53 +10:00
Andrew Tridgell
0f30240de1
build: added 'waf etags' target
2010-04-06 20:26:52 +10:00
Andrew Tridgell
10935a3354
build: optionally enable builtin popt
2010-04-06 20:26:51 +10:00
Andrew Tridgell
32bf9bc84e
build: remove hacks from top level wscript
2010-04-06 20:26:50 +10:00
Andrew Tridgell
e6f7a13a17
build: try faster includes processing
2010-04-06 20:26:50 +10:00
Andrew Tridgell
844acb2260
build: waf quicktest nearly works
...
Rewrote wafsamba using a new dependency handling system, and started
adding the waf test code
2010-04-06 20:26:48 +10:00
Andrew Tridgell
8f1b809d2c
build: nearly there on samba4 build
2010-04-06 20:26:47 +10:00
Andrew Tridgell
29f22bb0c0
build: emulate autoconf PACKAGE_* variables
2010-04-06 20:26:46 +10:00
Andrew Tridgell
6a8c43672b
build: added wrapper options
2010-04-06 20:26:46 +10:00
Andrew Tridgell
2ea4fd6633
build: iconv checks
2010-04-06 20:26:45 +10:00
Andrew Tridgell
71b5f97cd0
build: check for pam
2010-04-06 20:26:44 +10:00