Remove building with NOCRYPTO option
[minix.git] / external / bsd / bind / dist / bin / nsupdate / win32 / nsupdate.mak.in
blob00e1e63260c53dbdc80bdceee65e3fe2ee45ecf9
1 # Microsoft Developer Studio Generated NMAKE File, Based on nsupdate.dsp
2 !IF "$(CFG)" == ""
3 CFG=nsupdate - @PLATFORM@ Debug
4 !MESSAGE No configuration specified. Defaulting to nsupdate - @PLATFORM@ Debug.
5 !ENDIF
7 !IF "$(CFG)" != "nsupdate - @PLATFORM@ Release" && "$(CFG)" != "nsupdate - @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 "nsupdate.mak" CFG="nsupdate - @PLATFORM@ Debug"
13 !MESSAGE
14 !MESSAGE Possible choices for configuration are:
15 !MESSAGE
16 !MESSAGE "nsupdate - @PLATFORM@ Release" (based on "@PLATFORM@ (x86) Console Application")
17 !MESSAGE "nsupdate - @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
31 !IF "$(CFG)" == "nsupdate - @PLATFORM@ Release"
32 _VC_MANIFEST_INC=0
33 _VC_MANIFEST_BASENAME=__VC80
34 !ELSE
35 _VC_MANIFEST_INC=1
36 _VC_MANIFEST_BASENAME=__VC80.Debug
37 !ENDIF
39 ####################################################
40 # Specifying name of temporary resource file used only in incremental builds:
42 !if "$(_VC_MANIFEST_INC)" == "1"
43 _VC_MANIFEST_AUTO_RES=$(_VC_MANIFEST_BASENAME).auto.res
44 !else
45 _VC_MANIFEST_AUTO_RES=
46 !endif
48 ####################################################
49 # _VC_MANIFEST_EMBED_EXE - command to embed manifest in EXE:
51 !if "$(_VC_MANIFEST_INC)" == "1"
53 #MT_SPECIAL_RETURN=1090650113
54 #MT_SPECIAL_SWITCH=-notify_resource_update
55 MT_SPECIAL_RETURN=0
56 MT_SPECIAL_SWITCH=
57 _VC_MANIFEST_EMBED_EXE= \
58 if exist $@.manifest mt.exe -manifest $@.manifest -out:$(_VC_MANIFEST_BASENAME).auto.manifest $(MT_SPECIAL_SWITCH) & \
59 if "%ERRORLEVEL%" == "$(MT_SPECIAL_RETURN)" \
60 rc /r $(_VC_MANIFEST_BASENAME).auto.rc & \
61 link $** /out:$@ $(LFLAGS)
63 !else
65 _VC_MANIFEST_EMBED_EXE= \
66 if exist $@.manifest mt.exe -manifest $@.manifest -outputresource:$@;1
68 !endif
70 ####################################################
71 # _VC_MANIFEST_EMBED_DLL - command to embed manifest in DLL:
73 !if "$(_VC_MANIFEST_INC)" == "1"
75 #MT_SPECIAL_RETURN=1090650113
76 #MT_SPECIAL_SWITCH=-notify_resource_update
77 MT_SPECIAL_RETURN=0
78 MT_SPECIAL_SWITCH=
79 _VC_MANIFEST_EMBED_EXE= \
80 if exist $@.manifest mt.exe -manifest $@.manifest -out:$(_VC_MANIFEST_BASENAME).auto.manifest $(MT_SPECIAL_SWITCH) & \
81 if "%ERRORLEVEL%" == "$(MT_SPECIAL_RETURN)" \
82 rc /r $(_VC_MANIFEST_BASENAME).auto.rc & \
83 link $** /out:$@ $(LFLAGS)
85 !else
87 _VC_MANIFEST_EMBED_EXE= \
88 if exist $@.manifest mt.exe -manifest $@.manifest -outputresource:$@;2
90 !endif
91 ####################################################
92 # _VC_MANIFEST_CLEAN - command to clean resources files generated temporarily:
94 !if "$(_VC_MANIFEST_INC)" == "1"
96 _VC_MANIFEST_CLEAN=-del $(_VC_MANIFEST_BASENAME).auto.res \
97 $(_VC_MANIFEST_BASENAME).auto.rc \
98 $(_VC_MANIFEST_BASENAME).auto.manifest
100 !else
102 _VC_MANIFEST_CLEAN=
104 !endif
106 !IF "$(CFG)" == "nsupdate - @PLATFORM@ Release"
108 OUTDIR=.\Release
109 INTDIR=.\Release
111 !IF "$(RECURSE)" == "0"
113 ALL : "..\..\..\Build\Release\nsupdate.exe"
115 !ELSE
117 ALL : "libbind9 - @PLATFORM@ Release" "libisc - @PLATFORM@ Release" "libdns - @PLATFORM@ Release" "..\..\..\Build\Release\nsupdate.exe"
119 !ENDIF
121 !IF "$(RECURSE)" == "1"
122 CLEAN :"libdns - @PLATFORM@ ReleaseCLEAN" "libisc - @PLATFORM@ ReleaseCLEAN" "libbind9 - @PLATFORM@ ReleaseCLEAN"
123 !ELSE
124 CLEAN :
125 !ENDIF
126 -@erase "$(INTDIR)\nsupdate.obj"
127 -@erase "$(INTDIR)\vc60.idb"
128 -@erase "..\..\..\Build\Release\nsupdate.exe"
129 -@$(_VC_MANIFEST_CLEAN)
131 "$(OUTDIR)" :
132 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
134 CPP_PROJ=/nologo /MD /W3 @COPTX@ @COPTI@ /O2 /I "./" /I "../include" /I "../../../" @LIBXML2_INC@ @OPENSSL_INC@ @GSSAPI_INC@ @READLINE_INC@ /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/lwres/win32/include" /I "../../../lib/lwres/include" /I "../../../lib/lwres/win32/include/lwres" /I "../../../lib/dns/include" /I "../../../lib/bind9/include" /I "../../../lib/isccfg/include" /D "WIN32" @USE_GSSAPI@ /D "USE_READLINE_STATIC" /D "__STDC__" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /Fp"$(INTDIR)\nsupdate.pch" @COPTY@ /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
135 BSC32=bscmake.exe
136 BSC32_FLAGS=/nologo /o"$(OUTDIR)\nsupdate.bsc"
137 BSC32_SBRS= \
139 LINK32=link.exe
140 LINK32_FLAGS=../../../lib/isc/win32/Release/libisc.lib ../../../lib/dns/win32/Release/libdns.lib ../../../lib/lwres/win32/Release/liblwres.lib user32.lib advapi32.lib ws2_32.lib ../../../lib/bind9/win32/Release/libbind9.lib ../../../lib/isccfg/win32/Release/libisccfg.lib @GSSAPI_LIB@ @KRB5_LIB@ @READLINE_LIB@ /nologo /subsystem:console /incremental:no /pdb:"$(OUTDIR)\nsupdate.pdb" @MACHINE@ /out:"../../../Build/Release/nsupdate.exe"
141 LINK32_OBJS= \
142 "$(INTDIR)\nsupdate.obj" \
143 "..\..\..\lib\dns\win32\Release\libdns.lib" \
144 "..\..\..\lib\isc\win32\Release\libisc.lib" \
145 "..\..\..\lib\bind9\win32\Release\libbind9.lib" \
146 "..\..\..\lib\isccfg\win32\Release\libisccfg.lib"
148 "..\..\..\Build\Release\nsupdate.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
149 $(LINK32) @<<
150 $(LINK32_FLAGS) $(LINK32_OBJS)
152 $(_VC_MANIFEST_EMBED_EXE)
154 !ELSEIF "$(CFG)" == "nsupdate - @PLATFORM@ Debug"
156 OUTDIR=.\Debug
157 INTDIR=.\Debug
158 # Begin Custom Macros
159 OutDir=.\Debug
160 # End Custom Macros
162 !IF "$(RECURSE)" == "0"
164 ALL : "..\..\..\Build\Debug\nsupdate.exe" "$(OUTDIR)\nsupdate.bsc"
166 !ELSE
168 ALL : "libbind9 - @PLATFORM@ Debug" "libisc - @PLATFORM@ Debug" "libdns - @PLATFORM@ Debug" "..\..\..\Build\Debug\nsupdate.exe" "$(OUTDIR)\nsupdate.bsc"
170 !ENDIF
172 !IF "$(RECURSE)" == "1"
173 CLEAN :"libdns - @PLATFORM@ DebugCLEAN" "libisc - @PLATFORM@ DebugCLEAN" "libbind9 - @PLATFORM@ DebugCLEAN"
174 !ELSE
175 CLEAN :
176 !ENDIF
177 -@erase "$(INTDIR)\nsupdate.obj"
178 -@erase "$(INTDIR)\nsupdate.sbr"
179 -@erase "$(INTDIR)\vc60.idb"
180 -@erase "$(INTDIR)\vc60.pdb"
181 -@erase "$(OUTDIR)\nsupdate.bsc"
182 -@erase "$(OUTDIR)\nsupdate.pdb"
183 -@erase "..\..\..\Build\Debug\nsupdate.exe"
184 -@erase "..\..\..\Build\Debug\nsupdate.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 "../include" /I "../../../" @LIBXML2_INC@ @OPENSSL_INC@ @GSSAPI_INC@ @READLINE_INC@ /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/lwres/win32/include" /I "../../../lib/lwres/include" /I "../../../lib/lwres/win32/include/lwres" /I "../../../lib/dns/include" /I "../../../lib/bind9/include" /I "../../../lib/isccfg/include" /D "WIN32" @USE_GSSAPI@ /D "USE_READLINE_STATIC" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FR"$(INTDIR)\\" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c
191 BSC32=bscmake.exe
192 BSC32_FLAGS=/nologo /o"$(OUTDIR)\nsupdate.bsc"
193 BSC32_SBRS= \
194 "$(INTDIR)\nsupdate.sbr"
196 "$(OUTDIR)\nsupdate.bsc" : "$(OUTDIR)" $(BSC32_SBRS)
197 $(BSC32) @<<
198 $(BSC32_FLAGS) $(BSC32_SBRS)
201 LINK32=link.exe
202 LINK32_FLAGS=../../../lib/isc/win32/Debug/libisc.lib ../../../lib/dns/win32/Debug/libdns.lib ../../../lib/lwres/win32/Debug/liblwres.lib user32.lib advapi32.lib ws2_32.lib ../../../lib/bind9/win32/Debug/libbind9.lib ../../../lib/isccfg/win32/Debug/libisccfg.lib @GSSAPI_LIB@ @KRB5_LIB@ @READLINE_LIBD@ /nologo /subsystem:console /incremental:yes /pdb:"$(OUTDIR)\nsupdate.pdb" /debug @MACHINE@ /out:"../../../Build/Debug/nsupdate.exe" /pdbtype:sept
203 LINK32_OBJS= \
204 "$(INTDIR)\nsupdate.obj" \
205 "..\..\..\lib\dns\win32\Debug\libdns.lib" \
206 "..\..\..\lib\isc\win32\Debug\libisc.lib" \
207 "..\..\..\lib\bind9\win32\Debug\libbind9.lib" \
208 "..\..\..\lib\isccfg\win32\Release\libisccfg.lib"
210 "..\..\..\Build\Debug\nsupdate.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
211 $(LINK32) @<<
212 $(LINK32_FLAGS) $(LINK32_OBJS)
214 $(_VC_MANIFEST_EMBED_EXE)
216 !ENDIF
218 .c{$(INTDIR)}.obj::
219 $(CPP) @<<
220 $(CPP_PROJ) $<
223 .cpp{$(INTDIR)}.obj::
224 $(CPP) @<<
225 $(CPP_PROJ) $<
228 .cxx{$(INTDIR)}.obj::
229 $(CPP) @<<
230 $(CPP_PROJ) $<
233 .c{$(INTDIR)}.sbr::
234 $(CPP) @<<
235 $(CPP_PROJ) $<
238 .cpp{$(INTDIR)}.sbr::
239 $(CPP) @<<
240 $(CPP_PROJ) $<
243 .cxx{$(INTDIR)}.sbr::
244 $(CPP) @<<
245 $(CPP_PROJ) $<
249 !IF "$(NO_EXTERNAL_DEPS)" != "1"
250 !IF EXISTS("nsupdate.dep")
251 !INCLUDE "nsupdate.dep"
252 !ELSE
253 !MESSAGE Warning: cannot find "nsupdate.dep"
254 !ENDIF
255 !ENDIF
258 !IF "$(CFG)" == "nsupdate - @PLATFORM@ Release" || "$(CFG)" == "nsupdate - @PLATFORM@ Debug"
259 SOURCE=..\nsupdate.c
261 !IF "$(CFG)" == "nsupdate - @PLATFORM@ Release"
264 "$(INTDIR)\nsupdate.obj" : $(SOURCE) "$(INTDIR)"
265 $(CPP) $(CPP_PROJ) $(SOURCE)
268 !ELSEIF "$(CFG)" == "nsupdate - @PLATFORM@ Debug"
271 "$(INTDIR)\nsupdate.obj" "$(INTDIR)\nsupdate.sbr" : $(SOURCE) "$(INTDIR)"
272 $(CPP) $(CPP_PROJ) $(SOURCE)
275 !ENDIF
277 !IF "$(CFG)" == "nsupdate - @PLATFORM@ Release"
279 "libdns - @PLATFORM@ Release" :
280 cd "..\..\..\lib\dns\win32"
281 $(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - @PLATFORM@ Release"
282 cd "..\..\..\bin\nsupdate\win32"
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\nsupdate\win32"
289 !ELSEIF "$(CFG)" == "nsupdate - @PLATFORM@ Debug"
291 "libdns - @PLATFORM@ Debug" :
292 cd "..\..\..\lib\dns\win32"
293 $(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - @PLATFORM@ Debug"
294 cd "..\..\..\bin\nsupdate\win32"
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\nsupdate\win32"
301 !ENDIF
303 !IF "$(CFG)" == "nsupdate - @PLATFORM@ Release"
305 "libisc - @PLATFORM@ Release" :
306 cd "..\..\..\lib\isc\win32"
307 $(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - @PLATFORM@ Release"
308 cd "..\..\..\bin\nsupdate\win32"
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\nsupdate\win32"
315 !ELSEIF "$(CFG)" == "nsupdate - @PLATFORM@ Debug"
317 "libisc - @PLATFORM@ Debug" :
318 cd "..\..\..\lib\isc\win32"
319 $(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - @PLATFORM@ Debug"
320 cd "..\..\..\bin\nsupdate\win32"
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\nsupdate\win32"
327 !ENDIF
329 !IF "$(CFG)" == "nsupdate - @PLATFORM@ Release"
331 "libbind9 - @PLATFORM@ Release" :
332 cd "..\..\..\lib\bind9\win32"
333 $(MAKE) /$(MAKEFLAGS) /F ".\libbind9.mak" CFG="libbind9 - @PLATFORM@ Release"
334 cd "..\..\..\bin\nsupdate\win32"
336 "libbind9 - @PLATFORM@ ReleaseCLEAN" :
337 cd "..\..\..\lib\bind9\win32"
338 $(MAKE) /$(MAKEFLAGS) /F ".\libbind9.mak" CFG="libbind9 - @PLATFORM@ Release" RECURSE=1 CLEAN
339 cd "..\..\..\bin\nsupdate\win32"
341 !ELSEIF "$(CFG)" == "nsupdate - @PLATFORM@ Debug"
343 "libbind9 - @PLATFORM@ Debug" :
344 cd "..\..\..\lib\bind9\win32"
345 $(MAKE) /$(MAKEFLAGS) /F ".\libbind9.mak" CFG="libbind9 - @PLATFORM@ Debug"
346 cd "..\..\..\bin\nsupdate\win32"
348 "libbind9 - @PLATFORM@ DebugCLEAN" :
349 cd "..\..\..\lib\bind9\win32"
350 $(MAKE) /$(MAKEFLAGS) /F ".\libbind9.mak" CFG="libbind9 - @PLATFORM@ Debug" RECURSE=1 CLEAN
351 cd "..\..\..\bin\nsupdate\win32"
353 !ENDIF
356 !ENDIF
358 ####################################################
359 # Commands to generate initial empty manifest file and the RC file
360 # that references it, and for generating the .res file:
362 $(_VC_MANIFEST_BASENAME).auto.res : $(_VC_MANIFEST_BASENAME).auto.rc
364 $(_VC_MANIFEST_BASENAME).auto.rc : $(_VC_MANIFEST_BASENAME).auto.manifest
365 type <<$@
366 #include <winuser.h>
367 1RT_MANIFEST"$(_VC_MANIFEST_BASENAME).auto.manifest"
368 << KEEP
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