sfox Sat Sep 24 14:31:26 2005 EDT
Modified files:
/php-gtk/win32 confutils.js
Log:
There doesn't seem to be a way of picking up commandline arguments within
NMAKE.
This is the next best thing.
http://cvs.php.net/diff.php/php-gtk/win32/confutils.js?r1=1.13&r2=1.14&ty=u
Index: php-gtk/win32/confutils.js
diff -u php-gtk/win32/confutils.js:1.13 php-gtk/win32/confutils.js:1.14
--- php-gtk/win32/confutils.js:1.13 Sat Sep 24 10:39:51 2005
+++ php-gtk/win32/confutils.js Sat Sep 24 14:31:25 2005
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-// $Id: confutils.js,v 1.13 2005/09/24 14:39:51 sfox Exp $
+// $Id: confutils.js,v 1.14 2005/09/24 18:31:25 sfox Exp $
/* set vars */
var STDOUT = WScript.StdOut;
@@ -964,9 +964,18 @@
MF.WriteLine("all: $(EXT_TARGETS)");
for (i = 0; i < make_builds.length; i++) {
+ if (i == 1 && make_builds.length > 1) {
+ MF.WriteLine("!IF EXIST($(BUILD_DIR)\\$(PHPGTKLIB))");
+ }
MF.WriteLine(make_builds[i]);
}
+ if (make_builds.length > 1) {
+ MF.WriteLine("!ELSE");
+ MF.WriteLine("!MESSAGE Note: $(PHPGTKLIB) must be created
before PHP-GTK extensions can be built");
+ MF.WriteLine("!ENDIF");
+ }
+
MF.WriteLine("build_dirs: $(BUILD_DIR) $(BUILD_DIRS_SUB)");
MF.WriteBlankLines(1);
--
PHP-GTK CVS Mailing List (http://gtk.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
|