kerberos_pac: Fix code to work with MIT too
[idra/samba.git] / Makefile
1 # simple makefile wrapper to run waf
2
3 WAF_BINARY=./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 help:
19         @echo NOTE: to run extended waf options use $(WAF_BINARY) or modify your PATH
20         $(WAF) --help
21
22 subunit-test:
23         $(WAF) test --filtered-subunit $(TEST_OPTIONS)
24
25 testenv:
26         $(WAF) test --testenv $(TEST_OPTIONS)
27
28 quicktest:
29         $(WAF) test --quick $(TEST_OPTIONS)
30
31 dist:
32         touch .tmplock
33         WAFLOCK=.tmplock $(WAF) dist
34
35 distcheck:
36         touch .tmplock
37         WAFLOCK=.tmplock $(WAF) distcheck
38
39 clean:
40         $(WAF) clean
41
42 distclean:
43         $(WAF) distclean
44
45 reconfigure: configure
46         $(WAF) reconfigure
47
48 show_waf_options:
49         $(WAF) --help
50
51 # some compatibility make targets
52 everything: all
53
54 testsuite: all
55
56 check: test
57
58 torture: all
59
60 # this should do an install as well, once install is finished
61 installcheck: test
62
63 etags:
64         $(WAF) etags
65
66 ctags:
67         $(WAF) ctags
68
69 # this allows for things like "make bin/smbtorture"
70 bin/%:: FORCE
71         $(WAF) --targets=$@
72 FORCE:
73
74 pydoctor:
75         $(WAF) pydoctor
76
77 pep8:
78         $(WAF) pep8