Repace the build batch files with an nmake Makefile.
robs [Fri, 31 Aug 2001 13:47:28 +0000 (13:47 +0000)]
Makefile.nt [new file with mode: 0644]
build.bat [deleted file]
build_no_shell.bat [deleted file]

diff --git a/Makefile.nt b/Makefile.nt
new file mode 100644 (file)
index 0000000..3d0a15a
--- /dev/null
@@ -0,0 +1,25 @@
+#
+#  Windows Makefile for FastCGI development kit
+#
+#  $Id: Makefile.nt,v 1.1 2001/08/31 13:47:29 robs Exp $
+#
+
+!IF "$(CFG)" == ""
+CFG=release
+!ENDIF 
+
+all clean:
+       cd ".\libfcgi"
+       $(MAKE) /$(MAKEFLAGS) /NOLOGO /F libfcgi.mak     CFG=$(CFG) $@
+       
+       cd ".\..\cgi-fcgi"
+       $(MAKE) /$(MAKEFLAGS) /NOLOGO /F cgi-fcgi.mak    CFG=$(CFG) $@
+       
+       cd ".\..\examples"
+       $(MAKE) /$(MAKEFLAGS) /NOLOGO /F authorizer.mak  CFG=$(CFG) $@
+       $(MAKE) /$(MAKEFLAGS) /NOLOGO /F echo.mak                CFG=$(CFG) $@
+       $(MAKE) /$(MAKEFLAGS) /NOLOGO /F echox.mak           CFG=$(CFG) $@
+       $(MAKE) /$(MAKEFLAGS) /NOLOGO /F size.mak            CFG=$(CFG) $@
+       
+install:
+       @echo "Sorry, the install target hasn't been written yet"
diff --git a/build.bat b/build.bat
deleted file mode 100755 (executable)
index a242ca8..0000000
--- a/build.bat
+++ /dev/null
@@ -1,42 +0,0 @@
-rem
-rem This build script is intended to be run from the root dir that
-rem the FastCGI kit was unpacked in.  It is intended to be used for
-rem those that want to run the configure script.
-rem
-rem $Id: build.bat,v 1.2 2001/08/27 19:52:49 robs Exp $
-rem
-rem
-
-echo off
-
-if not exist "config.cache" sh -c "./configure"
-
-
-rem
-rem Build the FastCGI DLL and import library.
-rem
-cd libfcgi
-nmake -f libfcgi.mak
-%1%
-
-rem
-rem Build the cgi-fcgi.exe "shim" application.
-rem
-cd ..\cgi-fcgi
-nmake -f cgi-fcgi.mak
-%1%
-
-rem
-rem Now build the sample applications that have been qualified.
-rem
-cd ..\examples
-nmake -f echo.mak
-nmake -f echo2.mak
-
-cd ..
-goto :DONE
-
-:NO_CONFIG
-echo Could not find the file "fcgi_config_x86.h".  Aborting.
-
-:DONE
diff --git a/build_no_shell.bat b/build_no_shell.bat
deleted file mode 100755 (executable)
index 02aa102..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-rem
-rem This build script is intended to be run from the root dir that
-rem the FastCGI kit was unpacked in.  It should work on an X86
-rem machine but it's only been tested in limited form.
-rem
-rem $Id: build_no_shell.bat,v 1.2 2001/08/27 19:52:49 robs Exp $
-rem
-rem
-
-echo off
-if not exist "include\fcgi_config_x86.h" goto NO_CONFIG
-
-copy include\fcgi_config_x86.h include\fcgi_config.h
-
-rem
-rem Build the FastCGI DLL and import library.
-rem
-cd libfcgi
-nmake -f libfcgi.mak
-%1%
-
-rem
-rem Build the cgi-fcgi.exe "shim" application.
-rem
-cd ..\cgi-fcgi
-nmake -f cgi-fcgi.mak
-%1%
-
-rem
-rem Now build the sample applications that have been qualified.
-rem
-cd ..\examples
-nmake -f echo.mak
-nmake -f echo2.mak
-
-cd ..
-
-rem
-rem Now copy all binaries (including the libfcgi.dll) to a common 
-rem directory to make testing and accessing the apps easier.
-rem
-if not exist "FcgiBin" mkdir FcgiBin
-copy libfcgi\Debug\libfcgi.dll FcgiBin
-copy examples\*.fcgi FcgiBin
-copy examples\Debug\*.exe FcgiBin
-copy cgi-fcgi\Debug\cgi-fcgi.exe FcgiBin
-
-goto :DONE
-
-:NO_CONFIG
-echo Could not find the file "fcgi_config_x86.h".  Aborting.
-
-:DONE
-