1# simple makefile wrapper to run waf
2
3WAF_BINARY=$(PYTHON) ../../buildtools/bin/waf
4WAF=PYTHONHASHSEED=1 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
18testenv:
19	$(WAF) test --testenv $(TEST_OPTIONS)
20
21quicktest:
22	$(WAF) test --quick $(TEST_OPTIONS)
23
24dist:
25	touch .tmplock
26	WAFLOCK=.tmplock $(WAF) dist
27
28distcheck:
29	touch .tmplock
30	WAFLOCK=.tmplock $(WAF) distcheck
31
32clean:
33	$(WAF) clean
34
35distclean:
36	$(WAF) distclean
37
38reconfigure: configure
39	$(WAF) reconfigure
40
41show_waf_options:
42	$(WAF) --help
43
44# some compatibility make targets
45everything: all
46
47testsuite: all
48
49check: test
50
51torture: all
52
53# this should do an install as well, once install is finished
54installcheck: test
55
56etags:
57	$(WAF) etags
58
59ctags:
60	$(WAF) ctags
61
62bin/%:: FORCE
63	$(WAF) --targets=`basename $@`
64FORCE:
65