"Fossies" - the Fresh Open Source Software Archive

Member "bind-9.11.23/lib/win32/bindevt/bindevt.mak.in" (7 Sep 2020, 8015 Bytes) of package /linux/misc/dns/bind9/9.11.23/bind-9.11.23.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 # Microsoft Developer Studio Generated NMAKE File, Based on bindevt.dsp
    2 !IF "$(CFG)" == ""
    3 CFG=bindevt - @PLATFORM@ Debug
    4 !MESSAGE No configuration specified. Defaulting to bindevt - @PLATFORM@ Debug.
    5 !ENDIF 
    6 
    7 !IF "$(CFG)" != "bindevt - @PLATFORM@ Release" && "$(CFG)" != "bindevt - @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 "bindevt.mak" CFG="bindevt - @PLATFORM@ Debug"
   13 !MESSAGE 
   14 !MESSAGE Possible choices for configuration are:
   15 !MESSAGE 
   16 !MESSAGE "bindevt - @PLATFORM@ Release" (based on "@PLATFORM@ (x86) Dynamic-Link Library")
   17 !MESSAGE "bindevt - @PLATFORM@ Debug" (based on "@PLATFORM@ (x86) Dynamic-Link Library")
   18 !MESSAGE 
   19 !ERROR An invalid configuration is specified.
   20 !ENDIF 
   21 
   22 !IF "$(OS)" == "Windows_NT"
   23 NULL=
   24 !ELSE 
   25 NULL=nul
   26 !ENDIF 
   27 
   28 CPP=cl.exe
   29 MTL=midl.exe
   30 RSC=rc.exe
   31 
   32 !IF  "$(CFG)" == "bindevt - @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
   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)
   63 
   64 !else
   65 
   66 _VC_MANIFEST_EMBED_EXE= \
   67 if 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
   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)
   85 
   86 !else
   87 
   88 _VC_MANIFEST_EMBED_EXE= \
   89 if 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)" == "bindevt - @PLATFORM@ Release"
  108 
  109 OUTDIR=.\Release
  110 INTDIR=.\Release
  111 
  112 ALL : "..\..\..\Build\Release\bindevt.dll"
  113 
  114 
  115 CLEAN :
  116     -@erase "$(INTDIR)\bindevt.obj"
  117     -@erase "$(INTDIR)\bindevt.res"
  118     -@erase "$(INTDIR)\vc60.idb"
  119     -@erase "$(OUTDIR)\bindevt.exp"
  120     -@erase "..\..\..\Build\Release\bindevt.dll"
  121     -@$(_VC_MANIFEST_CLEAN)
  122 
  123 "$(OUTDIR)" :
  124     if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
  125 
  126 CPP_PROJ=/nologo /MT /W3 @COPTX@ @COPTI@ /O2 /I "..\include" /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "BINDEVT_EXPORTS" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c 
  127 MTL_PROJ=/nologo /D "NDEBUG" /mktyplib203 /win32 
  128 RSC_PROJ=/l 0x409 /fo"$(INTDIR)\bindevt.res" /d "NDEBUG" 
  129 BSC32=bscmake.exe
  130 BSC32_FLAGS=/nologo /o"$(OUTDIR)\bindevt.bsc" 
  131 BSC32_SBRS= \
  132     
  133 LINK32=link.exe
  134 LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /pdb:none @MACHINE@ /out:"..\..\..\Build\Release\bindevt.dll" /implib:"$(OUTDIR)\bindevt.lib" 
  135 LINK32_OBJS= \
  136     "$(INTDIR)\bindevt.obj" \
  137     "$(INTDIR)\bindevt.res"
  138 
  139 "..\..\..\Build\Release\bindevt.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
  140     $(LINK32) @<<
  141   $(LINK32_FLAGS) $(LINK32_OBJS)
  142 <<
  143   $(_VC_MANIFEST_EMBED_DLL)
  144 
  145 !ELSEIF  "$(CFG)" == "bindevt - @PLATFORM@ Debug"
  146 
  147 OUTDIR=.\Debug
  148 INTDIR=.\Debug
  149 # Begin Custom Macros
  150 OutDir=.\Debug
  151 # End Custom Macros
  152 
  153 ALL : "..\..\..\Build\Debug\bindevt.dll" "$(OUTDIR)\bindevt.bsc"
  154 
  155 
  156 CLEAN :
  157     -@erase "$(INTDIR)\bindevt.obj"
  158     -@erase "$(INTDIR)\bindevt.res"
  159     -@erase "$(INTDIR)\bindevt.sbr"
  160     -@erase "$(INTDIR)\vc60.idb"
  161     -@erase "$(INTDIR)\vc60.pdb"
  162     -@erase "$(OUTDIR)\bindevt.bsc"
  163     -@erase "$(OUTDIR)\bindevt.exp"
  164     -@erase "..\..\..\Build\Debug\bindevt.dll"
  165     -@$(_VC_MANIFEST_CLEAN)
  166 
  167 "$(OUTDIR)" :
  168     if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
  169 
  170 CPP_PROJ=/nologo /MTd /W3 /Gm @COPTX@ @COPTI@ /Zi /Od /I "..\include" /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "BINDEVT_EXPORTS" /FR"$(INTDIR)\\" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c 
  171 MTL_PROJ=/nologo /D "_DEBUG" /mktyplib203 /win32 
  172 RSC_PROJ=/l 0x409 /fo"$(INTDIR)\bindevt.res" /d "_DEBUG" 
  173 BSC32=bscmake.exe
  174 BSC32_FLAGS=/nologo /o"$(OUTDIR)\bindevt.bsc" 
  175 BSC32_SBRS= \
  176     "$(INTDIR)\bindevt.sbr"
  177 
  178 "$(OUTDIR)\bindevt.bsc" : "$(OUTDIR)" $(BSC32_SBRS)
  179     $(BSC32) @<<
  180   $(BSC32_FLAGS) $(BSC32_SBRS)
  181 <<
  182 
  183 LINK32=link.exe
  184 LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /pdb:none /debug @MACHINE@ /out:"..\..\..\Build\Debug\bindevt.dll" /implib:"$(OUTDIR)\bindevt.lib" 
  185 LINK32_OBJS= \
  186     "$(INTDIR)\bindevt.obj" \
  187     "$(INTDIR)\bindevt.res"
  188 
  189 "..\..\..\Build\Debug\bindevt.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
  190     $(LINK32) @<<
  191   $(LINK32_FLAGS) $(LINK32_OBJS)
  192 <<
  193   $(_VC_MANIFEST_EMBED_DLL)
  194 
  195 !ENDIF 
  196 
  197 .c{$(INTDIR)}.obj::
  198    $(CPP) @<<
  199    $(CPP_PROJ) $< 
  200 <<
  201 
  202 .cpp{$(INTDIR)}.obj::
  203    $(CPP) @<<
  204    $(CPP_PROJ) $< 
  205 <<
  206 
  207 .cxx{$(INTDIR)}.obj::
  208    $(CPP) @<<
  209    $(CPP_PROJ) $< 
  210 <<
  211 
  212 .c{$(INTDIR)}.sbr::
  213    $(CPP) @<<
  214    $(CPP_PROJ) $< 
  215 <<
  216 
  217 .cpp{$(INTDIR)}.sbr::
  218    $(CPP) @<<
  219    $(CPP_PROJ) $< 
  220 <<
  221 
  222 .cxx{$(INTDIR)}.sbr::
  223    $(CPP) @<<
  224    $(CPP_PROJ) $< 
  225 <<
  226 
  227 
  228 !IF "$(NO_EXTERNAL_DEPS)" != "1"
  229 !IF EXISTS("bindevt.dep")
  230 !INCLUDE "bindevt.dep"
  231 !ELSE 
  232 !MESSAGE Warning: cannot find "bindevt.dep"
  233 !ENDIF 
  234 !ENDIF 
  235 
  236 
  237 !IF "$(CFG)" == "bindevt - @PLATFORM@ Release" || "$(CFG)" == "bindevt - @PLATFORM@ Debug"
  238 SOURCE=.\bindevt.c
  239 
  240 !IF  "$(CFG)" == "bindevt - @PLATFORM@ Release"
  241 
  242 
  243 "$(INTDIR)\bindevt.obj" : $(SOURCE) "$(INTDIR)"
  244 
  245 
  246 !ELSEIF  "$(CFG)" == "bindevt - @PLATFORM@ Debug"
  247 
  248 
  249 "$(INTDIR)\bindevt.obj" "$(INTDIR)\bindevt.sbr" : $(SOURCE) "$(INTDIR)"
  250 
  251 
  252 !ENDIF 
  253 
  254 SOURCE=.\bindevt.mc
  255 
  256 !IF  "$(CFG)" == "bindevt - @PLATFORM@ Release"
  257 
  258 TargetName=bindevt
  259 InputPath=.\bindevt.mc
  260 InputName=bindevt
  261 
  262 ".\bindevt.rc" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
  263     <<tempfile.bat 
  264     @echo off 
  265     mc $(InputName).mc
  266 << 
  267     
  268 
  269 !ELSEIF  "$(CFG)" == "bindevt - @PLATFORM@ Debug"
  270 
  271 TargetName=bindevt
  272 InputPath=.\bindevt.mc
  273 InputName=bindevt
  274 
  275 ".\bindevt.rc" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
  276     <<tempfile.bat 
  277     @echo off 
  278     mc $(InputName).mc
  279 << 
  280     
  281 
  282 !ENDIF 
  283 
  284 SOURCE=.\bindevt.rc
  285 
  286 "$(INTDIR)\bindevt.res" : $(SOURCE) "$(INTDIR)"
  287     $(RSC) $(RSC_PROJ) $(SOURCE)
  288 
  289 
  290 
  291 !ENDIF 
  292 
  293 ####################################################
  294 # Commands to generate initial empty manifest file and the RC file
  295 # that references it, and for generating the .res file:
  296 
  297 $(_VC_MANIFEST_BASENAME).auto.res : $(_VC_MANIFEST_BASENAME).auto.rc
  298 
  299 $(_VC_MANIFEST_BASENAME).auto.rc : $(_VC_MANIFEST_BASENAME).auto.manifest
  300     type <<$@
  301 #include <winuser.h>
  302 1RT_MANIFEST"$(_VC_MANIFEST_BASENAME).auto.manifest"
  303 << KEEP
  304 
  305 $(_VC_MANIFEST_BASENAME).auto.manifest :
  306     type <<$@
  307 <?xml version='1.0' encoding='UTF-8' standalone='yes'?>
  308 <assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
  309 </assembly>
  310 << KEEP