diff options
author | Amitay Isaacs <amitay@gmail.com> | 2014-05-16 00:10:00 +1000 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2014-06-20 23:38:10 +0200 |
commit | fb56e72e942830c5ab85614d638743079d2fef46 (patch) | |
tree | 1c986e9be2fdd45adceff7af9cf1439b41ceb1bb /ctdb/Makefile | |
parent | fc71606480f332156f00f590edce14b48ddc60e1 (diff) | |
download | samba-fb56e72e942830c5ab85614d638743079d2fef46.tar.gz |
ctdb-build: Add build files (configure/Makefile) to use waf
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'ctdb/Makefile')
-rw-r--r-- | ctdb/Makefile | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/ctdb/Makefile b/ctdb/Makefile new file mode 100644 index 00000000000..44fd756a2c1 --- /dev/null +++ b/ctdb/Makefile @@ -0,0 +1,69 @@ +# simple makefile wrapper to run waf + +WAF=WAF_MAKE=1 PATH=../buildtools/bin:$$PATH waf + +all: + $(WAF) build + +install: + $(WAF) install + +uninstall: + $(WAF) uninstall + +test: FORCE + $(WAF) test $(TEST_OPTIONS) + +testenv: + $(WAF) test --testenv $(TEST_OPTIONS) + +autotest: + $(WAF) autotest $(TEST_OPTIONS) + +quicktest: + $(WAF) test --quick $(TEST_OPTIONS) + +dist: + touch .tmplock + WAFLOCK=.tmplock $(WAF) dist + +distcheck: + touch .tmplock + WAFLOCK=.tmplock $(WAF) distcheck + +clean: + $(WAF) clean + +distclean: + $(WAF) distclean + +reconfigure: configure + $(WAF) reconfigure + +show_waf_options: + $(WAF) --help + +# some compatibility make targets +everything: all + +testsuite: all + +check: test + +torture: all + +# this should do an install as well, once install is finished +installcheck: test + +etags: + $(WAF) etags + +ctags: + $(WAF) ctags + +pydoctor: + $(WAF) pydoctor + +bin/%:: FORCE + $(WAF) --targets=`basename $@` +FORCE: |