Revert last commit - put acconfig.h back into the dist target.
[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
ffaa0e42 6rem $Id: build_no_shell.bat,v 1.2 2001/08/27 19:52:49 robs Exp $
0198fd3c 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
0198fd3c 35
36cd ..
37
38rem
39rem Now copy all binaries (including the libfcgi.dll) to a common
40rem directory to make testing and accessing the apps easier.
41rem
42if not exist "FcgiBin" mkdir FcgiBin
43copy libfcgi\Debug\libfcgi.dll FcgiBin
44copy examples\*.fcgi FcgiBin
45copy examples\Debug\*.exe FcgiBin
46copy cgi-fcgi\Debug\cgi-fcgi.exe FcgiBin
47
48goto :DONE
49
50:NO_CONFIG
51echo Could not find the file "fcgi_config_x86.h". Aborting.
52
53:DONE
54