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