Remove building with NOCRYPTO option
[minix.git] / external / bsd / bind / dist / contrib / dlz / example / win32 / dxdriver.mak
blob1d8506b15e02df31ceeae99b380a3b776cc1ba56
1 # Microsoft Developer Studio Generated NMAKE File, Based on dxdriver.dsp
2 !IF "$(CFG)" == ""
3 CFG=dxdriver - Win32 Release
4 !MESSAGE No configuration specified. Defaulting to dxdriver - Win32 Release.
5 !ENDIF
7 !IF "$(CFG)" != "dxdriver - Win32 Release" && "$(CFG)" != "dxdriver - Win32 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 "dxdriver.mak" CFG="dxdriver - Win32 Release"
13 !MESSAGE
14 !MESSAGE Possible choices for configuration are:
15 !MESSAGE
16 !MESSAGE "dxdriver - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")
17 !MESSAGE "dxdriver - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
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 MTL=midl.exe
30 RSC=rc.exe
32 !IF "$(CFG)" == "dxdriver - Win32 Release"
33 _VC_MANIFEST_INC=0
34 _VC_MANIFEST_BASENAME=__VC80
35 !ELSE
36 _VC_MANIFEST_INC=1
37 _VC_MANIFEST_BASENAME=__VC80.Debug
38 !ENDIF
40 ####################################################
41 # Specifying name of temporary resource file used only in incremental builds:
43 !if "$(_VC_MANIFEST_INC)" == "1"
44 _VC_MANIFEST_AUTO_RES=$(_VC_MANIFEST_BASENAME).auto.res
45 !else
46 _VC_MANIFEST_AUTO_RES=
47 !endif
49 ####################################################
50 # _VC_MANIFEST_EMBED_EXE - command to embed manifest in EXE:
52 !if "$(_VC_MANIFEST_INC)" == "1"
54 #MT_SPECIAL_RETURN=1090650113
55 #MT_SPECIAL_SWITCH=-notify_resource_update
56 MT_SPECIAL_RETURN=0
57 MT_SPECIAL_SWITCH=
58 _VC_MANIFEST_EMBED_EXE= \
59 if exist $@.manifest mt.exe -manifest $@.manifest -out:$(_VC_MANIFEST_BASENAME).auto.manifest $(MT_SPECIAL_SWITCH) & \
60 if "%ERRORLEVEL%" == "$(MT_SPECIAL_RETURN)" \
61 rc /r $(_VC_MANIFEST_BASENAME).auto.rc & \
62 link $** /out:$@ $(LFLAGS)
64 !else
66 _VC_MANIFEST_EMBED_EXE= \
67 if exist $@.manifest mt.exe -manifest $@.manifest -outputresource:$@;1
69 !endif
71 ####################################################
72 # _VC_MANIFEST_EMBED_DLL - command to embed manifest in DLL:
74 !if "$(_VC_MANIFEST_INC)" == "1"
76 #MT_SPECIAL_RETURN=1090650113
77 #MT_SPECIAL_SWITCH=-notify_resource_update
78 MT_SPECIAL_RETURN=0
79 MT_SPECIAL_SWITCH=
80 _VC_MANIFEST_EMBED_EXE= \
81 if exist $@.manifest mt.exe -manifest $@.manifest -out:$(_VC_MANIFEST_BASENAME).auto.manifest $(MT_SPECIAL_SWITCH) & \
82 if "%ERRORLEVEL%" == "$(MT_SPECIAL_RETURN)" \
83 rc /r $(_VC_MANIFEST_BASENAME).auto.rc & \
84 link $** /out:$@ $(LFLAGS)
86 !else
88 _VC_MANIFEST_EMBED_EXE= \
89 if exist $@.manifest mt.exe -manifest $@.manifest -outputresource:$@;2
91 !endif
92 ####################################################
93 # _VC_MANIFEST_CLEAN - command to clean resources files generated temporarily:
95 !if "$(_VC_MANIFEST_INC)" == "1"
97 _VC_MANIFEST_CLEAN=-del $(_VC_MANIFEST_BASENAME).auto.res \
98 $(_VC_MANIFEST_BASENAME).auto.rc \
99 $(_VC_MANIFEST_BASENAME).auto.manifest
101 !else
103 _VC_MANIFEST_CLEAN=
105 !endif
107 !IF "$(CFG)" == "dxdriver - Win32 Release"
109 OUTDIR=.\Release
110 INTDIR=.\Release
112 ALL : "..\..\..\..\..\Build\Release\dxdriver.dll"
114 CLEAN :
115 -@erase "$(INTDIR)\DLLMain.obj"
116 -@erase "$(INTDIR)\driver.obj"
117 -@erase "$(INTDIR)\vc60.idb"
118 -@erase "$(OUTDIR)\dxdriver.exp"
119 -@erase "$(OUTDIR)\dxdriver.lib"
120 -@erase "..\..\..\..\..\Build\Release\dxdriver.dll"
121 -@$(_VC_MANIFEST_CLEAN)
123 "$(OUTDIR)" :
124 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
126 CPP_PROJ=/nologo /MD /W3 /GX /O2 /I "../" /I "../../../../../" /I "../../../../../lib/isc/win32" /I "../../../../../lib/isc/win32/include" /I "../../../../../lib/isc/include" /I "../../../../../lib/dns/include" /D "NDEBUG" /D "WIN32" /D "__STDC__" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /Fp"$(INTDIR)\dxdriver.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
127 MTL_PROJ=/nologo /D "NDEBUG" /mktyplib203 /win32
128 BSC32=bscmake.exe
129 BSC32_FLAGS=/nologo /o"$(OUTDIR)\dxdriver.bsc"
130 BSC32_SBRS= \
132 LINK32=link.exe
133 LINK32_FLAGS=user32.lib advapi32.lib ws2_32.lib /nologo /dll /incremental:no /pdb:"$(OUTDIR)\dxdriver.pdb" /machine:I386 /def:".\dxdriver.def" /out:"../../../../../Build/Release/dxdriver.dll" /implib:"$(OUTDIR)\dxdriver.lib"
134 DEF_FILE= \
135 ".\dxdriver.def"
136 LINK32_OBJS= \
137 "$(INTDIR)\DLLMain.obj" \
138 "$(INTDIR)\driver.obj"
140 "..\..\..\..\..\Build\Release\dxdriver.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
141 $(LINK32) @<<
142 $(LINK32_FLAGS) $(LINK32_OBJS)
144 $(_VC_MANIFEST_EMBED_DLL)
146 !ELSEIF "$(CFG)" == "dxdriver - Win32 Debug"
148 OUTDIR=.\Debug
149 INTDIR=.\Debug
150 # Begin Custom Macros
151 OutDir=.\Debug
152 # End Custom Macros
154 ALL : "..\..\..\..\..\Build\Debug\dxdriver.dll" "$(OUTDIR)\dxdriver.bsc"
156 CLEAN :
157 -@erase "$(INTDIR)\DLLMain.obj"
158 -@erase "$(INTDIR)\DLLMain.sbr"
159 -@erase "$(INTDIR)\driver.obj"
160 -@erase "$(INTDIR)\driver.sbr"
161 -@erase "$(INTDIR)\vc60.idb"
162 -@erase "$(INTDIR)\vc60.pdb"
163 -@erase "$(OUTDIR)\dxdriver.bsc"
164 -@erase "$(OUTDIR)\dxdriver.exp"
165 -@erase "$(OUTDIR)\dxdriver.lib"
166 -@erase "$(OUTDIR)\dxdriver.pdb"
167 -@erase "..\..\..\..\..\Build\Debug\dxdriver.dll"
168 -@erase "..\..\..\..\..\Build\Debug\dxdriver.ilk"
169 -@$(_VC_MANIFEST_CLEAN)
171 "$(OUTDIR)" :
172 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
174 CPP_PROJ=/nologo /MDd /W3 /Gm /GX /ZI /Od /I "../" /I "../../../../../" /I "../../../../../lib/isc/win32" /I "../../../../../lib/isc/win32/include" /I "../../../../../lib/isc/include" /I "../../../../../lib/dns/include" /D "_DEBUG" /D "WIN32" /D "__STDC__" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /FR"$(INTDIR)\\" /Fp"$(INTDIR)\dxdriver.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c
175 MTL_PROJ=/nologo /D "_DEBUG" /mktyplib203 /win32
176 BSC32=bscmake.exe
177 BSC32_FLAGS=/nologo /o"$(OUTDIR)\dxdriver.bsc"
178 BSC32_SBRS= \
179 "$(INTDIR)\DLLMain.sbr" \
180 "$(INTDIR)\driver.sbr"
182 "$(OUTDIR)\dxdriver.bsc" : "$(OUTDIR)" $(BSC32_SBRS)
183 $(BSC32) @<<
184 $(BSC32_FLAGS) $(BSC32_SBRS)
187 LINK32=link.exe
188 LINK32_FLAGS=user32.lib advapi32.lib ws2_32.lib /nologo /dll /incremental:yes /pdb:"$(OUTDIR)\dxdriver.pdb" /debug /machine:I386 /def:".\dxdriver.def" /out:"../../../../../Build/Debug/dxdriver.dll" /implib:"$(OUTDIR)\dxdriver.lib" /pdbtype:sept
189 DEF_FILE= \
190 ".\dxdriver.def"
191 LINK32_OBJS= \
192 "$(INTDIR)\DLLMain.obj" \
193 "$(INTDIR)\driver.obj"
195 "..\..\..\..\..\Build\Debug\dxdriver.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
196 $(LINK32) @<<
197 $(LINK32_FLAGS) $(LINK32_OBJS)
199 $(_VC_MANIFEST_EMBED_DLL)
201 !ENDIF
203 .c{$(INTDIR)}.obj::
204 $(CPP) @<<
205 $(CPP_PROJ) $<
208 .cpp{$(INTDIR)}.obj::
209 $(CPP) @<<
210 $(CPP_PROJ) $<
213 .cxx{$(INTDIR)}.obj::
214 $(CPP) @<<
215 $(CPP_PROJ) $<
218 .c{$(INTDIR)}.sbr::
219 $(CPP) @<<
220 $(CPP_PROJ) $<
223 .cpp{$(INTDIR)}.sbr::
224 $(CPP) @<<
225 $(CPP_PROJ) $<
228 .cxx{$(INTDIR)}.sbr::
229 $(CPP) @<<
230 $(CPP_PROJ) $<
234 !IF "$(NO_EXTERNAL_DEPS)" != "1"
235 !IF EXISTS("dxdriver.dep")
236 !INCLUDE "dxdriver.dep"
237 !ELSE
238 !MESSAGE Warning: cannot find "dxdriver.dep"
239 !ENDIF
240 !ENDIF
243 !IF "$(CFG)" == "dxdriver - Win32 Release" || "$(CFG)" == "dxdriver - Win32 Debug"
244 SOURCE=.\DLLMain.c
246 !IF "$(CFG)" == "dxdriver - Win32 Release"
249 "$(INTDIR)\DLLMain.obj" : $(SOURCE) "$(INTDIR)"
252 !ELSEIF "$(CFG)" == "dxdriver - Win32 Debug"
255 "$(INTDIR)\DLLMain.obj" "$(INTDIR)\DLLMain.sbr" : $(SOURCE) "$(INTDIR)"
258 !ENDIF
260 SOURCE=..\driver.c
262 !IF "$(CFG)" == "dxdriver - Win32 Release"
265 "$(INTDIR)\driver.obj" : $(SOURCE) "$(INTDIR)"
266 $(CPP) $(CPP_PROJ) $(SOURCE)
269 !ELSEIF "$(CFG)" == "dxdriver - Win32 Debug"
272 "$(INTDIR)\driver.obj" "$(INTDIR)\driver.sbr" : $(SOURCE) "$(INTDIR)"
273 $(CPP) $(CPP_PROJ) $(SOURCE)
276 !ENDIF
279 !ENDIF
281 ####################################################
282 # Commands to generate initial empty manifest file and the RC file
283 # that references it, and for generating the .res file:
285 $(_VC_MANIFEST_BASENAME).auto.res : $(_VC_MANIFEST_BASENAME).auto.rc
287 $(_VC_MANIFEST_BASENAME).auto.rc : $(_VC_MANIFEST_BASENAME).auto.manifest
288 type <<$@
289 #include <winuser.h>
290 1RT_MANIFEST"$(_VC_MANIFEST_BASENAME).auto.manifest"
291 << KEEP
293 $(_VC_MANIFEST_BASENAME).auto.manifest :
294 type <<$@
295 <?xml version='1.0' encoding='UTF-8' standalone='yes'?>
296 <assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
297 </assembly>
298 << KEEP