75517a774d3298b31da8c03c4f999be72e38df19
[metze/samba-autobuild/.git] / lib / ldb / Makefile
1 # simple makefile wrapper to run waf
2
3 PYTHON?=python3
4 WAF_BINARY=$(PYTHON) ../../buildtools/bin/waf
5 WAF=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:
17         $(WAF) test $(TEST_OPTIONS)
18
19 dist:
20         touch .tmplock
21         WAFLOCK=.tmplock $(WAF) dist
22
23 distcheck:
24         touch .tmplock
25         WAFLOCK=.tmplock $(WAF) distcheck
26
27 clean:
28         $(WAF) clean
29
30 distclean:
31         $(WAF) distclean
32
33 reconfigure: configure
34         $(WAF) reconfigure
35
36 show_waf_options:
37         $(WAF) --help
38
39 # some compatibility make targets
40 everything: all
41
42 testsuite: all
43
44 check: test
45
46 # this should do an install as well, once install is finished
47 installcheck: test
48
49 etags:
50         $(WAF) etags
51
52 ctags:
53         $(WAF) ctags