1 # Microsoft Developer Studio Generated NMAKE File, Based on libhttpd.dsp
3 CFG=libhttpd - Win32 Release
4 !MESSAGE No configuration specified. Defaulting to libhttpd - Win32 Release.
7 !IF "$(CFG)" != "libhttpd - Win32 Release" && "$(CFG)" !=\
8 "libhttpd - Win32 Debug"
9 !MESSAGE Invalid configuration "$(CFG)" specified.
10 !MESSAGE You can specify a configuration when running NMAKE
11 !MESSAGE by defining the macro CFG on the command line. For example:
13 !MESSAGE NMAKE /f "libhttpd.mak" CFG="libhttpd - Win32 Release"
15 !MESSAGE Possible choices for configuration are:
17 !MESSAGE "libhttpd - Win32 Release" (based on\
18 "Win32 (x86) Dynamic-Link Library")
19 !MESSAGE "libhttpd - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
21 !ERROR An invalid configuration is specified.
24 !IF "$(OS)" == "Windows_NT"
30 !IF "$(CFG)" == "libhttpd - Win32 Release"
38 !IF "$(RECURSE)" == "0"
40 ALL : "$(OUTDIR)\libhttpd.dll"
44 ALL : "libaprutil - Win32 Release" "libexpat - Win32 Release"\
45 "httpd - Win32 Release" "pcreposix - Win32 Release" "pcre - Win32 Release"\
46 "libapr - Win32 Release" "$(OUTDIR)\libhttpd.dll"
50 !IF "$(RECURSE)" == "1"
51 CLEAN :"libapr - Win32 ReleaseCLEAN" "pcre - Win32 ReleaseCLEAN"\
52 "pcreposix - Win32 ReleaseCLEAN" "httpd - Win32 ReleaseCLEAN"\
53 "libexpat - Win32 ReleaseCLEAN" "libaprutil - Win32 ReleaseCLEAN"
57 -@erase "$(INTDIR)\libhttpd.obj"
58 -@erase "$(OUTDIR)\libhttpd.dll"
59 -@erase "$(OUTDIR)\libhttpd.exp"
60 -@erase "$(OUTDIR)\libhttpd.lib"
61 -@erase "$(OUTDIR)\libhttpd.map"
62 -@erase ".\Debug\libhttpd.idb"
65 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
68 CPP_PROJ=/nologo /MD /W3 /O2 /I ".\include" /I ".\lib\apr\include" /I\
69 ".\os\win32" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "AP_DECLARE_EXPORT"\
70 /Fo"$(INTDIR)\\" /Fd"Debug\libhttpd" /FD /c
79 .cpp{$(CPP_OBJS)}.obj::
84 .cxx{$(CPP_OBJS)}.obj::
94 .cpp{$(CPP_SBRS)}.sbr::
99 .cxx{$(CPP_SBRS)}.sbr::
105 MTL_PROJ=/nologo /D "NDEBUG" /mktyplib203 /win32
108 BSC32_FLAGS=/nologo /o"$(OUTDIR)\libhttpd.bsc"
112 LINK32_FLAGS=kernel32.lib user32.lib advapi32.lib ws2_32.lib mswsock.lib\
113 /nologo /subsystem:windows /dll /incremental:no /pdb:"$(OUTDIR)\libhttpd.pdb"\
114 /map:"$(INTDIR)\libhttpd.map" /machine:I386 /def:".\libhttpd.def"\
115 /out:"$(OUTDIR)\libhttpd.dll" /implib:"$(OUTDIR)\libhttpd.lib"\
116 /base:@"os\win32\BaseAddr.ref",libhttpd
120 "$(INTDIR)\libhttpd.obj" \
122 ".\srclib\apr-util\Release\libaprutil.lib" \
123 ".\srclib\apr\Release\libapr.lib" \
124 ".\srclib\expat-lite\Release\libexpat.lib" \
125 ".\srclib\pcre\LibR\pcre.lib" \
126 ".\srclib\pcre\LibR\pcreposix.lib"
128 "$(OUTDIR)\libhttpd.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
130 $(LINK32_FLAGS) $(LINK32_OBJS)
133 !ELSEIF "$(CFG)" == "libhttpd - Win32 Debug"
137 # Begin Custom Macros
141 !IF "$(RECURSE)" == "0"
143 ALL : "$(OUTDIR)\libhttpd.dll"
147 ALL : "libaprutil - Win32 Debug" "libexpat - Win32 Debug" "httpd - Win32 Debug"\
148 "pcreposix - Win32 Debug" "pcre - Win32 Debug" "libapr - Win32 Debug"\
149 "$(OUTDIR)\libhttpd.dll"
153 !IF "$(RECURSE)" == "1"
154 CLEAN :"libapr - Win32 DebugCLEAN" "pcre - Win32 DebugCLEAN"\
155 "pcreposix - Win32 DebugCLEAN" "httpd - Win32 DebugCLEAN"\
156 "libexpat - Win32 DebugCLEAN" "libaprutil - Win32 DebugCLEAN"
160 -@erase "$(INTDIR)\libhttpd.idb"
161 -@erase "$(INTDIR)\libhttpd.obj"
162 -@erase "$(OUTDIR)\libhttpd.dll"
163 -@erase "$(OUTDIR)\libhttpd.exp"
164 -@erase "$(OUTDIR)\libhttpd.lib"
165 -@erase "$(OUTDIR)\libhttpd.map"
166 -@erase "$(OUTDIR)\libhttpd.pdb"
169 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
172 CPP_PROJ=/nologo /MDd /W3 /GX /Zi /Od /I ".\include" /I ".\lib\apr\include" /I\
173 ".\os\win32" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "AP_DECLARE_EXPORT"\
174 /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\libhttpd" /FD /c
178 .c{$(CPP_OBJS)}.obj::
183 .cpp{$(CPP_OBJS)}.obj::
188 .cxx{$(CPP_OBJS)}.obj::
193 .c{$(CPP_SBRS)}.sbr::
198 .cpp{$(CPP_SBRS)}.sbr::
203 .cxx{$(CPP_SBRS)}.sbr::
209 MTL_PROJ=/nologo /D "_DEBUG" /mktyplib203 /win32
212 BSC32_FLAGS=/nologo /o"$(OUTDIR)\libhttpd.bsc"
216 LINK32_FLAGS=kernel32.lib user32.lib advapi32.lib ws2_32.lib mswsock.lib\
217 /nologo /subsystem:windows /dll /incremental:no /pdb:"$(OUTDIR)\libhttpd.pdb"\
218 /map:"$(INTDIR)\libhttpd.map" /debug /machine:I386 /def:".\libhttpd.def"\
219 /out:"$(OUTDIR)\libhttpd.dll" /implib:"$(OUTDIR)\libhttpd.lib"\
220 /base:@"os\win32\BaseAddr.ref",libhttpd
224 "$(INTDIR)\libhttpd.obj" \
226 ".\srclib\apr-util\Debug\libaprutil.lib" \
227 ".\srclib\apr\Debug\libapr.lib" \
228 ".\srclib\expat-lite\Debug\libexpat.lib" \
229 ".\srclib\pcre\LibD\pcre.lib" \
230 ".\srclib\pcre\LibD\pcreposix.lib"
232 "$(OUTDIR)\libhttpd.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
234 $(LINK32_FLAGS) $(LINK32_OBJS)
240 !IF "$(CFG)" == "libhttpd - Win32 Release" || "$(CFG)" ==\
241 "libhttpd - Win32 Debug"
243 !IF "$(CFG)" == "libhttpd - Win32 Release"
245 "libapr - Win32 Release" :
247 $(MAKE) /$(MAKEFLAGS) /F ".\libapr.mak" CFG="libapr - Win32 Release"
250 "libapr - Win32 ReleaseCLEAN" :
252 $(MAKE) /$(MAKEFLAGS) CLEAN /F ".\libapr.mak" CFG="libapr - Win32 Release"\
256 !ELSEIF "$(CFG)" == "libhttpd - Win32 Debug"
258 "libapr - Win32 Debug" :
260 $(MAKE) /$(MAKEFLAGS) /F ".\libapr.mak" CFG="libapr - Win32 Debug"
263 "libapr - Win32 DebugCLEAN" :
265 $(MAKE) /$(MAKEFLAGS) CLEAN /F ".\libapr.mak" CFG="libapr - Win32 Debug"\
271 !IF "$(CFG)" == "libhttpd - Win32 Release"
273 "pcre - Win32 Release" :
275 $(MAKE) /$(MAKEFLAGS) /F ".\pcre.mak" CFG="pcre - Win32 Release"
278 "pcre - Win32 ReleaseCLEAN" :
280 $(MAKE) /$(MAKEFLAGS) CLEAN /F ".\pcre.mak" CFG="pcre - Win32 Release"\
284 !ELSEIF "$(CFG)" == "libhttpd - Win32 Debug"
286 "pcre - Win32 Debug" :
288 $(MAKE) /$(MAKEFLAGS) /F ".\pcre.mak" CFG="pcre - Win32 Debug"
291 "pcre - Win32 DebugCLEAN" :
293 $(MAKE) /$(MAKEFLAGS) CLEAN /F ".\pcre.mak" CFG="pcre - Win32 Debug"\
299 !IF "$(CFG)" == "libhttpd - Win32 Release"
301 "pcreposix - Win32 Release" :
303 $(MAKE) /$(MAKEFLAGS) /F ".\pcreposix.mak" CFG="pcreposix - Win32 Release"
306 "pcreposix - Win32 ReleaseCLEAN" :
308 $(MAKE) /$(MAKEFLAGS) CLEAN /F ".\pcreposix.mak"\
309 CFG="pcreposix - Win32 Release" RECURSE=1
312 !ELSEIF "$(CFG)" == "libhttpd - Win32 Debug"
314 "pcreposix - Win32 Debug" :
316 $(MAKE) /$(MAKEFLAGS) /F ".\pcreposix.mak" CFG="pcreposix - Win32 Debug"
319 "pcreposix - Win32 DebugCLEAN" :
321 $(MAKE) /$(MAKEFLAGS) CLEAN /F ".\pcreposix.mak"\
322 CFG="pcreposix - Win32 Debug" RECURSE=1
327 !IF "$(CFG)" == "libhttpd - Win32 Release"
329 "httpd - Win32 Release" :
331 $(MAKE) /$(MAKEFLAGS) /F ".\httpd.mak" CFG="httpd - Win32 Release"
334 "httpd - Win32 ReleaseCLEAN" :
336 $(MAKE) /$(MAKEFLAGS) CLEAN /F ".\httpd.mak" CFG="httpd - Win32 Release"\
340 !ELSEIF "$(CFG)" == "libhttpd - Win32 Debug"
342 "httpd - Win32 Debug" :
344 $(MAKE) /$(MAKEFLAGS) /F ".\httpd.mak" CFG="httpd - Win32 Debug"
347 "httpd - Win32 DebugCLEAN" :
349 $(MAKE) /$(MAKEFLAGS) CLEAN /F ".\httpd.mak" CFG="httpd - Win32 Debug"\
355 !IF "$(CFG)" == "libhttpd - Win32 Release"
357 "libexpat - Win32 Release" :
358 cd ".\srclib\expat-lite"
359 $(MAKE) /$(MAKEFLAGS) /F ".\libexpat.mak" CFG="libexpat - Win32 Release"
362 "libexpat - Win32 ReleaseCLEAN" :
363 cd ".\srclib\expat-lite"
364 $(MAKE) /$(MAKEFLAGS) CLEAN /F ".\libexpat.mak"\
365 CFG="libexpat - Win32 Release" RECURSE=1
368 !ELSEIF "$(CFG)" == "libhttpd - Win32 Debug"
370 "libexpat - Win32 Debug" :
371 cd ".\srclib\expat-lite"
372 $(MAKE) /$(MAKEFLAGS) /F ".\libexpat.mak" CFG="libexpat - Win32 Debug"
375 "libexpat - Win32 DebugCLEAN" :
376 cd ".\srclib\expat-lite"
377 $(MAKE) /$(MAKEFLAGS) CLEAN /F ".\libexpat.mak" CFG="libexpat - Win32 Debug"\
383 !IF "$(CFG)" == "libhttpd - Win32 Release"
385 "libaprutil - Win32 Release" :
386 cd ".\srclib\apr-util"
387 $(MAKE) /$(MAKEFLAGS) /F ".\libaprutil.mak" CFG="libaprutil - Win32 Release"\
391 "libaprutil - Win32 ReleaseCLEAN" :
392 cd ".\srclib\apr-util"
393 $(MAKE) /$(MAKEFLAGS) CLEAN /F ".\libaprutil.mak"\
394 CFG="libaprutil - Win32 Release" RECURSE=1
397 !ELSEIF "$(CFG)" == "libhttpd - Win32 Debug"
399 "libaprutil - Win32 Debug" :
400 cd ".\srclib\apr-util"
401 $(MAKE) /$(MAKEFLAGS) /F ".\libaprutil.mak" CFG="libaprutil - Win32 Debug"
404 "libaprutil - Win32 DebugCLEAN" :
405 cd ".\srclib\apr-util"
406 $(MAKE) /$(MAKEFLAGS) CLEAN /F ".\libaprutil.mak"\
407 CFG="libaprutil - Win32 Debug" RECURSE=1
412 SOURCE=.\os\win32\libhttpd.c
414 "$(INTDIR)\libhttpd.obj" : $(SOURCE) "$(INTDIR)"
415 $(CPP) $(CPP_PROJ) $(SOURCE)