lib:util: Add generate_random_u64_range()
[Samba.git] / lib / tdb / Makefile
blob8fd56c814ecb77e21293287b584a69c0ab16dcb7
1 # simple makefile wrapper to run waf
3 WAF_BIN=`PATH=buildtools/bin:../../buildtools/bin:$$PATH which waf`
4 WAF_BINARY=$(PYTHON) $(WAF_BIN)
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: