1# Microsoft Developer Studio Generated NMAKE File, Based on httpd.dsp 2!IF "$(CFG)" == "" 3CFG=httpd - Win32 Release 4!MESSAGE No configuration specified. Defaulting to httpd - Win32 Release. 5!ENDIF 6 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: 11!MESSAGE 12!MESSAGE NMAKE /f "httpd.mak" CFG="httpd - Win32 Release" 13!MESSAGE 14!MESSAGE Possible choices for configuration are: 15!MESSAGE 16!MESSAGE "httpd - Win32 Release" (based on "Win32 (x86) Console Application") 17!MESSAGE "httpd - Win32 Debug" (based on "Win32 (x86) Console Application") 18!MESSAGE 19!ERROR An invalid configuration is specified. 20!ENDIF 21 22!IF "$(OS)" == "Windows_NT" 23NULL= 24!ELSE 25NULL=nul 26!ENDIF 27 28!IF "$(CFG)" == "httpd - Win32 Release" 29 30OUTDIR=.\Release 31INTDIR=.\Release 32DS_POSTBUILD_DEP=$(INTDIR)\postbld.dep 33# Begin Custom Macros 34OutDir=.\Release 35# End Custom Macros 36 37!IF "$(RECURSE)" == "0" 38 39ALL : "$(OUTDIR)\httpd.exe" "$(DS_POSTBUILD_DEP)" 40 41!ELSE 42 43ALL : "libhttpd - Win32 Release" "libaprutil - Win32 Release" "libapr - Win32 Release" "$(OUTDIR)\httpd.exe" "$(DS_POSTBUILD_DEP)" 44 45!ENDIF 46 47!IF "$(RECURSE)" == "1" 48CLEAN :"libapr - Win32 ReleaseCLEAN" "libaprutil - Win32 ReleaseCLEAN" "libhttpd - Win32 ReleaseCLEAN" 49!ELSE 50CLEAN : 51!ENDIF 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" 57 58"$(OUTDIR)" : 59 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" 60 61CPP=cl.exe 62CPP_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 63 64.c{$(INTDIR)}.obj:: 65 $(CPP) @<< 66 $(CPP_PROJ) $< 67<< 68 69.cpp{$(INTDIR)}.obj:: 70 $(CPP) @<< 71 $(CPP_PROJ) $< 72<< 73 74.cxx{$(INTDIR)}.obj:: 75 $(CPP) @<< 76 $(CPP_PROJ) $< 77<< 78 79.c{$(INTDIR)}.sbr:: 80 $(CPP) @<< 81 $(CPP_PROJ) $< 82<< 83 84.cpp{$(INTDIR)}.sbr:: 85 $(CPP) @<< 86 $(CPP_PROJ) $< 87<< 88 89.cxx{$(INTDIR)}.sbr:: 90 $(CPP) @<< 91 $(CPP_PROJ) $< 92<< 93 94RSC=rc.exe 95RSC_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" 96BSC32=bscmake.exe 97BSC32_FLAGS=/nologo /o"$(OUTDIR)\httpd.bsc" 98BSC32_SBRS= \ 99 100LINK32=link.exe 101LINK32_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 102LINK32_OBJS= \ 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" 108 109"$(OUTDIR)\httpd.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) 110 $(LINK32) @<< 111 $(LINK32_FLAGS) $(LINK32_OBJS) 112<< 113 114TargetPath=.\Release\httpd.exe 115SOURCE="$(InputPath)" 116PostBuild_Desc=Embed .manifest 117DS_POSTBUILD_DEP=$(INTDIR)\postbld.dep 118 119# Begin Custom Macros 120OutDir=.\Release 121# End Custom Macros 122 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)" 126 127!ELSEIF "$(CFG)" == "httpd - Win32 Debug" 128 129OUTDIR=.\Debug 130INTDIR=.\Debug 131DS_POSTBUILD_DEP=$(INTDIR)\postbld.dep 132# Begin Custom Macros 133OutDir=.\Debug 134# End Custom Macros 135 136!IF "$(RECURSE)" == "0" 137 138ALL : "$(OUTDIR)\httpd.exe" "$(DS_POSTBUILD_DEP)" 139 140!ELSE 141 142ALL : "libhttpd - Win32 Debug" "libaprutil - Win32 Debug" "libapr - Win32 Debug" "$(OUTDIR)\httpd.exe" "$(DS_POSTBUILD_DEP)" 143 144!ENDIF 145 146!IF "$(RECURSE)" == "1" 147CLEAN :"libapr - Win32 DebugCLEAN" "libaprutil - Win32 DebugCLEAN" "libhttpd - Win32 DebugCLEAN" 148!ELSE 149CLEAN : 150!ENDIF 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" 156 157"$(OUTDIR)" : 158 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" 159 160CPP=cl.exe 161CPP_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 162 163.c{$(INTDIR)}.obj:: 164 $(CPP) @<< 165 $(CPP_PROJ) $< 166<< 167 168.cpp{$(INTDIR)}.obj:: 169 $(CPP) @<< 170 $(CPP_PROJ) $< 171<< 172 173.cxx{$(INTDIR)}.obj:: 174 $(CPP) @<< 175 $(CPP_PROJ) $< 176<< 177 178.c{$(INTDIR)}.sbr:: 179 $(CPP) @<< 180 $(CPP_PROJ) $< 181<< 182 183.cpp{$(INTDIR)}.sbr:: 184 $(CPP) @<< 185 $(CPP_PROJ) $< 186<< 187 188.cxx{$(INTDIR)}.sbr:: 189 $(CPP) @<< 190 $(CPP_PROJ) $< 191<< 192 193RSC=rc.exe 194RSC_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" 195BSC32=bscmake.exe 196BSC32_FLAGS=/nologo /o"$(OUTDIR)\httpd.bsc" 197BSC32_SBRS= \ 198 199LINK32=link.exe 200LINK32_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" 201LINK32_OBJS= \ 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" 207 208"$(OUTDIR)\httpd.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) 209 $(LINK32) @<< 210 $(LINK32_FLAGS) $(LINK32_OBJS) 211<< 212 213TargetPath=.\Debug\httpd.exe 214SOURCE="$(InputPath)" 215PostBuild_Desc=Embed .manifest 216DS_POSTBUILD_DEP=$(INTDIR)\postbld.dep 217 218# Begin Custom Macros 219OutDir=.\Debug 220# End Custom Macros 221 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)" 225 226!ENDIF 227 228 229!IF "$(NO_EXTERNAL_DEPS)" != "1" 230!IF EXISTS("httpd.dep") 231!INCLUDE "httpd.dep" 232!ELSE 233!MESSAGE Warning: cannot find "httpd.dep" 234!ENDIF 235!ENDIF 236 237 238!IF "$(CFG)" == "httpd - Win32 Release" || "$(CFG)" == "httpd - Win32 Debug" 239 240!IF "$(CFG)" == "httpd - Win32 Release" 241 242"libapr - Win32 Release" : 243 cd ".\srclib\apr" 244 $(MAKE) /$(MAKEFLAGS) /F ".\libapr.mak" CFG="libapr - Win32 Release" 245 cd "..\.." 246 247"libapr - Win32 ReleaseCLEAN" : 248 cd ".\srclib\apr" 249 $(MAKE) /$(MAKEFLAGS) /F ".\libapr.mak" CFG="libapr - Win32 Release" RECURSE=1 CLEAN 250 cd "..\.." 251 252!ELSEIF "$(CFG)" == "httpd - Win32 Debug" 253 254"libapr - Win32 Debug" : 255 cd ".\srclib\apr" 256 $(MAKE) /$(MAKEFLAGS) /F ".\libapr.mak" CFG="libapr - Win32 Debug" 257 cd "..\.." 258 259"libapr - Win32 DebugCLEAN" : 260 cd ".\srclib\apr" 261 $(MAKE) /$(MAKEFLAGS) /F ".\libapr.mak" CFG="libapr - Win32 Debug" RECURSE=1 CLEAN 262 cd "..\.." 263 264!ENDIF 265 266!IF "$(CFG)" == "httpd - Win32 Release" 267 268"libaprutil - Win32 Release" : 269 cd ".\srclib\apr-util" 270 $(MAKE) /$(MAKEFLAGS) /F ".\libaprutil.mak" CFG="libaprutil - Win32 Release" 271 cd "..\.." 272 273"libaprutil - Win32 ReleaseCLEAN" : 274 cd ".\srclib\apr-util" 275 $(MAKE) /$(MAKEFLAGS) /F ".\libaprutil.mak" CFG="libaprutil - Win32 Release" RECURSE=1 CLEAN 276 cd "..\.." 277 278!ELSEIF "$(CFG)" == "httpd - Win32 Debug" 279 280"libaprutil - Win32 Debug" : 281 cd ".\srclib\apr-util" 282 $(MAKE) /$(MAKEFLAGS) /F ".\libaprutil.mak" CFG="libaprutil - Win32 Debug" 283 cd "..\.." 284 285"libaprutil - Win32 DebugCLEAN" : 286 cd ".\srclib\apr-util" 287 $(MAKE) /$(MAKEFLAGS) /F ".\libaprutil.mak" CFG="libaprutil - Win32 Debug" RECURSE=1 CLEAN 288 cd "..\.." 289 290!ENDIF 291 292!IF "$(CFG)" == "httpd - Win32 Release" 293 294"libhttpd - Win32 Release" : 295 cd "." 296 $(MAKE) /$(MAKEFLAGS) /F ".\libhttpd.mak" CFG="libhttpd - Win32 Release" 297 cd "." 298 299"libhttpd - Win32 ReleaseCLEAN" : 300 cd "." 301 $(MAKE) /$(MAKEFLAGS) /F ".\libhttpd.mak" CFG="libhttpd - Win32 Release" RECURSE=1 CLEAN 302 cd "." 303 304!ELSEIF "$(CFG)" == "httpd - Win32 Debug" 305 306"libhttpd - Win32 Debug" : 307 cd "." 308 $(MAKE) /$(MAKEFLAGS) /F ".\libhttpd.mak" CFG="libhttpd - Win32 Debug" 309 cd "." 310 311"libhttpd - Win32 DebugCLEAN" : 312 cd "." 313 $(MAKE) /$(MAKEFLAGS) /F ".\libhttpd.mak" CFG="libhttpd - Win32 Debug" RECURSE=1 CLEAN 314 cd "." 315 316!ENDIF 317 318SOURCE=.\build\win32\httpd.rc 319 320!IF "$(CFG)" == "httpd - Win32 Release" 321 322 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) 325 326 327!ELSEIF "$(CFG)" == "httpd - Win32 Debug" 328 329 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) 332 333 334!ENDIF 335 336SOURCE=.\server\main.c 337 338"$(INTDIR)\main.obj" : $(SOURCE) "$(INTDIR)" 339 $(CPP) $(CPP_PROJ) $(SOURCE) 340 341 342 343!ENDIF 344 345