Remove building with NOCRYPTO option
[minix.git] / external / bsd / bind / dist / bin / tests / resolver / win32 / t_resolver.mak.in
blob770951ca983fe8eb37d0ee5d05e7c43ab931242f
1 # Microsoft Developer Studio Generated NMAKE File, Based on t_resolver.dsp
2 !IF "$(CFG)" == ""
3 CFG=t_resolver - @PLATFORM@ Debug
4 !MESSAGE No configuration specified. Defaulting to t_resolver - @PLATFORM@ Debug.
5 !ENDIF
7 !IF "$(CFG)" != "t_resolver - @PLATFORM@ Release" && "$(CFG)" != "t_resolver - @PLATFORM@ 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 "t_resolver.mak" CFG="t_resolver - @PLATFORM@ Debug"
13 !MESSAGE
14 !MESSAGE Possible choices for configuration are:
15 !MESSAGE
16 !MESSAGE "t_resolver - @PLATFORM@ Release" (based on "@PLATFORM@ (x86) Console Application")
17 !MESSAGE "t_resolver - @PLATFORM@ Debug" (based on "@PLATFORM@ (x86) Console Application")
18 !MESSAGE
19 !ERROR An invalid configuration is specified.
20 !ENDIF
22 !IF "$(OS)" == "Windows_NT"
23 NULL=
24 !ELSE
25 NULL=nul
26 !ENDIF
28 CPP=cl.exe
29 RSC=rc.exe
30 LIBXML=@LIBXML2_LIB@
32 !IF "$(CFG)" == "t_resolver - @PLATFORM@ Release"
33 _VC_MANIFEST_INC=0
34 _VC_MANIFEST_BASENAME=__VC80
35 !ELSE
36 _VC_MANIFEST_INC=1
37 _VC_MANIFEST_BASENAME=__VC80.Debug
38 !ENDIF
40 ####################################################
41 # Specifying name of temporary resource file used only in incremental builds:
43 !if "$(_VC_MANIFEST_INC)" == "1"
44 _VC_MANIFEST_AUTO_RES=$(_VC_MANIFEST_BASENAME).auto.res
45 !else
46 _VC_MANIFEST_AUTO_RES=
47 !endif
49 ####################################################
50 # _VC_MANIFEST_EMBED_EXE - command to embed manifest in EXE:
52 !if "$(_VC_MANIFEST_INC)" == "1"
54 #MT_SPECIAL_RETURN=1090650113
55 #MT_SPECIAL_SWITCH=-notify_resource_update
56 MT_SPECIAL_RETURN=0
57 MT_SPECIAL_SWITCH=
58 _VC_MANIFEST_EMBED_EXE= \
59 if exist $@.manifest mt.exe -manifest $@.manifest -out:$(_VC_MANIFEST_BASENAME).auto.manifest $(MT_SPECIAL_SWITCH) & \
60 if "%ERRORLEVEL%" == "$(MT_SPECIAL_RETURN)" \
61 rc /r $(_VC_MANIFEST_BASENAME).auto.rc & \
62 link $** /out:$@ $(LFLAGS)
64 !else
66 _VC_MANIFEST_EMBED_EXE= \
67 if exist $@.manifest mt.exe -manifest $@.manifest -outputresource:$@;1
69 !endif
71 ####################################################
72 # _VC_MANIFEST_EMBED_DLL - command to embed manifest in DLL:
74 !if "$(_VC_MANIFEST_INC)" == "1"
76 #MT_SPECIAL_RETURN=1090650113
77 #MT_SPECIAL_SWITCH=-notify_resource_update
78 MT_SPECIAL_RETURN=0
79 MT_SPECIAL_SWITCH=
80 _VC_MANIFEST_EMBED_EXE= \
81 if exist $@.manifest mt.exe -manifest $@.manifest -out:$(_VC_MANIFEST_BASENAME).auto.manifest $(MT_SPECIAL_SWITCH) & \
82 if "%ERRORLEVEL%" == "$(MT_SPECIAL_RETURN)" \
83 rc /r $(_VC_MANIFEST_BASENAME).auto.rc & \
84 link $** /out:$@ $(LFLAGS)
86 !else
88 _VC_MANIFEST_EMBED_EXE= \
89 if exist $@.manifest mt.exe -manifest $@.manifest -outputresource:$@;2
91 !endif
92 ####################################################
93 # _VC_MANIFEST_CLEAN - command to clean resources files generated temporarily:
95 !if "$(_VC_MANIFEST_INC)" == "1"
97 _VC_MANIFEST_CLEAN=-del $(_VC_MANIFEST_BASENAME).auto.res \
98 $(_VC_MANIFEST_BASENAME).auto.rc \
99 $(_VC_MANIFEST_BASENAME).auto.manifest
101 !else
103 _VC_MANIFEST_CLEAN=
105 !endif
107 !IF "$(CFG)" == "t_resolver - @PLATFORM@ Release"
109 OUTDIR=.\Release
110 INTDIR=.\Release
112 !IF "$(RECURSE)" == "0"
114 ALL : "..\..\..\..\Build\Release\t_resolver.exe"
116 !ELSE
118 ALL : "libtests - @PLATFORM@ Release" "libisc - @PLATFORM@ Release" "libdns - @PLATFORM@ Release" "..\..\..\..\Build\Release\t_resolver.exe"
120 !ENDIF
122 !IF "$(RECURSE)" == "1"
123 CLEAN :"libdns - @PLATFORM@ ReleaseCLEAN" "libisc - @PLATFORM@ ReleaseCLEAN" "libtests - @PLATFORM@ ReleaseCLEAN"
124 !ELSE
125 CLEAN :
126 !ENDIF
127 -@erase "$(INTDIR)\t_resolver.obj"
128 -@erase "$(INTDIR)\vc60.idb"
129 -@erase "..\..\..\..\Build\Release\t_resolver.exe"
130 -@$(_VC_MANIFEST_CLEAN)
132 "$(OUTDIR)" :
133 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
135 CPP_PROJ=/nologo /MD /W3 @COPTX@ @COPTI@ /O2 /I "./" /I "../../../../" @LIBXML2_INC@ @GEOIP_INC@ /I "../../../../lib/isc/win32" /I "../../../../lib/isc/win32/include" /I "../../../../lib/isc/include" /I "../../../../lib/dns/win32/include" /I "../../../../lib/dns/include" /I "../../../../lib/tests/include" /D "WIN32" /D "NDEBUG" /D "__STDC__" /D "_CONSOLE" /D "_MBCS" /Fp"$(INTDIR)\t_resolver.pch" @COPTY@ /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
136 BSC32=bscmake.exe
137 BSC32_FLAGS=/nologo /o"$(OUTDIR)\t_resolver.bsc"
138 BSC32_SBRS= \
140 LINK32=link.exe
141 LINK32_FLAGS=user32.lib advapi32.lib kernel32.lib ws2_32.lib ../../../../lib/isc/win32/Release/libisc.lib ../../../../lib/dns/win32/Release/libdns.lib ../../../../lib/tests/win32/Release/libtests.lib $(LIBXML) /nologo /subsystem:console /incremental:no /pdb:"$(OUTDIR)\t_resolver.pdb" @MACHINE@ /out:"../../../../Build/Release/t_resolver.exe"
142 LINK32_OBJS= \
143 "$(INTDIR)\t_resolver.obj" \
144 "..\..\..\..\lib\dns\win32\Release\libdns.lib" \
145 "..\..\..\..\lib\isc\win32\Release\libisc.lib" \
146 "..\..\..\..\lib\tests\win32\Release\libtests.lib"
148 "..\..\..\..\Build\Release\t_resolver.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
149 $(LINK32) @<<
150 $(LINK32_FLAGS) $(LINK32_OBJS)
152 $(_VC_MANIFEST_EMBED_EXE)
154 !ELSEIF "$(CFG)" == "t_resolver - @PLATFORM@ Debug"
156 OUTDIR=.\Debug
157 INTDIR=.\Debug
158 # Begin Custom Macros
159 OutDir=.\Debug
160 # End Custom Macros
162 !IF "$(RECURSE)" == "0"
164 ALL : "..\..\..\..\Build\Debug\t_resolver.exe" "$(OUTDIR)\t_resolver.bsc"
166 !ELSE
168 ALL : "libtests - @PLATFORM@ Debug" "libisc - @PLATFORM@ Debug" "libdns - @PLATFORM@ Debug" "..\..\..\..\Build\Debug\t_resolver.exe" "$(OUTDIR)\t_resolver.bsc"
170 !ENDIF
172 !IF "$(RECURSE)" == "1"
173 CLEAN :"libdns - @PLATFORM@ DebugCLEAN" "libisc - @PLATFORM@ DebugCLEAN" "libtests - @PLATFORM@ DebugCLEAN"
174 !ELSE
175 CLEAN :
176 !ENDIF
177 -@erase "$(INTDIR)\t_resolver.obj"
178 -@erase "$(INTDIR)\t_resolver.sbr"
179 -@erase "$(INTDIR)\vc60.idb"
180 -@erase "$(INTDIR)\vc60.pdb"
181 -@erase "$(OUTDIR)\t_resolver.bsc"
182 -@erase "$(OUTDIR)\t_resolver.map"
183 -@erase "$(OUTDIR)\t_resolver.pdb"
184 -@erase "..\..\..\..\Build\Debug\t_resolver.exe"
185 -@erase "..\..\..\..\Build\Debug\t_resolver.ilk"
186 -@$(_VC_MANIFEST_CLEAN)
188 "$(OUTDIR)" :
189 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
191 CPP_PROJ=/nologo /MDd /W3 /Gm @COPTX@ @COPTI@ /ZI /Od /I "./" /I "../../../../" @LIBXML2_INC@ @GEOIP_INC@ /I "../../../../lib/isc/win32" /I "../../../../lib/isc/win32/include" /I "../../../../lib/isc/include" /I "../../../../lib/dns/win32/include" /I "../../../../lib/dns/include" /I "../../../../lib/tests/include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D "i386" /FR"$(INTDIR)\\" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c
192 BSC32=bscmake.exe
193 BSC32_FLAGS=/nologo /o"$(OUTDIR)\t_resolver.bsc"
194 BSC32_SBRS= \
195 "$(INTDIR)\t_resolver.sbr"
197 "$(OUTDIR)\t_resolver.bsc" : "$(OUTDIR)" $(BSC32_SBRS)
198 $(BSC32) @<<
199 $(BSC32_FLAGS) $(BSC32_SBRS)
202 LINK32=link.exe
203 LINK32_FLAGS=user32.lib advapi32.lib kernel32.lib ws2_32.lib ../../../../lib/isc/win32/Debug/libisc.lib ../../../../lib/dns/win32/Debug/libdns.lib ../../../../lib/tests/win32/Debug/libtests.lib $(LIBXML) /nologo /subsystem:console /incremental:yes /pdb:"$(OUTDIR)\t_resolver.pdb" /map:"$(INTDIR)\t_resolver.map" /debug @MACHINE@ /out:"../../../../Build/Debug/t_resolver.exe" /pdbtype:sept
204 LINK32_OBJS= \
205 "$(INTDIR)\t_resolver.obj" \
206 "..\..\..\..\lib\dns\win32\Debug\libdns.lib" \
207 "..\..\..\..\lib\isc\win32\Debug\libisc.lib" \
208 "..\..\..\..\lib\tests\win32\Debug\libtests.lib"
210 "..\..\..\..\Build\Debug\t_resolver.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
211 $(LINK32) @<<
212 $(LINK32_FLAGS) $(LINK32_OBJS)
214 $(_VC_MANIFEST_EMBED_EXE)
216 !ENDIF
218 .c{$(INTDIR)}.obj::
219 $(CPP) @<<
220 $(CPP_PROJ) $<
223 .cpp{$(INTDIR)}.obj::
224 $(CPP) @<<
225 $(CPP_PROJ) $<
228 .cxx{$(INTDIR)}.obj::
229 $(CPP) @<<
230 $(CPP_PROJ) $<
233 .c{$(INTDIR)}.sbr::
234 $(CPP) @<<
235 $(CPP_PROJ) $<
238 .cpp{$(INTDIR)}.sbr::
239 $(CPP) @<<
240 $(CPP_PROJ) $<
243 .cxx{$(INTDIR)}.sbr::
244 $(CPP) @<<
245 $(CPP_PROJ) $<
249 !IF "$(NO_EXTERNAL_DEPS)" != "1"
250 !IF EXISTS("t_resolver.dep")
251 !INCLUDE "t_resolver.dep"
252 !ELSE
253 !MESSAGE Warning: cannot find "t_resolver.dep"
254 !ENDIF
255 !ENDIF
258 !IF "$(CFG)" == "t_resolver - @PLATFORM@ Release" || "$(CFG)" == "t_resolver - @PLATFORM@ Debug"
259 SOURCE=..\t_resolver.c
261 !IF "$(CFG)" == "t_resolver - @PLATFORM@ Release"
264 "$(INTDIR)\t_resolver.obj" : $(SOURCE) "$(INTDIR)"
265 $(CPP) $(CPP_PROJ) $(SOURCE)
268 !ELSEIF "$(CFG)" == "t_resolver - @PLATFORM@ Debug"
271 "$(INTDIR)\t_resolver.obj" "$(INTDIR)\t_resolver.sbr" : $(SOURCE) "$(INTDIR)"
272 $(CPP) $(CPP_PROJ) $(SOURCE)
275 !ENDIF
277 !IF "$(CFG)" == "t_resolver - @PLATFORM@ Release"
279 "libdns - @PLATFORM@ Release" :
280 cd "..\..\..\..\lib\dns\win32"
281 $(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - @PLATFORM@ Release"
282 cd "..\..\..\bin\tests\resolver\win32"
284 "libdns - @PLATFORM@ ReleaseCLEAN" :
285 cd "..\..\..\..\lib\dns\win32"
286 $(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - @PLATFORM@ Release" RECURSE=1 CLEAN
287 cd "..\..\..\bin\tests\resolver\win32"
289 !ELSEIF "$(CFG)" == "t_resolver - @PLATFORM@ Debug"
291 "libdns - @PLATFORM@ Debug" :
292 cd "..\..\..\..\lib\dns\win32"
293 $(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - @PLATFORM@ Debug"
294 cd "..\..\..\bin\tests\resolver\win32"
296 "libdns - @PLATFORM@ DebugCLEAN" :
297 cd "..\..\..\..\lib\dns\win32"
298 $(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - @PLATFORM@ Debug" RECURSE=1 CLEAN
299 cd "..\..\..\bin\tests\resolver\win32"
301 !ENDIF
303 !IF "$(CFG)" == "t_resolver - @PLATFORM@ Release"
305 "libisc - @PLATFORM@ Release" :
306 cd "..\..\..\..\lib\isc\win32"
307 $(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - @PLATFORM@ Release"
308 cd "..\..\..\bin\tests\resolver\win32"
310 "libisc - @PLATFORM@ ReleaseCLEAN" :
311 cd "..\..\..\..\lib\isc\win32"
312 $(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - @PLATFORM@ Release" RECURSE=1 CLEAN
313 cd "..\..\..\bin\tests\resolver\win32"
315 !ELSEIF "$(CFG)" == "t_resolver - @PLATFORM@ Debug"
317 "libisc - @PLATFORM@ Debug" :
318 cd "..\..\..\..\lib\isc\win32"
319 $(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - @PLATFORM@ Debug"
320 cd "..\..\..\bin\tests\resolver\win32"
322 "libisc - @PLATFORM@ DebugCLEAN" :
323 cd "..\..\..\..\lib\isc\win32"
324 $(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - @PLATFORM@ Debug" RECURSE=1 CLEAN
325 cd "..\..\..\bin\tests\resolver\win32"
327 !ENDIF
329 !IF "$(CFG)" == "t_resolver - @PLATFORM@ Release"
331 "libtests - @PLATFORM@ Release" :
332 cd "..\..\..\..\lib\tests\win32"
333 $(MAKE) /$(MAKEFLAGS) /F ".\libtests.mak" CFG="libtests - @PLATFORM@ Release"
334 cd "..\..\..\bin\tests\resolver\win32"
336 "libtests - @PLATFORM@ ReleaseCLEAN" :
337 cd "..\..\..\..\lib\tests\win32"
338 $(MAKE) /$(MAKEFLAGS) /F ".\libtests.mak" CFG="libtests - @PLATFORM@ Release" RECURSE=1 CLEAN
339 cd "..\..\..\bin\tests\resolver\win32"
341 !ELSEIF "$(CFG)" == "t_resolver - @PLATFORM@ Debug"
343 "libtests - @PLATFORM@ Debug" :
344 cd "..\..\..\..\lib\tests\win32"
345 $(MAKE) /$(MAKEFLAGS) /F ".\libtests.mak" CFG="libtests - @PLATFORM@ Debug"
346 cd "..\..\..\bin\tests\resolver\win32"
348 "libtests - @PLATFORM@ DebugCLEAN" :
349 cd "..\..\..\..\lib\tests\win32"
350 $(MAKE) /$(MAKEFLAGS) /F ".\libtests.mak" CFG="libtests - @PLATFORM@ Debug" RECURSE=1 CLEAN
351 cd "..\..\..\bin\tests\resolver\win32"
353 !ENDIF
356 !ENDIF
358 ####################################################
359 # Commands to generate initial empty manifest file and the RC file
360 # that references it, and for generating the .res file:
362 $(_VC_MANIFEST_BASENAME).auto.res : $(_VC_MANIFEST_BASENAME).auto.rc
364 $(_VC_MANIFEST_BASENAME).auto.rc : $(_VC_MANIFEST_BASENAME).auto.manifest
365 type <<$@
366 #include <winuser.h>
367 1RT_MANIFEST"$(_VC_MANIFEST_BASENAME).auto.manifest"
368 << KEEP
370 $(_VC_MANIFEST_BASENAME).auto.manifest :
371 type <<$@
372 <?xml version='1.0' encoding='UTF-8' standalone='yes'?>
373 <assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
374 </assembly>
375 << KEEP