Commit | Line | Data |
0198fd3c |
1 | rem |
2 | rem This build script is intended to be run from the root dir that |
3 | rem the FastCGI kit was unpacked in. It is intended to be used for |
4 | rem those that want to run the configure script. |
5 | rem |
ffaa0e42 |
6 | rem $Id: build.bat,v 1.2 2001/08/27 19:52:49 robs Exp $ |
0198fd3c |
7 | rem |
8 | rem |
9 | |
10 | echo off |
11 | |
12 | if not exist "config.cache" sh -c "./configure" |
13 | |
14 | |
15 | rem |
16 | rem Build the FastCGI DLL and import library. |
17 | rem |
18 | cd libfcgi |
19 | nmake -f libfcgi.mak |
20 | %1% |
21 | |
22 | rem |
23 | rem Build the cgi-fcgi.exe "shim" application. |
24 | rem |
25 | cd ..\cgi-fcgi |
26 | nmake -f cgi-fcgi.mak |
27 | %1% |
28 | |
29 | rem |
30 | rem Now build the sample applications that have been qualified. |
31 | rem |
32 | cd ..\examples |
33 | nmake -f echo.mak |
34 | nmake -f echo2.mak |
0198fd3c |
35 | |
36 | cd .. |
37 | goto :DONE |
38 | |
39 | :NO_CONFIG |
40 | echo Could not find the file "fcgi_config_x86.h". Aborting. |
41 | |
42 | :DONE |