ldb-samba: ldif_read_objectSid avoids VLA
[samba.git] / source4 / 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         $(WAF) dist
33
34 distcheck:
35         $(WAF) distcheck
36
37 clean:
38         $(WAF) clean
39
40 distclean:
41         $(WAF) distclean
42
43 reconfigure: configure
44         $(WAF) reconfigure
45
46 show_waf_options:
47         $(WAF) --help
48
49 # some compatibility make targets
50 everything: all
51
52 testsuite: all
53
54 check: test
55
56 torture: all
57
58 # this should do an install as well, once install is finished
59 installcheck: test
60
61 etags:
62         $(WAF) etags
63
64 ctags:
65         $(WAF) ctags
66
67 # this allows for things like "make bin/smbtorture"
68 bin/%:: FORCE
69         $(WAF) --targets=`basename $@`
70 FORCE:
71
72 pydoctor:
73         $(WAF) pydoctor