"Fossies" - the Fresh Open Source Software Archive

Member "bind-9.11.23/lib/dns/win32/gen.mak.in" (7 Sep 2020, 6909 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 gen.dsp
    2 !IF "$(CFG)" == ""
    3 CFG=gen - @BUILD_PLATFORM@ Debug
    4 !MESSAGE No configuration specified. Defaulting to gen - @BUILD_PLATFORM@ Debug.
    5 !ENDIF 
    6 
    7 !IF "$(CFG)" != "gen - @BUILD_PLATFORM@ Release" && "$(CFG)" != "gen - @BUILD_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 "gen.mak" CFG="gen - @BUILD_PLATFORM@ Debug"
   13 !MESSAGE 
   14 !MESSAGE Possible choices for configuration are:
   15 !MESSAGE 
   16 !MESSAGE "gen - @BUILD_PLATFORM@ Release" (based on "@BUILD_PLATFORM@ (x86) Console Application")
   17 !MESSAGE "gen - @BUILD_PLATFORM@ Debug" (based on "@BUILD_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 CPP=cl.exe
   29 RSC=rc.exe
   30 
   31 !IF  "$(CFG)" == "gen - @BUILD_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
   38 
   39 ####################################################
   40 # Specifying name of temporary resource file used only in incremental builds:
   41 
   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
   47 
   48 ####################################################
   49 # _VC_MANIFEST_EMBED_EXE - command to embed manifest in EXE:
   50 
   51 !if "$(_VC_MANIFEST_INC)" == "1"
   52 
   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)
   62 
   63 !else
   64 
   65 _VC_MANIFEST_EMBED_EXE= \
   66 if exist $@.manifest mt.exe -manifest $@.manifest -outputresource:$@;1
   67 
   68 !endif
   69 
   70 ####################################################
   71 # _VC_MANIFEST_EMBED_DLL - command to embed manifest in DLL:
   72 
   73 !if "$(_VC_MANIFEST_INC)" == "1"
   74 
   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)
   84 
   85 !else
   86 
   87 _VC_MANIFEST_EMBED_EXE= \
   88 if exist $@.manifest mt.exe -manifest $@.manifest -outputresource:$@;2
   89 
   90 !endif
   91 ####################################################
   92 # _VC_MANIFEST_CLEAN - command to clean resources files generated temporarily:
   93 
   94 !if "$(_VC_MANIFEST_INC)" == "1"
   95 
   96 _VC_MANIFEST_CLEAN=-del $(_VC_MANIFEST_BASENAME).auto.res \
   97     $(_VC_MANIFEST_BASENAME).auto.rc \
   98     $(_VC_MANIFEST_BASENAME).auto.manifest
   99 
  100 !else
  101 
  102 _VC_MANIFEST_CLEAN=
  103 
  104 !endif
  105 
  106 !IF  "$(CFG)" == "gen - @BUILD_PLATFORM@ Release"
  107 
  108 OUTDIR=.\Release
  109 INTDIR=.\Release
  110 
  111 ALL : "..\gen.exe"
  112 
  113 
  114 CLEAN :
  115     -@erase "$(INTDIR)\gen.obj"
  116     -@erase "$(INTDIR)\vc60.idb"
  117     -@erase "..\gen.exe"
  118     -@$(_VC_MANIFEST_CLEAN)
  119 
  120 "$(OUTDIR)" :
  121     if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
  122 
  123 CPP_PROJ=/nologo @COPTML@ /W3 @COPTX@ @COPTI@ /O2 /I "./" /I "../../../" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D "LIBISC_EXPORTS" /Fp"$(INTDIR)\gen.pch" @COPTY@ /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c 
  124 BSC32=bscmake.exe
  125 BSC32_FLAGS=/nologo /o"$(OUTDIR)\gen.bsc" 
  126 BSC32_SBRS= \
  127     
  128 LINK32=link.exe
  129 LINK32_FLAGS=user32.lib advapi32.lib /nologo /subsystem:console /incremental:no /pdb:"$(OUTDIR)\gen.pdb" @BUILD_MACHINE@ /out:"../gen.exe" 
  130 LINK32_OBJS= \
  131     "$(INTDIR)\gen.obj"
  132 
  133 "..\gen.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
  134     $(LINK32) @<<
  135   $(LINK32_FLAGS) $(LINK32_OBJS)
  136 <<
  137   $(_VC_MANIFEST_EMBED_EXE)
  138 
  139 !ELSEIF  "$(CFG)" == "gen - @BUILD_PLATFORM@ Debug"
  140 
  141 OUTDIR=.\Debug
  142 INTDIR=.\Debug
  143 # Begin Custom Macros
  144 OutDir=.\Debug
  145 # End Custom Macros
  146 
  147 ALL : "..\gen.exe" "$(OUTDIR)\gen.bsc"
  148 
  149 
  150 CLEAN :
  151     -@erase "$(INTDIR)\gen.obj"
  152     -@erase "$(INTDIR)\gen.sbr"
  153     -@erase "$(INTDIR)\vc60.idb"
  154     -@erase "$(INTDIR)\vc60.pdb"
  155     -@erase "$(OUTDIR)\gen.bsc"
  156     -@erase "$(OUTDIR)\gen.pdb"
  157     -@erase "..\gen.exe"
  158     -@erase "..\gen.ilk"
  159     -@$(_VC_MANIFEST_CLEAN)
  160 
  161 "$(OUTDIR)" :
  162     if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
  163 
  164 CPP_PROJ=/nologo @COPTMLD@ /W3 /Gm @COPTX@ @COPTI@ /ZI /Od /I "./" /I "../../../" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /D "_DEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D "LIBISC_EXPORTS" /FR"$(INTDIR)\\" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c 
  165 BSC32=bscmake.exe
  166 BSC32_FLAGS=/nologo /o"$(OUTDIR)\gen.bsc" 
  167 BSC32_SBRS= \
  168     "$(INTDIR)\gen.sbr"
  169 
  170 "$(OUTDIR)\gen.bsc" : "$(OUTDIR)" $(BSC32_SBRS)
  171     $(BSC32) @<<
  172   $(BSC32_FLAGS) $(BSC32_SBRS)
  173 <<
  174 
  175 LINK32=link.exe
  176 LINK32_FLAGS=user32.lib advapi32.lib /nologo /subsystem:console /incremental:yes /pdb:"$(OUTDIR)\gen.pdb" /debug @BUILD_MACHINE@ /out:"../gen.exe" /pdbtype:sept 
  177 LINK32_OBJS= \
  178     "$(INTDIR)\gen.obj"
  179 
  180 "..\gen.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
  181     $(LINK32) @<<
  182   $(LINK32_FLAGS) $(LINK32_OBJS)
  183 <<
  184   $(_VC_MANIFEST_EMBED_EXE)
  185 
  186 !ENDIF 
  187 
  188 .c{$(INTDIR)}.obj::
  189    $(CPP) @<<
  190    $(CPP_PROJ) $< 
  191 <<
  192 
  193 .cpp{$(INTDIR)}.obj::
  194    $(CPP) @<<
  195    $(CPP_PROJ) $< 
  196 <<
  197 
  198 .cxx{$(INTDIR)}.obj::
  199    $(CPP) @<<
  200    $(CPP_PROJ) $< 
  201 <<
  202 
  203 .c{$(INTDIR)}.sbr::
  204    $(CPP) @<<
  205    $(CPP_PROJ) $< 
  206 <<
  207 
  208 .cpp{$(INTDIR)}.sbr::
  209    $(CPP) @<<
  210    $(CPP_PROJ) $< 
  211 <<
  212 
  213 .cxx{$(INTDIR)}.sbr::
  214    $(CPP) @<<
  215    $(CPP_PROJ) $< 
  216 <<
  217 
  218 
  219 !IF "$(NO_EXTERNAL_DEPS)" != "1"
  220 !IF EXISTS("gen.dep")
  221 !INCLUDE "gen.dep"
  222 !ELSE 
  223 !MESSAGE Warning: cannot find "gen.dep"
  224 !ENDIF 
  225 !ENDIF 
  226 
  227 
  228 !IF "$(CFG)" == "gen - @BUILD_PLATFORM@ Release" || "$(CFG)" == "gen - @BUILD_PLATFORM@ Debug"
  229 SOURCE=..\gen.c
  230 
  231 !IF  "$(CFG)" == "gen - @BUILD_PLATFORM@ Release"
  232 
  233 
  234 "$(INTDIR)\gen.obj" : $(SOURCE) "$(INTDIR)"
  235     $(CPP) $(CPP_PROJ) $(SOURCE)
  236 
  237 
  238 !ELSEIF  "$(CFG)" == "gen - @BUILD_PLATFORM@ Debug"
  239 
  240 
  241 "$(INTDIR)\gen.obj" "$(INTDIR)\gen.sbr" : $(SOURCE) "$(INTDIR)"
  242     $(CPP) $(CPP_PROJ) $(SOURCE)
  243 
  244 
  245 !ENDIF 
  246 
  247 
  248 !ENDIF 
  249 
  250 ####################################################
  251 # Commands to generate initial empty manifest file and the RC file
  252 # that references it, and for generating the .res file:
  253 
  254 $(_VC_MANIFEST_BASENAME).auto.res : $(_VC_MANIFEST_BASENAME).auto.rc
  255 
  256 $(_VC_MANIFEST_BASENAME).auto.rc : $(_VC_MANIFEST_BASENAME).auto.manifest
  257     type <<$@
  258 #include <winuser.h>
  259 1RT_MANIFEST"$(_VC_MANIFEST_BASENAME).auto.manifest"
  260 << KEEP
  261 
  262 $(_VC_MANIFEST_BASENAME).auto.manifest :
  263     type <<$@
  264 <?xml version='1.0' encoding='UTF-8' standalone='yes'?>
  265 <assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
  266 </assembly>
  267 << KEEP