1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

269 Commits

Author SHA1 Message Date
Stefan Metzmacher
5beaef7cde s4:autogen-waf: generate 'Makefile' instead of 'makefile'
This hopefully fixes the build on MacOS 10.

metze
2010-04-10 11:15:17 +02:00
Andrew Tridgell
45d3ac05b3 build: use Logs.error() and Logs.info() instead of print()
this gives appropriate colors on output, and ensures it works with
compiler output
2010-04-09 21:12:09 +10:00
Andrew Tridgell
d661759780 build: nicer error message on missing file in waf dist 2010-04-09 21:12:09 +10:00
Andrew Tridgell
0b8a3a4036 build: no need to re-create the lib and bin symlinks if they exist
this saves a few unlink/symlink calls for null builds
2010-04-09 20:31:06 +10:00
Andrew Tridgell
5f90d3260b build: added --picky-developer and --fatal-errors
Added configure options for --fatal-errors and --picky-developer. This
removes -Wfatal-errors from the --enable-developer flags.
2010-04-09 20:31:06 +10:00
Matthias Dieter Wallnöfer
f3f82496ac s4:WAF buildsystem - support out of "source4" directory builds
Bug: https://bugzilla.samba.org/show_bug.cgi?id=4081

With this patch we are able to invoke s4 builds from the outside of the
"source4" directory (but the target remains the "source4/bin" path).

One constraint: all commands: "autogen-waf.sh", "configure", "make" have to be
run from the same directory!
Regarding "make": you have to run it using "make -C <source4 path> [targets]" if
the invoke directory is not "source4" itself.
2010-04-08 14:14:24 +02:00
Andrew Tridgell
bf4189eb80 build: we need this isinstance() check for distcheck
Jelmer, this works around a bug in waf distcheck that will be fixed
soon. We really need the isinstance() check for now.
2010-04-08 22:11:50 +10:00
Andrew Tridgell
baec7a6b9e build: the exceptions here are not useful
they just make the failure hard to spot
2010-04-08 22:11:49 +10:00
Andrew Tridgell
4ca46c6b8d build: make the handling of relative paths a bit saner
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)
2010-04-08 22:11:49 +10:00
Jelmer Vernooij
a1e47e3dd2 s4-waf: Add dist target. 2010-04-08 12:21:35 +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
Jelmer Vernooij
e5bb6d56df s4-waf: Fix 'waf dist' app name. 2010-04-07 22:53:39 +02:00
Jelmer Vernooij
027adf88ea Support 'make test TESTS=foo' again. 2010-04-07 00:32:24 +02:00
Andrew Tridgell
07d9da4d2f build: use a target_in_list() function for more flexible builtin control 2010-04-06 20:27:27 +10:00
Andrew Tridgell
35ec7c34b3 build: cope with binaries with subdir prefixes (for s3 waf build) 2010-04-06 20:27:27 +10:00
Andrew Tridgell
5260b50467 build: run distcheck in testwaf.sh 2010-04-06 20:27:26 +10:00
Andrew Tridgell
6ea4ae881c build: update version of waf to add subdir argument to distcheck 2010-04-06 20:27:26 +10:00
Andrew Tridgell
64594f296c s4-waf: replace TOUCH_FILE() with normal install rules
this allows it to work with 'waf uninstall'
2010-04-06 20:27:26 +10:00
Andrew Tridgell
cd712dff31 build: simpler symlink_bin and symlink_lib methods 2010-04-06 20:27:26 +10:00
Andrew Tridgell
7ae4372124 s4-waf: fixed waf distcheck for our standalone libs and s4 2010-04-06 20:27:26 +10:00
Andrew Tridgell
dfdabffae3 build: fixed LOAD_ENVIRONMENT for out of tree builds 2010-04-06 20:27:26 +10:00
Andrew Tridgell
1e35da6145 s4-waf: new autogen-waf.sh
this one will work with the tdb, talloc, etc directories
2010-04-06 20:27:25 +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
3ed6d7e76f build: nicer error msg when git ls-files fails 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
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
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
0c294655f6 build: don't depend on the blib/ files in SAMBA_PIDL() 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
9eb5cb784c build: a bit more information for tracking --target deps 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
c0b67c6e7e build: fixed the task counter when nothreads is used 2010-04-06 20:27:21 +10:00