etc/services - sync with NetBSD-8
[minix.git] / external / bsd / bind / dist / bin / check / win32 / checkconf.mak.in
blob40af6f31f88974ca850552ffeff1f04cd6dcab18
1 # Microsoft Developer Studio Generated NMAKE File, Based on checkconf.dsp
2 !IF "$(CFG)" == ""
3 CFG=checkconf - @PLATFORM@ Debug
4 !MESSAGE No configuration specified. Defaulting to checkconf - @PLATFORM@ Debug.
5 !ENDIF
7 !IF "$(CFG)" != "checkconf - @PLATFORM@ Release" && "$(CFG)" != "checkconf - @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 "checkconf.mak" CFG="checkconf - @PLATFORM@ Debug"
13 !MESSAGE
14 !MESSAGE Possible choices for configuration are:
15 !MESSAGE
16 !MESSAGE "checkconf - @PLATFORM@ Release" (based on "@PLATFORM@ (x86) Console Application")
17 !MESSAGE "checkconf - @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)" == "checkconf - @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)" == "checkconf - @PLATFORM@ Release"
108 OUTDIR=.\Release
109 INTDIR=.\Release
110 # Begin Custom Macros
111 OutDir=.\Release
112 # End Custom Macros
114 !IF "$(RECURSE)" == "0"
116 ALL : "..\..\..\Build\Release\named-checkconf.exe" "$(OUTDIR)\checkconf.bsc"
118 !ELSE
120 ALL : "libdns - @PLATFORM@ Release" "libisccfg - @PLATFORM@ Release" "libisc - @PLATFORM@ Release" "..\..\..\Build\Release\named-checkconf.exe" "$(OUTDIR)\checkconf.bsc"
122 !ENDIF
124 !IF "$(RECURSE)" == "1"
125 CLEAN :"libisc - @PLATFORM@ ReleaseCLEAN" "libisccfg - @PLATFORM@ ReleaseCLEAN" "libdns - @PLATFORM@ ReleaseCLEAN"
126 !ELSE
127 CLEAN :
128 !ENDIF
129 -@erase "$(INTDIR)\check-tool.obj"
130 -@erase "$(INTDIR)\check-tool.sbr"
131 -@erase "$(INTDIR)\named-checkconf.obj"
132 -@erase "$(INTDIR)\named-checkconf.sbr"
133 -@erase "$(INTDIR)\vc60.idb"
134 -@erase "$(OUTDIR)\checkconf.bsc"
135 -@erase "..\..\..\Build\Release\named-checkconf.exe"
136 -@$(_VC_MANIFEST_CLEAN)
138 "$(OUTDIR)" :
139 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
141 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/bind9/include" /I "../../../lib/isccfg/include" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D "__STDC__" /FR"$(INTDIR)\\" /Fp"$(INTDIR)\checkconf.pch" @COPTY@ /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
142 BSC32=bscmake.exe
143 BSC32_FLAGS=/nologo /o"$(OUTDIR)\checkconf.bsc"
144 BSC32_SBRS= \
145 "$(INTDIR)\check-tool.sbr" \
146 "$(INTDIR)\named-checkconf.sbr"
148 "$(OUTDIR)\checkconf.bsc" : "$(OUTDIR)" $(BSC32_SBRS)
149 $(BSC32) @<<
150 $(BSC32_FLAGS) $(BSC32_SBRS)
153 LINK32=link.exe
154 LINK32_FLAGS=user32.lib advapi32.lib ws2_32.lib ../../../lib/isc/win32/Release/libisc.lib ../../../lib/dns/win32/Release/libdns.lib ../../../lib/isccfg/win32/Release/libisccfg.lib ../../../lib/bind9/win32/Release/libbind9.lib /nologo /subsystem:console /incremental:no /pdb:"$(OUTDIR)\named-checkconf.pdb" @MACHINE@ /out:"../../../Build/Release/named-checkconf.exe"
155 LINK32_OBJS= \
156 "$(INTDIR)\check-tool.obj" \
157 "$(INTDIR)\named-checkconf.obj" \
158 "..\..\..\lib\isc\win32\Release\libisc.lib" \
159 "..\..\..\lib\isccfg\win32\Release\libisccfg.lib" \
160 "..\..\..\lib\dns\win32\Release\libdns.lib"
162 "..\..\..\Build\Release\named-checkconf.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
163 $(LINK32) @<<
164 $(LINK32_FLAGS) $(LINK32_OBJS)
166 $(_VC_MANIFEST_EMBED_EXE)
168 !ELSEIF "$(CFG)" == "checkconf - @PLATFORM@ Debug"
170 OUTDIR=.\Debug
171 INTDIR=.\Debug
172 # Begin Custom Macros
173 OutDir=.\Debug
174 # End Custom Macros
176 !IF "$(RECURSE)" == "0"
178 ALL : "..\..\..\Build\Debug\named-checkconf.exe" "$(OUTDIR)\checkconf.bsc"
180 !ELSE
182 ALL : "libdns - @PLATFORM@ Debug" "libisccfg - @PLATFORM@ Debug" "libisc - @PLATFORM@ Debug" "..\..\..\Build\Debug\named-checkconf.exe" "$(OUTDIR)\checkconf.bsc"
184 !ENDIF
186 !IF "$(RECURSE)" == "1"
187 CLEAN :"libisc - @PLATFORM@ DebugCLEAN" "libisccfg - @PLATFORM@ DebugCLEAN" "libdns - @PLATFORM@ DebugCLEAN"
188 !ELSE
189 CLEAN :
190 !ENDIF
191 -@erase "$(INTDIR)\check-tool.obj"
192 -@erase "$(INTDIR)\check-tool.sbr"
193 -@erase "$(INTDIR)\named-checkconf.obj"
194 -@erase "$(INTDIR)\named-checkconf.sbr"
195 -@erase "$(INTDIR)\vc60.idb"
196 -@erase "$(INTDIR)\vc60.pdb"
197 -@erase "$(OUTDIR)\named-checkconf.pdb"
198 -@erase "$(OUTDIR)\checkconf.bsc"
199 -@erase "..\..\..\Build\Debug\named-checkconf.exe"
200 -@erase "..\..\..\Build\Debug\named-checkconf.ilk"
201 -@$(_VC_MANIFEST_CLEAN)
203 "$(OUTDIR)" :
204 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
206 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/bind9/include" /I "../../../lib/isccfg/include" /D "_DEBUG" /D "__STDC__" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /FR"$(INTDIR)\\" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c
207 BSC32=bscmake.exe
208 BSC32_FLAGS=/nologo /o"$(OUTDIR)\checkconf.bsc"
209 BSC32_SBRS= \
210 "$(INTDIR)\check-tool.sbr" \
211 "$(INTDIR)\named-checkconf.sbr"
213 "$(OUTDIR)\checkconf.bsc" : "$(OUTDIR)" $(BSC32_SBRS)
214 $(BSC32) @<<
215 $(BSC32_FLAGS) $(BSC32_SBRS)
218 LINK32=link.exe
219 LINK32_FLAGS=user32.lib advapi32.lib ws2_32.lib ../../../lib/isc/win32/Debug/libisc.lib ../../../lib/dns/win32/Debug/libdns.lib ../../../lib/isccfg/win32/Debug/libisccfg.lib ../../../lib/bind9/win32/Debug/libbind9.lib ../../../lib/bind9/win32/Debug/libbind9.lib /nologo /subsystem:console /incremental:yes /pdb:"$(OUTDIR)\named-checkconf.pdb" /debug @MACHINE@ /out:"../../../Build/Debug/named-checkconf.exe" /pdbtype:sept
220 LINK32_OBJS= \
221 "$(INTDIR)\check-tool.obj" \
222 "$(INTDIR)\named-checkconf.obj" \
223 "..\..\..\lib\isc\win32\Debug\libisc.lib" \
224 "..\..\..\lib\isccfg\win32\Debug\libisccfg.lib" \
225 "..\..\..\lib\dns\win32\Debug\libdns.lib"
227 "..\..\..\Build\Debug\named-checkconf.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
228 $(LINK32) @<<
229 $(LINK32_FLAGS) $(LINK32_OBJS)
231 $(_VC_MANIFEST_EMBED_EXE)
233 !ENDIF
235 .c{$(INTDIR)}.obj::
236 $(CPP) @<<
237 $(CPP_PROJ) $<
240 .cpp{$(INTDIR)}.obj::
241 $(CPP) @<<
242 $(CPP_PROJ) $<
245 .cxx{$(INTDIR)}.obj::
246 $(CPP) @<<
247 $(CPP_PROJ) $<
250 .c{$(INTDIR)}.sbr::
251 $(CPP) @<<
252 $(CPP_PROJ) $<
255 .cpp{$(INTDIR)}.sbr::
256 $(CPP) @<<
257 $(CPP_PROJ) $<
260 .cxx{$(INTDIR)}.sbr::
261 $(CPP) @<<
262 $(CPP_PROJ) $<
266 !IF "$(NO_EXTERNAL_DEPS)" != "1"
267 !IF EXISTS("checkconf.dep")
268 !INCLUDE "checkconf.dep"
269 !ELSE
270 !MESSAGE Warning: cannot find "checkconf.dep"
271 !ENDIF
272 !ENDIF
275 !IF "$(CFG)" == "checkconf - @PLATFORM@ Release" || "$(CFG)" == "checkconf - @PLATFORM@ Debug"
276 SOURCE="..\check-tool.c"
278 "$(INTDIR)\check-tool.obj" "$(INTDIR)\check-tool.sbr" : $(SOURCE) "$(INTDIR)"
279 $(CPP) $(CPP_PROJ) $(SOURCE)
282 SOURCE="..\named-checkconf.c"
284 "$(INTDIR)\named-checkconf.obj" "$(INTDIR)\named-checkconf.sbr" : $(SOURCE) "$(INTDIR)"
285 $(CPP) $(CPP_PROJ) $(SOURCE)
288 !IF "$(CFG)" == "checkconf - @PLATFORM@ Release"
290 "libisc - @PLATFORM@ Release" :
291 cd "..\..\..\lib\isc\win32"
292 $(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - @PLATFORM@ Release"
293 cd "..\..\..\bin\check\win32"
295 "libisc - @PLATFORM@ ReleaseCLEAN" :
296 cd "..\..\..\lib\isc\win32"
297 $(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - @PLATFORM@ Release" RECURSE=1 CLEAN
298 cd "..\..\..\bin\check\win32"
300 !ELSEIF "$(CFG)" == "checkconf - @PLATFORM@ Debug"
302 "libisc - @PLATFORM@ Debug" :
303 cd "..\..\..\lib\isc\win32"
304 $(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - @PLATFORM@ Debug"
305 cd "..\..\..\bin\check\win32"
307 "libisc - @PLATFORM@ DebugCLEAN" :
308 cd "..\..\..\lib\isc\win32"
309 $(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - @PLATFORM@ Debug" RECURSE=1 CLEAN
310 cd "..\..\..\bin\check\win32"
312 !ENDIF
314 !IF "$(CFG)" == "checkconf - @PLATFORM@ Release"
316 "libisccfg - @PLATFORM@ Release" :
317 cd "..\..\..\lib\isccfg\win32"
318 $(MAKE) /$(MAKEFLAGS) /F ".\libisccfg.mak" CFG="libisccfg - @PLATFORM@ Release"
319 cd "..\..\..\bin\check\win32"
321 "libisccfg - @PLATFORM@ ReleaseCLEAN" :
322 cd "..\..\..\lib\isccfg\win32"
323 $(MAKE) /$(MAKEFLAGS) /F ".\libisccfg.mak" CFG="libisccfg - @PLATFORM@ Release" RECURSE=1 CLEAN
324 cd "..\..\..\bin\check\win32"
326 !ELSEIF "$(CFG)" == "checkconf - @PLATFORM@ Debug"
328 "libisccfg - @PLATFORM@ Debug" :
329 cd "..\..\..\lib\isccfg\win32"
330 $(MAKE) /$(MAKEFLAGS) /F ".\libisccfg.mak" CFG="libisccfg - @PLATFORM@ Debug"
331 cd "..\..\..\bin\check\win32"
333 "libisccfg - @PLATFORM@ DebugCLEAN" :
334 cd "..\..\..\lib\isccfg\win32"
335 $(MAKE) /$(MAKEFLAGS) /F ".\libisccfg.mak" CFG="libisccfg - @PLATFORM@ Debug" RECURSE=1 CLEAN
336 cd "..\..\..\bin\check\win32"
338 !ENDIF
340 !IF "$(CFG)" == "checkconf - @PLATFORM@ Release"
342 "libdns - @PLATFORM@ Release" :
343 cd "..\..\..\lib\dns\win32"
344 $(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - @PLATFORM@ Release"
345 cd "..\..\..\bin\check\win32"
347 "libdns - @PLATFORM@ ReleaseCLEAN" :
348 cd "..\..\..\lib\dns\win32"
349 $(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - @PLATFORM@ Release" RECURSE=1 CLEAN
350 cd "..\..\..\bin\check\win32"
352 !ELSEIF "$(CFG)" == "checkconf - @PLATFORM@ Debug"
354 "libdns - @PLATFORM@ Debug" :
355 cd "..\..\..\lib\dns\win32"
356 $(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - @PLATFORM@ Debug"
357 cd "..\..\..\bin\check\win32"
359 "libdns - @PLATFORM@ DebugCLEAN" :
360 cd "..\..\..\lib\dns\win32"
361 $(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - @PLATFORM@ Debug" RECURSE=1 CLEAN
362 cd "..\..\..\bin\check\win32"
364 !ENDIF
367 !ENDIF
369 ####################################################
370 # Commands to generate initial empty manifest file and the RC file
371 # that references it, and for generating the .res file:
373 $(_VC_MANIFEST_BASENAME).auto.res : $(_VC_MANIFEST_BASENAME).auto.rc
375 $(_VC_MANIFEST_BASENAME).auto.rc : $(_VC_MANIFEST_BASENAME).auto.manifest
376 type <<$@
377 #include <winuser.h>
378 1RT_MANIFEST"$(_VC_MANIFEST_BASENAME).auto.manifest"
379 << KEEP
381 $(_VC_MANIFEST_BASENAME).auto.manifest :
382 type <<$@
383 <?xml version='1.0' encoding='UTF-8' standalone='yes'?>
384 <assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
385 </assembly>
386 << KEEP
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