No empty .Rs/.Re
[netbsd-mini2440.git] / external / bsd / bind / dist / bin / check / win32 / namedcheckconf.mak
blob671d0a064257e40114b134efbaddd7d6857614d7
1 # Microsoft Developer Studio Generated NMAKE File, Based on namedcheckconf.dsp
2 !IF "$(CFG)" == ""
3 CFG=namedcheckconf - Win32 Debug
4 !MESSAGE No configuration specified. Defaulting to namedcheckconf - Win32 Debug.
5 !ENDIF
7 !IF "$(CFG)" != "namedcheckconf - Win32 Release" && "$(CFG)" != "namedcheckconf - Win32 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 "namedcheckconf.mak" CFG="namedcheckconf - Win32 Debug"
13 !MESSAGE
14 !MESSAGE Possible choices for configuration are:
15 !MESSAGE
16 !MESSAGE "namedcheckconf - Win32 Release" (based on "Win32 (x86) Console Application")
17 !MESSAGE "namedcheckconf - Win32 Debug" (based on "Win32 (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)" == "namedcheckconf - Win32 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)" == "namedcheckconf - Win32 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)\namedcheckconf.bsc"
118 !ELSE
120 ALL : "libdns - Win32 Release" "libisccfg - Win32 Release" "libisc - Win32 Release" "..\..\..\Build\Release\named-checkconf.exe" "$(OUTDIR)\namedcheckconf.bsc"
122 !ENDIF
124 !IF "$(RECURSE)" == "1"
125 CLEAN :"libisc - Win32 ReleaseCLEAN" "libisccfg - Win32 ReleaseCLEAN" "libdns - Win32 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)\namedcheckconf.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 /GX /O2 /I "./" /I "../../../" /I "../../../../libxml2-2.7.3/include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isc/noatomic/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)\namedcheckconf.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
142 BSC32=bscmake.exe
143 BSC32_FLAGS=/nologo /o"$(OUTDIR)\namedcheckconf.bsc"
144 BSC32_SBRS= \
145 "$(INTDIR)\check-tool.sbr" \
146 "$(INTDIR)\named-checkconf.sbr"
148 "$(OUTDIR)\namedcheckconf.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:I386 /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)" == "namedcheckconf - Win32 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)\namedcheckconf.bsc"
180 !ELSE
182 ALL : "libdns - Win32 Debug" "libisccfg - Win32 Debug" "libisc - Win32 Debug" "..\..\..\Build\Debug\named-checkconf.exe" "$(OUTDIR)\namedcheckconf.bsc"
184 !ENDIF
186 !IF "$(RECURSE)" == "1"
187 CLEAN :"libisc - Win32 DebugCLEAN" "libisccfg - Win32 DebugCLEAN" "libdns - Win32 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)\namedcheckconf.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 /GX /ZI /Od /I "./" /I "../../../" /I "../../../../libxml2-2.7.3/include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isc/noatomic/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)\namedcheckconf.bsc"
209 BSC32_SBRS= \
210 "$(INTDIR)\check-tool.sbr" \
211 "$(INTDIR)\named-checkconf.sbr"
213 "$(OUTDIR)\namedcheckconf.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:I386 /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("namedcheckconf.dep")
268 !INCLUDE "namedcheckconf.dep"
269 !ELSE
270 !MESSAGE Warning: cannot find "namedcheckconf.dep"
271 !ENDIF
272 !ENDIF
275 !IF "$(CFG)" == "namedcheckconf - Win32 Release" || "$(CFG)" == "namedcheckconf - Win32 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)" == "namedcheckconf - Win32 Release"
290 "libisc - Win32 Release" :
291 cd "..\..\..\lib\isc\win32"
292 $(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - Win32 Release"
293 cd "..\..\..\bin\check\win32"
295 "libisc - Win32 ReleaseCLEAN" :
296 cd "..\..\..\lib\isc\win32"
297 $(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - Win32 Release" RECURSE=1 CLEAN
298 cd "..\..\..\bin\check\win32"
300 !ELSEIF "$(CFG)" == "namedcheckconf - Win32 Debug"
302 "libisc - Win32 Debug" :
303 cd "..\..\..\lib\isc\win32"
304 $(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - Win32 Debug"
305 cd "..\..\..\bin\check\win32"
307 "libisc - Win32 DebugCLEAN" :
308 cd "..\..\..\lib\isc\win32"
309 $(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - Win32 Debug" RECURSE=1 CLEAN
310 cd "..\..\..\bin\check\win32"
312 !ENDIF
314 !IF "$(CFG)" == "namedcheckconf - Win32 Release"
316 "libisccfg - Win32 Release" :
317 cd "..\..\..\lib\isccfg\win32"
318 $(MAKE) /$(MAKEFLAGS) /F ".\libisccfg.mak" CFG="libisccfg - Win32 Release"
319 cd "..\..\..\bin\check\win32"
321 "libisccfg - Win32 ReleaseCLEAN" :
322 cd "..\..\..\lib\isccfg\win32"
323 $(MAKE) /$(MAKEFLAGS) /F ".\libisccfg.mak" CFG="libisccfg - Win32 Release" RECURSE=1 CLEAN
324 cd "..\..\..\bin\check\win32"
326 !ELSEIF "$(CFG)" == "namedcheckconf - Win32 Debug"
328 "libisccfg - Win32 Debug" :
329 cd "..\..\..\lib\isccfg\win32"
330 $(MAKE) /$(MAKEFLAGS) /F ".\libisccfg.mak" CFG="libisccfg - Win32 Debug"
331 cd "..\..\..\bin\check\win32"
333 "libisccfg - Win32 DebugCLEAN" :
334 cd "..\..\..\lib\isccfg\win32"
335 $(MAKE) /$(MAKEFLAGS) /F ".\libisccfg.mak" CFG="libisccfg - Win32 Debug" RECURSE=1 CLEAN
336 cd "..\..\..\bin\check\win32"
338 !ENDIF
340 !IF "$(CFG)" == "namedcheckconf - Win32 Release"
342 "libdns - Win32 Release" :
343 cd "..\..\..\lib\dns\win32"
344 $(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - Win32 Release"
345 cd "..\..\..\bin\check\win32"
347 "libdns - Win32 ReleaseCLEAN" :
348 cd "..\..\..\lib\dns\win32"
349 $(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - Win32 Release" RECURSE=1 CLEAN
350 cd "..\..\..\bin\check\win32"
352 !ELSEIF "$(CFG)" == "namedcheckconf - Win32 Debug"
354 "libdns - Win32 Debug" :
355 cd "..\..\..\lib\dns\win32"
356 $(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - Win32 Debug"
357 cd "..\..\..\bin\check\win32"
359 "libdns - Win32 DebugCLEAN" :
360 cd "..\..\..\lib\dns\win32"
361 $(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - Win32 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