1# Microsoft Developer Studio Generated NMAKE File, Based on rndc.dsp
2!IF "$(CFG)" == ""
3CFG=rndc - @PLATFORM@ Debug
4!MESSAGE No configuration specified. Defaulting to rndc - @PLATFORM@ Debug.
5!ENDIF
6
7!IF "$(CFG)" != "rndc - @PLATFORM@ Release" && "$(CFG)" != "rndc - @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 "rndc.mak" CFG="rndc - @PLATFORM@ Debug"
13!MESSAGE
14!MESSAGE Possible choices for configuration are:
15!MESSAGE
16!MESSAGE "rndc - @PLATFORM@ Release" (based on "@PLATFORM@ (x86) Console Application")
17!MESSAGE "rndc - @PLATFORM@ Debug" (based on "@PLATFORM@ (x86) Console Application")
18!MESSAGE
19!ERROR An invalid configuration is specified.
20!ENDIF
21
22!IF "$(OS)" == "Windows_NT"
23NULL=
24!ELSE
25NULL=nul
26!ENDIF
27
28CPP=cl.exe
29RSC=rc.exe
30
31!IF  "$(CFG)" == "rndc - @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
38
39####################################################
40# Specifying name of temporary resource file used only in incremental builds:
41
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
47
48####################################################
49# _VC_MANIFEST_EMBED_EXE - command to embed manifest in EXE:
50
51!if "$(_VC_MANIFEST_INC)" == "1"
52
53#MT_SPECIAL_RETURN=1090650113
54#MT_SPECIAL_SWITCH=-notify_resource_update
55MT_SPECIAL_RETURN=0
56MT_SPECIAL_SWITCH=
57_VC_MANIFEST_EMBED_EXE= \
58if exist $@.manifest mt.exe -manifest $@.manifest -out:$(_VC_MANIFEST_BASENAME).auto.manifest $(MT_SPECIAL_SWITCH) & \
59if "%ERRORLEVEL%" == "$(MT_SPECIAL_RETURN)" \
60rc /r $(_VC_MANIFEST_BASENAME).auto.rc & \
61link $** /out:$@ $(LFLAGS)
62
63!else
64
65_VC_MANIFEST_EMBED_EXE= \
66if exist $@.manifest mt.exe -manifest $@.manifest -outputresource:$@;1
67
68!endif
69
70####################################################
71# _VC_MANIFEST_EMBED_DLL - command to embed manifest in DLL:
72
73!if "$(_VC_MANIFEST_INC)" == "1"
74
75#MT_SPECIAL_RETURN=1090650113
76#MT_SPECIAL_SWITCH=-notify_resource_update
77MT_SPECIAL_RETURN=0
78MT_SPECIAL_SWITCH=
79_VC_MANIFEST_EMBED_EXE= \
80if exist $@.manifest mt.exe -manifest $@.manifest -out:$(_VC_MANIFEST_BASENAME).auto.manifest $(MT_SPECIAL_SWITCH) & \
81if "%ERRORLEVEL%" == "$(MT_SPECIAL_RETURN)" \
82rc /r $(_VC_MANIFEST_BASENAME).auto.rc & \
83link $** /out:$@ $(LFLAGS)
84
85!else
86
87_VC_MANIFEST_EMBED_EXE= \
88if exist $@.manifest mt.exe -manifest $@.manifest -outputresource:$@;2
89
90!endif
91####################################################
92# _VC_MANIFEST_CLEAN - command to clean resources files generated temporarily:
93
94!if "$(_VC_MANIFEST_INC)" == "1"
95
96_VC_MANIFEST_CLEAN=-del $(_VC_MANIFEST_BASENAME).auto.res \
97    $(_VC_MANIFEST_BASENAME).auto.rc \
98    $(_VC_MANIFEST_BASENAME).auto.manifest
99
100!else
101
102_VC_MANIFEST_CLEAN=
103
104!endif
105
106!IF  "$(CFG)" == "rndc - @PLATFORM@ Release"
107
108OUTDIR=.\Release
109INTDIR=.\Release
110
111!IF "$(RECURSE)" == "0"
112
113ALL : "..\..\..\Build\Release\rndc.exe"
114
115!ELSE
116
117ALL : "libbind9 - @PLATFORM@ Release" "libisccfg - @PLATFORM@ Release" "libisccc - @PLATFORM@ Release" "libisc - @PLATFORM@ Release" "..\..\..\Build\Release\rndc.exe"
118
119!ENDIF
120
121!IF "$(RECURSE)" == "1"
122CLEAN :"libisc - @PLATFORM@ ReleaseCLEAN" "libisccc - @PLATFORM@ ReleaseCLEAN" "libisccfg - @PLATFORM@ ReleaseCLEAN" "libbind9 - @PLATFORM@ ReleaseCLEAN"
123!ELSE
124CLEAN :
125!ENDIF
126	-@erase "$(INTDIR)\rndc.obj"
127	-@erase "$(INTDIR)\util.obj"
128	-@erase "$(INTDIR)\vc60.idb"
129	-@erase "..\..\..\Build\Release\rndc.exe"
130	-@$(_VC_MANIFEST_CLEAN)
131
132"$(OUTDIR)" :
133    if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
134
135CPP_PROJ=/nologo /MD /W3 @COPTX@ @COPTI@ /O2 /I "./" /I "../../../" @LIBXML2_INC@ /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isccc/include" /I "../../../lib/isccfg/include" /I "../../../lib/bind9/include" /I "../../../lib/dns/include" /D "WIN32" /D "NDEBUG" /D "__STDC__" /D "_CONSOLE" /D "_MBCS" /Fp"$(INTDIR)\rndc.pch" @COPTY@ /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
136BSC32=bscmake.exe
137BSC32_FLAGS=/nologo /o"$(OUTDIR)\rndc.bsc"
138BSC32_SBRS= \
139
140LINK32=link.exe
141LINK32_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/isccc/win32/Release/libisccc.lib  ../../../lib/bind9/win32/Release/libbind9.lib /nologo /subsystem:console /profile @MACHINE@ /out:"../../../Build/Release/rndc.exe"
142LINK32_OBJS= \
143	"$(INTDIR)\rndc.obj" \
144	"$(INTDIR)\util.obj" \
145	"..\..\..\lib\isc\win32\Release\libisc.lib" \
146	"..\..\..\lib\isccc\win32\Release\libisccc.lib" \
147	"..\..\..\lib\isccfg\win32\Release\libisccfg.lib" \
148	"..\..\..\lib\bind9\win32\Release\libbind9.lib"
149
150"..\..\..\Build\Release\rndc.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
151    $(LINK32) @<<
152  $(LINK32_FLAGS) $(LINK32_OBJS)
153<<
154    $(_VC_MANIFEST_EMBED_EXE)
155
156!ELSEIF  "$(CFG)" == "rndc - @PLATFORM@ Debug"
157
158OUTDIR=.\Debug
159INTDIR=.\Debug
160# Begin Custom Macros
161OutDir=.\Debug
162# End Custom Macros
163
164!IF "$(RECURSE)" == "0"
165
166ALL : "..\..\..\Build\Debug\rndc.exe" "$(OUTDIR)\rndc.bsc"
167
168!ELSE
169
170ALL : "libbind9 - @PLATFORM@ Debug" "libisccfg - @PLATFORM@ Debug" "libisccc - @PLATFORM@ Debug" "libisc - @PLATFORM@ Debug" "..\..\..\Build\Debug\rndc.exe" "$(OUTDIR)\rndc.bsc"
171
172!ENDIF
173
174!IF "$(RECURSE)" == "1"
175CLEAN :"libisc - @PLATFORM@ DebugCLEAN" "libisccc - @PLATFORM@ DebugCLEAN" "libisccfg - @PLATFORM@ DebugCLEAN" "libbind9 - @PLATFORM@ DebugCLEAN"
176!ELSE
177CLEAN :
178!ENDIF
179	-@erase "$(INTDIR)\rndc.obj"
180	-@erase "$(INTDIR)\rndc.sbr"
181	-@erase "$(INTDIR)\util.obj"
182	-@erase "$(INTDIR)\util.sbr"
183	-@erase "$(INTDIR)\vc60.idb"
184	-@erase "$(INTDIR)\vc60.pdb"
185	-@erase "$(OUTDIR)\rndc.bsc"
186	-@erase "$(OUTDIR)\rndc.pdb"
187	-@erase "..\..\..\Build\Debug\rndc.exe"
188	-@erase "..\..\..\Build\Debug\rndc.ilk"
189	-@$(_VC_MANIFEST_CLEAN)
190
191"$(OUTDIR)" :
192    if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
193
194CPP_PROJ=/nologo /MDd /W3 /Gm @COPTX@ @COPTI@ /ZI /Od /I "./" /I "../../../" @LIBXML2_INC@ /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isccc/include" /I "../../../lib/isccfg/include" /I "../../../lib/bind9/include" /I "../../../lib/dns/include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FR"$(INTDIR)\\" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c
195BSC32=bscmake.exe
196BSC32_FLAGS=/nologo /o"$(OUTDIR)\rndc.bsc"
197BSC32_SBRS= \
198	"$(INTDIR)\rndc.sbr" \
199	"$(INTDIR)\util.sbr"
200
201"$(OUTDIR)\rndc.bsc" : "$(OUTDIR)" $(BSC32_SBRS)
202    $(BSC32) @<<
203  $(BSC32_FLAGS) $(BSC32_SBRS)
204<<
205
206LINK32=link.exe
207LINK32_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/isccc/win32/Debug/libisccc.lib  ../../../lib/bind9/win32/Debug/libbind9.lib /nologo /subsystem:console /incremental:yes /pdb:"$(OUTDIR)\rndc.pdb" /debug @MACHINE@ /out:"../../../Build/Debug/rndc.exe" /pdbtype:sept
208LINK32_OBJS= \
209	"$(INTDIR)\rndc.obj" \
210	"$(INTDIR)\util.obj" \
211	"..\..\..\lib\isc\win32\Debug\libisc.lib" \
212	"..\..\..\lib\isccc\win32\Debug\libisccc.lib" \
213	"..\..\..\lib\isccfg\win32\Debug\libisccfg.lib" \
214	"..\..\..\lib\bind9\win32\Debug\libbind9.lib"
215
216"..\..\..\Build\Debug\rndc.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
217    $(LINK32) @<<
218  $(LINK32_FLAGS) $(LINK32_OBJS)
219<<
220    $(_VC_MANIFEST_EMBED_EXE)
221
222!ENDIF
223
224.c{$(INTDIR)}.obj::
225   $(CPP) @<<
226   $(CPP_PROJ) $<
227<<
228
229.cpp{$(INTDIR)}.obj::
230   $(CPP) @<<
231   $(CPP_PROJ) $<
232<<
233
234.cxx{$(INTDIR)}.obj::
235   $(CPP) @<<
236   $(CPP_PROJ) $<
237<<
238
239.c{$(INTDIR)}.sbr::
240   $(CPP) @<<
241   $(CPP_PROJ) $<
242<<
243
244.cpp{$(INTDIR)}.sbr::
245   $(CPP) @<<
246   $(CPP_PROJ) $<
247<<
248
249.cxx{$(INTDIR)}.sbr::
250   $(CPP) @<<
251   $(CPP_PROJ) $<
252<<
253
254
255!IF "$(NO_EXTERNAL_DEPS)" != "1"
256!IF EXISTS("rndc.dep")
257!INCLUDE "rndc.dep"
258!ELSE
259!MESSAGE Warning: cannot find "rndc.dep"
260!ENDIF
261!ENDIF
262
263
264!IF "$(CFG)" == "rndc - @PLATFORM@ Release" || "$(CFG)" == "rndc - @PLATFORM@ Debug"
265SOURCE=..\rndc.c
266
267!IF  "$(CFG)" == "rndc - @PLATFORM@ Release"
268
269
270"$(INTDIR)\rndc.obj" : $(SOURCE) "$(INTDIR)"
271	$(CPP) $(CPP_PROJ) $(SOURCE)
272
273
274!ELSEIF  "$(CFG)" == "rndc - @PLATFORM@ Debug"
275
276
277"$(INTDIR)\rndc.obj"	"$(INTDIR)\rndc.sbr" : $(SOURCE) "$(INTDIR)"
278	$(CPP) $(CPP_PROJ) $(SOURCE)
279
280
281!ENDIF
282
283SOURCE=..\util.c
284
285!IF  "$(CFG)" == "rndc - @PLATFORM@ Release"
286
287
288"$(INTDIR)\util.obj" : $(SOURCE) "$(INTDIR)"
289	$(CPP) $(CPP_PROJ) $(SOURCE)
290
291
292!ELSEIF  "$(CFG)" == "rndc - @PLATFORM@ Debug"
293
294
295"$(INTDIR)\util.obj"	"$(INTDIR)\util.sbr" : $(SOURCE) "$(INTDIR)"
296	$(CPP) $(CPP_PROJ) $(SOURCE)
297
298
299!ENDIF
300
301!IF  "$(CFG)" == "rndc - @PLATFORM@ Release"
302
303"libisc - @PLATFORM@ Release" :
304   cd "..\..\..\lib\isc\win32"
305   $(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - @PLATFORM@ Release"
306   cd "..\..\..\bin\rndc\win32"
307
308"libisc - @PLATFORM@ ReleaseCLEAN" :
309   cd "..\..\..\lib\isc\win32"
310   $(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - @PLATFORM@ Release" RECURSE=1 CLEAN
311   cd "..\..\..\bin\rndc\win32"
312
313!ELSEIF  "$(CFG)" == "rndc - @PLATFORM@ Debug"
314
315"libisc - @PLATFORM@ Debug" :
316   cd "..\..\..\lib\isc\win32"
317   $(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - @PLATFORM@ Debug"
318   cd "..\..\..\bin\rndc\win32"
319
320"libisc - @PLATFORM@ DebugCLEAN" :
321   cd "..\..\..\lib\isc\win32"
322   $(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - @PLATFORM@ Debug" RECURSE=1 CLEAN
323   cd "..\..\..\bin\rndc\win32"
324
325!ENDIF
326
327!IF  "$(CFG)" == "rndc - @PLATFORM@ Release"
328
329"libisccc - @PLATFORM@ Release" :
330   cd "..\..\..\lib\isccc\win32"
331   $(MAKE) /$(MAKEFLAGS) /F ".\libisccc.mak" CFG="libisccc - @PLATFORM@ Release"
332   cd "..\..\..\bin\rndc\win32"
333
334"libisccc - @PLATFORM@ ReleaseCLEAN" :
335   cd "..\..\..\lib\isccc\win32"
336   $(MAKE) /$(MAKEFLAGS) /F ".\libisccc.mak" CFG="libisccc - @PLATFORM@ Release" RECURSE=1 CLEAN
337   cd "..\..\..\bin\rndc\win32"
338
339!ELSEIF  "$(CFG)" == "rndc - @PLATFORM@ Debug"
340
341"libisccc - @PLATFORM@ Debug" :
342   cd "..\..\..\lib\isccc\win32"
343   $(MAKE) /$(MAKEFLAGS) /F ".\libisccc.mak" CFG="libisccc - @PLATFORM@ Debug"
344   cd "..\..\..\bin\rndc\win32"
345
346"libisccc - @PLATFORM@ DebugCLEAN" :
347   cd "..\..\..\lib\isccc\win32"
348   $(MAKE) /$(MAKEFLAGS) /F ".\libisccc.mak" CFG="libisccc - @PLATFORM@ Debug" RECURSE=1 CLEAN
349   cd "..\..\..\bin\rndc\win32"
350
351!ENDIF
352
353!IF  "$(CFG)" == "rndc - @PLATFORM@ Release"
354
355"libisccfg - @PLATFORM@ Release" :
356   cd "..\..\..\lib\isccfg\win32"
357   $(MAKE) /$(MAKEFLAGS) /F ".\libisccfg.mak" CFG="libisccfg - @PLATFORM@ Release"
358   cd "..\..\..\bin\rndc\win32"
359
360"libisccfg - @PLATFORM@ ReleaseCLEAN" :
361   cd "..\..\..\lib\isccfg\win32"
362   $(MAKE) /$(MAKEFLAGS) /F ".\libisccfg.mak" CFG="libisccfg - @PLATFORM@ Release" RECURSE=1 CLEAN
363   cd "..\..\..\bin\rndc\win32"
364
365!ELSEIF  "$(CFG)" == "rndc - @PLATFORM@ Debug"
366
367"libisccfg - @PLATFORM@ Debug" :
368   cd "..\..\..\lib\isccfg\win32"
369   $(MAKE) /$(MAKEFLAGS) /F ".\libisccfg.mak" CFG="libisccfg - @PLATFORM@ Debug"
370   cd "..\..\..\bin\rndc\win32"
371
372"libisccfg - @PLATFORM@ DebugCLEAN" :
373   cd "..\..\..\lib\isccfg\win32"
374   $(MAKE) /$(MAKEFLAGS) /F ".\libisccfg.mak" CFG="libisccfg - @PLATFORM@ Debug" RECURSE=1 CLEAN
375   cd "..\..\..\bin\rndc\win32"
376
377!ENDIF
378
379!IF  "$(CFG)" == "rndc - @PLATFORM@ Release"
380
381"libbind9 - @PLATFORM@ Release" :
382   cd "..\..\..\lib\bind9\win32"
383   $(MAKE) /$(MAKEFLAGS) /F ".\libbind9.mak" CFG="libbind9 - @PLATFORM@ Release"
384   cd "..\..\..\bin\rndc\win32"
385
386"libbind9 - @PLATFORM@ ReleaseCLEAN" :
387   cd "..\..\..\lib\bind9\win32"
388   $(MAKE) /$(MAKEFLAGS) /F ".\libbind9.mak" CFG="libbind9 - @PLATFORM@ Release" RECURSE=1 CLEAN
389   cd "..\..\..\bin\rndc\win32"
390
391!ELSEIF  "$(CFG)" == "rndc - @PLATFORM@ Debug"
392
393"libbind9 - @PLATFORM@ Debug" :
394   cd "..\..\..\lib\bind9\win32"
395   $(MAKE) /$(MAKEFLAGS) /F ".\libbind9.mak" CFG="libbind9 - @PLATFORM@ Debug"
396   cd "..\..\..\bin\rndc\win32"
397
398"libbind9 - @PLATFORM@ DebugCLEAN" :
399   cd "..\..\..\lib\bind9\win32"
400   $(MAKE) /$(MAKEFLAGS) /F ".\libbind9.mak" CFG="libbind9 - @PLATFORM@ Debug" RECURSE=1 CLEAN
401   cd "..\..\..\bin\rndc\win32"
402
403!ENDIF
404
405
406!ENDIF
407
408####################################################
409# Commands to generate initial empty manifest file and the RC file
410# that references it, and for generating the .res file:
411
412$(_VC_MANIFEST_BASENAME).auto.res : $(_VC_MANIFEST_BASENAME).auto.rc
413
414$(_VC_MANIFEST_BASENAME).auto.rc : $(_VC_MANIFEST_BASENAME).auto.manifest
415    type <<$@
416#include <winuser.h>
4171RT_MANIFEST"$(_VC_MANIFEST_BASENAME).auto.manifest"
418<< KEEP
419
420$(_VC_MANIFEST_BASENAME).auto.manifest :
421    type <<$@
422<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
423<assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
424</assembly>
425<< KEEP
426