ldb/tevent: Fix detection of waf paths.
[sfrench/samba-autobuild/.git] / lib / tevent / Makefile
1 # simple makefile wrapper to run waf
2
3 WAFPATH:=$(shell PATH=../../buildtools/bin:buildtools/bin:$(PATH) which waf)
4
5 WAF=WAF_MAKE=1 $(WAFPATH)
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         $(WAF) dist
21
22 distcheck:
23         $(WAF) distcheck
24
25 clean:
26         $(WAF) clean
27
28 distclean:
29         $(WAF) distclean
30
31 reconfigure: configure
32         $(WAF) reconfigure
33
34 show_waf_options:
35         $(WAF) --help
36
37 # some compatibility make targets
38 everything: all
39
40 testsuite: all
41
42 check: test
43
44 # this should do an install as well, once install is finished
45 installcheck: test
46
47 etags:
48         $(WAF) etags
49
50 ctags:
51         $(WAF) ctags