PY3: switch current build to use python3
[metze/samba-autobuild/.git] / lib / tevent / Makefile
1 # simple makefile wrapper to run waf
2 PYTHON?=python3
3 WAF_BINARY=$(PYTHON) ../../buildtools/bin/waf
4 WAF=WAF_MAKE=1 $(WAF_BINARY)
5
6 all:
7         $(WAF) build
8
9 install:
10         $(WAF) install
11
12 uninstall:
13         $(WAF) uninstall
14
15 test:
16         $(WAF) test $(TEST_OPTIONS)
17
18 dist:
19         touch .tmplock
20         WAFLOCK=.tmplock $(WAF) dist
21
22 distcheck:
23         touch .tmplock
24         WAFLOCK=.tmplock $(WAF) distcheck
25
26 clean:
27         $(WAF) clean
28
29 distclean:
30         $(WAF) distclean
31
32 reconfigure: configure
33         $(WAF) reconfigure
34
35 show_waf_options:
36         $(WAF) --help
37
38 # some compatibility make targets
39 everything: all
40
41 testsuite: all
42
43 check: test
44
45 # this should do an install as well, once install is finished
46 installcheck: test
47
48 etags:
49         $(WAF) etags
50
51 ctags:
52         $(WAF) ctags