"Fossies" - the Fresh Open Source Software Archive

Member "bind-9.11.23/bin/tools/win32/arpaname.mak.in" (7 Sep 2020, 7672 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 arpaname.dsp
    2 !IF "$(CFG)" == ""
    3 CFG=arpaname - @PLATFORM@ Debug
    4 !MESSAGE No configuration specified. Defaulting to arpaname - @PLATFORM@ Debug.
    5 !ENDIF 
    6 
    7 !IF "$(CFG)" != "arpaname - @PLATFORM@ Release" && "$(CFG)" != "arpaname - @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 "arpaname.mak" CFG="arpaname - @PLATFORM@ Debug"
   13 !MESSAGE 
   14 !MESSAGE Possible choices for configuration are:
   15 !MESSAGE 
   16 !MESSAGE "arpaname - @PLATFORM@ Release" (based on "@PLATFORM@ (x86) Console Application")
   17 !MESSAGE "arpaname - @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"
   23 NULL=
   24 !ELSE 
   25 NULL=nul
   26 !ENDIF 
   27 
   28 !IF  "$(CFG)" == "arpaname - @PLATFORM@ Release"
   29 _VC_MANIFEST_INC=0
   30 _VC_MANIFEST_BASENAME=__VC80
   31 !ELSE
   32 _VC_MANIFEST_INC=1
   33 _VC_MANIFEST_BASENAME=__VC80.Debug
   34 !ENDIF
   35 
   36 ####################################################
   37 # Specifying name of temporary resource file used only in incremental builds:
   38 
   39 !if "$(_VC_MANIFEST_INC)" == "1"
   40 _VC_MANIFEST_AUTO_RES=$(_VC_MANIFEST_BASENAME).auto.res
   41 !else
   42 _VC_MANIFEST_AUTO_RES=
   43 !endif
   44 
   45 ####################################################
   46 # _VC_MANIFEST_EMBED_EXE - command to embed manifest in EXE:
   47 
   48 !if "$(_VC_MANIFEST_INC)" == "1"
   49 
   50 #MT_SPECIAL_RETURN=1090650113
   51 #MT_SPECIAL_SWITCH=-notify_resource_update
   52 MT_SPECIAL_RETURN=0
   53 MT_SPECIAL_SWITCH=
   54 _VC_MANIFEST_EMBED_EXE= \
   55 if exist $@.manifest mt.exe -manifest $@.manifest -out:$(_VC_MANIFEST_BASENAME).auto.manifest $(MT_SPECIAL_SWITCH) & \
   56 if "%ERRORLEVEL%" == "$(MT_SPECIAL_RETURN)" \
   57 rc /r $(_VC_MANIFEST_BASENAME).auto.rc & \
   58 link $** /out:$@ $(LFLAGS)
   59 
   60 !else
   61 
   62 _VC_MANIFEST_EMBED_EXE= \
   63 if exist $@.manifest mt.exe -manifest $@.manifest -outputresource:$@;1
   64 
   65 !endif
   66 
   67 ####################################################
   68 # _VC_MANIFEST_EMBED_DLL - command to embed manifest in DLL:
   69 
   70 !if "$(_VC_MANIFEST_INC)" == "1"
   71 
   72 #MT_SPECIAL_RETURN=1090650113
   73 #MT_SPECIAL_SWITCH=-notify_resource_update
   74 MT_SPECIAL_RETURN=0
   75 MT_SPECIAL_SWITCH=
   76 _VC_MANIFEST_EMBED_EXE= \
   77 if exist $@.manifest mt.exe -manifest $@.manifest -out:$(_VC_MANIFEST_BASENAME).auto.manifest $(MT_SPECIAL_SWITCH) & \
   78 if "%ERRORLEVEL%" == "$(MT_SPECIAL_RETURN)" \
   79 rc /r $(_VC_MANIFEST_BASENAME).auto.rc & \
   80 link $** /out:$@ $(LFLAGS)
   81 
   82 !else
   83 
   84 _VC_MANIFEST_EMBED_EXE= \
   85 if exist $@.manifest mt.exe -manifest $@.manifest -outputresource:$@;2
   86 
   87 !endif
   88 ####################################################
   89 # _VC_MANIFEST_CLEAN - command to clean resources files generated temporarily:
   90 
   91 !if "$(_VC_MANIFEST_INC)" == "1"
   92 
   93 _VC_MANIFEST_CLEAN=-del $(_VC_MANIFEST_BASENAME).auto.res \
   94     $(_VC_MANIFEST_BASENAME).auto.rc \
   95     $(_VC_MANIFEST_BASENAME).auto.manifest
   96 
   97 !else
   98 
   99 _VC_MANIFEST_CLEAN=
  100 
  101 !endif
  102 
  103 !IF  "$(CFG)" == "arpaname - @PLATFORM@ Release"
  104 
  105 OUTDIR=.\Release
  106 INTDIR=.\Release
  107 
  108 ALL : "..\..\..\Build\Release\arpaname.exe"
  109 
  110 
  111 CLEAN :
  112     -@erase "$(INTDIR)\arpaname.obj"
  113     -@erase "$(INTDIR)\vc60.idb"
  114     -@erase "..\..\..\Build\Release\arpaname.exe"
  115     -@$(_VC_MANIFEST_CLEAN)
  116 
  117 "$(OUTDIR)" :
  118     if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
  119 
  120 CPP=cl.exe
  121 CPP_PROJ=/nologo /MD /W3 @COPTX@ @COPTI@ /O2 /I "./" /I "../../../" @LIBXML2_INC@ /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /D "NDEBUG" /D "__STDC__" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /Fp"$(INTDIR)\arpaname.pch" @COPTY@ /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c 
  122 
  123 .c{$(INTDIR)}.obj::
  124    $(CPP) @<<
  125    $(CPP_PROJ) $< 
  126 <<
  127 
  128 .cpp{$(INTDIR)}.obj::
  129    $(CPP) @<<
  130    $(CPP_PROJ) $< 
  131 <<
  132 
  133 .cxx{$(INTDIR)}.obj::
  134    $(CPP) @<<
  135    $(CPP_PROJ) $< 
  136 <<
  137 
  138 .c{$(INTDIR)}.sbr::
  139    $(CPP) @<<
  140    $(CPP_PROJ) $< 
  141 <<
  142 
  143 .cpp{$(INTDIR)}.sbr::
  144    $(CPP) @<<
  145    $(CPP_PROJ) $< 
  146 <<
  147 
  148 .cxx{$(INTDIR)}.sbr::
  149    $(CPP) @<<
  150    $(CPP_PROJ) $< 
  151 <<
  152 
  153 RSC=rc.exe
  154 BSC32=bscmake.exe
  155 BSC32_FLAGS=/nologo /o"$(OUTDIR)\arpaname.bsc" 
  156 BSC32_SBRS= \
  157     
  158 LINK32=link.exe
  159 LINK32_FLAGS=user32.lib advapi32.lib ../../../lib/isc/win32/Release/libisc.lib /nologo /subsystem:console /incremental:no /pdb:"$(OUTDIR)\arpaname.pdb" @MACHINE@ /out:"../../../Build/Release/arpaname.exe" 
  160 LINK32_OBJS= \
  161     "$(INTDIR)\arpaname.obj"
  162 
  163 "..\..\..\Build\Release\arpaname.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
  164     $(LINK32) @<<
  165   $(LINK32_FLAGS) $(LINK32_OBJS)
  166 <<
  167     $(_VC_MANIFEST_EMBED_EXE)
  168 
  169 !ELSEIF  "$(CFG)" == "arpaname - @PLATFORM@ Debug"
  170 
  171 OUTDIR=.\Debug
  172 INTDIR=.\Debug
  173 # Begin Custom Macros
  174 OutDir=.\Debug
  175 # End Custom Macros
  176 
  177 ALL : "..\..\..\Build\Debug\arpaname.exe" "$(OUTDIR)\arpaname.bsc"
  178 
  179 
  180 CLEAN :
  181     -@erase "$(INTDIR)\arpaname.obj"
  182     -@erase "$(INTDIR)\arpaname.sbr"
  183     -@erase "$(INTDIR)\vc60.idb"
  184     -@erase "$(INTDIR)\vc60.pdb"
  185     -@erase "$(OUTDIR)\arpaname.pdb"
  186     -@erase "$(OUTDIR)\arpaname.bsc"
  187     -@erase "..\..\..\Build\Debug\arpaname.exe"
  188     -@erase "..\..\..\Build\Debug\arpaname.ilk"
  189     -@$(_VC_MANIFEST_CLEAN)
  190 
  191 "$(OUTDIR)" :
  192     if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
  193 
  194 CPP=cl.exe
  195 CPP_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" /D "_DEBUG" /D "WIN32" /D "__STDC__" /D "_CONSOLE" /D "_MBCS" /FR"$(INTDIR)\\" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c 
  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 RSC=rc.exe
  228 BSC32=bscmake.exe
  229 BSC32_FLAGS=/nologo /o"$(OUTDIR)\arpaname.bsc" 
  230 BSC32_SBRS= \
  231     "$(INTDIR)\arpaname.sbr"
  232 
  233 "$(OUTDIR)\arpaname.bsc" : "$(OUTDIR)" $(BSC32_SBRS)
  234     $(BSC32) @<<
  235   $(BSC32_FLAGS) $(BSC32_SBRS)
  236 <<
  237 
  238 LINK32=link.exe
  239 LINK32_FLAGS=user32.lib advapi32.lib ../../../lib/isc/win32/Debug/libisc.lib /nologo /subsystem:console /incremental:yes /pdb:"$(OUTDIR)\arpaname.pdb" /debug @MACHINE@ /out:"../../../Build/Debug/arpaname.exe" /pdbtype:sept 
  240 LINK32_OBJS= \
  241     "$(INTDIR)\arpaname.obj"
  242 
  243 "..\..\..\Build\Debug\arpaname.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
  244     $(LINK32) @<<
  245   $(LINK32_FLAGS) $(LINK32_OBJS)
  246 <<
  247     $(_VC_MANIFEST_EMBED_EXE)
  248 
  249 !ENDIF 
  250 
  251 
  252 !IF "$(NO_EXTERNAL_DEPS)" != "1"
  253 !IF EXISTS("arpaname.dep")
  254 !INCLUDE "arpaname.dep"
  255 !ELSE 
  256 !MESSAGE Warning: cannot find "arpaname.dep"
  257 !ENDIF 
  258 !ENDIF 
  259 
  260 
  261 !IF "$(CFG)" == "arpaname - @PLATFORM@ Release" || "$(CFG)" == "arpaname - @PLATFORM@ Debug"
  262 SOURCE="..\arpaname.c"
  263 
  264 !IF  "$(CFG)" == "arpaname - @PLATFORM@ Release"
  265 
  266 
  267 "$(INTDIR)\arpaname.obj" : $(SOURCE) "$(INTDIR)"
  268     $(CPP) $(CPP_PROJ) $(SOURCE)
  269 
  270 
  271 !ELSEIF  "$(CFG)" == "arpaname - @PLATFORM@ Debug"
  272 
  273 
  274 "$(INTDIR)\arpaname.obj"    "$(INTDIR)\arpaname.sbr" : $(SOURCE) "$(INTDIR)"
  275     $(CPP) $(CPP_PROJ) $(SOURCE)
  276 
  277 
  278 !ENDIF 
  279 
  280 !ENDIF 
  281 
  282 ####################################################
  283 # Commands to generate initial empty manifest file and the RC file
  284 # that references it, and for generating the .res file:
  285 
  286 $(_VC_MANIFEST_BASENAME).auto.res : $(_VC_MANIFEST_BASENAME).auto.rc
  287 
  288 $(_VC_MANIFEST_BASENAME).auto.rc : $(_VC_MANIFEST_BASENAME).auto.manifest
  289     type <<$@
  290 #include <winuser.h>
  291 1RT_MANIFEST"$(_VC_MANIFEST_BASENAME).auto.manifest"
  292 << KEEP
  293 
  294 $(_VC_MANIFEST_BASENAME).auto.manifest :
  295     type <<$@
  296 <?xml version='1.0' encoding='UTF-8' standalone='yes'?>
  297 <assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
  298 </assembly>
  299 << KEEP