Remove building with NOCRYPTO option
[minix.git] / external / bsd / bind / dist / lib / isccc / win32 / libisccc.mak.in
blobd6512d383c3d549c2543decee3adaebf7bb0f477
1 # Microsoft Developer Studio Generated NMAKE File, Based on libisccc.dsp
2 !IF "$(CFG)" == ""
3 CFG=libisccc - @PLATFORM@ Release
4 !MESSAGE No configuration specified. Defaulting to libisccc - @PLATFORM@ Release.
5 !ENDIF
7 !IF "$(CFG)" != "libisccc - @PLATFORM@ Release" && "$(CFG)" != "libisccc - @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 "libisccc.mak" CFG="libisccc - @PLATFORM@ Release"
13 !MESSAGE
14 !MESSAGE Possible choices for configuration are:
15 !MESSAGE
16 !MESSAGE "libisccc - @PLATFORM@ Release" (based on "@PLATFORM@ (x86) Dynamic-Link Library")
17 !MESSAGE "libisccc - @PLATFORM@ Debug" (based on "@PLATFORM@ (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)" == "libisccc - @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)" == "libisccc - @PLATFORM@ Release"
109 OUTDIR=.\Release
110 INTDIR=.\Release
112 !IF "$(RECURSE)" == "0"
114 ALL : "..\..\..\Build\Release\libisccc.dll"
116 !ELSE
118 ALL : "libisc - @PLATFORM@ Release" "..\..\..\Build\Release\libisccc.dll"
120 !ENDIF
122 !IF "$(RECURSE)" == "1"
123 CLEAN :"libisc - @PLATFORM@ ReleaseCLEAN"
124 !ELSE
125 CLEAN :
126 !ENDIF
127 -@erase "$(INTDIR)\alist.obj"
128 -@erase "$(INTDIR)\base64.obj"
129 -@erase "$(INTDIR)\cc.obj"
130 -@erase "$(INTDIR)\ccmsg.obj"
131 -@erase "$(INTDIR)\DLLMain.obj"
132 -@erase "$(INTDIR)\lib.obj"
133 -@erase "$(INTDIR)\result.obj"
134 -@erase "$(INTDIR)\sexpr.obj"
135 -@erase "$(INTDIR)\symtab.obj"
136 -@erase "$(INTDIR)\vc60.idb"
137 -@erase "$(INTDIR)\version.obj"
138 -@erase "$(OUTDIR)\libisccc.exp"
139 -@erase "$(OUTDIR)\libisccc.lib"
140 -@erase "..\..\..\Build\Release\libisccc.dll"
141 -@$(_VC_MANIFEST_CLEAN)
143 "$(OUTDIR)" :
144 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
146 CPP_PROJ=/nologo /MD /W3 @COPTX@ @COPTI@ /O2 /I "./" /I "../../../" @LIBXML2_INC@ @OPENSSL_INC@ /I "include" /I "../include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/dns/win32/include" /I "../../../lib/dns/include" /I "../../../lib/isc/include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__STDC__" /D "_MBCS" /D "_USRDLL" /D "USE_MD5" @CRYPTO@ /D "LIBISCCC_EXPORTS" /Fp"$(INTDIR)\libisccc.pch" @COPTY@ /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
147 MTL_PROJ=/nologo /D "NDEBUG" /mktyplib203 /win32
148 BSC32=bscmake.exe
149 BSC32_FLAGS=/nologo /o"$(OUTDIR)\libisccc.bsc"
150 BSC32_SBRS= \
152 LINK32=link.exe
153 LINK32_FLAGS=user32.lib advapi32.lib ws2_32.lib ../../isc/win32/Release/libisc.lib /nologo /dll /incremental:no /pdb:"$(OUTDIR)\libisccc.pdb" @MACHINE@ /def:".\libisccc.def" /out:"../../../Build/Release/libisccc.dll" /implib:"$(OUTDIR)\libisccc.lib"
154 DEF_FILE= \
155 ".\libisccc.def"
156 LINK32_OBJS= \
157 "$(INTDIR)\alist.obj" \
158 "$(INTDIR)\base64.obj" \
159 "$(INTDIR)\cc.obj" \
160 "$(INTDIR)\ccmsg.obj" \
161 "$(INTDIR)\DLLMain.obj" \
162 "$(INTDIR)\lib.obj" \
163 "$(INTDIR)\result.obj" \
164 "$(INTDIR)\sexpr.obj" \
165 "$(INTDIR)\symtab.obj" \
166 "$(INTDIR)\version.obj" \
167 "..\..\isc\win32\Release\libisc.lib"
169 "..\..\..\Build\Release\libisccc.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
170 $(LINK32) @<<
171 $(LINK32_FLAGS) $(LINK32_OBJS)
173 $(_VC_MANIFEST_EMBED_DLL)
175 !ELSEIF "$(CFG)" == "libisccc - @PLATFORM@ Debug"
177 OUTDIR=.\Debug
178 INTDIR=.\Debug
179 # Begin Custom Macros
180 OutDir=.\Debug
181 # End Custom Macros
183 !IF "$(RECURSE)" == "0"
185 ALL : "..\..\..\Build\Debug\libisccc.dll" "$(OUTDIR)\libisccc.bsc"
187 !ELSE
189 ALL : "libisc - @PLATFORM@ Debug" "..\..\..\Build\Debug\libisccc.dll" "$(OUTDIR)\libisccc.bsc"
191 !ENDIF
193 !IF "$(RECURSE)" == "1"
194 CLEAN :"libisc - @PLATFORM@ DebugCLEAN"
195 !ELSE
196 CLEAN :
197 !ENDIF
198 -@erase "$(INTDIR)\alist.obj"
199 -@erase "$(INTDIR)\alist.sbr"
200 -@erase "$(INTDIR)\base64.obj"
201 -@erase "$(INTDIR)\base64.sbr"
202 -@erase "$(INTDIR)\cc.obj"
203 -@erase "$(INTDIR)\cc.sbr"
204 -@erase "$(INTDIR)\ccmsg.obj"
205 -@erase "$(INTDIR)\ccmsg.sbr"
206 -@erase "$(INTDIR)\DLLMain.obj"
207 -@erase "$(INTDIR)\DLLMain.sbr"
208 -@erase "$(INTDIR)\lib.obj"
209 -@erase "$(INTDIR)\lib.sbr"
210 -@erase "$(INTDIR)\result.obj"
211 -@erase "$(INTDIR)\result.sbr"
212 -@erase "$(INTDIR)\sexpr.obj"
213 -@erase "$(INTDIR)\sexpr.sbr"
214 -@erase "$(INTDIR)\symtab.obj"
215 -@erase "$(INTDIR)\symtab.sbr"
216 -@erase "$(INTDIR)\vc60.idb"
217 -@erase "$(INTDIR)\vc60.pdb"
218 -@erase "$(INTDIR)\version.obj"
219 -@erase "$(INTDIR)\version.sbr"
220 -@erase "$(OUTDIR)\libisccc.bsc"
221 -@erase "$(OUTDIR)\libisccc.exp"
222 -@erase "$(OUTDIR)\libisccc.lib"
223 -@erase "$(OUTDIR)\libisccc.pdb"
224 -@erase "..\..\..\Build\Debug\libisccc.dll"
225 -@erase "..\..\..\Build\Debug\libisccc.ilk"
226 -@$(_VC_MANIFEST_CLEAN)
228 "$(OUTDIR)" :
229 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
231 CPP_PROJ=/nologo /MDd /W3 /Gm @COPTX@ @COPTI@ /ZI /Od /I "./" /I "../../../" @LIBXML2_INC@ @OPENSSL_INC@ /I "include" /I "../include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/dns/win32/include" /I "../../../lib/dns/include" /I "../../../lib/isc/include" /D "_DEBUG" /D "WIN32" /D "__STDC__" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "USE_MD5" @CRYPTO@ /D "LIBISCCC_EXPORTS" /FR"$(INTDIR)\\" /Fp"$(INTDIR)\libisccc.pch" @COPTY@ /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c
232 MTL_PROJ=/nologo /D "_DEBUG" /mktyplib203 /win32
233 BSC32=bscmake.exe
234 BSC32_FLAGS=/nologo /o"$(OUTDIR)\libisccc.bsc"
235 BSC32_SBRS= \
236 "$(INTDIR)\alist.sbr" \
237 "$(INTDIR)\base64.sbr" \
238 "$(INTDIR)\cc.sbr" \
239 "$(INTDIR)\ccmsg.sbr" \
240 "$(INTDIR)\DLLMain.sbr" \
241 "$(INTDIR)\lib.sbr" \
242 "$(INTDIR)\result.sbr" \
243 "$(INTDIR)\sexpr.sbr" \
244 "$(INTDIR)\symtab.sbr" \
245 "$(INTDIR)\version.sbr"
247 "$(OUTDIR)\libisccc.bsc" : "$(OUTDIR)" $(BSC32_SBRS)
248 $(BSC32) @<<
249 $(BSC32_FLAGS) $(BSC32_SBRS)
252 LINK32=link.exe
253 LINK32_FLAGS=user32.lib advapi32.lib ws2_32.lib ../../isc/win32/debug/libisc.lib /nologo /dll /incremental:yes /pdb:"$(OUTDIR)\libisccc.pdb" /debug @MACHINE@ /def:".\libisccc.def" /out:"../../../Build/Debug/libisccc.dll" /implib:"$(OUTDIR)\libisccc.lib" /pdbtype:sept
254 DEF_FILE= \
255 ".\libisccc.def"
256 LINK32_OBJS= \
257 "$(INTDIR)\alist.obj" \
258 "$(INTDIR)\base64.obj" \
259 "$(INTDIR)\cc.obj" \
260 "$(INTDIR)\ccmsg.obj" \
261 "$(INTDIR)\DLLMain.obj" \
262 "$(INTDIR)\lib.obj" \
263 "$(INTDIR)\result.obj" \
264 "$(INTDIR)\sexpr.obj" \
265 "$(INTDIR)\symtab.obj" \
266 "$(INTDIR)\version.obj" \
267 "..\..\isc\win32\Debug\libisc.lib"
269 "..\..\..\Build\Debug\libisccc.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
270 $(LINK32) @<<
271 $(LINK32_FLAGS) $(LINK32_OBJS)
273 $(_VC_MANIFEST_EMBED_DLL)
275 !ENDIF
277 .c{$(INTDIR)}.obj::
278 $(CPP) @<<
279 $(CPP_PROJ) $<
282 .cpp{$(INTDIR)}.obj::
283 $(CPP) @<<
284 $(CPP_PROJ) $<
287 .cxx{$(INTDIR)}.obj::
288 $(CPP) @<<
289 $(CPP_PROJ) $<
292 .c{$(INTDIR)}.sbr::
293 $(CPP) @<<
294 $(CPP_PROJ) $<
297 .cpp{$(INTDIR)}.sbr::
298 $(CPP) @<<
299 $(CPP_PROJ) $<
302 .cxx{$(INTDIR)}.sbr::
303 $(CPP) @<<
304 $(CPP_PROJ) $<
308 !IF "$(NO_EXTERNAL_DEPS)" != "1"
309 !IF EXISTS("libisccc.dep")
310 !INCLUDE "libisccc.dep"
311 !ELSE
312 !MESSAGE Warning: cannot find "libisccc.dep"
313 !ENDIF
314 !ENDIF
317 !IF "$(CFG)" == "libisccc - @PLATFORM@ Release" || "$(CFG)" == "libisccc - @PLATFORM@ Debug"
318 SOURCE=..\alist.c
320 !IF "$(CFG)" == "libisccc - @PLATFORM@ Release"
323 "$(INTDIR)\alist.obj" : $(SOURCE) "$(INTDIR)"
324 $(CPP) $(CPP_PROJ) $(SOURCE)
327 !ELSEIF "$(CFG)" == "libisccc - @PLATFORM@ Debug"
330 "$(INTDIR)\alist.obj" "$(INTDIR)\alist.sbr" : $(SOURCE) "$(INTDIR)"
331 $(CPP) $(CPP_PROJ) $(SOURCE)
334 !ENDIF
336 SOURCE=..\base64.c
338 !IF "$(CFG)" == "libisccc - @PLATFORM@ Release"
341 "$(INTDIR)\base64.obj" : $(SOURCE) "$(INTDIR)"
342 $(CPP) $(CPP_PROJ) $(SOURCE)
345 !ELSEIF "$(CFG)" == "libisccc - @PLATFORM@ Debug"
348 "$(INTDIR)\base64.obj" "$(INTDIR)\base64.sbr" : $(SOURCE) "$(INTDIR)"
349 $(CPP) $(CPP_PROJ) $(SOURCE)
352 !ENDIF
354 SOURCE=..\cc.c
356 !IF "$(CFG)" == "libisccc - @PLATFORM@ Release"
359 "$(INTDIR)\cc.obj" : $(SOURCE) "$(INTDIR)"
360 $(CPP) $(CPP_PROJ) $(SOURCE)
363 !ELSEIF "$(CFG)" == "libisccc - @PLATFORM@ Debug"
366 "$(INTDIR)\cc.obj" "$(INTDIR)\cc.sbr" : $(SOURCE) "$(INTDIR)"
367 $(CPP) $(CPP_PROJ) $(SOURCE)
370 !ENDIF
372 SOURCE=..\ccmsg.c
374 !IF "$(CFG)" == "libisccc - @PLATFORM@ Release"
377 "$(INTDIR)\ccmsg.obj" : $(SOURCE) "$(INTDIR)"
378 $(CPP) $(CPP_PROJ) $(SOURCE)
381 !ELSEIF "$(CFG)" == "libisccc - @PLATFORM@ Debug"
384 "$(INTDIR)\ccmsg.obj" "$(INTDIR)\ccmsg.sbr" : $(SOURCE) "$(INTDIR)"
385 $(CPP) $(CPP_PROJ) $(SOURCE)
388 !ENDIF
390 SOURCE=.\DLLMain.c
392 !IF "$(CFG)" == "libisccc - @PLATFORM@ Release"
395 "$(INTDIR)\DLLMain.obj" : $(SOURCE) "$(INTDIR)"
398 !ELSEIF "$(CFG)" == "libisccc - @PLATFORM@ Debug"
401 "$(INTDIR)\DLLMain.obj" "$(INTDIR)\DLLMain.sbr" : $(SOURCE) "$(INTDIR)"
404 !ENDIF
406 SOURCE=..\lib.c
408 !IF "$(CFG)" == "libisccc - @PLATFORM@ Release"
411 "$(INTDIR)\lib.obj" : $(SOURCE) "$(INTDIR)"
412 $(CPP) $(CPP_PROJ) $(SOURCE)
415 !ELSEIF "$(CFG)" == "libisccc - @PLATFORM@ Debug"
418 "$(INTDIR)\lib.obj" "$(INTDIR)\lib.sbr" : $(SOURCE) "$(INTDIR)"
419 $(CPP) $(CPP_PROJ) $(SOURCE)
422 !ENDIF
424 SOURCE=..\result.c
426 !IF "$(CFG)" == "libisccc - @PLATFORM@ Release"
429 "$(INTDIR)\result.obj" : $(SOURCE) "$(INTDIR)"
430 $(CPP) $(CPP_PROJ) $(SOURCE)
433 !ELSEIF "$(CFG)" == "libisccc - @PLATFORM@ Debug"
436 "$(INTDIR)\result.obj" "$(INTDIR)\result.sbr" : $(SOURCE) "$(INTDIR)"
437 $(CPP) $(CPP_PROJ) $(SOURCE)
440 !ENDIF
442 SOURCE=..\sexpr.c
444 !IF "$(CFG)" == "libisccc - @PLATFORM@ Release"
447 "$(INTDIR)\sexpr.obj" : $(SOURCE) "$(INTDIR)"
448 $(CPP) $(CPP_PROJ) $(SOURCE)
451 !ELSEIF "$(CFG)" == "libisccc - @PLATFORM@ Debug"
454 "$(INTDIR)\sexpr.obj" "$(INTDIR)\sexpr.sbr" : $(SOURCE) "$(INTDIR)"
455 $(CPP) $(CPP_PROJ) $(SOURCE)
458 !ENDIF
460 SOURCE=..\symtab.c
462 !IF "$(CFG)" == "libisccc - @PLATFORM@ Release"
465 "$(INTDIR)\symtab.obj" : $(SOURCE) "$(INTDIR)"
466 $(CPP) $(CPP_PROJ) $(SOURCE)
469 !ELSEIF "$(CFG)" == "libisccc - @PLATFORM@ Debug"
472 "$(INTDIR)\symtab.obj" "$(INTDIR)\symtab.sbr" : $(SOURCE) "$(INTDIR)"
473 $(CPP) $(CPP_PROJ) $(SOURCE)
476 !ENDIF
478 SOURCE=.\version.c
480 !IF "$(CFG)" == "libisccc - @PLATFORM@ Release"
483 "$(INTDIR)\version.obj" : $(SOURCE) "$(INTDIR)"
486 !ELSEIF "$(CFG)" == "libisccc - @PLATFORM@ Debug"
489 "$(INTDIR)\version.obj" "$(INTDIR)\version.sbr" : $(SOURCE) "$(INTDIR)"
492 !ENDIF
494 !IF "$(CFG)" == "libisccc - @PLATFORM@ Release"
496 "libisc - @PLATFORM@ Release" :
497 cd "..\..\isc\win32"
498 $(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - @PLATFORM@ Release"
499 cd "..\..\isccc\win32"
501 "libisc - @PLATFORM@ ReleaseCLEAN" :
502 cd "..\..\isc\win32"
503 $(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - @PLATFORM@ Release" RECURSE=1 CLEAN
504 cd "..\..\isccc\win32"
506 !ELSEIF "$(CFG)" == "libisccc - @PLATFORM@ Debug"
508 "libisc - @PLATFORM@ Debug" :
509 cd "..\..\isc\win32"
510 $(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - @PLATFORM@ Debug"
511 cd "..\..\isccc\win32"
513 "libisc - @PLATFORM@ DebugCLEAN" :
514 cd "..\..\isc\win32"
515 $(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - @PLATFORM@ Debug" RECURSE=1 CLEAN
516 cd "..\..\isccc\win32"
518 !ENDIF
521 !ENDIF
523 ####################################################
524 # Commands to generate initial empty manifest file and the RC file
525 # that references it, and for generating the .res file:
527 $(_VC_MANIFEST_BASENAME).auto.res : $(_VC_MANIFEST_BASENAME).auto.rc
529 $(_VC_MANIFEST_BASENAME).auto.rc : $(_VC_MANIFEST_BASENAME).auto.manifest
530 type <<$@
531 #include <winuser.h>
532 1RT_MANIFEST"$(_VC_MANIFEST_BASENAME).auto.manifest"
533 << KEEP
535 $(_VC_MANIFEST_BASENAME).auto.manifest :
536 type <<$@
537 <?xml version='1.0' encoding='UTF-8' standalone='yes'?>
538 <assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
539 </assembly>
540 << KEEP