Add function fd_open_atomic() which uses O_CREAT|O_EXCL to return a guaranteed indica...
[Samba.git] / Makefile
blobae2fc0636d7d8e919c7263faa52ee900794430fe
1 # simple makefile wrapper to run waf
3 WAF_BINARY=./buildtools/bin/waf
4 WAF=WAF_MAKE=1 $(WAF_BINARY)
6 all:
7 $(WAF) build
9 install:
10 $(WAF) install
12 uninstall:
13 $(WAF) uninstall
15 test:
16 $(WAF) test $(TEST_OPTIONS)
18 help:
19 @echo NOTE: to run extended waf options use $(WAF_BINARY) or modify your PATH
20 $(WAF) --help
22 subunit-test:
23 $(WAF) test --filtered-subunit $(TEST_OPTIONS)
25 testenv:
26 $(WAF) test --testenv $(TEST_OPTIONS)
28 quicktest:
29 $(WAF) test --quick $(TEST_OPTIONS)
31 dist:
32 touch .tmplock
33 WAFLOCK=.tmplock $(WAF) dist
35 distcheck:
36 touch .tmplock
37 WAFLOCK=.tmplock $(WAF) distcheck
39 clean:
40 $(WAF) clean
42 distclean:
43 $(WAF) distclean
45 reconfigure: configure
46 $(WAF) reconfigure
48 show_waf_options:
49 $(WAF) --help
51 # some compatibility make targets
52 everything: all
54 testsuite: all
56 check: test
58 torture: all
60 # this should do an install as well, once install is finished
61 installcheck: test
63 etags:
64 $(WAF) etags
66 ctags:
67 $(WAF) ctags
69 # this allows for things like "make bin/smbtorture"
70 bin/%:: FORCE
71 $(WAF) --targets=$@
72 FORCE:
74 pydoctor:
75 $(WAF) pydoctor
77 pep8:
78 $(WAF) pep8