messaging3: Explicitly pass tevent_context to messaging_dgm_init
[Samba.git] / Makefile
bloba53c27af8540fd5e5e9fb0f2aa34a2f6f44b9d2f
1 # simple makefile wrapper to run waf
3 PYTHON?=python
4 WAF_BINARY=$(PYTHON) ./buildtools/bin/waf
5 WAF=WAF_MAKE=1 $(WAF_BINARY)
7 all:
8 $(WAF) build
10 install:
11 $(WAF) install
13 uninstall:
14 $(WAF) uninstall
16 test:
17 $(WAF) test $(TEST_OPTIONS)
19 help:
20 @echo NOTE: to run extended waf options use $(WAF_BINARY) or modify your PATH
21 $(WAF) --help
23 subunit-test:
24 $(WAF) test --filtered-subunit $(TEST_OPTIONS)
26 testenv:
27 $(WAF) test --testenv $(TEST_OPTIONS)
29 gdbtestenv:
30 $(WAF) test --testenv --gdbtest $(TEST_OPTIONS)
32 quicktest:
33 $(WAF) test --quick $(TEST_OPTIONS)
35 dist:
36 touch .tmplock
37 WAFLOCK=.tmplock $(WAF) dist
39 distcheck:
40 touch .tmplock
41 WAFLOCK=.tmplock $(WAF) distcheck
43 clean:
44 $(WAF) clean
46 distclean:
47 $(WAF) distclean
49 reconfigure: configure
50 $(WAF) reconfigure
52 show_waf_options:
53 $(WAF) --help
55 # some compatibility make targets
56 everything: all
58 testsuite: all
60 check: test
62 torture: all
64 # this should do an install as well, once install is finished
65 installcheck: test
67 etags:
68 $(WAF) etags
70 ctags:
71 $(WAF) ctags
73 # this allows for things like "make bin/smbtorture"
74 bin/%:: FORCE
75 $(WAF) --targets=$@
76 FORCE:
78 pydoctor:
79 $(WAF) pydoctor
81 pep8:
82 $(WAF) pep8