build: Move python detection back into waf (instead of in configure and Makefile)
[Samba.git] / lib / ldb / Makefile
blob18ef459eb16e6257ef4b51309e0bbcdc60d02a46
1 # simple makefile wrapper to run waf
3 WAF_BINARY=$(PYTHON) ../../buildtools/bin/waf
4 WAF=PYTHONHASHSEED=1 WAF_MAKE=1 $(WAF_BINARY)
6 all:
7 $(WAF) build
9 install:
10 $(WAF) install
12 uninstall:
13 $(WAF) uninstall
15 test:
16 $(WAF) test $(TEST_OPTIONS)
18 dist:
19 touch .tmplock
20 WAFLOCK=.tmplock $(WAF) dist
22 distcheck:
23 touch .tmplock
24 WAFLOCK=.tmplock $(WAF) distcheck
26 clean:
27 $(WAF) clean
29 distclean:
30 $(WAF) distclean
32 reconfigure: configure
33 $(WAF) reconfigure
35 show_waf_options:
36 $(WAF) --help
38 # some compatibility make targets
39 everything: all
41 testsuite: all
43 check: test
45 # this should do an install as well, once install is finished
46 installcheck: test
48 etags:
49 $(WAF) etags
51 ctags:
52 $(WAF) ctags