source: trunk/server/buildtools/scripts/Makefile.waf@ 788

Last change on this file since 788 was 745, checked in by Silvan Scherrer, 13 years ago

Samba Server: updated trunk to 3.6.0

File size: 1.1 KB
Line 
1# simple makefile wrapper to run waf
2
3WAF_BINARY=BUILDTOOLS/bin/waf
4WAF=WAF_MAKE=1 $(WAF_BINARY)
5
6all:
7 $(WAF) build
8
9install:
10 $(WAF) install
11
12uninstall:
13 $(WAF) uninstall
14
15test:
16 $(WAF) test $(TEST_OPTIONS)
17
18help:
19 @echo NOTE: to run extended waf options use $(WAF_BINARY) or modify your PATH
20 $(WAF) --help
21
22testenv:
23 $(WAF) test --testenv $(TEST_OPTIONS)
24
25quicktest:
26 $(WAF) test --quick $(TEST_OPTIONS)
27
28dist:
29 $(WAF) dist
30
31distcheck:
32 $(WAF) distcheck
33
34clean:
35 $(WAF) clean
36
37distclean:
38 $(WAF) distclean
39
40reconfigure: configure
41 $(WAF) reconfigure
42
43show_waf_options:
44 $(WAF) --help
45
46# some compatibility make targets
47everything: all
48
49testsuite: all
50
51check: test
52
53torture: all
54
55# this should do an install as well, once install is finished
56installcheck: test
57
58etags:
59 $(WAF) etags
60
61ctags:
62 $(WAF) ctags
63
64bin/%:: FORCE
65 $(WAF) --targets=`basename $@`
66FORCE:
67
68configure: autogen-waf.sh BUILDTOOLS/scripts/configure.waf
69 ./autogen-waf.sh
70
71Makefile: autogen-waf.sh configure BUILDTOOLS/scripts/Makefile.waf
72 ./autogen-waf.sh
Note: See TracBrowser for help on using the repository browser.