etc/services - sync with NetBSD-8
[minix.git] / external / bsd / bind / dist / bin / check / win32 / checkzone.mak.in
blob243f237929c16e41a5c38d63d60271a550a426fe
1 # Microsoft Developer Studio Generated NMAKE File, Based on checkzone.dsp
2 !IF "$(CFG)" == ""
3 CFG=checkzone - @PLATFORM@ Debug
4 !MESSAGE No configuration specified. Defaulting to checkzone - @PLATFORM@ Debug.
5 !ENDIF
7 !IF "$(CFG)" != "checkzone - @PLATFORM@ Release" && "$(CFG)" != "checkzone - @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 "checkzone.mak" CFG="checkzone - @PLATFORM@ Debug"
13 !MESSAGE
14 !MESSAGE Possible choices for configuration are:
15 !MESSAGE
16 !MESSAGE "checkzone - @PLATFORM@ Release" (based on "@PLATFORM@ (x86) Console Application")
17 !MESSAGE "checkzone - @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 !IF "$(CFG)" == "checkzone - @PLATFORM@ Release"
29 _VC_MANIFEST_INC=0
30 _VC_MANIFEST_BASENAME=__VC80
31 !ELSE
32 _VC_MANIFEST_INC=1
33 _VC_MANIFEST_BASENAME=__VC80.Debug
34 !ENDIF
36 ####################################################
37 # Specifying name of temporary resource file used only in incremental builds:
39 !if "$(_VC_MANIFEST_INC)" == "1"
40 _VC_MANIFEST_AUTO_RES=$(_VC_MANIFEST_BASENAME).auto.res
41 !else
42 _VC_MANIFEST_AUTO_RES=
43 !endif
45 ####################################################
46 # _VC_MANIFEST_EMBED_EXE - command to embed manifest in EXE:
48 !if "$(_VC_MANIFEST_INC)" == "1"
50 #MT_SPECIAL_RETURN=1090650113
51 #MT_SPECIAL_SWITCH=-notify_resource_update
52 MT_SPECIAL_RETURN=0
53 MT_SPECIAL_SWITCH=
54 _VC_MANIFEST_EMBED_EXE= \
55 if exist $@.manifest mt.exe -manifest $@.manifest -out:$(_VC_MANIFEST_BASENAME).auto.manifest $(MT_SPECIAL_SWITCH) & \
56 if "%ERRORLEVEL%" == "$(MT_SPECIAL_RETURN)" \
57 rc /r $(_VC_MANIFEST_BASENAME).auto.rc & \
58 link $** /out:$@ $(LFLAGS)
60 !else
62 _VC_MANIFEST_EMBED_EXE= \
63 if exist $@.manifest mt.exe -manifest $@.manifest -outputresource:$@;1
65 !endif
67 ####################################################
68 # _VC_MANIFEST_EMBED_DLL - command to embed manifest in DLL:
70 !if "$(_VC_MANIFEST_INC)" == "1"
72 #MT_SPECIAL_RETURN=1090650113
73 #MT_SPECIAL_SWITCH=-notify_resource_update
74 MT_SPECIAL_RETURN=0
75 MT_SPECIAL_SWITCH=
76 _VC_MANIFEST_EMBED_EXE= \
77 if exist $@.manifest mt.exe -manifest $@.manifest -out:$(_VC_MANIFEST_BASENAME).auto.manifest $(MT_SPECIAL_SWITCH) & \
78 if "%ERRORLEVEL%" == "$(MT_SPECIAL_RETURN)" \
79 rc /r $(_VC_MANIFEST_BASENAME).auto.rc & \
80 link $** /out:$@ $(LFLAGS)
82 !else
84 _VC_MANIFEST_EMBED_EXE= \
85 if exist $@.manifest mt.exe -manifest $@.manifest -outputresource:$@;2
87 !endif
88 ####################################################
89 # _VC_MANIFEST_CLEAN - command to clean resources files generated temporarily:
91 !if "$(_VC_MANIFEST_INC)" == "1"
93 _VC_MANIFEST_CLEAN=-del $(_VC_MANIFEST_BASENAME).auto.res \
94 $(_VC_MANIFEST_BASENAME).auto.rc \
95 $(_VC_MANIFEST_BASENAME).auto.manifest
97 !else
99 _VC_MANIFEST_CLEAN=
101 !endif
103 !IF "$(CFG)" == "checkzone - @PLATFORM@ Release"
105 OUTDIR=.\Release
106 INTDIR=.\Release
108 !IF "$(RECURSE)" == "0"
110 ALL : "..\..\..\Build\Release\named-checkzone.exe"
112 !ELSE
114 ALL : "libisc - @PLATFORM@ Release" "libdns - @PLATFORM@ Release" "..\..\..\Build\Release\named-checkzone.exe"
116 !ENDIF
118 !IF "$(RECURSE)" == "1"
119 CLEAN :"libdns - @PLATFORM@ ReleaseCLEAN" "libisc - @PLATFORM@ ReleaseCLEAN"
120 !ELSE
121 CLEAN :
122 !ENDIF
123 -@erase "$(INTDIR)\check-tool.obj"
124 -@erase "$(INTDIR)\named-checkzone.obj"
125 -@erase "$(INTDIR)\vc60.idb"
126 -@erase "..\..\..\Build\Release\named-checkzone.exe"
127 -@$(_VC_MANIFEST_CLEAN)
129 "$(OUTDIR)" :
130 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
132 CPP=cl.exe
133 CPP_PROJ=/nologo /MD /W3 @COPTX@ @COPTI@ /O2 /I "./" /I "../../../" @LIBXML2_INC@ @OPENSSL_INC@ /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/dns/include" /I "../../../lib/isccfg/include" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D "__STDC__" /Fp"$(INTDIR)\checkzone.pch" @COPTY@ /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
135 .c{$(INTDIR)}.obj::
136 $(CPP) @<<
137 $(CPP_PROJ) $<
140 .cpp{$(INTDIR)}.obj::
141 $(CPP) @<<
142 $(CPP_PROJ) $<
145 .cxx{$(INTDIR)}.obj::
146 $(CPP) @<<
147 $(CPP_PROJ) $<
150 .c{$(INTDIR)}.sbr::
151 $(CPP) @<<
152 $(CPP_PROJ) $<
155 .cpp{$(INTDIR)}.sbr::
156 $(CPP) @<<
157 $(CPP_PROJ) $<
160 .cxx{$(INTDIR)}.sbr::
161 $(CPP) @<<
162 $(CPP_PROJ) $<
165 RSC=rc.exe
166 BSC32=bscmake.exe
167 BSC32_FLAGS=/nologo /o"$(OUTDIR)\checkzone.bsc"
168 BSC32_SBRS= \
170 LINK32=link.exe
171 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 /nologo /subsystem:console /incremental:no /pdb:"$(OUTDIR)\named-checkzone.pdb" @MACHINE@ /out:"../../../Build/Release/named-checkzone.exe"
172 LINK32_OBJS= \
173 "$(INTDIR)\check-tool.obj" \
174 "$(INTDIR)\named-checkzone.obj" \
175 "..\..\..\lib\dns\win32\Release\libdns.lib" \
176 "..\..\..\lib\isccfg\win32\Release\libisccfg.lib" \
177 "..\..\..\lib\isc\win32\Release\libisc.lib"
179 "..\..\..\Build\Release\named-checkzone.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
180 $(LINK32) @<<
181 $(LINK32_FLAGS) $(LINK32_OBJS)
183 $(_VC_MANIFEST_EMBED_EXE)
185 !ELSEIF "$(CFG)" == "checkzone - @PLATFORM@ Debug"
187 OUTDIR=.\Debug
188 INTDIR=.\Debug
189 # Begin Custom Macros
190 OutDir=.\Debug
191 # End Custom Macros
193 !IF "$(RECURSE)" == "0"
195 ALL : "..\..\..\Build\Debug\named-checkzone.exe" "$(OUTDIR)\checkzone.bsc"
197 !ELSE
199 ALL : "libisc - @PLATFORM@ Debug" "libdns - @PLATFORM@ Debug" "..\..\..\Build\Debug\named-checkzone.exe" "$(OUTDIR)\checkzone.bsc"
201 !ENDIF
203 !IF "$(RECURSE)" == "1"
204 CLEAN :"libdns - @PLATFORM@ DebugCLEAN" "libisc - @PLATFORM@ DebugCLEAN"
205 !ELSE
206 CLEAN :
207 !ENDIF
208 -@erase "$(INTDIR)\check-tool.obj"
209 -@erase "$(INTDIR)\check-tool.sbr"
210 -@erase "$(INTDIR)\named-checkzone.obj"
211 -@erase "$(INTDIR)\named-checkzone.sbr"
212 -@erase "$(INTDIR)\vc60.idb"
213 -@erase "$(INTDIR)\vc60.pdb"
214 -@erase "$(OUTDIR)\named-checkzone.pdb"
215 -@erase "$(OUTDIR)\checkzone.bsc"
216 -@erase "..\..\..\Build\Debug\named-checkzone.exe"
217 -@erase "..\..\..\Build\Debug\named-checkzone.ilk"
218 -@$(_VC_MANIFEST_CLEAN)
220 "$(OUTDIR)" :
221 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
223 CPP=cl.exe
224 CPP_PROJ=/nologo /MDd /W3 /Gm @COPTX@ @COPTI@ /ZI /Od /I "./" /I "../../../" @LIBXML2_INC@ @OPENSSL_INC@ /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/dns/include" /I "../../../lib/isccfg/include" /D "_DEBUG" /D "__STDC__" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /FR"$(INTDIR)\\" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c
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) $<
256 RSC=rc.exe
257 BSC32=bscmake.exe
258 BSC32_FLAGS=/nologo /o"$(OUTDIR)\checkzone.bsc"
259 BSC32_SBRS= \
260 "$(INTDIR)\check-tool.sbr" \
261 "$(INTDIR)\named-checkzone.sbr"
263 "$(OUTDIR)\checkzone.bsc" : "$(OUTDIR)" $(BSC32_SBRS)
264 $(BSC32) @<<
265 $(BSC32_FLAGS) $(BSC32_SBRS)
268 LINK32=link.exe
269 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 /nologo /subsystem:console /incremental:yes /pdb:"$(OUTDIR)\named-checkzone.pdb" /debug @MACHINE@ /out:"../../../Build/Debug/named-checkzone.exe" /pdbtype:sept
270 LINK32_OBJS= \
271 "$(INTDIR)\check-tool.obj" \
272 "$(INTDIR)\named-checkzone.obj" \
273 "..\..\..\lib\dns\win32\Debug\libdns.lib" \
274 "..\..\..\lib\isccfg\win32\Debug\libisccfg.lib" \
275 "..\..\..\lib\isc\win32\Debug\libisc.lib"
277 "..\..\..\Build\Debug\named-checkzone.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
278 $(LINK32) @<<
279 $(LINK32_FLAGS) $(LINK32_OBJS)
281 $(_VC_MANIFEST_EMBED_EXE)
283 !ENDIF
286 !IF "$(NO_EXTERNAL_DEPS)" != "1"
287 !IF EXISTS("checkzone.dep")
288 !INCLUDE "checkzone.dep"
289 !ELSE
290 !MESSAGE Warning: cannot find "checkzone.dep"
291 !ENDIF
292 !ENDIF
295 !IF "$(CFG)" == "checkzone - @PLATFORM@ Release" || "$(CFG)" == "checkzone - @PLATFORM@ Debug"
296 SOURCE="..\check-tool.c"
298 !IF "$(CFG)" == "checkzone - @PLATFORM@ Release"
301 "$(INTDIR)\check-tool.obj" : $(SOURCE) "$(INTDIR)"
302 $(CPP) $(CPP_PROJ) $(SOURCE)
305 !ELSEIF "$(CFG)" == "checkzone - @PLATFORM@ Debug"
308 "$(INTDIR)\check-tool.obj" "$(INTDIR)\check-tool.sbr" : $(SOURCE) "$(INTDIR)"
309 $(CPP) $(CPP_PROJ) $(SOURCE)
312 !ENDIF
314 SOURCE="..\named-checkzone.c"
316 !IF "$(CFG)" == "checkzone - @PLATFORM@ Release"
319 "$(INTDIR)\named-checkzone.obj" : $(SOURCE) "$(INTDIR)"
320 $(CPP) $(CPP_PROJ) $(SOURCE)
323 !ELSEIF "$(CFG)" == "checkzone - @PLATFORM@ Debug"
326 "$(INTDIR)\named-checkzone.obj" "$(INTDIR)\named-checkzone.sbr" : $(SOURCE) "$(INTDIR)"
327 $(CPP) $(CPP_PROJ) $(SOURCE)
330 !ENDIF
332 !IF "$(CFG)" == "checkzone - @PLATFORM@ Release"
334 "libdns - @PLATFORM@ Release" :
335 cd "..\..\..\lib\dns\win32"
336 $(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - @PLATFORM@ Release"
337 cd "..\..\..\bin\check\win32"
339 "libdns - @PLATFORM@ ReleaseCLEAN" :
340 cd "..\..\..\lib\dns\win32"
341 $(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - @PLATFORM@ Release" RECURSE=1 CLEAN
342 cd "..\..\..\bin\check\win32"
344 !ELSEIF "$(CFG)" == "checkzone - @PLATFORM@ Debug"
346 "libdns - @PLATFORM@ Debug" :
347 cd "..\..\..\lib\dns\win32"
348 $(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - @PLATFORM@ Debug"
349 cd "..\..\..\bin\check\win32"
351 "libdns - @PLATFORM@ DebugCLEAN" :
352 cd "..\..\..\lib\dns\win32"
353 $(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - @PLATFORM@ Debug" RECURSE=1 CLEAN
354 cd "..\..\..\bin\check\win32"
356 !ENDIF
358 !IF "$(CFG)" == "checkzone - @PLATFORM@ Release"
360 "libisc - @PLATFORM@ Release" :
361 cd "..\..\..\lib\isc\win32"
362 $(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - @PLATFORM@ Release"
363 cd "..\..\..\bin\check\win32"
365 "libisc - @PLATFORM@ ReleaseCLEAN" :
366 cd "..\..\..\lib\isc\win32"
367 $(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - @PLATFORM@ Release" RECURSE=1 CLEAN
368 cd "..\..\..\bin\check\win32"
370 !ELSEIF "$(CFG)" == "checkzone - @PLATFORM@ Debug"
372 "libisc - @PLATFORM@ Debug" :
373 cd "..\..\..\lib\isc\win32"
374 $(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - @PLATFORM@ Debug"
375 cd "..\..\..\bin\check\win32"
377 "libisc - @PLATFORM@ DebugCLEAN" :
378 cd "..\..\..\lib\isc\win32"
379 $(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - @PLATFORM@ Debug" RECURSE=1 CLEAN
380 cd "..\..\..\bin\check\win32"
382 !ENDIF
385 !ENDIF
387 ####################################################
388 # Commands to generate initial empty manifest file and the RC file
389 # that references it, and for generating the .res file:
391 $(_VC_MANIFEST_BASENAME).auto.res : $(_VC_MANIFEST_BASENAME).auto.rc
393 $(_VC_MANIFEST_BASENAME).auto.rc : $(_VC_MANIFEST_BASENAME).auto.manifest
394 type <<$@
395 #include <winuser.h>
396 1RT_MANIFEST"$(_VC_MANIFEST_BASENAME).auto.manifest"
397 << KEEP
399 $(_VC_MANIFEST_BASENAME).auto.manifest :
400 type <<$@
401 <?xml version='1.0' encoding='UTF-8' standalone='yes'?>
402 <assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
403 </assembly>
404 << KEEP