[csw-devel] SF.net SVN: gar:[7006] csw/mgar/gar/v2/gar.lib.mk
dmichelsen at users.sourceforge.net
dmichelsen at users.sourceforge.net
Thu Oct 29 11:19:18 CET 2009
Revision: 7006
http://gar.svn.sourceforge.net/gar/?rev=7006&view=rev
Author: dmichelsen
Date: 2009-10-29 10:19:17 +0000 (Thu, 29 Oct 2009)
Log Message:
-----------
mGAR v2: Add rudimentary WAF support
Modified Paths:
--------------
csw/mgar/gar/v2/gar.lib.mk
Modified: csw/mgar/gar/v2/gar.lib.mk
===================================================================
--- csw/mgar/gar/v2/gar.lib.mk 2009-10-29 10:18:42 UTC (rev 7005)
+++ csw/mgar/gar/v2/gar.lib.mk 2009-10-29 10:19:17 UTC (rev 7006)
@@ -498,6 +498,12 @@
@( cd $* ; $(CONFIGURE_ENV) ruby ./setup.rb config $(CONFIGURE_ARGS) )
@$(MAKECOOKIE)
+# WAF build, for details see http://code.google.com/p/waf/
+configure-%/waf:
+ @echo " ==> Running waf configure in $*"
+ cd $* && $(CONFIGURE_ENV) ./waf configure $(CONFIGURE_ARGS)
+ @$(MAKECOOKIE)
+
#################### BUILD RULES ####################
# build from a standard gnu-style makefile's default rule.
@@ -537,6 +543,12 @@
@( cd $* ; $(BUILD_ENV) ruby ./setup.rb setup $(BUILD_ARGS) )
@$(MAKECOOKIE)
+# WAF build, for details see http://code.google.com/p/waf/
+build-%/waf:
+ @echo " ==> Running waf build in $*"
+ @$(cd $* ; (BUILD_ENV) ./waf build $(BUILD_ARGS) )
+ @$(MAKECOOKIE)
+
# This can be: build, build_py, build_ext, build_clib, build_scripts
# See setup.py --help-commands for details
PYBUILD_CMD ?= build
@@ -615,6 +627,12 @@
@( cd $* ; $(INSTALL_ENV) ruby ./setup.rb install --prefix=$(DESTDIR) )
@$(MAKECOOKIE)
+# WAF build, for details see http://code.google.com/p/waf/
+install-%/waf:
+ @echo " ==> Running waf install in $*"
+ @$(cd $* ; (INSTALL_ENV) ./waf install $(INSTALL_ARGS) )
+ @$(MAKECOOKIE)
+
# This can be: install, install_lib, install_headers, install_scripts,
# or install_data. See setup.py --help-commands for details.
PYINSTALL_CMD ?= install
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list