Remove building with NOCRYPTO option
[minix.git] / external / bsd / bind / dist / bin / dig / win32 / dig.mak.in
blob62899f1c0df4578ba76a3b7b0cd122ae7c91c489
1 # Microsoft Developer Studio Generated NMAKE File, Based on dig.dsp
2 !IF "$(CFG)" == ""
3 CFG=dig - @PLATFORM@ Debug
4 !MESSAGE No configuration specified. Defaulting to dig - @PLATFORM@ Debug.
5 !ENDIF
7 !IF "$(CFG)" != "dig - @PLATFORM@ Release" && "$(CFG)" != "dig - @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 "dig.mak" CFG="dig - @PLATFORM@ Debug"
13 !MESSAGE
14 !MESSAGE Possible choices for configuration are:
15 !MESSAGE
16 !MESSAGE "dig - @PLATFORM@ Release" (based on "@PLATFORM@ (x86) Console Application")
17 !MESSAGE "dig - @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
31 !IF "$(CFG)" == "dig - @PLATFORM@ Release"
32 _VC_MANIFEST_INC=0
33 _VC_MANIFEST_BASENAME=__VC80
34 !ELSE
35 _VC_MANIFEST_INC=1
36 _VC_MANIFEST_BASENAME=__VC80.Debug
37 !ENDIF
39 ####################################################
40 # Specifying name of temporary resource file used only in incremental builds:
42 !if "$(_VC_MANIFEST_INC)" == "1"
43 _VC_MANIFEST_AUTO_RES=$(_VC_MANIFEST_BASENAME).auto.res
44 !else
45 _VC_MANIFEST_AUTO_RES=
46 !endif
48 ####################################################
49 # _VC_MANIFEST_EMBED_EXE - command to embed manifest in EXE:
51 !if "$(_VC_MANIFEST_INC)" == "1"
53 #MT_SPECIAL_RETURN=1090650113
54 #MT_SPECIAL_SWITCH=-notify_resource_update
55 MT_SPECIAL_RETURN=0
56 MT_SPECIAL_SWITCH=
57 _VC_MANIFEST_EMBED_EXE= \
58 if exist $@.manifest mt.exe -manifest $@.manifest -out:$(_VC_MANIFEST_BASENAME).auto.manifest $(MT_SPECIAL_SWITCH) & \
59 if "%ERRORLEVEL%" == "$(MT_SPECIAL_RETURN)" \
60 rc /r $(_VC_MANIFEST_BASENAME).auto.rc & \
61 link $** /out:$@ $(LFLAGS)
63 !else
65 _VC_MANIFEST_EMBED_EXE= \
66 if exist $@.manifest mt.exe -manifest $@.manifest -outputresource:$@;1
68 !endif
70 ####################################################
71 # _VC_MANIFEST_EMBED_DLL - command to embed manifest in DLL:
73 !if "$(_VC_MANIFEST_INC)" == "1"
75 #MT_SPECIAL_RETURN=1090650113
76 #MT_SPECIAL_SWITCH=-notify_resource_update
77 MT_SPECIAL_RETURN=0
78 MT_SPECIAL_SWITCH=
79 _VC_MANIFEST_EMBED_EXE= \
80 if exist $@.manifest mt.exe -manifest $@.manifest -out:$(_VC_MANIFEST_BASENAME).auto.manifest $(MT_SPECIAL_SWITCH) & \
81 if "%ERRORLEVEL%" == "$(MT_SPECIAL_RETURN)" \
82 rc /r $(_VC_MANIFEST_BASENAME).auto.rc & \
83 link $** /out:$@ $(LFLAGS)
85 !else
87 _VC_MANIFEST_EMBED_EXE= \
88 if exist $@.manifest mt.exe -manifest $@.manifest -outputresource:$@;2
90 !endif
91 ####################################################
92 # _VC_MANIFEST_CLEAN - command to clean resources files generated temporarily:
94 !if "$(_VC_MANIFEST_INC)" == "1"
96 _VC_MANIFEST_CLEAN=-del $(_VC_MANIFEST_BASENAME).auto.res \
97 $(_VC_MANIFEST_BASENAME).auto.rc \
98 $(_VC_MANIFEST_BASENAME).auto.manifest
100 !else
102 _VC_MANIFEST_CLEAN=
104 !endif
106 !IF "$(CFG)" == "dig - @PLATFORM@ Release"
108 OUTDIR=.\Release
109 INTDIR=.\Release
111 !IF "$(RECURSE)" == "0"
113 ALL : "..\..\..\Build\Release\dig.exe"
115 !ELSE
117 ALL : "liblwres - @PLATFORM@ Release" "libbind9 - @PLATFORM@ Release" "libisc - @PLATFORM@ Release" "libdns - @PLATFORM@ Release" "..\..\..\Build\Release\dig.exe"
119 !ENDIF
121 !IF "$(RECURSE)" == "1"
122 CLEAN :"libdns - @PLATFORM@ ReleaseCLEAN" "libisc - @PLATFORM@ ReleaseCLEAN" "libbind9 - @PLATFORM@ ReleaseCLEAN" "liblwres - @PLATFORM@ ReleaseCLEAN"
123 !ELSE
124 CLEAN :
125 !ENDIF
126 -@erase "$(INTDIR)\dig.obj"
127 -@erase "$(INTDIR)\dighost.obj"
128 -@erase "$(INTDIR)\vc60.idb"
129 -@erase "..\..\..\Build\Release\dig.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 "../include" /I "../../../" @LIBXML2_INC@ @OPENSSL_INC@ @IDN_INC@ /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isccfg/include" /I "../../../lib/dns/include" /I "../../../lib/bind9/include" /I "../../../lib/lwres/win32/include" /I "../../../lib/lwres/include" /D "WIN32" /D "__STDC__" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /Fp"$(INTDIR)\dig.pch" @COPTY@ /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
136 BSC32=bscmake.exe
137 BSC32_FLAGS=/nologo /o"$(OUTDIR)\dig.bsc"
138 BSC32_SBRS= \
140 LINK32=link.exe
141 LINK32_FLAGS=user32.lib advapi32.lib ws2_32.lib ../../../lib/isc/win32/Release/libisc.lib ../../../lib/isccfg/win32/Release/libisccfg.lib ../../../lib/dns/win32/Release/libdns.lib ../../../lib/bind9/win32/Release/libbind9.lib ../../../lib/lwres/win32/Release/liblwres.lib @IDN_LIB@ /nologo /subsystem:console /incremental:no /pdb:"$(OUTDIR)\dig.pdb" @MACHINE@ /out:"../../../Build/Release/dig.exe"
142 LINK32_OBJS= \
143 "$(INTDIR)\dig.obj" \
144 "$(INTDIR)\dighost.obj" \
145 "..\..\..\lib\dns\win32\Release\libdns.lib" \
146 "..\..\..\lib\isc\win32\Release\libisc.lib" \
147 "..\..\..\lib\isccfg\win32\Release\libisccfg.lib" \
148 "..\..\..\lib\bind9\win32\Release\libbind9.lib" \
149 "..\..\..\lib\lwres\win32\Release\liblwres.lib"
151 "..\..\..\Build\Release\dig.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
152 $(LINK32) @<<
153 $(LINK32_FLAGS) $(LINK32_OBJS)
155 $(_VC_MANIFEST_EMBED_EXE)
157 !ELSEIF "$(CFG)" == "dig - @PLATFORM@ Debug"
159 OUTDIR=.\Debug
160 INTDIR=.\Debug
161 # Begin Custom Macros
162 OutDir=.\Debug
163 # End Custom Macros
165 !IF "$(RECURSE)" == "0"
167 ALL : "..\..\..\Build\Debug\dig.exe" "$(OUTDIR)\dig.bsc"
169 !ELSE
171 ALL : "liblwres - @PLATFORM@ Debug" "libbind9 - @PLATFORM@ Debug" "libisc - @PLATFORM@ Debug" "libdns - @PLATFORM@ Debug" "..\..\..\Build\Debug\dig.exe" "$(OUTDIR)\dig.bsc"
173 !ENDIF
175 !IF "$(RECURSE)" == "1"
176 CLEAN :"libdns - @PLATFORM@ DebugCLEAN" "libisc - @PLATFORM@ DebugCLEAN" "libbind9 - @PLATFORM@ DebugCLEAN" "liblwres - @PLATFORM@ DebugCLEAN"
177 !ELSE
178 CLEAN :
179 !ENDIF
180 -@erase "$(INTDIR)\dig.obj"
181 -@erase "$(INTDIR)\dig.sbr"
182 -@erase "$(INTDIR)\dighost.obj"
183 -@erase "$(INTDIR)\dighost.sbr"
184 -@erase "$(INTDIR)\vc60.idb"
185 -@erase "$(INTDIR)\vc60.pdb"
186 -@erase "$(OUTDIR)\dig.bsc"
187 -@erase "$(OUTDIR)\dig.pdb"
188 -@erase "..\..\..\Build\Debug\dig.exe"
189 -@erase "..\..\..\Build\Debug\dig.ilk"
190 -@$(_VC_MANIFEST_CLEAN)
192 "$(OUTDIR)" :
193 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
195 CPP_PROJ=/nologo /MDd /W3 /Gm @COPTX@ @COPTI@ /ZI /Od /I "./" /I "../include" /I "../../../" @LIBXML2_INC@ @OPENSSL_INC@ @IDN_INC@ /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isccfg/include" /I "../../../lib/dns/include" /I "../../../lib/bind9/include" /I "../../../lib/lwres/win32/include" /I "../../../lib/lwres/include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FR"$(INTDIR)\\" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c
196 BSC32=bscmake.exe
197 BSC32_FLAGS=/nologo /o"$(OUTDIR)\dig.bsc"
198 BSC32_SBRS= \
199 "$(INTDIR)\dig.sbr" \
200 "$(INTDIR)\dighost.sbr"
202 "$(OUTDIR)\dig.bsc" : "$(OUTDIR)" $(BSC32_SBRS)
203 $(BSC32) @<<
204 $(BSC32_FLAGS) $(BSC32_SBRS)
207 LINK32=link.exe
208 LINK32_FLAGS=user32.lib advapi32.lib ws2_32.lib ../../../lib/isc/win32/Debug/libisc.lib ../../../lib/isccfg/win32/Debug/libisccfg.lib ../../../lib/dns/win32/Debug/libdns.lib ../../../lib/bind9/win32/Debug/libbind9.lib ../../../lib/lwres/win32/Debug/liblwres.lib @IDN_LIB@ /nologo /subsystem:console /incremental:yes /pdb:"$(OUTDIR)\dig.pdb" /debug @MACHINE@ /out:"../../../Build/Debug/dig.exe" /pdbtype:sept
209 LINK32_OBJS= \
210 "$(INTDIR)\dig.obj" \
211 "$(INTDIR)\dighost.obj" \
212 "..\..\..\lib\dns\win32\Debug\libdns.lib" \
213 "..\..\..\lib\isc\win32\Debug\libisc.lib" \
214 "..\..\..\lib\isccfg\win32\Debug\libisccfg.lib" \
215 "..\..\..\lib\bind9\win32\Debug\libbind9.lib" \
216 "..\..\..\lib\lwres\win32\Debug\liblwres.lib"
218 "..\..\..\Build\Debug\dig.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
219 $(LINK32) @<<
220 $(LINK32_FLAGS) $(LINK32_OBJS)
222 $(_VC_MANIFEST_EMBED_EXE)
224 !ENDIF
226 .c{$(INTDIR)}.obj::
227 $(CPP) @<<
228 $(CPP_PROJ) $<
231 .cpp{$(INTDIR)}.obj::
232 $(CPP) @<<
233 $(CPP_PROJ) $<
236 .cxx{$(INTDIR)}.obj::
237 $(CPP) @<<
238 $(CPP_PROJ) $<
241 .c{$(INTDIR)}.sbr::
242 $(CPP) @<<
243 $(CPP_PROJ) $<
246 .cpp{$(INTDIR)}.sbr::
247 $(CPP) @<<
248 $(CPP_PROJ) $<
251 .cxx{$(INTDIR)}.sbr::
252 $(CPP) @<<
253 $(CPP_PROJ) $<
257 !IF "$(NO_EXTERNAL_DEPS)" != "1"
258 !IF EXISTS("dig.dep")
259 !INCLUDE "dig.dep"
260 !ELSE
261 !MESSAGE Warning: cannot find "dig.dep"
262 !ENDIF
263 !ENDIF
266 !IF "$(CFG)" == "dig - @PLATFORM@ Release" || "$(CFG)" == "dig - @PLATFORM@ Debug"
267 SOURCE=..\dig.c
269 !IF "$(CFG)" == "dig - @PLATFORM@ Release"
272 "$(INTDIR)\dig.obj" : $(SOURCE) "$(INTDIR)"
273 $(CPP) $(CPP_PROJ) $(SOURCE)
276 !ELSEIF "$(CFG)" == "dig - @PLATFORM@ Debug"
279 "$(INTDIR)\dig.obj" "$(INTDIR)\dig.sbr" : $(SOURCE) "$(INTDIR)"
280 $(CPP) $(CPP_PROJ) $(SOURCE)
283 !ENDIF
285 SOURCE=..\dighost.c
287 !IF "$(CFG)" == "dig - @PLATFORM@ Release"
290 "$(INTDIR)\dighost.obj" : $(SOURCE) "$(INTDIR)"
291 $(CPP) $(CPP_PROJ) $(SOURCE)
294 !ELSEIF "$(CFG)" == "dig - @PLATFORM@ Debug"
297 "$(INTDIR)\dighost.obj" "$(INTDIR)\dighost.sbr" : $(SOURCE) "$(INTDIR)"
298 $(CPP) $(CPP_PROJ) $(SOURCE)
301 !ENDIF
303 !IF "$(CFG)" == "dig - @PLATFORM@ Release"
305 "libdns - @PLATFORM@ Release" :
306 cd "..\..\..\lib\dns\win32"
307 $(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - @PLATFORM@ Release"
308 cd "..\..\..\bin\dig\win32"
310 "libdns - @PLATFORM@ ReleaseCLEAN" :
311 cd "..\..\..\lib\dns\win32"
312 $(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - @PLATFORM@ Release" RECURSE=1 CLEAN
313 cd "..\..\..\bin\dig\win32"
315 !ELSEIF "$(CFG)" == "dig - @PLATFORM@ Debug"
317 "libdns - @PLATFORM@ Debug" :
318 cd "..\..\..\lib\dns\win32"
319 $(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - @PLATFORM@ Debug"
320 cd "..\..\..\bin\dig\win32"
322 "libdns - @PLATFORM@ DebugCLEAN" :
323 cd "..\..\..\lib\dns\win32"
324 $(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - @PLATFORM@ Debug" RECURSE=1 CLEAN
325 cd "..\..\..\bin\dig\win32"
327 !ENDIF
329 !IF "$(CFG)" == "dig - @PLATFORM@ Release"
331 "libisc - @PLATFORM@ Release" :
332 cd "..\..\..\lib\isc\win32"
333 $(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - @PLATFORM@ Release"
334 cd "..\..\..\bin\dig\win32"
336 "libisc - @PLATFORM@ ReleaseCLEAN" :
337 cd "..\..\..\lib\isc\win32"
338 $(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - @PLATFORM@ Release" RECURSE=1 CLEAN
339 cd "..\..\..\bin\dig\win32"
341 !ELSEIF "$(CFG)" == "dig - @PLATFORM@ Debug"
343 "libisc - @PLATFORM@ Debug" :
344 cd "..\..\..\lib\isc\win32"
345 $(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - @PLATFORM@ Debug"
346 cd "..\..\..\bin\dig\win32"
348 "libisc - @PLATFORM@ DebugCLEAN" :
349 cd "..\..\..\lib\isc\win32"
350 $(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - @PLATFORM@ Debug" RECURSE=1 CLEAN
351 cd "..\..\..\bin\dig\win32"
353 !ENDIF
355 !IF "$(CFG)" == "dig - @PLATFORM@ Release"
357 "libbind9 - @PLATFORM@ Release" :
358 cd "..\..\..\lib\bind9\win32"
359 $(MAKE) /$(MAKEFLAGS) /F ".\libbind9.mak" CFG="libbind9 - @PLATFORM@ Release"
360 cd "..\..\..\bin\dig\win32"
362 "libbind9 - @PLATFORM@ ReleaseCLEAN" :
363 cd "..\..\..\lib\bind9\win32"
364 $(MAKE) /$(MAKEFLAGS) /F ".\libbind9.mak" CFG="libbind9 - @PLATFORM@ Release" RECURSE=1 CLEAN
365 cd "..\..\..\bin\dig\win32"
367 !ELSEIF "$(CFG)" == "dig - @PLATFORM@ Debug"
369 "libbind9 - @PLATFORM@ Debug" :
370 cd "..\..\..\lib\bind9\win32"
371 $(MAKE) /$(MAKEFLAGS) /F ".\libbind9.mak" CFG="libbind9 - @PLATFORM@ Debug"
372 cd "..\..\..\bin\dig\win32"
374 "libbind9 - @PLATFORM@ DebugCLEAN" :
375 cd "..\..\..\lib\bind9\win32"
376 $(MAKE) /$(MAKEFLAGS) /F ".\libbind9.mak" CFG="libbind9 - @PLATFORM@ Debug" RECURSE=1 CLEAN
377 cd "..\..\..\bin\dig\win32"
379 !ENDIF
381 !IF "$(CFG)" == "dig - @PLATFORM@ Release"
383 "liblwres - @PLATFORM@ Release" :
384 cd "..\..\..\lib\lwres\win32"
385 $(MAKE) /$(MAKEFLAGS) /F ".\liblwres.mak" CFG="liblwres - @PLATFORM@ Release"
386 cd "..\..\..\bin\dig\win32"
388 "liblwres - @PLATFORM@ ReleaseCLEAN" :
389 cd "..\..\..\lib\lwres\win32"
390 $(MAKE) /$(MAKEFLAGS) /F ".\liblwres.mak" CFG="liblwres - @PLATFORM@ Release" RECURSE=1 CLEAN
391 cd "..\..\..\bin\dig\win32"
393 !ELSEIF "$(CFG)" == "dig - @PLATFORM@ Debug"
395 "liblwres - @PLATFORM@ Debug" :
396 cd "..\..\..\lib\lwres\win32"
397 $(MAKE) /$(MAKEFLAGS) /F ".\liblwres.mak" CFG="liblwres - @PLATFORM@ Debug"
398 cd "..\..\..\bin\dig\win32"
400 "liblwres - @PLATFORM@ DebugCLEAN" :
401 cd "..\..\..\lib\lwres\win32"
402 $(MAKE) /$(MAKEFLAGS) /F ".\liblwres.mak" CFG="liblwres - @PLATFORM@ Debug" RECURSE=1 CLEAN
403 cd "..\..\..\bin\dig\win32"
405 !ENDIF
408 !ENDIF
410 ####################################################
411 # Commands to generate initial empty manifest file and the RC file
412 # that references it, and for generating the .res file:
414 $(_VC_MANIFEST_BASENAME).auto.res : $(_VC_MANIFEST_BASENAME).auto.rc
416 $(_VC_MANIFEST_BASENAME).auto.rc : $(_VC_MANIFEST_BASENAME).auto.manifest
417 type <<$@
418 #include <winuser.h>
419 1RT_MANIFEST"$(_VC_MANIFEST_BASENAME).auto.manifest"
420 << KEEP
422 $(_VC_MANIFEST_BASENAME).auto.manifest :
423 type <<$@
424 <?xml version='1.0' encoding='UTF-8' standalone='yes'?>
425 <assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
426 </assembly>
427 << KEEP