Remove building with NOCRYPTO option
[minix.git] / external / bsd / bind / dist / bin / tests / win32 / rwlock_test.mak.in
blobbed1f3101bf22e2b5dbb56df550842a6217ca642
1 # Microsoft Developer Studio Generated NMAKE File, Based on rwlock_test.dsp
2 !IF "$(CFG)" == ""
3 CFG=rwlock_test - @PLATFORM@ Debug
4 !MESSAGE No configuration specified. Defaulting to rwlock_test - @PLATFORM@ Debug.
5 !ENDIF
7 !IF "$(CFG)" != "rwlock_test - @PLATFORM@ Release" && "$(CFG)" != "rwlock_test - @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 "rwlock_test.mak" CFG="rwlock_test - @PLATFORM@ Debug"
13 !MESSAGE
14 !MESSAGE Possible choices for configuration are:
15 !MESSAGE
16 !MESSAGE "rwlock_test - @PLATFORM@ Release" (based on "@PLATFORM@ (x86) Console Application")
17 !MESSAGE "rwlock_test - @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)" == "rwlock_test - @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)" == "rwlock_test - @PLATFORM@ Release"
105 OUTDIR=.\Release
106 INTDIR=.\Release
108 ALL : "..\..\..\Build\Release\rwlock_test.exe"
111 CLEAN :
112 -@erase "$(INTDIR)\rwlock_test.obj"
113 -@erase "$(INTDIR)\vc60.idb"
114 -@erase "..\..\..\Build\Release\rwlock_test.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 "../../../" @LIBXML2_INC@ /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /D "NDEBUG" /D "__STDC__" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /Fp"$(INTDIR)\rwlock_test.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)\rwlock_test.bsc"
156 BSC32_SBRS= \
158 LINK32=link.exe
159 LINK32_FLAGS=user32.lib advapi32.lib ws2_32.lib ../../../lib/isc/win32/Release/libisc.lib /nologo /subsystem:console /incremental:no /pdb:"$(OUTDIR)\rwlock_test.pdb" @MACHINE@ /out:"../../../Build/Release/rwlock_test.exe"
160 LINK32_OBJS= \
161 "$(INTDIR)\rwlock_test.obj"
163 "..\..\..\Build\Release\rwlock_test.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
164 $(LINK32) @<<
165 $(LINK32_FLAGS) $(LINK32_OBJS)
167 $(_VC_MANIFEST_EMBED_EXE)
169 !ELSEIF "$(CFG)" == "rwlock_test - @PLATFORM@ Debug"
171 OUTDIR=.\Debug
172 INTDIR=.\Debug
173 # Begin Custom Macros
174 OutDir=.\Debug
175 # End Custom Macros
177 ALL : "..\..\..\Build\Debug\rwlock_test.exe" "$(OUTDIR)\rwlock_test.bsc"
180 CLEAN :
181 -@erase "$(INTDIR)\rwlock_test.obj"
182 -@erase "$(INTDIR)\rwlock_test.sbr"
183 -@erase "$(INTDIR)\vc60.idb"
184 -@erase "$(INTDIR)\vc60.pdb"
185 -@erase "$(OUTDIR)\rwlock_test.pdb"
186 -@erase "$(OUTDIR)\rwlock_test.bsc"
187 -@erase "..\..\..\Build\Debug\rwlock_test.exe"
188 -@erase "..\..\..\Build\Debug\rwlock_test.ilk"
189 -@$(_VC_MANIFEST_CLEAN)
191 "$(OUTDIR)" :
192 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
194 CPP=cl.exe
195 CPP_PROJ=/nologo /MDd /W3 /Gm @COPTX@ @COPTI@ /ZI /Od /I "../../../" @LIBXML2_INC@ /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /D "_DEBUG" /D "WIN32" /D "__STDC__" /D "_CONSOLE" /D "_MBCS" /FR"$(INTDIR)\\" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c
197 .c{$(INTDIR)}.obj::
198 $(CPP) @<<
199 $(CPP_PROJ) $<
202 .cpp{$(INTDIR)}.obj::
203 $(CPP) @<<
204 $(CPP_PROJ) $<
207 .cxx{$(INTDIR)}.obj::
208 $(CPP) @<<
209 $(CPP_PROJ) $<
212 .c{$(INTDIR)}.sbr::
213 $(CPP) @<<
214 $(CPP_PROJ) $<
217 .cpp{$(INTDIR)}.sbr::
218 $(CPP) @<<
219 $(CPP_PROJ) $<
222 .cxx{$(INTDIR)}.sbr::
223 $(CPP) @<<
224 $(CPP_PROJ) $<
227 RSC=rc.exe
228 BSC32=bscmake.exe
229 BSC32_FLAGS=/nologo /o"$(OUTDIR)\rwlock_test.bsc"
230 BSC32_SBRS= \
231 "$(INTDIR)\rwlock_test.sbr"
233 "$(OUTDIR)\rwlock_test.bsc" : "$(OUTDIR)" $(BSC32_SBRS)
234 $(BSC32) @<<
235 $(BSC32_FLAGS) $(BSC32_SBRS)
238 LINK32=link.exe
239 LINK32_FLAGS=user32.lib advapi32.lib ws2_32.lib ../../../lib/isc/win32/Debug/libisc.lib /nologo /subsystem:console /incremental:yes /pdb:"$(OUTDIR)\rwlock_test.pdb" /debug @MACHINE@ /out:"../../../Build/Debug/rwlock_test.exe" /pdbtype:sept
240 LINK32_OBJS= \
241 "$(INTDIR)\rwlock_test.obj"
243 "..\..\..\Build\Debug\rwlock_test.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
244 $(LINK32) @<<
245 $(LINK32_FLAGS) $(LINK32_OBJS)
247 $(_VC_MANIFEST_EMBED_EXE)
249 !ENDIF
252 !IF "$(NO_EXTERNAL_DEPS)" != "1"
253 !IF EXISTS("rwlock_test.dep")
254 !INCLUDE "rwlock_test.dep"
255 !ELSE
256 !MESSAGE Warning: cannot find "rwlock_test.dep"
257 !ENDIF
258 !ENDIF
261 !IF "$(CFG)" == "rwlock_test - @PLATFORM@ Release" || "$(CFG)" == "rwlock_test - @PLATFORM@ Debug"
262 SOURCE="..\rwlock_test.c"
264 !IF "$(CFG)" == "rwlock_test - @PLATFORM@ Release"
267 "$(INTDIR)\rwlock_test.obj" : $(SOURCE) "$(INTDIR)"
268 $(CPP) $(CPP_PROJ) $(SOURCE)
271 !ELSEIF "$(CFG)" == "rwlock_test - @PLATFORM@ Debug"
274 "$(INTDIR)\rwlock_test.obj" "$(INTDIR)\rwlock_test.sbr" : $(SOURCE) "$(INTDIR)"
275 $(CPP) $(CPP_PROJ) $(SOURCE)
278 !ENDIF
280 !ENDIF
282 ####################################################
283 # Commands to generate initial empty manifest file and the RC file
284 # that references it, and for generating the .res file:
286 $(_VC_MANIFEST_BASENAME).auto.res : $(_VC_MANIFEST_BASENAME).auto.rc
288 $(_VC_MANIFEST_BASENAME).auto.rc : $(_VC_MANIFEST_BASENAME).auto.manifest
289 type <<$@
290 #include <winuser.h>
291 1RT_MANIFEST"$(_VC_MANIFEST_BASENAME).auto.manifest"
292 << KEEP
294 $(_VC_MANIFEST_BASENAME).auto.manifest :
295 type <<$@
296 <?xml version='1.0' encoding='UTF-8' standalone='yes'?>
297 <assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
298 </assembly>
299 << KEEP