Remove building with NOCRYPTO option
[minix.git] / external / bsd / bind / dist / bin / confgen / win32 / rndcconfgen.mak.in
blob4b0814de809d3e69bd69fe1215d60c915cf43e28
1 # Microsoft Developer Studio Generated NMAKE File, Based on confgen.dsp
2 !IF "$(CFG)" == ""
3 CFG=rndcconfgen - @PLATFORM@ Debug
4 !MESSAGE No configuration specified. Defaulting to rndcconfgen - @PLATFORM@ Debug.
5 !ENDIF
7 !IF "$(CFG)" != "rndcconfgen - @PLATFORM@ Release" && "$(CFG)" != "rndcconfgen - @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 "rndcconfgen.mak" CFG="rndcconfgen - @PLATFORM@ Debug"
13 !MESSAGE
14 !MESSAGE Possible choices for configuration are:
15 !MESSAGE
16 !MESSAGE "rndcconfgen - @PLATFORM@ Release" (based on "@PLATFORM@ (x86) Console Application")
17 !MESSAGE "rndcconfgen - @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)" == "rndcconfgen - @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)" == "rndcconfgen - @PLATFORM@ Release"
108 OUTDIR=.\Release
109 INTDIR=.\Release
111 ALL : "..\..\..\Build\Release\rndc-confgen.exe"
114 CLEAN :
115 -@erase "$(INTDIR)\os.obj"
116 -@erase "$(INTDIR)\rndc-confgen.obj"
117 -@erase "$(INTDIR)\keygen.obj"
118 -@erase "$(INTDIR)\util.obj"
119 -@erase "$(INTDIR)\vc60.idb"
120 -@erase "..\..\..\Build\Release\rndc-confgen.exe"
121 -@$(_VC_MANIFEST_CLEAN)
123 "$(OUTDIR)" :
124 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
126 CPP_PROJ=/nologo /MD /W3 @COPTX@ @COPTI@ /O2 /I "./" /I "../../../" @LIBXML2_INC@ /I "../include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/dns/win32/include" /I "../../../lib/dns/include" /I "../../../lib/isccc/include" /I "../../../lib/isccfg/include" /D "WIN32" /D "NDEBUG" /D "__STDC__" /D "_CONSOLE" /D "_MBCS" /Fp"$(INTDIR)\confgen.pch" @COPTY@ /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
127 BSC32=bscmake.exe
128 BSC32_FLAGS=/nologo /o"$(OUTDIR)\confgen.bsc"
129 BSC32_SBRS= \
131 LINK32=link.exe
132 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/isccc/win32/Release/libisccc.lib /nologo /subsystem:console /incremental:no /pdb:"$(OUTDIR)\rndc-confgen.pdb" @MACHINE@ /out:"../../../Build/Release/rndc-confgen.exe"
133 LINK32_OBJS= \
134 "$(INTDIR)\os.obj" \
135 "$(INTDIR)\rndc-confgen.obj" \
136 "$(INTDIR)\keygen.obj" \
137 "$(INTDIR)\util.obj"
139 "..\..\..\Build\Release\rndc-confgen.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
140 $(LINK32) @<<
141 $(LINK32_FLAGS) $(LINK32_OBJS)
143 $(_VC_MANIFEST_EMBED_EXE)
145 !ELSEIF "$(CFG)" == "rndcconfgen - @PLATFORM@ Debug"
147 OUTDIR=.\Debug
148 INTDIR=.\Debug
149 # Begin Custom Macros
150 OutDir=.\Debug
151 # End Custom Macros
153 ALL : "..\..\..\Build\Debug\rndc-confgen.exe" "$(OUTDIR)\confgen.bsc"
156 CLEAN :
157 -@erase "$(INTDIR)\os.obj"
158 -@erase "$(INTDIR)\os.sbr"
159 -@erase "$(INTDIR)\rndc-confgen.obj"
160 -@erase "$(INTDIR)\rndc-confgen.sbr"
161 -@erase "$(INTDIR)\keygen.obj"
162 -@erase "$(INTDIR)\keygen.sbr"
163 -@erase "$(INTDIR)\util.obj"
164 -@erase "$(INTDIR)\util.sbr"
165 -@erase "$(INTDIR)\vc60.idb"
166 -@erase "$(INTDIR)\vc60.pdb"
167 -@erase "$(OUTDIR)\confgen.bsc"
168 -@erase "$(OUTDIR)\rndc-confgen.pdb"
169 -@erase "..\..\..\Build\Debug\rndc-confgen.exe"
170 -@erase "..\..\..\Build\Debug\rndc-confgen.ilk"
171 -@$(_VC_MANIFEST_CLEAN)
173 "$(OUTDIR)" :
174 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
176 CPP_PROJ=/nologo /MDd /W3 /Gm @COPTX@ @COPTI@ /ZI /Od /I "./" /I "../../../" @LIBXML2_INC@ /I "../include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/dns/win32/include" /I "../../../lib/dns/include" /I "../../../lib/isccc/include" /I "../../../lib/isccfg/include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FR"$(INTDIR)\\" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c
177 BSC32=bscmake.exe
178 BSC32_FLAGS=/nologo /o"$(OUTDIR)\confgen.bsc"
179 BSC32_SBRS= \
180 "$(INTDIR)\os.sbr" \
181 "$(INTDIR)\rndc-confgen.sbr" \
182 "$(INTDIR)\keygen.sbr" \
183 "$(INTDIR)\util.sbr"
185 "$(OUTDIR)\confgen.bsc" : "$(OUTDIR)" $(BSC32_SBRS)
186 $(BSC32) @<<
187 $(BSC32_FLAGS) $(BSC32_SBRS)
190 LINK32=link.exe
191 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/isccc/win32/Debug/libisccc.lib /nologo /subsystem:console /incremental:yes /pdb:"$(OUTDIR)\rndc-confgen.pdb" /debug @MACHINE@ /out:"../../../Build/Debug/rndc-confgen.exe" /pdbtype:sept
192 LINK32_OBJS= \
193 "$(INTDIR)\os.obj" \
194 "$(INTDIR)\rndc-confgen.obj" \
195 "$(INTDIR)\keygen.obj" \
196 "$(INTDIR)\util.obj"
198 "..\..\..\Build\Debug\rndc-confgen.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
199 $(LINK32) @<<
200 $(LINK32_FLAGS) $(LINK32_OBJS)
202 $(_VC_MANIFEST_EMBED_EXE)
204 !ENDIF
206 .c{$(INTDIR)}.obj::
207 $(CPP) @<<
208 $(CPP_PROJ) $<
211 .cpp{$(INTDIR)}.obj::
212 $(CPP) @<<
213 $(CPP_PROJ) $<
216 .cxx{$(INTDIR)}.obj::
217 $(CPP) @<<
218 $(CPP_PROJ) $<
221 .c{$(INTDIR)}.sbr::
222 $(CPP) @<<
223 $(CPP_PROJ) $<
226 .cpp{$(INTDIR)}.sbr::
227 $(CPP) @<<
228 $(CPP_PROJ) $<
231 .cxx{$(INTDIR)}.sbr::
232 $(CPP) @<<
233 $(CPP_PROJ) $<
237 !IF "$(NO_EXTERNAL_DEPS)" != "1"
238 !IF EXISTS("confgen.dep")
239 !INCLUDE "confgen.dep"
240 !ELSE
241 !MESSAGE Warning: cannot find "confgen.dep"
242 !ENDIF
243 !ENDIF
246 !IF "$(CFG)" == "rndcconfgen - @PLATFORM@ Release" || "$(CFG)" == "rndcconfgen - @PLATFORM@ Debug"
247 SOURCE=.\os.c
249 !IF "$(CFG)" == "rndcconfgen - @PLATFORM@ Release"
252 "$(INTDIR)\os.obj" : $(SOURCE) "$(INTDIR)"
255 !ELSEIF "$(CFG)" == "rndcconfgen - @PLATFORM@ Debug"
258 "$(INTDIR)\os.obj" "$(INTDIR)\os.sbr" : $(SOURCE) "$(INTDIR)"
261 !ENDIF
263 SOURCE="..\rndc-confgen.c"
265 !IF "$(CFG)" == "rndcconfgen - @PLATFORM@ Release"
268 "$(INTDIR)\rndc-confgen.obj" : $(SOURCE) "$(INTDIR)"
269 $(CPP) $(CPP_PROJ) $(SOURCE)
272 !ELSEIF "$(CFG)" == "rndcconfgen - @PLATFORM@ Debug"
275 "$(INTDIR)\rndc-confgen.obj" "$(INTDIR)\rndc-confgen.sbr" : $(SOURCE) "$(INTDIR)"
276 $(CPP) $(CPP_PROJ) $(SOURCE)
279 !ENDIF
281 SOURCE=..\keygen.c
283 !IF "$(CFG)" == "rndcconfgen - @PLATFORM@ Release"
286 "$(INTDIR)\keygen.obj" : $(SOURCE) "$(INTDIR)"
287 $(CPP) $(CPP_PROJ) $(SOURCE)
290 !ELSEIF "$(CFG)" == "rndcconfgen - @PLATFORM@ Debug"
293 "$(INTDIR)\keygen.obj" "$(INTDIR)\keygen.sbr" : $(SOURCE) "$(INTDIR)"
294 $(CPP) $(CPP_PROJ) $(SOURCE)
297 !ENDIF
299 SOURCE=..\util.c
301 !IF "$(CFG)" == "rndcconfgen - @PLATFORM@ Release"
304 "$(INTDIR)\util.obj" : $(SOURCE) "$(INTDIR)"
305 $(CPP) $(CPP_PROJ) $(SOURCE)
308 !ELSEIF "$(CFG)" == "rndcconfgen - @PLATFORM@ Debug"
311 "$(INTDIR)\util.obj" "$(INTDIR)\util.sbr" : $(SOURCE) "$(INTDIR)"
312 $(CPP) $(CPP_PROJ) $(SOURCE)
315 !ENDIF
317 !ENDIF
319 ####################################################
320 # Commands to generate initial empty manifest file and the RC file
321 # that references it, and for generating the .res file:
323 $(_VC_MANIFEST_BASENAME).auto.res : $(_VC_MANIFEST_BASENAME).auto.rc
325 $(_VC_MANIFEST_BASENAME).auto.rc : $(_VC_MANIFEST_BASENAME).auto.manifest
326 type <<$@
327 #include <winuser.h>
328 1RT_MANIFEST"$(_VC_MANIFEST_BASENAME).auto.manifest"
329 << KEEP
331 $(_VC_MANIFEST_BASENAME).auto.manifest :
332 type <<$@
333 <?xml version='1.0' encoding='UTF-8' standalone='yes'?>
334 <assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
335 </assembly>
336 << KEEP