]> granicus.if.org Git - apache/blob - libhttpd.mak
As a debugging aid, report which version of the beos code we're using and
[apache] / libhttpd.mak
1 # Microsoft Developer Studio Generated NMAKE File, Based on libhttpd.dsp
2 !IF "$(CFG)" == ""
3 CFG=libhttpd - Win32 Release
4 !MESSAGE No configuration specified. Defaulting to libhttpd - Win32 Release.
5 !ENDIF 
6
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:
12 !MESSAGE 
13 !MESSAGE NMAKE /f "libhttpd.mak" CFG="libhttpd - Win32 Release"
14 !MESSAGE 
15 !MESSAGE Possible choices for configuration are:
16 !MESSAGE 
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")
20 !MESSAGE 
21 !ERROR An invalid configuration is specified.
22 !ENDIF 
23
24 !IF "$(OS)" == "Windows_NT"
25 NULL=
26 !ELSE 
27 NULL=nul
28 !ENDIF 
29
30 !IF  "$(CFG)" == "libhttpd - Win32 Release"
31
32 OUTDIR=.\Release
33 INTDIR=.\Release
34 # Begin Custom Macros
35 OutDir=.\Release
36 # End Custom Macros
37
38 !IF "$(RECURSE)" == "0" 
39
40 ALL : "$(OUTDIR)\libhttpd.dll"
41
42 !ELSE 
43
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"
47
48 !ENDIF 
49
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" 
54 !ELSE 
55 CLEAN :
56 !ENDIF 
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"
63
64 "$(OUTDIR)" :
65     if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
66
67 CPP=cl.exe
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 
71 CPP_OBJS=.\Release/
72 CPP_SBRS=.
73
74 .c{$(CPP_OBJS)}.obj::
75    $(CPP) @<<
76    $(CPP_PROJ) $< 
77 <<
78
79 .cpp{$(CPP_OBJS)}.obj::
80    $(CPP) @<<
81    $(CPP_PROJ) $< 
82 <<
83
84 .cxx{$(CPP_OBJS)}.obj::
85    $(CPP) @<<
86    $(CPP_PROJ) $< 
87 <<
88
89 .c{$(CPP_SBRS)}.sbr::
90    $(CPP) @<<
91    $(CPP_PROJ) $< 
92 <<
93
94 .cpp{$(CPP_SBRS)}.sbr::
95    $(CPP) @<<
96    $(CPP_PROJ) $< 
97 <<
98
99 .cxx{$(CPP_SBRS)}.sbr::
100    $(CPP) @<<
101    $(CPP_PROJ) $< 
102 <<
103
104 MTL=midl.exe
105 MTL_PROJ=/nologo /D "NDEBUG" /mktyplib203 /win32 
106 RSC=rc.exe
107 BSC32=bscmake.exe
108 BSC32_FLAGS=/nologo /o"$(OUTDIR)\libhttpd.bsc" 
109 BSC32_SBRS= \
110         
111 LINK32=link.exe
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 
117 DEF_FILE= \
118         ".\libhttpd.def"
119 LINK32_OBJS= \
120         "$(INTDIR)\libhttpd.obj" \
121         ".\LibR\httpd.lib" \
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"
127
128 "$(OUTDIR)\libhttpd.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
129     $(LINK32) @<<
130   $(LINK32_FLAGS) $(LINK32_OBJS)
131 <<
132
133 !ELSEIF  "$(CFG)" == "libhttpd - Win32 Debug"
134
135 OUTDIR=.\Debug
136 INTDIR=.\Debug
137 # Begin Custom Macros
138 OutDir=.\Debug
139 # End Custom Macros
140
141 !IF "$(RECURSE)" == "0" 
142
143 ALL : "$(OUTDIR)\libhttpd.dll"
144
145 !ELSE 
146
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"
150
151 !ENDIF 
152
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" 
157 !ELSE 
158 CLEAN :
159 !ENDIF 
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"
167
168 "$(OUTDIR)" :
169     if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
170
171 CPP=cl.exe
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 
175 CPP_OBJS=.\Debug/
176 CPP_SBRS=.
177
178 .c{$(CPP_OBJS)}.obj::
179    $(CPP) @<<
180    $(CPP_PROJ) $< 
181 <<
182
183 .cpp{$(CPP_OBJS)}.obj::
184    $(CPP) @<<
185    $(CPP_PROJ) $< 
186 <<
187
188 .cxx{$(CPP_OBJS)}.obj::
189    $(CPP) @<<
190    $(CPP_PROJ) $< 
191 <<
192
193 .c{$(CPP_SBRS)}.sbr::
194    $(CPP) @<<
195    $(CPP_PROJ) $< 
196 <<
197
198 .cpp{$(CPP_SBRS)}.sbr::
199    $(CPP) @<<
200    $(CPP_PROJ) $< 
201 <<
202
203 .cxx{$(CPP_SBRS)}.sbr::
204    $(CPP) @<<
205    $(CPP_PROJ) $< 
206 <<
207
208 MTL=midl.exe
209 MTL_PROJ=/nologo /D "_DEBUG" /mktyplib203 /win32 
210 RSC=rc.exe
211 BSC32=bscmake.exe
212 BSC32_FLAGS=/nologo /o"$(OUTDIR)\libhttpd.bsc" 
213 BSC32_SBRS= \
214         
215 LINK32=link.exe
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 
221 DEF_FILE= \
222         ".\libhttpd.def"
223 LINK32_OBJS= \
224         "$(INTDIR)\libhttpd.obj" \
225         ".\LibD\httpd.lib" \
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"
231
232 "$(OUTDIR)\libhttpd.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
233     $(LINK32) @<<
234   $(LINK32_FLAGS) $(LINK32_OBJS)
235 <<
236
237 !ENDIF 
238
239
240 !IF "$(CFG)" == "libhttpd - Win32 Release" || "$(CFG)" ==\
241  "libhttpd - Win32 Debug"
242
243 !IF  "$(CFG)" == "libhttpd - Win32 Release"
244
245 "libapr - Win32 Release" : 
246    cd ".\srclib\apr"
247    $(MAKE) /$(MAKEFLAGS) /F ".\libapr.mak" CFG="libapr - Win32 Release" 
248    cd "..\.."
249
250 "libapr - Win32 ReleaseCLEAN" : 
251    cd ".\srclib\apr"
252    $(MAKE) /$(MAKEFLAGS) CLEAN /F ".\libapr.mak" CFG="libapr - Win32 Release"\
253  RECURSE=1 
254    cd "..\.."
255
256 !ELSEIF  "$(CFG)" == "libhttpd - Win32 Debug"
257
258 "libapr - Win32 Debug" : 
259    cd ".\srclib\apr"
260    $(MAKE) /$(MAKEFLAGS) /F ".\libapr.mak" CFG="libapr - Win32 Debug" 
261    cd "..\.."
262
263 "libapr - Win32 DebugCLEAN" : 
264    cd ".\srclib\apr"
265    $(MAKE) /$(MAKEFLAGS) CLEAN /F ".\libapr.mak" CFG="libapr - Win32 Debug"\
266  RECURSE=1 
267    cd "..\.."
268
269 !ENDIF 
270
271 !IF  "$(CFG)" == "libhttpd - Win32 Release"
272
273 "pcre - Win32 Release" : 
274    cd ".\srclib\pcre"
275    $(MAKE) /$(MAKEFLAGS) /F ".\pcre.mak" CFG="pcre - Win32 Release" 
276    cd "..\.."
277
278 "pcre - Win32 ReleaseCLEAN" : 
279    cd ".\srclib\pcre"
280    $(MAKE) /$(MAKEFLAGS) CLEAN /F ".\pcre.mak" CFG="pcre - Win32 Release"\
281  RECURSE=1 
282    cd "..\.."
283
284 !ELSEIF  "$(CFG)" == "libhttpd - Win32 Debug"
285
286 "pcre - Win32 Debug" : 
287    cd ".\srclib\pcre"
288    $(MAKE) /$(MAKEFLAGS) /F ".\pcre.mak" CFG="pcre - Win32 Debug" 
289    cd "..\.."
290
291 "pcre - Win32 DebugCLEAN" : 
292    cd ".\srclib\pcre"
293    $(MAKE) /$(MAKEFLAGS) CLEAN /F ".\pcre.mak" CFG="pcre - Win32 Debug"\
294  RECURSE=1 
295    cd "..\.."
296
297 !ENDIF 
298
299 !IF  "$(CFG)" == "libhttpd - Win32 Release"
300
301 "pcreposix - Win32 Release" : 
302    cd ".\srclib\pcre"
303    $(MAKE) /$(MAKEFLAGS) /F ".\pcreposix.mak" CFG="pcreposix - Win32 Release" 
304    cd "..\.."
305
306 "pcreposix - Win32 ReleaseCLEAN" : 
307    cd ".\srclib\pcre"
308    $(MAKE) /$(MAKEFLAGS) CLEAN /F ".\pcreposix.mak"\
309  CFG="pcreposix - Win32 Release" RECURSE=1 
310    cd "..\.."
311
312 !ELSEIF  "$(CFG)" == "libhttpd - Win32 Debug"
313
314 "pcreposix - Win32 Debug" : 
315    cd ".\srclib\pcre"
316    $(MAKE) /$(MAKEFLAGS) /F ".\pcreposix.mak" CFG="pcreposix - Win32 Debug" 
317    cd "..\.."
318
319 "pcreposix - Win32 DebugCLEAN" : 
320    cd ".\srclib\pcre"
321    $(MAKE) /$(MAKEFLAGS) CLEAN /F ".\pcreposix.mak"\
322  CFG="pcreposix - Win32 Debug" RECURSE=1 
323    cd "..\.."
324
325 !ENDIF 
326
327 !IF  "$(CFG)" == "libhttpd - Win32 Release"
328
329 "httpd - Win32 Release" : 
330    cd "."
331    $(MAKE) /$(MAKEFLAGS) /F ".\httpd.mak" CFG="httpd - Win32 Release" 
332    cd "."
333
334 "httpd - Win32 ReleaseCLEAN" : 
335    cd "."
336    $(MAKE) /$(MAKEFLAGS) CLEAN /F ".\httpd.mak" CFG="httpd - Win32 Release"\
337  RECURSE=1 
338    cd "."
339
340 !ELSEIF  "$(CFG)" == "libhttpd - Win32 Debug"
341
342 "httpd - Win32 Debug" : 
343    cd "."
344    $(MAKE) /$(MAKEFLAGS) /F ".\httpd.mak" CFG="httpd - Win32 Debug" 
345    cd "."
346
347 "httpd - Win32 DebugCLEAN" : 
348    cd "."
349    $(MAKE) /$(MAKEFLAGS) CLEAN /F ".\httpd.mak" CFG="httpd - Win32 Debug"\
350  RECURSE=1 
351    cd "."
352
353 !ENDIF 
354
355 !IF  "$(CFG)" == "libhttpd - Win32 Release"
356
357 "libexpat - Win32 Release" : 
358    cd ".\srclib\expat-lite"
359    $(MAKE) /$(MAKEFLAGS) /F ".\libexpat.mak" CFG="libexpat - Win32 Release" 
360    cd "..\.."
361
362 "libexpat - Win32 ReleaseCLEAN" : 
363    cd ".\srclib\expat-lite"
364    $(MAKE) /$(MAKEFLAGS) CLEAN /F ".\libexpat.mak"\
365  CFG="libexpat - Win32 Release" RECURSE=1 
366    cd "..\.."
367
368 !ELSEIF  "$(CFG)" == "libhttpd - Win32 Debug"
369
370 "libexpat - Win32 Debug" : 
371    cd ".\srclib\expat-lite"
372    $(MAKE) /$(MAKEFLAGS) /F ".\libexpat.mak" CFG="libexpat - Win32 Debug" 
373    cd "..\.."
374
375 "libexpat - Win32 DebugCLEAN" : 
376    cd ".\srclib\expat-lite"
377    $(MAKE) /$(MAKEFLAGS) CLEAN /F ".\libexpat.mak" CFG="libexpat - Win32 Debug"\
378  RECURSE=1 
379    cd "..\.."
380
381 !ENDIF 
382
383 !IF  "$(CFG)" == "libhttpd - Win32 Release"
384
385 "libaprutil - Win32 Release" : 
386    cd ".\srclib\apr-util"
387    $(MAKE) /$(MAKEFLAGS) /F ".\libaprutil.mak" CFG="libaprutil - Win32 Release"\
388  
389    cd "..\.."
390
391 "libaprutil - Win32 ReleaseCLEAN" : 
392    cd ".\srclib\apr-util"
393    $(MAKE) /$(MAKEFLAGS) CLEAN /F ".\libaprutil.mak"\
394  CFG="libaprutil - Win32 Release" RECURSE=1 
395    cd "..\.."
396
397 !ELSEIF  "$(CFG)" == "libhttpd - Win32 Debug"
398
399 "libaprutil - Win32 Debug" : 
400    cd ".\srclib\apr-util"
401    $(MAKE) /$(MAKEFLAGS) /F ".\libaprutil.mak" CFG="libaprutil - Win32 Debug" 
402    cd "..\.."
403
404 "libaprutil - Win32 DebugCLEAN" : 
405    cd ".\srclib\apr-util"
406    $(MAKE) /$(MAKEFLAGS) CLEAN /F ".\libaprutil.mak"\
407  CFG="libaprutil - Win32 Debug" RECURSE=1 
408    cd "..\.."
409
410 !ENDIF 
411
412 SOURCE=.\os\win32\libhttpd.c
413
414 "$(INTDIR)\libhttpd.obj" : $(SOURCE) "$(INTDIR)"
415         $(CPP) $(CPP_PROJ) $(SOURCE)
416
417
418
419 !ENDIF 
420