build: a more portable way of finding waf in makefiles
[samba.git] / source4 / lib / ldb / Makefile
1 # simple makefile wrapper to run waf
2
3 WAF=WAF_MAKE=1 PATH=buildtools/bin:../../../buildtools/bin:$$PATH waf
4
5 all:
6         $(WAF) build
7
8 install:
9         $(WAF) install
10
11 uninstall:
12         $(WAF) uninstall
13
14 test:
15         $(WAF) test $(TEST_OPTIONS)
16
17 dist:
18         $(WAF) dist
19
20 distcheck:
21         $(WAF) distcheck
22
23 clean:
24         $(WAF) clean
25
26 distclean:
27         $(WAF) distclean
28
29 reconfigure: configure
30         $(WAF) reconfigure
31
32 show_waf_options:
33         $(WAF) --help
34
35 # some compatibility make targets
36 everything: all
37
38 testsuite: all
39
40 check: test
41
42 # this should do an install as well, once install is finished
43 installcheck: test
44
45 etags:
46         $(WAF) etags
47
48 ctags:
49         $(WAF) ctags