summaryrefslogtreecommitdiff
path: root/netware
diff options
context:
space:
mode:
authorAnantha Kesari H Y <hyanantha@php.net>2002-09-05 09:00:57 +0000
committerAnantha Kesari H Y <hyanantha@php.net>2002-09-05 09:00:57 +0000
commit6c51af03e5f39af3dcb67ad25167d2c44ded6d88 (patch)
treecd52a55e0a6fa13b71d787d8057b48581263c80d /netware
parent7855332177d71bb0b6b4d6eaf2e0c9df9358d6c7 (diff)
downloadphp-git-6c51af03e5f39af3dcb67ad25167d2c44ded6d88.tar.gz
Batch file to set build type (Release/Debug) and Apache version to be built
Diffstat (limited to 'netware')
-rwxr-xr-xnetware/php-nw.bat10
-rwxr-xr-xnetware/setbuild.bat19
2 files changed, 26 insertions, 3 deletions
diff --git a/netware/php-nw.bat b/netware/php-nw.bat
index 674f874885..42fe820317 100755
--- a/netware/php-nw.bat
+++ b/netware/php-nw.bat
@@ -4,8 +4,12 @@ REM CodeWarrior stuff
set path=%path%;P:\APPS\SCRIPT\SW\CW71-4\BIN
REM Cygwin stuff
-set path=%path%;R:\SCRIPT\PHP\CYGWIN\BIN
-set CYGWIN=R:\SCRIPT\PHP\CYGWIN
+REM set path=%path%;R:\SCRIPT\PHP\CYGWIN\BIN
+REM set CYGWIN=R:\SCRIPT\PHP\CYGWIN
-set BUILD=release
+REM Tools for building Zend
+set path=%path%;P:\APPS\SCRIPT\SW\GNUWIN32\BIN
+REM Build options
+REM set BUILD=release
+setbuild r 1
diff --git a/netware/setbuild.bat b/netware/setbuild.bat
new file mode 100755
index 0000000000..a1685624ed
--- /dev/null
+++ b/netware/setbuild.bat
@@ -0,0 +1,19 @@
+@echo off
+
+if "%1" == "/?" goto USAGE
+
+if "%1" == "d" set BUILD=debug
+if "%1" == "r" set BUILD=release
+
+if "%2" == "1" set APACHE_VER=1.3
+if "%2" == "2" set APACHE_VER=2
+
+goto EXIT
+
+:USAGE
+ @echo on
+ @echo Usage: setbuild d|r 1|2
+ @echo set build type as 'debug' or 'release'
+ @echo set Web Server as Apache 1.3.x or Apache 2.0.x
+
+:EXIT \ No newline at end of file