1 # Microsoft Developer Studio Generated NMAKE File, Based on httpd.dsp
3 CFG=httpd - Win32 Release
4 !MESSAGE No configuration specified. Defaulting to httpd - Win32 Release.
7 !IF "$(CFG)" != "httpd - Win32 Release" && "$(CFG)" != "httpd - Win32 Debug"
8 !MESSAGE Invalid configuration "$(CFG)" specified.
9 !MESSAGE You can specify a configuration when running NMAKE
10 !MESSAGE by defining the macro CFG on the command line. For example:
12 !MESSAGE NMAKE /f "httpd.mak" CFG="httpd - Win32 Release"
14 !MESSAGE Possible choices for configuration are:
16 !MESSAGE "httpd - Win32 Release" (based on "Win32 (x86) Console Application")
17 !MESSAGE "httpd - Win32 Debug" (based on "Win32 (x86) Console Application")
19 !ERROR An invalid configuration is specified.
22 !IF "$(OS)" == "Windows_NT"
28 !IF "$(CFG)" == "httpd - Win32 Release"
32 DS_POSTBUILD_DEP=$(INTDIR)\postbld.dep
37 !IF "$(RECURSE)" == "0"
39 ALL : "$(OUTDIR)\httpd.exe" "$(DS_POSTBUILD_DEP)"
43 ALL : "libhttpd - Win32 Release" "libaprutil - Win32 Release" "libapr - Win32 Release" "$(OUTDIR)\httpd.exe" "$(DS_POSTBUILD_DEP)"
47 !IF "$(RECURSE)" == "1"
48 CLEAN :"libapr - Win32 ReleaseCLEAN" "libaprutil - Win32 ReleaseCLEAN" "libhttpd - Win32 ReleaseCLEAN"
52 -@erase "$(INTDIR)\httpd.idb"
53 -@erase "$(INTDIR)\httpd.res"
54 -@erase "$(INTDIR)\main.obj"
55 -@erase "$(OUTDIR)\httpd.exe"
56 -@erase "$(OUTDIR)\httpd.pdb"
59 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
62 CPP_PROJ=/nologo /MD /W3 /Zi /O2 /Oy- /I "./include" /I "./srclib/apr/include" /I "./srclib/apr-util/include" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\httpd" /FD /c
95 RSC_PROJ=/l 0x409 /fo"$(INTDIR)\httpd.res" /i "./include" /i "./srclib/apr/include" /d "NDEBUG" /d "APP_FILE" /d BIN_NAME="httpd.exe" /d LONG_NAME="Apache HTTP Server" /d ICON_FILE="apache.ico"
97 BSC32_FLAGS=/nologo /o"$(OUTDIR)\httpd.bsc"
101 LINK32_FLAGS=kernel32.lib user32.lib advapi32.lib ws2_32.lib mswsock.lib /nologo /stack:0x40000 /subsystem:console /incremental:no /pdb:"$(OUTDIR)\httpd.pdb" /debug /out:"$(OUTDIR)\httpd.exe" /opt:ref
103 "$(INTDIR)\main.obj" \
104 "$(INTDIR)\httpd.res" \
105 ".\srclib\apr\Release\libapr-1.lib" \
106 ".\srclib\apr-util\Release\libaprutil-1.lib" \
107 "$(OUTDIR)\libhttpd.lib"
109 "$(OUTDIR)\httpd.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
111 $(LINK32_FLAGS) $(LINK32_OBJS)
114 TargetPath=.\Release\httpd.exe
115 SOURCE="$(InputPath)"
116 PostBuild_Desc=Embed .manifest
117 DS_POSTBUILD_DEP=$(INTDIR)\postbld.dep
119 # Begin Custom Macros
123 "$(DS_POSTBUILD_DEP)" : "$(OUTDIR)\httpd.exe"
124 if exist .\Release\httpd.exe.manifest mt.exe -manifest .\Release\httpd.exe.manifest -outputresource:.\Release\httpd.exe;1
125 echo Helper for Post-build step > "$(DS_POSTBUILD_DEP)"
127 !ELSEIF "$(CFG)" == "httpd - Win32 Debug"
131 DS_POSTBUILD_DEP=$(INTDIR)\postbld.dep
132 # Begin Custom Macros
136 !IF "$(RECURSE)" == "0"
138 ALL : "$(OUTDIR)\httpd.exe" "$(DS_POSTBUILD_DEP)"
142 ALL : "libhttpd - Win32 Debug" "libaprutil - Win32 Debug" "libapr - Win32 Debug" "$(OUTDIR)\httpd.exe" "$(DS_POSTBUILD_DEP)"
146 !IF "$(RECURSE)" == "1"
147 CLEAN :"libapr - Win32 DebugCLEAN" "libaprutil - Win32 DebugCLEAN" "libhttpd - Win32 DebugCLEAN"
151 -@erase "$(INTDIR)\httpd.idb"
152 -@erase "$(INTDIR)\httpd.res"
153 -@erase "$(INTDIR)\main.obj"
154 -@erase "$(OUTDIR)\httpd.exe"
155 -@erase "$(OUTDIR)\httpd.pdb"
158 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
161 CPP_PROJ=/nologo /MDd /W3 /Zi /Od /I "./include" /I "./srclib/apr/include" /I "./srclib/apr-util/include" /D "_DEBUG" /D "WIN32" /D "_CONSOLE" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\httpd" /FD /EHsc /c
168 .cpp{$(INTDIR)}.obj::
173 .cxx{$(INTDIR)}.obj::
183 .cpp{$(INTDIR)}.sbr::
188 .cxx{$(INTDIR)}.sbr::
194 RSC_PROJ=/l 0x409 /fo"$(INTDIR)\httpd.res" /i "./include" /i "./srclib/apr/include" /d "_DEBUG" /d "APP_FILE" /d BIN_NAME="httpd.exe" /d LONG_NAME="Apache HTTP Server" /d ICON_FILE="apache.ico"
196 BSC32_FLAGS=/nologo /o"$(OUTDIR)\httpd.bsc"
200 LINK32_FLAGS=kernel32.lib user32.lib advapi32.lib ws2_32.lib mswsock.lib /nologo /stack:0x40000 /subsystem:console /incremental:no /pdb:"$(OUTDIR)\httpd.pdb" /debug /out:"$(OUTDIR)\httpd.exe"
202 "$(INTDIR)\main.obj" \
203 "$(INTDIR)\httpd.res" \
204 ".\srclib\apr\Debug\libapr-1.lib" \
205 ".\srclib\apr-util\Debug\libaprutil-1.lib" \
206 "$(OUTDIR)\libhttpd.lib"
208 "$(OUTDIR)\httpd.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
210 $(LINK32_FLAGS) $(LINK32_OBJS)
213 TargetPath=.\Debug\httpd.exe
214 SOURCE="$(InputPath)"
215 PostBuild_Desc=Embed .manifest
216 DS_POSTBUILD_DEP=$(INTDIR)\postbld.dep
218 # Begin Custom Macros
222 "$(DS_POSTBUILD_DEP)" : "$(OUTDIR)\httpd.exe"
223 if exist .\Debug\httpd.exe.manifest mt.exe -manifest .\Debug\httpd.exe.manifest -outputresource:.\Debug\httpd.exe;1
224 echo Helper for Post-build step > "$(DS_POSTBUILD_DEP)"
229 !IF "$(NO_EXTERNAL_DEPS)" != "1"
230 !IF EXISTS("httpd.dep")
233 !MESSAGE Warning: cannot find "httpd.dep"
238 !IF "$(CFG)" == "httpd - Win32 Release" || "$(CFG)" == "httpd - Win32 Debug"
240 !IF "$(CFG)" == "httpd - Win32 Release"
242 "libapr - Win32 Release" :
244 $(MAKE) /$(MAKEFLAGS) /F ".\libapr.mak" CFG="libapr - Win32 Release"
247 "libapr - Win32 ReleaseCLEAN" :
249 $(MAKE) /$(MAKEFLAGS) /F ".\libapr.mak" CFG="libapr - Win32 Release" RECURSE=1 CLEAN
252 !ELSEIF "$(CFG)" == "httpd - Win32 Debug"
254 "libapr - Win32 Debug" :
256 $(MAKE) /$(MAKEFLAGS) /F ".\libapr.mak" CFG="libapr - Win32 Debug"
259 "libapr - Win32 DebugCLEAN" :
261 $(MAKE) /$(MAKEFLAGS) /F ".\libapr.mak" CFG="libapr - Win32 Debug" RECURSE=1 CLEAN
266 !IF "$(CFG)" == "httpd - Win32 Release"
268 "libaprutil - Win32 Release" :
269 cd ".\srclib\apr-util"
270 $(MAKE) /$(MAKEFLAGS) /F ".\libaprutil.mak" CFG="libaprutil - Win32 Release"
273 "libaprutil - Win32 ReleaseCLEAN" :
274 cd ".\srclib\apr-util"
275 $(MAKE) /$(MAKEFLAGS) /F ".\libaprutil.mak" CFG="libaprutil - Win32 Release" RECURSE=1 CLEAN
278 !ELSEIF "$(CFG)" == "httpd - Win32 Debug"
280 "libaprutil - Win32 Debug" :
281 cd ".\srclib\apr-util"
282 $(MAKE) /$(MAKEFLAGS) /F ".\libaprutil.mak" CFG="libaprutil - Win32 Debug"
285 "libaprutil - Win32 DebugCLEAN" :
286 cd ".\srclib\apr-util"
287 $(MAKE) /$(MAKEFLAGS) /F ".\libaprutil.mak" CFG="libaprutil - Win32 Debug" RECURSE=1 CLEAN
292 !IF "$(CFG)" == "httpd - Win32 Release"
294 "libhttpd - Win32 Release" :
296 $(MAKE) /$(MAKEFLAGS) /F ".\libhttpd.mak" CFG="libhttpd - Win32 Release"
299 "libhttpd - Win32 ReleaseCLEAN" :
301 $(MAKE) /$(MAKEFLAGS) /F ".\libhttpd.mak" CFG="libhttpd - Win32 Release" RECURSE=1 CLEAN
304 !ELSEIF "$(CFG)" == "httpd - Win32 Debug"
306 "libhttpd - Win32 Debug" :
308 $(MAKE) /$(MAKEFLAGS) /F ".\libhttpd.mak" CFG="libhttpd - Win32 Debug"
311 "libhttpd - Win32 DebugCLEAN" :
313 $(MAKE) /$(MAKEFLAGS) /F ".\libhttpd.mak" CFG="libhttpd - Win32 Debug" RECURSE=1 CLEAN
318 SOURCE=.\build\win32\httpd.rc
320 !IF "$(CFG)" == "httpd - Win32 Release"
323 "$(INTDIR)\httpd.res" : $(SOURCE) "$(INTDIR)"
324 $(RSC) /l 0x409 /fo"$(INTDIR)\httpd.res" /i "./include" /i "./srclib/apr/include" /i "build\win32" /d "NDEBUG" /d "APP_FILE" /d BIN_NAME="httpd.exe" /d LONG_NAME="Apache HTTP Server" /d ICON_FILE="apache.ico" $(SOURCE)
327 !ELSEIF "$(CFG)" == "httpd - Win32 Debug"
330 "$(INTDIR)\httpd.res" : $(SOURCE) "$(INTDIR)"
331 $(RSC) /l 0x409 /fo"$(INTDIR)\httpd.res" /i "./include" /i "./srclib/apr/include" /i "build\win32" /d "_DEBUG" /d "APP_FILE" /d BIN_NAME="httpd.exe" /d LONG_NAME="Apache HTTP Server" /d ICON_FILE="apache.ico" $(SOURCE)
336 SOURCE=.\server\main.c
338 "$(INTDIR)\main.obj" : $(SOURCE) "$(INTDIR)"
339 $(CPP) $(CPP_PROJ) $(SOURCE)