etc/services - sync with NetBSD-8
[minix.git] / external / bsd / bind / dist / bin / tests / hashes / win32 / t_hashes.mak.in
blob10ebf3c0d923762f8f01e43588d790c9b0b94c9f
1 # Microsoft Developer Studio Generated NMAKE File, Based on t_hashes.dsp
2 !IF "$(CFG)" == ""
3 CFG=t_hashes - @PLATFORM@ Debug
4 !MESSAGE No configuration specified. Defaulting to t_hashes - @PLATFORM@ Debug.
5 !ENDIF
7 !IF "$(CFG)" != "t_hashes - @PLATFORM@ Release" && "$(CFG)" != "t_hashes - @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 "t_hashes.mak" CFG="t_hashes - @PLATFORM@ Debug"
13 !MESSAGE
14 !MESSAGE Possible choices for configuration are:
15 !MESSAGE
16 !MESSAGE "t_hashes - @PLATFORM@ Release" (based on "@PLATFORM@ (x86) Console Application")
17 !MESSAGE "t_hashes - @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 CPP=cl.exe
29 RSC=rc.exe
30 LIBXML=@LIBXML2_LIB@
32 !IF "$(CFG)" == "t_hashes - @PLATFORM@ 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)" == "t_hashes - @PLATFORM@ Release"
109 OUTDIR=.\Release
110 INTDIR=.\Release
112 !IF "$(RECURSE)" == "0"
114 ALL : "..\..\..\..\Build\Release\t_hashes.exe"
116 !ELSE
118 ALL : "libtests - @PLATFORM@ Release" "libisc - @PLATFORM@ Release" "..\..\..\..\Build\Release\t_hashes.exe"
120 !ENDIF
122 !IF "$(RECURSE)" == "1"
123 CLEAN :"libisc - @PLATFORM@ ReleaseCLEAN" "libtests - @PLATFORM@ ReleaseCLEAN"
124 !ELSE
125 CLEAN :
126 !ENDIF
127 -@erase "$(INTDIR)\t_hashes.obj"
128 -@erase "$(INTDIR)\vc60.idb"
129 -@erase "..\..\..\..\Build\Release\t_hashes.exe"
130 -@$(_VC_MANIFEST_CLEAN)
132 "$(OUTDIR)" :
133 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
135 CPP_PROJ=/nologo /MD /W3 @COPTX@ @COPTI@ /O2 /I "./" /I "../../../../" @LIBXML2_INC@ /I "../../../../lib/isc/win32" /I "../../../../lib/isc/win32/include" /I "../../../../lib/isc/include" /I "../../../../lib/tests/include" /D "WIN32" /D "NDEBUG" /D "__STDC__" /D "_CONSOLE" /D "_MBCS" /Fp"$(INTDIR)\t_hashes.pch" @COPTY@ /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
136 BSC32=bscmake.exe
137 BSC32_FLAGS=/nologo /o"$(OUTDIR)\t_hashes.bsc"
138 BSC32_SBRS= \
140 LINK32=link.exe
141 LINK32_FLAGS=user32.lib advapi32.lib kernel32.lib ws2_32.lib ../../../../lib/isc/win32/Release/libisc.lib ../../../../lib/tests/win32/Release/libtests.lib $(LIBXML) /nologo /subsystem:console /incremental:no /pdb:"$(OUTDIR)\t_hashes.pdb" @MACHINE@ /out:"../../../../Build/Release/t_hashes.exe"
142 LINK32_OBJS= \
143 "$(INTDIR)\t_hashes.obj" \
144 "..\..\..\..\lib\isc\win32\Release\libisc.lib" \
145 "..\..\..\..\lib\tests\win32\Release\libtests.lib"
147 "..\..\..\..\Build\Release\t_hashes.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
148 $(LINK32) @<<
149 $(LINK32_FLAGS) $(LINK32_OBJS)
151 $(_VC_MANIFEST_EMBED_EXE)
153 !ELSEIF "$(CFG)" == "t_hashes - @PLATFORM@ Debug"
155 OUTDIR=.\Debug
156 INTDIR=.\Debug
157 # Begin Custom Macros
158 OutDir=.\Debug
159 # End Custom Macros
161 !IF "$(RECURSE)" == "0"
163 ALL : "..\..\..\..\Build\Debug\t_hashes.exe" "$(OUTDIR)\t_hashes.bsc"
165 !ELSE
167 ALL : "libtests - @PLATFORM@ Debug" "libisc - @PLATFORM@ Debug" "..\..\..\..\Build\Debug\t_hashes.exe" "$(OUTDIR)\t_hashes.bsc"
169 !ENDIF
171 !IF "$(RECURSE)" == "1"
172 CLEAN :"libisc - @PLATFORM@ DebugCLEAN" "libtests - @PLATFORM@ DebugCLEAN"
173 !ELSE
174 CLEAN :
175 !ENDIF
176 -@erase "$(INTDIR)\t_hashes.obj"
177 -@erase "$(INTDIR)\t_hashes.sbr"
178 -@erase "$(INTDIR)\vc60.idb"
179 -@erase "$(INTDIR)\vc60.pdb"
180 -@erase "$(OUTDIR)\t_hashes.bsc"
181 -@erase "$(OUTDIR)\t_hashes.map"
182 -@erase "$(OUTDIR)\t_hashes.pdb"
183 -@erase "..\..\..\..\Build\Debug\t_hashes.exe"
184 -@erase "..\..\..\..\Build\Debug\t_hashes.ilk"
185 -@$(_VC_MANIFEST_CLEAN)
187 "$(OUTDIR)" :
188 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
190 CPP_PROJ=/nologo /MDd /W3 /Gm @COPTX@ @COPTI@ /ZI /Od /I "./" /I "../../../../" @LIBXML2_INC@ /I "../../../../lib/isc/win32" /I "../../../../lib/isc/win32/include" /I "../../../../lib/isc/include" /I "../../../../lib/tests/include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D "i386" /FR"$(INTDIR)\\" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c
191 BSC32=bscmake.exe
192 BSC32_FLAGS=/nologo /o"$(OUTDIR)\t_hashes.bsc"
193 BSC32_SBRS= \
194 "$(INTDIR)\t_hashes.sbr"
196 "$(OUTDIR)\t_hashes.bsc" : "$(OUTDIR)" $(BSC32_SBRS)
197 $(BSC32) @<<
198 $(BSC32_FLAGS) $(BSC32_SBRS)
201 LINK32=link.exe
202 LINK32_FLAGS=user32.lib advapi32.lib kernel32.lib ws2_32.lib ../../../../lib/isc/win32/Debug/libisc.lib ../../../../lib/tests/win32/Debug/libtests.lib $(LIBXML) /nologo /subsystem:console /incremental:yes /pdb:"$(OUTDIR)\t_hashes.pdb" /map:"$(INTDIR)\t_hashes.map" /debug @MACHINE@ /out:"../../../../Build/Debug/t_hashes.exe" /pdbtype:sept
203 LINK32_OBJS= \
204 "$(INTDIR)\t_hashes.obj" \
205 "..\..\..\..\lib\isc\win32\Debug\libisc.lib" \
206 "..\..\..\..\lib\tests\win32\Debug\libtests.lib"
208 "..\..\..\..\Build\Debug\t_hashes.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
209 $(LINK32) @<<
210 $(LINK32_FLAGS) $(LINK32_OBJS)
212 $(_VC_MANIFEST_EMBED_EXE)
214 !ENDIF
216 .c{$(INTDIR)}.obj::
217 $(CPP) @<<
218 $(CPP_PROJ) $<
221 .cpp{$(INTDIR)}.obj::
222 $(CPP) @<<
223 $(CPP_PROJ) $<
226 .cxx{$(INTDIR)}.obj::
227 $(CPP) @<<
228 $(CPP_PROJ) $<
231 .c{$(INTDIR)}.sbr::
232 $(CPP) @<<
233 $(CPP_PROJ) $<
236 .cpp{$(INTDIR)}.sbr::
237 $(CPP) @<<
238 $(CPP_PROJ) $<
241 .cxx{$(INTDIR)}.sbr::
242 $(CPP) @<<
243 $(CPP_PROJ) $<
247 !IF "$(NO_EXTERNAL_DEPS)" != "1"
248 !IF EXISTS("t_hashes.dep")
249 !INCLUDE "t_hashes.dep"
250 !ELSE
251 !MESSAGE Warning: cannot find "t_hashes.dep"
252 !ENDIF
253 !ENDIF
256 !IF "$(CFG)" == "t_hashes - @PLATFORM@ Release" || "$(CFG)" == "t_hashes - @PLATFORM@ Debug"
257 SOURCE=..\t_hashes.c
259 !IF "$(CFG)" == "t_hashes - @PLATFORM@ Release"
262 "$(INTDIR)\t_hashes.obj" : $(SOURCE) "$(INTDIR)"
263 $(CPP) $(CPP_PROJ) $(SOURCE)
266 !ELSEIF "$(CFG)" == "t_hashes - @PLATFORM@ Debug"
269 "$(INTDIR)\t_hashes.obj" "$(INTDIR)\t_hashes.sbr" : $(SOURCE) "$(INTDIR)"
270 $(CPP) $(CPP_PROJ) $(SOURCE)
273 !ENDIF
275 !IF "$(CFG)" == "t_hashes - @PLATFORM@ Release"
277 "libisc - @PLATFORM@ Release" :
278 cd "..\..\..\..\lib\isc\win32"
279 $(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - @PLATFORM@ Release"
280 cd "..\..\..\bin\tests\hashes\win32"
282 "libisc - @PLATFORM@ ReleaseCLEAN" :
283 cd "..\..\..\..\lib\isc\win32"
284 $(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - @PLATFORM@ Release" RECURSE=1 CLEAN
285 cd "..\..\..\bin\tests\hashes\win32"
287 !ELSEIF "$(CFG)" == "t_hashes - @PLATFORM@ Debug"
289 "libisc - @PLATFORM@ Debug" :
290 cd "..\..\..\..\lib\isc\win32"
291 $(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - @PLATFORM@ Debug"
292 cd "..\..\..\bin\tests\hashes\win32"
294 "libisc - @PLATFORM@ DebugCLEAN" :
295 cd "..\..\..\..\lib\isc\win32"
296 $(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - @PLATFORM@ Debug" RECURSE=1 CLEAN
297 cd "..\..\..\bin\tests\hashes\win32"
299 !ENDIF
301 !IF "$(CFG)" == "t_hashes - @PLATFORM@ Release"
303 "libtests - @PLATFORM@ Release" :
304 cd "..\..\..\..\lib\tests\win32"
305 $(MAKE) /$(MAKEFLAGS) /F ".\libtests.mak" CFG="libtests - @PLATFORM@ Release"
306 cd "..\..\..\bin\tests\hashes\win32"
308 "libtests - @PLATFORM@ ReleaseCLEAN" :
309 cd "..\..\..\..\lib\tests\win32"
310 $(MAKE) /$(MAKEFLAGS) /F ".\libtests.mak" CFG="libtests - @PLATFORM@ Release" RECURSE=1 CLEAN
311 cd "..\..\..\bin\tests\hashes\win32"
313 !ELSEIF "$(CFG)" == "t_hashes - @PLATFORM@ Debug"
315 "libtests - @PLATFORM@ Debug" :
316 cd "..\..\..\..\lib\tests\win32"
317 $(MAKE) /$(MAKEFLAGS) /F ".\libtests.mak" CFG="libtests - @PLATFORM@ Debug"
318 cd "..\..\..\bin\tests\hashes\win32"
320 "libtests - @PLATFORM@ DebugCLEAN" :
321 cd "..\..\..\..\lib\tests\win32"
322 $(MAKE) /$(MAKEFLAGS) /F ".\libtests.mak" CFG="libtests - @PLATFORM@ Debug" RECURSE=1 CLEAN
323 cd "..\..\..\bin\tests\hashes\win32"
325 !ENDIF
328 !ENDIF
330 ####################################################
331 # Commands to generate initial empty manifest file and the RC file
332 # that references it, and for generating the .res file:
334 $(_VC_MANIFEST_BASENAME).auto.res : $(_VC_MANIFEST_BASENAME).auto.rc
336 $(_VC_MANIFEST_BASENAME).auto.rc : $(_VC_MANIFEST_BASENAME).auto.manifest
337 type <<$@
338 #include <winuser.h>
339 1RT_MANIFEST"$(_VC_MANIFEST_BASENAME).auto.manifest"
340 << KEEP
342 $(_VC_MANIFEST_BASENAME).auto.manifest :
343 type <<$@
344 <?xml version='1.0' encoding='UTF-8' standalone='yes'?>
345 <assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
346 </assembly>
347 << KEEP