build: Workaround python3 hash order issues (for now)
[Samba.git] / lib / tdb / Makefile
blob0f088ea2231149335c8246aa7cc582e83aa26732
1 # simple makefile wrapper to run waf
3 PYTHON?=python3
4 WAF_BINARY=$(PYTHON) ../../buildtools/bin/waf
5 WAF=PYTHONHASHSEED=1 WAF_MAKE=1 $(WAF_BINARY)
7 all:
8 $(WAF) build
10 install:
11 $(WAF) install
13 uninstall:
14 $(WAF) uninstall
16 test: FORCE
17 $(WAF) test $(TEST_OPTIONS)
19 testenv:
20 $(WAF) test --testenv $(TEST_OPTIONS)
22 quicktest:
23 $(WAF) test --quick $(TEST_OPTIONS)
25 dist:
26 touch .tmplock
27 WAFLOCK=.tmplock $(WAF) dist
29 distcheck:
30 touch .tmplock
31 WAFLOCK=.tmplock $(WAF) distcheck
33 clean:
34 $(WAF) clean
36 distclean:
37 $(WAF) distclean
39 reconfigure: configure
40 $(WAF) reconfigure
42 show_waf_options:
43 $(WAF) --help
45 # some compatibility make targets
46 everything: all
48 testsuite: all
50 check: test
52 torture: all
54 # this should do an install as well, once install is finished
55 installcheck: test
57 etags:
58 $(WAF) etags
60 ctags:
61 $(WAF) ctags
63 pydoctor:
64 $(WAF) pydoctor
66 bin/%:: FORCE
67 $(WAF) --targets=`basename $@`
68 FORCE: