summaryrefslogtreecommitdiff
path: root/lib/talloc/Makefile
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-10-31 02:31:59 +0100
committerJelmer Vernooij <jelmer@samba.org>2010-10-31 02:04:05 +0000
commit4f22cc7a283d21000e8ffa0c39746aa9f824f49e (patch)
treedbddd24f70d74b994c6b3c8738c9fd1fed2a695b /lib/talloc/Makefile
parent3deece559159150a0710d8160f39583ba7f2e582 (diff)
downloadsamba-4f22cc7a283d21000e8ffa0c39746aa9f824f49e.tar.gz
samba-4f22cc7a283d21000e8ffa0c39746aa9f824f49e.tar.bz2
samba-4f22cc7a283d21000e8ffa0c39746aa9f824f49e.zip
talloc: Switch over to using waf as the default build system for the standalone build.
Diffstat (limited to 'lib/talloc/Makefile')
-rw-r--r--lib/talloc/Makefile67
1 files changed, 67 insertions, 0 deletions
diff --git a/lib/talloc/Makefile b/lib/talloc/Makefile
new file mode 100644
index 0000000000..177937fbc9
--- /dev/null
+++ b/lib/talloc/Makefile
@@ -0,0 +1,67 @@
+# simple makefile wrapper to run waf
+
+WAF=WAF_MAKE=1 ../../buildtools/bin/waf
+
+all:
+ $(WAF) build
+
+install:
+ $(WAF) install
+
+uninstall:
+ $(WAF) uninstall
+
+test:
+ $(WAF) test $(TEST_OPTIONS)
+
+testenv:
+ $(WAF) test --testenv $(TEST_OPTIONS)
+
+quicktest:
+ $(WAF) test --quick $(TEST_OPTIONS)
+
+dist:
+ $(WAF) dist
+
+distcheck:
+ $(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
+
+bin/%:: FORCE
+ $(WAF) --targets=`basename $@`
+FORCE:
+
+configure: autogen-waf.sh ../../buildtools/scripts/configure.waf
+ ./autogen-waf.sh
+
+Makefile: autogen-waf.sh configure ../../buildtools/scripts/Makefile.waf
+ ./autogen-waf.sh