etc/services - sync with NetBSD-8
[minix.git] / external / bsd / bind / dist / bin / dnssec / win32 / importkey.mak.in
blob0598f46f5a5427a916ea6d003a0acf0d733c3958
1 # Microsoft Developer Studio Generated NMAKE File, Based on importkey.dsp
2 !IF "$(CFG)" == ""
3 CFG=importkey - @PLATFORM@ Debug
4 !MESSAGE No configuration specified. Defaulting to importkey - @PLATFORM@ Debug.
5 !ENDIF
7 !IF "$(CFG)" != "importkey - @PLATFORM@ Release" && "$(CFG)" != "importkey - @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 "importkey.mak" CFG="importkey - @PLATFORM@ Debug"
13 !MESSAGE
14 !MESSAGE Possible choices for configuration are:
15 !MESSAGE
16 !MESSAGE "importkey - @PLATFORM@ Release" (based on "@PLATFORM@ (x86) Console Application")
17 !MESSAGE "importkey - @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)" == "importkey - @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)" == "importkey - @PLATFORM@ Release"
105 OUTDIR=.\Release
106 INTDIR=.\Release
108 ALL : "..\..\..\Build\Release\dnssec-importkey.exe"
111 CLEAN :
112 -@erase "$(INTDIR)\dnssec-importkey.obj"
113 -@erase "$(INTDIR)\dnssectool.obj"
114 -@erase "$(INTDIR)\vc60.idb"
115 -@erase "..\..\..\Build\Release\dnssec-importkey.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)\importkey.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)\importkey.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-importkey.pdb" @MACHINE@ /out:"../../../Build/Release/dnssec-importkey.exe"
161 LINK32_OBJS= \
162 "$(INTDIR)\dnssec-importkey.obj" \
163 "$(INTDIR)\dnssectool.obj"
165 "..\..\..\Build\Release\dnssec-importkey.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
166 $(LINK32) @<<
167 $(LINK32_FLAGS) $(LINK32_OBJS)
169 $(_VC_MANIFEST_EMBED_EXE)
171 !ELSEIF "$(CFG)" == "importkey - @PLATFORM@ Debug"
173 OUTDIR=.\Debug
174 INTDIR=.\Debug
175 # Begin Custom Macros
176 OutDir=.\Debug
177 # End Custom Macros
179 ALL : "..\..\..\Build\Debug\dnssec-importkey.exe" "$(OUTDIR)\importkey.bsc"
182 CLEAN :
183 -@erase "$(INTDIR)\dnssec-importkey.obj"
184 -@erase "$(INTDIR)\dnssec-importkey.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-importkey.pdb"
190 -@erase "$(OUTDIR)\importkey.bsc"
191 -@erase "..\..\..\Build\Debug\dnssec-importkey.exe"
192 -@erase "..\..\..\Build\Debug\dnssec-importkey.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)\importkey.bsc"
234 BSC32_SBRS= \
235 "$(INTDIR)\dnssec-importkey.sbr" \
236 "$(INTDIR)\dnssectool.sbr"
238 "$(OUTDIR)\importkey.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-importkey.pdb" /debug @MACHINE@ /out:"../../../Build/Debug/dnssec-importkey.exe" /pdbtype:sept
245 LINK32_OBJS= \
246 "$(INTDIR)\dnssec-importkey.obj" \
247 "$(INTDIR)\dnssectool.obj"
249 "..\..\..\Build\Debug\dnssec-importkey.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("importkey.dep")
260 !INCLUDE "importkey.dep"
261 !ELSE
262 !MESSAGE Warning: cannot find "importkey.dep"
263 !ENDIF
264 !ENDIF
267 !IF "$(CFG)" == "importkey - @PLATFORM@ Release" || "$(CFG)" == "importkey - @PLATFORM@ Debug"
268 SOURCE="..\dnssec-importkey.c"
270 !IF "$(CFG)" == "importkey - @PLATFORM@ Release"
273 "$(INTDIR)\dnssec-importkey.obj" : $(SOURCE) "$(INTDIR)"
274 $(CPP) $(CPP_PROJ) $(SOURCE)
277 !ELSEIF "$(CFG)" == "importkey - @PLATFORM@ Debug"
280 "$(INTDIR)\dnssec-importkey.obj" "$(INTDIR)\dnssec-importkey.sbr" : $(SOURCE) "$(INTDIR)"
281 $(CPP) $(CPP_PROJ) $(SOURCE)
284 !ENDIF
286 SOURCE=..\dnssectool.c
288 !IF "$(CFG)" == "importkey - @PLATFORM@ Release"
291 "$(INTDIR)\dnssectool.obj" : $(SOURCE) "$(INTDIR)"
292 $(CPP) $(CPP_PROJ) $(SOURCE)
295 !ELSEIF "$(CFG)" == "importkey - @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