etc/services - sync with NetBSD-8
[minix.git] / external / bsd / bind / dist / bin / win32 / BINDInstall / BINDInstall.mak.in
blob5b53ea2356e7349781e505b98fd95b587cc8f878
1 # Microsoft Developer Studio Generated NMAKE File, Based on BINDInstall.dsp
2 !IF "$(CFG)" == ""
3 CFG=BINDInstall - @PLATFORM@ Debug
4 !MESSAGE No configuration specified. Defaulting to BINDInstall - @PLATFORM@ Debug.
5 !ENDIF
7 !IF "$(CFG)" != "BINDInstall - @PLATFORM@ Release" && "$(CFG)" != "BINDInstall - @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 "BINDInstall.mak" CFG="BINDInstall - @PLATFORM@ Debug"
13 !MESSAGE
14 !MESSAGE Possible choices for configuration are:
15 !MESSAGE
16 !MESSAGE "BINDInstall - @PLATFORM@ Release" (based on "@PLATFORM@ (x86) Application")
17 !MESSAGE "BINDInstall - @PLATFORM@ Debug" (based on "@PLATFORM@ (x86) 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 MTL=midl.exe
30 RSC=rc.exe
32 !IF "$(CFG)" == "BINDInstall - @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)" == "BINDInstall - @PLATFORM@ Release"
109 OUTDIR=.\Release
110 INTDIR=.\Release
112 ALL : "..\..\..\Build\Release\BINDInstall.exe"
115 CLEAN :
116 -@erase "$(INTDIR)\AccountInfo.obj"
117 -@erase "$(INTDIR)\BINDInstall.obj"
118 -@erase "$(INTDIR)\BINDInstall.pch"
119 -@erase "$(INTDIR)\BINDInstall.res"
120 -@erase "$(INTDIR)\BINDInstallDlg.obj"
121 -@erase "$(INTDIR)\DirBrowse.obj"
122 -@erase "$(INTDIR)\ntgroups.obj"
123 -@erase "$(INTDIR)\StdAfx.obj"
124 -@erase "$(INTDIR)\vc60.idb"
125 -@erase "$(INTDIR)\VersionInfo.obj"
126 -@erase "..\..\..\Build\Release\BINDInstall.exe"
127 -@$(_VC_MANIFEST_CLEAN)
129 "$(OUTDIR)" :
130 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
132 CPP_PROJ=/nologo /MT /W3 @COPTX@ @COPTI@ /O2 /I "..\..\.." /I "..\include" /I "..\..\..\include" /I "..\..\named\win32\include" /I "..\..\..\lib\isc\win32\include" /I "..\..\..\lib\isc\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" @CRYPTO@ @USE_GSSAPI@ @USE_PYTHON@ /Fp"$(INTDIR)\BINDInstall.pch" /Yu"stdafx.h" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /TP /c
133 MTL_PROJ=/nologo /D "NDEBUG" /mktyplib203 /win32
134 RSC_PROJ=/l 0x409 /fo"$(INTDIR)\BINDInstall.res" /d "NDEBUG"
135 BSC32=bscmake.exe
136 BSC32_FLAGS=/nologo /o"$(OUTDIR)\BINDInstall.bsc"
137 BSC32_SBRS= \
139 LINK32=link.exe
140 LINK32_FLAGS=version.lib netapi32.lib /nologo /subsystem:windows /pdb:none @MACHINE@ /out:"..\..\..\Build\Release\BINDInstall.exe"
141 LINK32_OBJS= \
142 "$(INTDIR)\AccountInfo.obj" \
143 "$(INTDIR)\BINDInstall.obj" \
144 "$(INTDIR)\BINDInstallDlg.obj" \
145 "$(INTDIR)\DirBrowse.obj" \
146 "$(INTDIR)\ntgroups.obj" \
147 "$(INTDIR)\StdAfx.obj" \
148 "$(INTDIR)\VersionInfo.obj" \
149 "$(INTDIR)\BINDInstall.res"
151 "..\..\..\Build\Release\BINDInstall.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
152 $(LINK32) @<<
153 $(LINK32_FLAGS) $(LINK32_OBJS)
155 $(_VC_MANIFEST_EMBED_EXE)
157 !ELSEIF "$(CFG)" == "BINDInstall - @PLATFORM@ Debug"
159 OUTDIR=.\Debug
160 INTDIR=.\Debug
161 # Begin Custom Macros
162 OutDir=.\Debug
163 # End Custom Macros
165 ALL : "..\..\..\Build\Debug\BINDInstall.exe" "$(OUTDIR)\BINDInstall.bsc"
168 CLEAN :
169 -@erase "$(INTDIR)\AccountInfo.obj"
170 -@erase "$(INTDIR)\AccountInfo.sbr"
171 -@erase "$(INTDIR)\BINDInstall.obj"
172 -@erase "$(INTDIR)\BINDInstall.pch"
173 -@erase "$(INTDIR)\BINDInstall.res"
174 -@erase "$(INTDIR)\BINDInstall.sbr"
175 -@erase "$(INTDIR)\BINDInstallDlg.obj"
176 -@erase "$(INTDIR)\BINDInstallDlg.sbr"
177 -@erase "$(INTDIR)\DirBrowse.obj"
178 -@erase "$(INTDIR)\DirBrowse.sbr"
179 -@erase "$(INTDIR)\ntgroups.obj"
180 -@erase "$(INTDIR)\ntgroups.sbr"
181 -@erase "$(INTDIR)\StdAfx.obj"
182 -@erase "$(INTDIR)\StdAfx.sbr"
183 -@erase "$(INTDIR)\vc60.idb"
184 -@erase "$(INTDIR)\vc60.pdb"
185 -@erase "$(INTDIR)\VersionInfo.obj"
186 -@erase "$(INTDIR)\VersionInfo.sbr"
187 -@erase "$(OUTDIR)\BINDInstall.bsc"
188 -@erase "..\..\..\Build\Debug\BINDInstall.exe"
189 -@$(_VC_MANIFEST_CLEAN)
191 "$(OUTDIR)" :
192 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
194 CPP_PROJ=/nologo /MTd /W3 /Gm @COPTX@ @COPTI@ /Zi /Od /I "..\..\.." /I "..\include" /I "..\..\..\include" /I "..\..\named\win32\include" /I "..\..\..\lib\isc\win32\include" /I "..\..\..\lib\isc\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" @CRYPTO@ @USE_GSSAPI@ @USE_PYTHON@ /FR"$(INTDIR)\\" /Fp"$(INTDIR)\BINDInstall.pch" /Yu"stdafx.h" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /TP /GZ /c
195 MTL_PROJ=/nologo /D "_DEBUG" /mktyplib203 /win32
196 RSC_PROJ=/l 0x409 /fo"$(INTDIR)\BINDInstall.res" /d "_DEBUG"
197 BSC32=bscmake.exe
198 BSC32_FLAGS=/nologo /o"$(OUTDIR)\BINDInstall.bsc"
199 BSC32_SBRS= \
200 "$(INTDIR)\AccountInfo.sbr" \
201 "$(INTDIR)\BINDInstall.sbr" \
202 "$(INTDIR)\BINDInstallDlg.sbr" \
203 "$(INTDIR)\DirBrowse.sbr" \
204 "$(INTDIR)\ntgroups.sbr" \
205 "$(INTDIR)\StdAfx.sbr" \
206 "$(INTDIR)\VersionInfo.sbr"
208 "$(OUTDIR)\BINDInstall.bsc" : "$(OUTDIR)" $(BSC32_SBRS)
209 $(BSC32) @<<
210 $(BSC32_FLAGS) $(BSC32_SBRS)
213 LINK32=link.exe
214 LINK32_FLAGS=version.lib netapi32.lib /nologo /subsystem:windows /pdb:none /debug @MACHINE@ /out:"..\..\..\Build\Debug\BINDInstall.exe"
215 LINK32_OBJS= \
216 "$(INTDIR)\AccountInfo.obj" \
217 "$(INTDIR)\BINDInstall.obj" \
218 "$(INTDIR)\BINDInstallDlg.obj" \
219 "$(INTDIR)\DirBrowse.obj" \
220 "$(INTDIR)\ntgroups.obj" \
221 "$(INTDIR)\StdAfx.obj" \
222 "$(INTDIR)\VersionInfo.obj" \
223 "$(INTDIR)\BINDInstall.res"
225 "..\..\..\Build\Debug\BINDInstall.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
226 $(LINK32) @<<
227 $(LINK32_FLAGS) $(LINK32_OBJS)
229 $(_VC_MANIFEST_EMBED_EXE)
231 !ENDIF
233 .c{$(INTDIR)}.obj::
234 $(CPP) @<<
235 $(CPP_PROJ) $<
238 .cpp{$(INTDIR)}.obj::
239 $(CPP) @<<
240 $(CPP_PROJ) $<
243 .cxx{$(INTDIR)}.obj::
244 $(CPP) @<<
245 $(CPP_PROJ) $<
248 .c{$(INTDIR)}.sbr::
249 $(CPP) @<<
250 $(CPP_PROJ) $<
253 .cpp{$(INTDIR)}.sbr::
254 $(CPP) @<<
255 $(CPP_PROJ) $<
258 .cxx{$(INTDIR)}.sbr::
259 $(CPP) @<<
260 $(CPP_PROJ) $<
264 !IF "$(NO_EXTERNAL_DEPS)" != "1"
265 !IF EXISTS("BINDInstall.dep")
266 !INCLUDE "BINDInstall.dep"
267 !ELSE
268 !MESSAGE Warning: cannot find "BINDInstall.dep"
269 !ENDIF
270 !ENDIF
273 !IF "$(CFG)" == "BINDInstall - @PLATFORM@ Release" || "$(CFG)" == "BINDInstall - @PLATFORM@ Debug"
274 SOURCE=.\AccountInfo.cpp
276 !IF "$(CFG)" == "BINDInstall - @PLATFORM@ Release"
279 "$(INTDIR)\AccountInfo.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\BINDInstall.pch"
282 !ELSEIF "$(CFG)" == "BINDInstall - @PLATFORM@ Debug"
285 "$(INTDIR)\AccountInfo.obj" "$(INTDIR)\AccountInfo.sbr" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\BINDInstall.pch"
288 !ENDIF
290 SOURCE=.\BINDInstall.cpp
292 !IF "$(CFG)" == "BINDInstall - @PLATFORM@ Release"
295 "$(INTDIR)\BINDInstall.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\BINDInstall.pch"
298 !ELSEIF "$(CFG)" == "BINDInstall - @PLATFORM@ Debug"
301 "$(INTDIR)\BINDInstall.obj" "$(INTDIR)\BINDInstall.sbr" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\BINDInstall.pch"
304 !ENDIF
306 SOURCE=.\BINDInstallDlg.cpp
308 !IF "$(CFG)" == "BINDInstall - @PLATFORM@ Release"
311 "$(INTDIR)\BINDInstallDlg.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\BINDInstall.pch"
314 !ELSEIF "$(CFG)" == "BINDInstall - @PLATFORM@ Debug"
317 "$(INTDIR)\BINDInstallDlg.obj" "$(INTDIR)\BINDInstallDlg.sbr" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\BINDInstall.pch"
320 !ENDIF
322 SOURCE=.\DirBrowse.cpp
324 !IF "$(CFG)" == "BINDInstall - @PLATFORM@ Release"
327 "$(INTDIR)\DirBrowse.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\BINDInstall.pch"
330 !ELSEIF "$(CFG)" == "BINDInstall - @PLATFORM@ Debug"
333 "$(INTDIR)\DirBrowse.obj" "$(INTDIR)\DirBrowse.sbr" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\BINDInstall.pch"
336 !ENDIF
338 SOURCE=..\..\..\lib\isc\win32\ntgroups.c
340 !IF "$(CFG)" == "BINDInstall - @PLATFORM@ Release"
342 CPP_SWITCHES=/nologo /MT /W3 @COPTX@ @COPTI@ /O2 /I "..\include" /I "..\..\..\include" /I "..\..\named\win32\include" /I "..\..\..\lib\isc\win32\include" /I "..\..\..\lib\isc\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" @CRYPTO@ @USE_GSSAPI@ /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /TP /c
344 "$(INTDIR)\ntgroups.obj" : $(SOURCE) "$(INTDIR)"
345 $(CPP) @<<
346 $(CPP_SWITCHES) $(SOURCE)
350 !ELSEIF "$(CFG)" == "BINDInstall - @PLATFORM@ Debug"
352 CPP_SWITCHES=/nologo /MTd /W3 /Gm @COPTX@ @COPTI@ /Zi /Od /I "..\include" /I "..\..\..\include" /I "..\..\named\win32\include" /I "..\..\..\lib\isc\win32\include" /I "..\..\..\lib\isc\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" @CRYPTO@ @USE_GSSAPI@ /FR"$(INTDIR)\\" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /TP /GZ /c
354 "$(INTDIR)\ntgroups.obj" "$(INTDIR)\ntgroups.sbr" : $(SOURCE) "$(INTDIR)"
355 $(CPP) @<<
356 $(CPP_SWITCHES) $(SOURCE)
360 !ENDIF
362 SOURCE=.\StdAfx.cpp
364 !IF "$(CFG)" == "BINDInstall - @PLATFORM@ Release"
366 CPP_SWITCHES=/nologo /MT /W3 @COPTX@ @COPTI@ /O2 /I "..\include" /I "..\..\..\include" /I "..\..\named\win32\include" /I "..\..\..\lib\isc\win32\include" /I "..\..\..\lib\isc\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" @CRYPTO@ @USE_GSSAPI@ /Fp"$(INTDIR)\BINDInstall.pch" /Yc"stdafx.h" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /TP /c
368 "$(INTDIR)\StdAfx.obj" "$(INTDIR)\BINDInstall.pch" : $(SOURCE) "$(INTDIR)"
369 $(CPP) @<<
370 $(CPP_SWITCHES) $(SOURCE)
374 !ELSEIF "$(CFG)" == "BINDInstall - @PLATFORM@ Debug"
376 CPP_SWITCHES=/nologo /MTd /W3 /Gm @COPTX@ @COPTI@ /Zi /Od /I "..\include" /I "..\..\..\include" /I "..\..\named\win32\include" /I "..\..\..\lib\isc\win32\include" /I "..\..\..\lib\isc\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" @CRYPTO@ @USE_GSSAPI@ /FR"$(INTDIR)\\" /Fp"$(INTDIR)\BINDInstall.pch" /Yc"stdafx.h" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /TP /GZ /c
378 "$(INTDIR)\StdAfx.obj" "$(INTDIR)\StdAfx.sbr" "$(INTDIR)\BINDInstall.pch" : $(SOURCE) "$(INTDIR)"
379 $(CPP) @<<
380 $(CPP_SWITCHES) $(SOURCE)
384 !ENDIF
386 SOURCE=.\VersionInfo.cpp
388 !IF "$(CFG)" == "BINDInstall - @PLATFORM@ Release"
391 "$(INTDIR)\VersionInfo.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\BINDInstall.pch"
394 !ELSEIF "$(CFG)" == "BINDInstall - @PLATFORM@ Debug"
397 "$(INTDIR)\VersionInfo.obj" "$(INTDIR)\VersionInfo.sbr" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\BINDInstall.pch"
400 !ENDIF
402 SOURCE=.\BINDInstall.rc
404 "$(INTDIR)\BINDInstall.res" : $(SOURCE) "$(INTDIR)"
405 $(RSC) $(RSC_PROJ) $(SOURCE)
409 !ENDIF
411 ####################################################
412 # Commands to generate initial empty manifest file and the RC file
413 # that references it, and for generating the .res file:
415 $(_VC_MANIFEST_BASENAME).auto.res : $(_VC_MANIFEST_BASENAME).auto.rc
417 $(_VC_MANIFEST_BASENAME).auto.rc : $(_VC_MANIFEST_BASENAME).auto.manifest
418 type <<$@
419 #include <winuser.h>
420 1RT_MANIFEST"$(_VC_MANIFEST_BASENAME).auto.manifest"
421 << KEEP
423 $(_VC_MANIFEST_BASENAME).auto.manifest :
424 type <<$@
425 <?xml version='1.0' encoding='UTF-8' standalone='yes'?>
426 <assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
427 </assembly>
428 << KEEP