1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

Check in configure/Makefile for those projects that have waf as primary build system.

This commit is contained in:
Jelmer Vernooij 2010-09-23 17:29:53 -07:00
parent e68afdc02f
commit 296ff486e4
7 changed files with 219 additions and 5 deletions

11
.gitignore vendored
View File

@ -13,8 +13,12 @@ config.h
config.h.in
config.log
config.status
configure
Makefile
source3/configure
source3/Makefile
lib/talloc/configure
lib/talloc/Makefile
lib/tdb/configure
lib/tdb/Makefile
*.d
*_err.c
*_err.h
@ -83,7 +87,6 @@ source3/library-versions
librpc/gen_ndr/*.*
source3/librpc/gen_ndr/*.*
source4/librpc/gen_ndr/*.*
source3/Makefile
source3/nsswitch/*.so
source3/pkgconfig/*.pc
source3/proto_exists
@ -313,14 +316,12 @@ packaging/RHEL-CTDB/samba.spec
packaging/RHEL/samba.spec
packaging/RHEL/makerpms.sh
source3/setup
lib/tevent/Makefile
lib/tevent/tevent.so
lib/tevent/libtevent.so*
lib/tevent/libtevent.a
lib/tdb/libtdb.so
lib/tdb/tdb.so
lib/tdb/libtdb.a
lib/tdb/Makefile
lib/tdb/bin
docs-xml/build/catalog.xml
docs-xml/*/images/*.eps

57
lib/tevent/Makefile Normal file
View File

@ -0,0 +1,57 @@
# simple makefile wrapper to run waf
WAF=WAF_MAKE=1 ../../buildtools/bin/waf
all:
$(WAF) build
install:
$(WAF) install
uninstall:
$(WAF) uninstall
test:
$(WAF) test $(TEST_OPTIONS)
testenv:
$(WAF) test --testenv $(TEST_OPTIONS)
quicktest:
$(WAF) test --quick $(TEST_OPTIONS)
dist:
$(WAF) dist
distcheck:
$(WAF) distcheck
clean:
$(WAF) clean
distclean:
$(WAF) distclean
reconfigure: configure
$(WAF) reconfigure
show_waf_options:
$(WAF) --help
# some compatibility make targets
everything: all
testsuite: all
check: test
torture: all
# this should do an install as well, once install is finished
installcheck: test
etags:
$(WAF) etags
ctags:
$(WAF) ctags

14
lib/tevent/configure vendored Executable file
View File

@ -0,0 +1,14 @@
#!/bin/sh
PREVPATH=`dirname $0`
WAF=../../buildtools/bin/waf
# using JOBS=1 gives maximum compatibility with
# systems like AIX which have broken threading in python
JOBS=1
export JOBS
cd . || exit 1
$WAF configure "$@" || exit 1
cd $PREVPATH

57
source4/Makefile Normal file
View File

@ -0,0 +1,57 @@
# simple makefile wrapper to run waf
WAF=WAF_MAKE=1 ../buildtools/bin/waf
all:
$(WAF) build
install:
$(WAF) install
uninstall:
$(WAF) uninstall
test:
$(WAF) test $(TEST_OPTIONS)
testenv:
$(WAF) test --testenv $(TEST_OPTIONS)
quicktest:
$(WAF) test --quick $(TEST_OPTIONS)
dist:
$(WAF) dist
distcheck:
$(WAF) distcheck
clean:
$(WAF) clean
distclean:
$(WAF) distclean
reconfigure: configure
$(WAF) reconfigure
show_waf_options:
$(WAF) --help
# some compatibility make targets
everything: all
testsuite: all
check: test
torture: all
# this should do an install as well, once install is finished
installcheck: test
etags:
$(WAF) etags
ctags:
$(WAF) ctags

14
source4/configure vendored Executable file
View File

@ -0,0 +1,14 @@
#!/bin/sh
PREVPATH=`dirname $0`
WAF=../buildtools/bin/waf
# using JOBS=1 gives maximum compatibility with
# systems like AIX which have broken threading in python
JOBS=1
export JOBS
cd . || exit 1
$WAF configure "$@" || exit 1
cd $PREVPATH

57
source4/lib/ldb/Makefile Normal file
View File

@ -0,0 +1,57 @@
# simple makefile wrapper to run waf
WAF=WAF_MAKE=1 ../../../buildtools/bin/waf
all:
$(WAF) build
install:
$(WAF) install
uninstall:
$(WAF) uninstall
test:
$(WAF) test $(TEST_OPTIONS)
testenv:
$(WAF) test --testenv $(TEST_OPTIONS)
quicktest:
$(WAF) test --quick $(TEST_OPTIONS)
dist:
$(WAF) dist
distcheck:
$(WAF) distcheck
clean:
$(WAF) clean
distclean:
$(WAF) distclean
reconfigure: configure
$(WAF) reconfigure
show_waf_options:
$(WAF) --help
# some compatibility make targets
everything: all
testsuite: all
check: test
torture: all
# this should do an install as well, once install is finished
installcheck: test
etags:
$(WAF) etags
ctags:
$(WAF) ctags

14
source4/lib/ldb/configure vendored Executable file
View File

@ -0,0 +1,14 @@
#!/bin/sh
PREVPATH=`dirname $0`
WAF=../../../buildtools/bin/waf
# using JOBS=1 gives maximum compatibility with
# systems like AIX which have broken threading in python
JOBS=1
export JOBS
cd . || exit 1
$WAF configure "$@" || exit 1
cd $PREVPATH