Remove building with NOCRYPTO option
[minix.git] / external / bsd / bind / dist / bin / dnssec / win32 / settime.mak.in
blob0b51a7e1ac5471f6b7dd598ad6b96010b098df2a
1 # Microsoft Developer Studio Generated NMAKE File, Based on settime.dsp
2 !IF "$(CFG)" == ""
3 CFG=settime - @PLATFORM@ Debug
4 !MESSAGE No configuration specified. Defaulting to settime - @PLATFORM@ Debug.
5 !ENDIF
7 !IF "$(CFG)" != "settime - @PLATFORM@ Release" && "$(CFG)" != "settime - @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 "settime.mak" CFG="settime - @PLATFORM@ Debug"
13 !MESSAGE
14 !MESSAGE Possible choices for configuration are:
15 !MESSAGE
16 !MESSAGE "settime - @PLATFORM@ Release" (based on "@PLATFORM@ (x86) Console Application")
17 !MESSAGE "settime - @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)" == "settime - @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)" == "settime - @PLATFORM@ Release"
105 OUTDIR=.\Release
106 INTDIR=.\Release
108 ALL : "..\..\..\Build\Release\dnssec-settime.exe"
111 CLEAN :
112 -@erase "$(INTDIR)\dnssec-settime.obj"
113 -@erase "$(INTDIR)\dnssectool.obj"
114 -@erase "$(INTDIR)\vc60.idb"
115 -@erase "..\..\..\Build\Release\dnssec-settime.exe"
116 -@$(_VC_MANIFEST_CLEAN)
118 "$(OUTDIR)" :
119 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
121 CPP=cl.exe
122 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" /D "NDEBUG" /D "__STDC__" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /Fp"$(INTDIR)\settime.pch" @COPTY@ /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
124 .c{$(INTDIR)}.obj::
125 $(CPP) @<<
126 $(CPP_PROJ) $<
129 .cpp{$(INTDIR)}.obj::
130 $(CPP) @<<
131 $(CPP_PROJ) $<
134 .cxx{$(INTDIR)}.obj::
135 $(CPP) @<<
136 $(CPP_PROJ) $<
139 .c{$(INTDIR)}.sbr::
140 $(CPP) @<<
141 $(CPP_PROJ) $<
144 .cpp{$(INTDIR)}.sbr::
145 $(CPP) @<<
146 $(CPP_PROJ) $<
149 .cxx{$(INTDIR)}.sbr::
150 $(CPP) @<<
151 $(CPP_PROJ) $<
154 RSC=rc.exe
155 BSC32=bscmake.exe
156 BSC32_FLAGS=/nologo /o"$(OUTDIR)\settime.bsc"
157 BSC32_SBRS= \
159 LINK32=link.exe
160 LINK32_FLAGS=user32.lib advapi32.lib ../../../lib/isc/win32/Release/libisc.lib ../../../lib/dns/win32/Release/libdns.lib /nologo /subsystem:console /incremental:no /pdb:"$(OUTDIR)\dnssec-settime.pdb" @MACHINE@ /out:"../../../Build/Release/dnssec-settime.exe"
161 LINK32_OBJS= \
162 "$(INTDIR)\dnssec-settime.obj" \
163 "$(INTDIR)\dnssectool.obj"
165 "..\..\..\Build\Release\dnssec-settime.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
166 $(LINK32) @<<
167 $(LINK32_FLAGS) $(LINK32_OBJS)
169 $(_VC_MANIFEST_EMBED_EXE)
171 !ELSEIF "$(CFG)" == "settime - @PLATFORM@ Debug"
173 OUTDIR=.\Debug
174 INTDIR=.\Debug
175 # Begin Custom Macros
176 OutDir=.\Debug
177 # End Custom Macros
179 ALL : "..\..\..\Build\Debug\dnssec-settime.exe" "$(OUTDIR)\settime.bsc"
182 CLEAN :
183 -@erase "$(INTDIR)\dnssec-settime.obj"
184 -@erase "$(INTDIR)\dnssec-settime.sbr"
185 -@erase "$(INTDIR)\dnssectool.obj"
186 -@erase "$(INTDIR)\dnssectool.sbr"
187 -@erase "$(INTDIR)\vc60.idb"
188 -@erase "$(INTDIR)\vc60.pdb"
189 -@erase "$(OUTDIR)\dnssec-settime.pdb"
190 -@erase "$(OUTDIR)\settime.bsc"
191 -@erase "..\..\..\Build\Debug\dnssec-settime.exe"
192 -@erase "..\..\..\Build\Debug\dnssec-settime.ilk"
193 -@$(_VC_MANIFEST_CLEAN)
195 "$(OUTDIR)" :
196 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
198 CPP=cl.exe
199 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" /D "_DEBUG" /D "WIN32" /D "__STDC__" /D "_CONSOLE" /D "_MBCS" /FR"$(INTDIR)\\" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c
201 .c{$(INTDIR)}.obj::
202 $(CPP) @<<
203 $(CPP_PROJ) $<
206 .cpp{$(INTDIR)}.obj::
207 $(CPP) @<<
208 $(CPP_PROJ) $<
211 .cxx{$(INTDIR)}.obj::
212 $(CPP) @<<
213 $(CPP_PROJ) $<
216 .c{$(INTDIR)}.sbr::
217 $(CPP) @<<
218 $(CPP_PROJ) $<
221 .cpp{$(INTDIR)}.sbr::
222 $(CPP) @<<
223 $(CPP_PROJ) $<
226 .cxx{$(INTDIR)}.sbr::
227 $(CPP) @<<
228 $(CPP_PROJ) $<
231 RSC=rc.exe
232 BSC32=bscmake.exe
233 BSC32_FLAGS=/nologo /o"$(OUTDIR)\settime.bsc"
234 BSC32_SBRS= \
235 "$(INTDIR)\dnssec-settime.sbr" \
236 "$(INTDIR)\dnssectool.sbr"
238 "$(OUTDIR)\settime.bsc" : "$(OUTDIR)" $(BSC32_SBRS)
239 $(BSC32) @<<
240 $(BSC32_FLAGS) $(BSC32_SBRS)
243 LINK32=link.exe
244 LINK32_FLAGS=user32.lib advapi32.lib ../../../lib/isc/win32/Debug/libisc.lib ../../../lib/dns/win32/Debug/libdns.lib /nologo /subsystem:console /incremental:yes /pdb:"$(OUTDIR)\dnssec-settime.pdb" /debug @MACHINE@ /out:"../../../Build/Debug/dnssec-settime.exe" /pdbtype:sept
245 LINK32_OBJS= \
246 "$(INTDIR)\dnssec-settime.obj" \
247 "$(INTDIR)\dnssectool.obj"
249 "..\..\..\Build\Debug\dnssec-settime.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
250 $(LINK32) @<<
251 $(LINK32_FLAGS) $(LINK32_OBJS)
253 $(_VC_MANIFEST_EMBED_EXE)
255 !ENDIF
258 !IF "$(NO_EXTERNAL_DEPS)" != "1"
259 !IF EXISTS("settime.dep")
260 !INCLUDE "settime.dep"
261 !ELSE
262 !MESSAGE Warning: cannot find "settime.dep"
263 !ENDIF
264 !ENDIF
267 !IF "$(CFG)" == "settime - @PLATFORM@ Release" || "$(CFG)" == "settime - @PLATFORM@ Debug"
268 SOURCE="..\dnssec-settime.c"
270 !IF "$(CFG)" == "settime - @PLATFORM@ Release"
273 "$(INTDIR)\dnssec-settime.obj" : $(SOURCE) "$(INTDIR)"
274 $(CPP) $(CPP_PROJ) $(SOURCE)
277 !ELSEIF "$(CFG)" == "settime - @PLATFORM@ Debug"
280 "$(INTDIR)\dnssec-settime.obj" "$(INTDIR)\dnssec-settime.sbr" : $(SOURCE) "$(INTDIR)"
281 $(CPP) $(CPP_PROJ) $(SOURCE)
284 !ENDIF
286 SOURCE=..\dnssectool.c
288 !IF "$(CFG)" == "settime - @PLATFORM@ Release"
291 "$(INTDIR)\dnssectool.obj" : $(SOURCE) "$(INTDIR)"
292 $(CPP) $(CPP_PROJ) $(SOURCE)
295 !ELSEIF "$(CFG)" == "settime - @PLATFORM@ Debug"
298 "$(INTDIR)\dnssectool.obj" "$(INTDIR)\dnssectool.sbr" : $(SOURCE) "$(INTDIR)"
299 $(CPP) $(CPP_PROJ) $(SOURCE)
302 !ENDIF
305 !ENDIF
307 ####################################################
308 # Commands to generate initial empty manifest file and the RC file
309 # that references it, and for generating the .res file:
311 $(_VC_MANIFEST_BASENAME).auto.res : $(_VC_MANIFEST_BASENAME).auto.rc
313 $(_VC_MANIFEST_BASENAME).auto.rc : $(_VC_MANIFEST_BASENAME).auto.manifest
314 type <<$@
315 #include <winuser.h>
316 1RT_MANIFEST"$(_VC_MANIFEST_BASENAME).auto.manifest"
317 << KEEP
319 $(_VC_MANIFEST_BASENAME).auto.manifest :
320 type <<$@
321 <?xml version='1.0' encoding='UTF-8' standalone='yes'?>
322 <assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
323 </assembly>
324 << KEEP