1# Microsoft Developer Studio Generated NMAKE File, Based on t_atomic.dsp
2!IF "$(CFG)" == ""
3CFG=t_atomic - @PLATFORM@ Debug
4!MESSAGE No configuration specified. Defaulting to t_atomic - @PLATFORM@ Debug.
5!ENDIF
6
7!IF "$(CFG)" != "t_atomic - @PLATFORM@ Release" && "$(CFG)" != "t_atomic - @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_atomic.mak" CFG="t_atomic - @PLATFORM@ Debug"
13!MESSAGE
14!MESSAGE Possible choices for configuration are:
15!MESSAGE
16!MESSAGE "t_atomic - @PLATFORM@ Release" (based on "@PLATFORM@ (x86) Console Application")
17!MESSAGE "t_atomic - @PLATFORM@ Debug" (based on "@PLATFORM@ (x86) Console Application")
18!MESSAGE
19!ERROR An invalid configuration is specified.
20!ENDIF
21
22!IF "$(OS)" == "Windows_NT"
23NULL=
24!ELSE
25NULL=nul
26!ENDIF
27
28CPP=cl.exe
29RSC=rc.exe
30LIBXML=@LIBXML2_LIB@
31
32!IF  "$(CFG)" == "t_atomic - @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
39
40####################################################
41# Specifying name of temporary resource file used only in incremental builds:
42
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
48
49####################################################
50# _VC_MANIFEST_EMBED_EXE - command to embed manifest in EXE:
51
52!if "$(_VC_MANIFEST_INC)" == "1"
53
54#MT_SPECIAL_RETURN=1090650113
55#MT_SPECIAL_SWITCH=-notify_resource_update
56MT_SPECIAL_RETURN=0
57MT_SPECIAL_SWITCH=
58_VC_MANIFEST_EMBED_EXE= \
59if exist $@.manifest mt.exe -manifest $@.manifest -out:$(_VC_MANIFEST_BASENAME).auto.manifest $(MT_SPECIAL_SWITCH) & \
60if "%ERRORLEVEL%" == "$(MT_SPECIAL_RETURN)" \
61rc /r $(_VC_MANIFEST_BASENAME).auto.rc & \
62link $** /out:$@ $(LFLAGS)
63
64!else
65
66_VC_MANIFEST_EMBED_EXE= \
67if exist $@.manifest mt.exe -manifest $@.manifest -outputresource:$@;1
68
69!endif
70
71####################################################
72# _VC_MANIFEST_EMBED_DLL - command to embed manifest in DLL:
73
74!if "$(_VC_MANIFEST_INC)" == "1"
75
76#MT_SPECIAL_RETURN=1090650113
77#MT_SPECIAL_SWITCH=-notify_resource_update
78MT_SPECIAL_RETURN=0
79MT_SPECIAL_SWITCH=
80_VC_MANIFEST_EMBED_EXE= \
81if exist $@.manifest mt.exe -manifest $@.manifest -out:$(_VC_MANIFEST_BASENAME).auto.manifest $(MT_SPECIAL_SWITCH) & \
82if "%ERRORLEVEL%" == "$(MT_SPECIAL_RETURN)" \
83rc /r $(_VC_MANIFEST_BASENAME).auto.rc & \
84link $** /out:$@ $(LFLAGS)
85
86!else
87
88_VC_MANIFEST_EMBED_EXE= \
89if exist $@.manifest mt.exe -manifest $@.manifest -outputresource:$@;2
90
91!endif
92####################################################
93# _VC_MANIFEST_CLEAN - command to clean resources files generated temporarily:
94
95!if "$(_VC_MANIFEST_INC)" == "1"
96
97_VC_MANIFEST_CLEAN=-del $(_VC_MANIFEST_BASENAME).auto.res \
98    $(_VC_MANIFEST_BASENAME).auto.rc \
99    $(_VC_MANIFEST_BASENAME).auto.manifest
100
101!else
102
103_VC_MANIFEST_CLEAN=
104
105!endif
106
107!IF  "$(CFG)" == "t_atomic - @PLATFORM@ Release"
108
109OUTDIR=.\Release
110INTDIR=.\Release
111
112!IF "$(RECURSE)" == "0"
113
114ALL : "..\..\..\..\Build\Release\t_atomic.exe"
115
116!ELSE
117
118ALL : "libtests - @PLATFORM@ Release" "libisc - @PLATFORM@ Release" "libdns - @PLATFORM@ Release" "..\..\..\..\Build\Release\t_atomic.exe"
119
120!ENDIF
121
122!IF "$(RECURSE)" == "1"
123CLEAN :"libdns - @PLATFORM@ ReleaseCLEAN" "libisc - @PLATFORM@ ReleaseCLEAN" "libtests - @PLATFORM@ ReleaseCLEAN"
124!ELSE
125CLEAN :
126!ENDIF
127	-@erase "$(INTDIR)\t_atomic.obj"
128	-@erase "$(INTDIR)\vc60.idb"
129	-@erase "..\..\..\..\Build\Release\t_atomic.exe"
130	-@$(_VC_MANIFEST_CLEAN)
131
132"$(OUTDIR)" :
133    if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
134
135CPP_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/dns/win32/include" /I "../../../../lib/dns/include" /I "../../../../lib/tests/include" /D "WIN32" /D "NDEBUG" /D "__STDC__" /D "_CONSOLE" /D "_MBCS" /Fp"$(INTDIR)\t_atomic.pch" @COPTY@ /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
136BSC32=bscmake.exe
137BSC32_FLAGS=/nologo /o"$(OUTDIR)\t_atomic.bsc"
138BSC32_SBRS= \
139
140LINK32=link.exe
141LINK32_FLAGS=user32.lib advapi32.lib kernel32.lib ws2_32.lib ../../../../lib/isc/win32/Release/libisc.lib ../../../../lib/dns/win32/Release/libdns.lib ../../../../lib/tests/win32/Release/libtests.lib $(LIBXML) /nologo /subsystem:console /incremental:no /pdb:"$(OUTDIR)\t_atomic.pdb" @MACHINE@ /out:"../../../../Build/Release/t_atomic.exe"
142LINK32_OBJS= \
143	"$(INTDIR)\t_atomic.obj" \
144	"..\..\..\..\lib\dns\win32\Release\libdns.lib" \
145	"..\..\..\..\lib\isc\win32\Release\libisc.lib" \
146	"..\..\..\..\lib\tests\win32\Release\libtests.lib"
147
148"..\..\..\..\Build\Release\t_atomic.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
149    $(LINK32) @<<
150  $(LINK32_FLAGS) $(LINK32_OBJS)
151<<
152    $(_VC_MANIFEST_EMBED_EXE)
153
154!ELSEIF  "$(CFG)" == "t_atomic - @PLATFORM@ Debug"
155
156OUTDIR=.\Debug
157INTDIR=.\Debug
158# Begin Custom Macros
159OutDir=.\Debug
160# End Custom Macros
161
162!IF "$(RECURSE)" == "0"
163
164ALL : "..\..\..\..\Build\Debug\t_atomic.exe" "$(OUTDIR)\t_atomic.bsc"
165
166!ELSE
167
168ALL : "libtests - @PLATFORM@ Debug" "libisc - @PLATFORM@ Debug" "libdns - @PLATFORM@ Debug" "..\..\..\..\Build\Debug\t_atomic.exe" "$(OUTDIR)\t_atomic.bsc"
169
170!ENDIF
171
172!IF "$(RECURSE)" == "1"
173CLEAN :"libdns - @PLATFORM@ DebugCLEAN" "libisc - @PLATFORM@ DebugCLEAN" "libtests - @PLATFORM@ DebugCLEAN"
174!ELSE
175CLEAN :
176!ENDIF
177	-@erase "$(INTDIR)\t_atomic.obj"
178	-@erase "$(INTDIR)\t_atomic.sbr"
179	-@erase "$(INTDIR)\vc60.idb"
180	-@erase "$(INTDIR)\vc60.pdb"
181	-@erase "$(OUTDIR)\t_atomic.bsc"
182	-@erase "$(OUTDIR)\t_atomic.map"
183	-@erase "$(OUTDIR)\t_atomic.pdb"
184	-@erase "..\..\..\..\Build\Debug\t_atomic.exe"
185	-@erase "..\..\..\..\Build\Debug\t_atomic.ilk"
186	-@$(_VC_MANIFEST_CLEAN)
187
188"$(OUTDIR)" :
189    if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
190
191CPP_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/dns/win32/include" /I "../../../../lib/dns/include" /I "../../../../lib/tests/include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D "i386" /FR"$(INTDIR)\\" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c
192BSC32=bscmake.exe
193BSC32_FLAGS=/nologo /o"$(OUTDIR)\t_atomic.bsc"
194BSC32_SBRS= \
195	"$(INTDIR)\t_atomic.sbr"
196
197"$(OUTDIR)\t_atomic.bsc" : "$(OUTDIR)" $(BSC32_SBRS)
198    $(BSC32) @<<
199  $(BSC32_FLAGS) $(BSC32_SBRS)
200<<
201
202LINK32=link.exe
203LINK32_FLAGS=user32.lib advapi32.lib kernel32.lib ws2_32.lib ../../../../lib/isc/win32/Debug/libisc.lib ../../../../lib/dns/win32/Debug/libdns.lib ../../../../lib/tests/win32/Debug/libtests.lib $(LIBXML) /nologo /subsystem:console /incremental:yes /pdb:"$(OUTDIR)\t_atomic.pdb" /map:"$(INTDIR)\t_atomic.map" /debug @MACHINE@ /out:"../../../../Build/Debug/t_atomic.exe" /pdbtype:sept
204LINK32_OBJS= \
205	"$(INTDIR)\t_atomic.obj" \
206	"..\..\..\..\lib\dns\win32\Debug\libdns.lib" \
207	"..\..\..\..\lib\isc\win32\Debug\libisc.lib" \
208	"..\..\..\..\lib\tests\win32\Debug\libtests.lib"
209
210"..\..\..\..\Build\Debug\t_atomic.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
211    $(LINK32) @<<
212  $(LINK32_FLAGS) $(LINK32_OBJS)
213<<
214    $(_VC_MANIFEST_EMBED_EXE)
215
216!ENDIF
217
218.c{$(INTDIR)}.obj::
219   $(CPP) @<<
220   $(CPP_PROJ) $<
221<<
222
223.cpp{$(INTDIR)}.obj::
224   $(CPP) @<<
225   $(CPP_PROJ) $<
226<<
227
228.cxx{$(INTDIR)}.obj::
229   $(CPP) @<<
230   $(CPP_PROJ) $<
231<<
232
233.c{$(INTDIR)}.sbr::
234   $(CPP) @<<
235   $(CPP_PROJ) $<
236<<
237
238.cpp{$(INTDIR)}.sbr::
239   $(CPP) @<<
240   $(CPP_PROJ) $<
241<<
242
243.cxx{$(INTDIR)}.sbr::
244   $(CPP) @<<
245   $(CPP_PROJ) $<
246<<
247
248
249!IF "$(NO_EXTERNAL_DEPS)" != "1"
250!IF EXISTS("t_atomic.dep")
251!INCLUDE "t_atomic.dep"
252!ELSE
253!MESSAGE Warning: cannot find "t_atomic.dep"
254!ENDIF
255!ENDIF
256
257
258!IF "$(CFG)" == "t_atomic - @PLATFORM@ Release" || "$(CFG)" == "t_atomic - @PLATFORM@ Debug"
259SOURCE=..\t_atomic.c
260
261!IF  "$(CFG)" == "t_atomic - @PLATFORM@ Release"
262
263
264"$(INTDIR)\t_atomic.obj" : $(SOURCE) "$(INTDIR)"
265	$(CPP) $(CPP_PROJ) $(SOURCE)
266
267
268!ELSEIF  "$(CFG)" == "t_atomic - @PLATFORM@ Debug"
269
270
271"$(INTDIR)\t_atomic.obj"	"$(INTDIR)\t_atomic.sbr" : $(SOURCE) "$(INTDIR)"
272	$(CPP) $(CPP_PROJ) $(SOURCE)
273
274
275!ENDIF
276
277!IF  "$(CFG)" == "t_atomic - @PLATFORM@ Release"
278
279"libdns - @PLATFORM@ Release" :
280   cd "..\..\..\..\lib\dns\win32"
281   $(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - @PLATFORM@ Release"
282   cd "..\..\..\bin\tests\atomic\win32"
283
284"libdns - @PLATFORM@ ReleaseCLEAN" :
285   cd "..\..\..\..\lib\dns\win32"
286   $(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - @PLATFORM@ Release" RECURSE=1 CLEAN
287   cd "..\..\..\bin\tests\atomic\win32"
288
289!ELSEIF  "$(CFG)" == "t_atomic - @PLATFORM@ Debug"
290
291"libdns - @PLATFORM@ Debug" :
292   cd "..\..\..\..\lib\dns\win32"
293   $(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - @PLATFORM@ Debug"
294   cd "..\..\..\bin\tests\atomic\win32"
295
296"libdns - @PLATFORM@ DebugCLEAN" :
297   cd "..\..\..\..\lib\dns\win32"
298   $(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - @PLATFORM@ Debug" RECURSE=1 CLEAN
299   cd "..\..\..\bin\tests\atomic\win32"
300
301!ENDIF
302
303!IF  "$(CFG)" == "t_atomic - @PLATFORM@ Release"
304
305"libisc - @PLATFORM@ Release" :
306   cd "..\..\..\..\lib\isc\win32"
307   $(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - @PLATFORM@ Release"
308   cd "..\..\..\bin\tests\atomic\win32"
309
310"libisc - @PLATFORM@ ReleaseCLEAN" :
311   cd "..\..\..\..\lib\isc\win32"
312   $(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - @PLATFORM@ Release" RECURSE=1 CLEAN
313   cd "..\..\..\bin\tests\atomic\win32"
314
315!ELSEIF  "$(CFG)" == "t_atomic - @PLATFORM@ Debug"
316
317"libisc - @PLATFORM@ Debug" :
318   cd "..\..\..\..\lib\isc\win32"
319   $(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - @PLATFORM@ Debug"
320   cd "..\..\..\bin\tests\atomic\win32"
321
322"libisc - @PLATFORM@ DebugCLEAN" :
323   cd "..\..\..\..\lib\isc\win32"
324   $(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - @PLATFORM@ Debug" RECURSE=1 CLEAN
325   cd "..\..\..\bin\tests\atomic\win32"
326
327!ENDIF
328
329!IF  "$(CFG)" == "t_atomic - @PLATFORM@ Release"
330
331"libtests - @PLATFORM@ Release" :
332   cd "..\..\..\..\lib\tests\win32"
333   $(MAKE) /$(MAKEFLAGS) /F ".\libtests.mak" CFG="libtests - @PLATFORM@ Release"
334   cd "..\..\..\bin\tests\atomic\win32"
335
336"libtests - @PLATFORM@ ReleaseCLEAN" :
337   cd "..\..\..\..\lib\tests\win32"
338   $(MAKE) /$(MAKEFLAGS) /F ".\libtests.mak" CFG="libtests - @PLATFORM@ Release" RECURSE=1 CLEAN
339   cd "..\..\..\bin\tests\atomic\win32"
340
341!ELSEIF  "$(CFG)" == "t_atomic - @PLATFORM@ Debug"
342
343"libtests - @PLATFORM@ Debug" :
344   cd "..\..\..\..\lib\tests\win32"
345   $(MAKE) /$(MAKEFLAGS) /F ".\libtests.mak" CFG="libtests - @PLATFORM@ Debug"
346   cd "..\..\..\bin\tests\atomic\win32"
347
348"libtests - @PLATFORM@ DebugCLEAN" :
349   cd "..\..\..\..\lib\tests\win32"
350   $(MAKE) /$(MAKEFLAGS) /F ".\libtests.mak" CFG="libtests - @PLATFORM@ Debug" RECURSE=1 CLEAN
351   cd "..\..\..\bin\tests\atomic\win32"
352
353!ENDIF
354
355
356!ENDIF
357
358####################################################
359# Commands to generate initial empty manifest file and the RC file
360# that references it, and for generating the .res file:
361
362$(_VC_MANIFEST_BASENAME).auto.res : $(_VC_MANIFEST_BASENAME).auto.rc
363
364$(_VC_MANIFEST_BASENAME).auto.rc : $(_VC_MANIFEST_BASENAME).auto.manifest
365    type <<$@
366#include <winuser.h>
3671RT_MANIFEST"$(_VC_MANIFEST_BASENAME).auto.manifest"
368<< KEEP
369
370$(_VC_MANIFEST_BASENAME).auto.manifest :
371    type <<$@
372<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
373<assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
374</assembly>
375<< KEEP
376