Skip to content

Commit

Permalink
Check in configure/Makefile for those projects that have waf as prima…
Browse files Browse the repository at this point in the history
…ry build system.
  • Loading branch information
jelmer committed Sep 25, 2010
1 parent e68afdc commit 296ff48
Show file tree
Hide file tree
Showing 7 changed files with 219 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
57 changes: 57 additions & 0 deletions lib/tevent/Makefile
Original file line number Diff line number Diff line change
@@ -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 changes: 14 additions & 0 deletions lib/tevent/configure
Original file line number Diff line number Diff line change
@@ -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 changes: 57 additions & 0 deletions source4/Makefile
Original file line number Diff line number Diff line change
@@ -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 changes: 14 additions & 0 deletions source4/configure
Original file line number Diff line number Diff line change
@@ -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 changes: 57 additions & 0 deletions source4/lib/ldb/Makefile
Original file line number Diff line number Diff line change
@@ -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 changes: 14 additions & 0 deletions source4/lib/ldb/configure
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 296ff48

Please sign in to comment.