Remove building with NOCRYPTO option
[minix.git] / external / bsd / bind / dist / bin / pkcs11 / win32 / pk11keygen.mak.in
blobd00f6779013ee0cb3396a1d119ad949e367db401
1 # Microsoft Developer Studio Generated NMAKE File, Based on pk11keygen.dsp
2 !IF "$(CFG)" == ""
3 CFG=pk11keygen - @PLATFORM@ Debug
4 !MESSAGE No configuration specified. Defaulting to pk11keygen - @PLATFORM@ Debug.
5 !ENDIF
7 !IF "$(CFG)" != "pk11keygen - @PLATFORM@ Release" && "$(CFG)" != "pk11keygen - @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 "pk11keygen.mak" CFG="pk11keygen - @PLATFORM@ Debug"
13 !MESSAGE
14 !MESSAGE Possible choices for configuration are:
15 !MESSAGE
16 !MESSAGE "pk11keygen - @PLATFORM@ Release" (based on "@PLATFORM@ (x86) Console Application")
17 !MESSAGE "pk11keygen - @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)" == "pk11keygen - @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)" == "pk11keygen - @PLATFORM@ Release"
105 OUTDIR=.\Release
106 INTDIR=.\Release
108 ALL : "..\..\..\Build\Release\pkcs11-keygen.exe"
111 CLEAN :
112 -@erase "$(INTDIR)\pkcs11-keygen.obj"
113 -@erase "$(INTDIR)\vc60.idb"
114 -@erase "..\..\..\Build\Release\pkcs11-keygen.exe"
115 -@$(_VC_MANIFEST_CLEAN)
117 "$(OUTDIR)" :
118 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
120 CPP=cl.exe
121 CPP_PROJ=/nologo /MD /W3 @COPTX@ @COPTI@ /O2 /I "./" /I "../../.." /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /D "NDEBUG" /D "__STDC__" /D "WIN32" /D "_CONSOLE" /D "_MBCS" @PK11_LIB_LOCATION@ /Fp"$(INTDIR)\pk11keygen.pch" @COPTY@ /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
123 .c{$(INTDIR)}.obj::
124 $(CPP) @<<
125 $(CPP_PROJ) $<
128 .cpp{$(INTDIR)}.obj::
129 $(CPP) @<<
130 $(CPP_PROJ) $<
133 .cxx{$(INTDIR)}.obj::
134 $(CPP) @<<
135 $(CPP_PROJ) $<
138 .c{$(INTDIR)}.sbr::
139 $(CPP) @<<
140 $(CPP_PROJ) $<
143 .cpp{$(INTDIR)}.sbr::
144 $(CPP) @<<
145 $(CPP_PROJ) $<
148 .cxx{$(INTDIR)}.sbr::
149 $(CPP) @<<
150 $(CPP_PROJ) $<
153 RSC=rc.exe
154 BSC32=bscmake.exe
155 BSC32_FLAGS=/nologo /o"$(OUTDIR)\pk11keygen.bsc"
156 BSC32_SBRS= \
158 LINK32=link.exe
159 LINK32_FLAGS=user32.lib advapi32.lib ../../../lib/isc/win32/Release/libisc.lib /nologo /subsystem:console /incremental:no /pdb:"$(OUTDIR)\pkcs11-keygen.pdb" @MACHINE@ /out:"../../../Build/Release/pkcs11-keygen.exe"
160 LINK32_OBJS= "$(INTDIR)\pkcs11-keygen.obj"
162 "..\..\..\Build\Release\pkcs11-keygen.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
163 $(LINK32) @<<
164 $(LINK32_FLAGS) $(LINK32_OBJS)
166 $(_VC_MANIFEST_EMBED_EXE)
168 !ELSEIF "$(CFG)" == "pk11keygen - @PLATFORM@ Debug"
170 OUTDIR=.\Debug
171 INTDIR=.\Debug
172 # Begin Custom Macros
173 OutDir=.\Debug
174 # End Custom Macros
176 ALL : "..\..\..\Build\Debug\pkcs11-keygen.exe" "$(OUTDIR)\pk11keygen.bsc"
179 CLEAN :
180 -@erase "$(INTDIR)\pkcs11-keygen.obj"
181 -@erase "$(INTDIR)\pkcs11-keygen.sbr"
182 -@erase "$(INTDIR)\vc60.idb"
183 -@erase "$(INTDIR)\vc60.pdb"
184 -@erase "$(OUTDIR)\pkcs11-keygen.pdb"
185 -@erase "$(OUTDIR)\pk11keygen.bsc"
186 -@erase "..\..\..\Build\Debug\pkcs11-keygen.exe"
187 -@erase "..\..\..\Build\Debug\pkcs11-keygen.ilk"
188 -@$(_VC_MANIFEST_CLEAN)
190 "$(OUTDIR)" :
191 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
193 CPP=cl.exe
194 CPP_PROJ=/nologo /MDd /W3 /Gm @COPTX@ @COPTI@ /ZI /Od /I "./" /I "../../.." /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /D "_DEBUG" /D "WIN32" /D "__STDC__" /D "_CONSOLE" /D "_MBCS" @PK11_LIB_LOCATION@ /FR"$(INTDIR)\\" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c
196 .c{$(INTDIR)}.obj::
197 $(CPP) @<<
198 $(CPP_PROJ) $<
201 .cpp{$(INTDIR)}.obj::
202 $(CPP) @<<
203 $(CPP_PROJ) $<
206 .cxx{$(INTDIR)}.obj::
207 $(CPP) @<<
208 $(CPP_PROJ) $<
211 .c{$(INTDIR)}.sbr::
212 $(CPP) @<<
213 $(CPP_PROJ) $<
216 .cpp{$(INTDIR)}.sbr::
217 $(CPP) @<<
218 $(CPP_PROJ) $<
221 .cxx{$(INTDIR)}.sbr::
222 $(CPP) @<<
223 $(CPP_PROJ) $<
226 RSC=rc.exe
227 BSC32=bscmake.exe
228 BSC32_FLAGS=/nologo /o"$(OUTDIR)\pk11keygen.bsc"
229 BSC32_SBRS= "$(INTDIR)\pkcs11-keygen.sbr"
231 "$(OUTDIR)\pk11keygen.bsc" : "$(OUTDIR)" $(BSC32_SBRS)
232 $(BSC32) @<<
233 $(BSC32_FLAGS) $(BSC32_SBRS)
236 LINK32=link.exe
237 LINK32_FLAGS=user32.lib advapi32.lib ../../../lib/isc/win32/Debug/libisc.lib /nologo /subsystem:console /incremental:yes /pdb:"$(OUTDIR)\pkcs11-keygen.pdb" /debug @MACHINE@ /out:"../../../Build/Debug/pkcs11-keygen.exe" /pdbtype:sept
238 LINK32_OBJS= "$(INTDIR)\pkcs11-keygen.obj"
240 "..\..\..\Build\Debug\pkcs11-keygen.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
241 $(LINK32) @<<
242 $(LINK32_FLAGS) $(LINK32_OBJS)
244 $(_VC_MANIFEST_EMBED_EXE)
246 !ENDIF
249 !IF "$(NO_EXTERNAL_DEPS)" != "1"
250 !IF EXISTS("pk11keygen.dep")
251 !INCLUDE "pk11keygen.dep"
252 !ELSE
253 !MESSAGE Warning: cannot find "pk11keygen.dep"
254 !ENDIF
255 !ENDIF
258 !IF "$(CFG)" == "pk11keygen - @PLATFORM@ Release" || "$(CFG)" == "pk11keygen - @PLATFORM@ Debug"
259 SOURCE="..\pkcs11-keygen.c"
261 !IF "$(CFG)" == "pk11keygen - @PLATFORM@ Release"
264 "$(INTDIR)\pkcs11-keygen.obj" : $(SOURCE) "$(INTDIR)"
265 $(CPP) $(CPP_PROJ) $(SOURCE)
268 !ELSEIF "$(CFG)" == "pk11keygen - @PLATFORM@ Debug"
271 "$(INTDIR)\pkcs11-keygen.obj" "$(INTDIR)\pkcs11-keygen.sbr" : $(SOURCE) "$(INTDIR)"
272 $(CPP) $(CPP_PROJ) $(SOURCE)
275 !ENDIF
277 !ENDIF
279 ####################################################
280 # Commands to generate initial empty manifest file and the RC file
281 # that references it, and for generating the .res file:
283 $(_VC_MANIFEST_BASENAME).auto.res : $(_VC_MANIFEST_BASENAME).auto.rc
285 $(_VC_MANIFEST_BASENAME).auto.rc : $(_VC_MANIFEST_BASENAME).auto.manifest
286 type <<$@
287 #include <winuser.h>
288 1RT_MANIFEST"$(_VC_MANIFEST_BASENAME).auto.manifest"
289 << KEEP
291 $(_VC_MANIFEST_BASENAME).auto.manifest :
292 type <<$@
293 <?xml version='1.0' encoding='UTF-8' standalone='yes'?>
294 <assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
295 </assembly>
296 << KEEP