Remove a bunch of includes that don't belong here.
[catagits/fcgi2.git] / build_no_shell.bat
CommitLineData
0198fd3c 1rem
2rem This build script is intended to be run from the root dir that
3rem the FastCGI kit was unpacked in. It should work on an X86
4rem machine but it's only been tested in limited form.
5rem
6rem $Id: build_no_shell.bat,v 1.1 1997/09/16 15:36:24 stanleyg Exp $
7rem
8rem
9
10echo off
11if not exist "include\fcgi_config_x86.h" goto NO_CONFIG
12
13copy include\fcgi_config_x86.h include\fcgi_config.h
14
15rem
16rem Build the FastCGI DLL and import library.
17rem
18cd libfcgi
19nmake -f libfcgi.mak
20%1%
21
22rem
23rem Build the cgi-fcgi.exe "shim" application.
24rem
25cd ..\cgi-fcgi
26nmake -f cgi-fcgi.mak
27%1%
28
29rem
30rem Now build the sample applications that have been qualified.
31rem
32cd ..\examples
33nmake -f echo.mak
34nmake -f echo2.mak
35nmake -f tiny-fcgi.mak
36nmake -f tiny-fcgi2.mak
37
38cd ..
39
40rem
41rem Now copy all binaries (including the libfcgi.dll) to a common
42rem directory to make testing and accessing the apps easier.
43rem
44if not exist "FcgiBin" mkdir FcgiBin
45copy libfcgi\Debug\libfcgi.dll FcgiBin
46copy examples\*.fcgi FcgiBin
47copy examples\Debug\*.exe FcgiBin
48copy cgi-fcgi\Debug\cgi-fcgi.exe FcgiBin
49
50goto :DONE
51
52:NO_CONFIG
53echo Could not find the file "fcgi_config_x86.h". Aborting.
54
55:DONE
56