com gtk/php-gtk: There doesn't seem to be a way of picking up commandline arguments within NMAKE. This is the next best thing.: win32/confutils.js
[email protected] (David Soria Parra) Sat, 24 Sep 2005 18:31:25 +0000
| Newsgroups | php.gtk.cvs |
|---|---|
| Message-ID | <[email protected]> |
Commit: 4c79038235e2a49ed951a9cb72d229806983593e=0AAuthor: Steph Fox = <[email protected]> Sat, 24 Sep 2005 18:31:25 +0000=0AParents: 1349bae= 114b0bb72fc5c51665a48f0a1395c3adc=0ABranches: master=0A=0ALink: http= ://git.php.net/?p=3Dgtk/php-gtk.git;a=3Dcommitdiff;h=3D4c79038235e2a49ed951= a9cb72d229806983593e=0A=0ALog:=0AThere doesn't seem to be a way of picking = up commandline arguments within NMAKE.=0AThis is the next best thing.=0A=0A= Changed paths:=0A M win32/confutils.js=0A=0A=0ADiff:=0A4c79038235e2a49ed9= 51a9cb72d229806983593e=0Adiff --git a/win32/confutils.js b/win32/confutils.= js=0Aindex 4402619..52bb6cc 100644=0A--- a/win32/confutils.js=0A+++ b/win32= /confutils.js=0A@@ -17,7 +17,7 @@=0A +-----------------------------------= -----------------------------------+=0A */=0A =0A-// $Id: confutils.js,v 1.= 13 2005-09-24 14:39:51 sfox Exp $=0A+// $Id: confutils.js,v 1.14 2005-09-24= 18:31:25 sfox Exp $=0A =0A /* set vars */=0A var STDOUT =3D WScript.StdOut= ;=0A@@ -964,9 +964,18 @@ function generate_makefile() {=0A =09MF.WriteLine(= "all: $(EXT_TARGETS)");=0A =0A =09for (i =3D 0; i < make_builds.length; i++= ) {=0A+=09=09if (i =3D=3D 1 && make_builds.length > 1) {=0A+=09=09=09MF.Wri= teLine("!IF EXIST($(BUILD_DIR)\\$(PHPGTKLIB))");=0A+=09=09}=0A =09=09MF.Wri= teLine(make_builds[i]);=0A =09}=0A =0A+=09if (make_builds.length > 1) {=0A+= =09=09MF.WriteLine("!ELSE");=0A+=09=09MF.WriteLine("!MESSAGE Note: $(PHPGTK= LIB) must be created before PHP-GTK extensions can be built");=0A+=09=09MF.= WriteLine("!ENDIF");=0A+=09}=0A+=0A =09MF.WriteLine("build_dirs: $(BUILD_DI= R) $(BUILD_DIRS_SUB)");=0A =09MF.WriteBlankLines(1);=0A