Ignore:
Timestamp:
Dec 1, 2006, 7:32:45 PM (19 years ago)
Author:
bird
Message:

Resource file compilation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/tools/VCC80AMD64.kmk

    r457 r641  
    22## @file
    33#
    4 # kBuild Tool Config - Visual C++ 8.0 (aka Visual .NET 2005)
     4# kBuild Tool Config - Visual C++ 8.0 (aka Visual .NET 2005, or MSC v14)
    55#
    66# Copyright (c) 2004-2006 knut st. osmundsen <bird-srcspam@anduin.net>
     
    5656TOOL_VCC80AMD64_ASOBJSUFF          := .obj
    5757
     58TOOL_VCC80AMD64_RC                 := $(EXEC_X86_WIN32) $(PATH_TOOL_VCC80AMD64_BIN)/../rc.exe
     59TOOL_VCC80AMD64_RCOBJSUFF          := .res
     60
    5861TOOL_VCC80AMD64_AR                 := $(EXEC_X86_WIN32) $(PATH_TOOL_VCC80AMD64_BIN)/lib.exe /MACHINE:X64
    5962TOOL_VCC80AMD64_ARFLAGS            := -nologo
     
    165168
    166169
     170## Compile resource source.
     171# @param    $(target)   Normalized main target name.
     172# @param    $(source)   Source filename (relative).
     173# @param    $(obj)      Object file name. This shall be (re)created by the compilation.
     174# @param    $(dep)      Dependcy file. This shall be (re)created by the compilation.
     175# @param    $(flags)    Flags.
     176# @param    $(defs)     Definitions. No -D or something.
     177# @param    $(incs)     Includes. No -I or something.
     178# @param    $(dirdep)   Directory creation dependency.
     179# @param    $(deps)     Other dependencies.
     180#
     181# @param    $(outbase)  Output basename (full). Use this for list files and such.
     182# @param    $(objsuff)  Object suffix.
     183TOOL_VCC80AMD64_COMPILE_RC_OUTPUT =
     184TOOL_VCC80AMD64_COMPILE_RC_DEPEND =
     185TOOL_VCC80AMD64_COMPILE_RC_DEPORD =
     186define TOOL_VCC80AMD64_COMPILE_RC_CMDS
     187        $(TOOL_VCC80AMD64_RC) \
     188                $(flags) $(addprefix /i, $(subst /,\\,$(incs))) $(addprefix /d, $(defs))\
     189                /fo$(obj)\
     190                $(subst /,\\,$(call ABSPATH,$(source)))
     191endef
     192
     193
    167194## Link library
    168195# @param    $(target)   Normalized main target name.
     
    175202# @param    $(outbase)  Output basename (full). Use this for list files and such.
    176203#
    177 TOOL_VCC80AMD64_LINK_LIBRARY_OUTPUT = $(outbase).lst $(outbase).exp $(call TOOL_VCC80AMD64_PDB, $(outbase),pdb)
     204TOOL_VCC80AMD64_LINK_LIBRARY_OUTPUT = $(outbase).lst $(outbase).exp $(call TOOL_VCC80AMD64_PDB, $(outbase),pdb) $(outbase).pdb
    178205TOOL_VCC80AMD64_LINK_LIBRARY_DEPEND = $(othersrc)
    179206TOOL_VCC80AMD64_LINK_LIBRARY_DEPORD =
     
    198225# @param    $(outbase)      Output basename (full). Use this for list files and such.
    199226#
    200 TOOL_VCC80AMD64_LINK_PROGRAM_OUTPUT = $(outbase).map $(outbase).lib $(outbase).exp $(call TOOL_VCC80AMD64_PDB, $(outbase),pdb) $(outbase).ilk $(out).manifest
     227TOOL_VCC80AMD64_LINK_PROGRAM_OUTPUT = $(outbase).map $(outbase).lib $(outbase).exp $(call TOOL_VCC80AMD64_PDB, $(outbase),pdb) $(outbase).pdb $(outbase).ilk $(out).manifest
    201228TOOL_VCC80AMD64_LINK_PROGRAM_DEPEND = $(foreach lib,$(libs),$(if $(findstring $(lib),$(subst /,x,$(lib))),, $(lib))) $(othersrc)
    202229TOOL_VCC80AMD64_LINK_PROGRAM_DEPORD =
     
    231258#
    232259# @param    $(outbase)  Output basename (full). Use this for list files and such.
    233 TOOL_VCC80AMD64_LINK_DLL_OUTPUT = $(outbase).map $(outbase).lib $(outbase).exp $(call TOOL_VCC80AMD64_PDB, $(outbase),pdb) $(outbase).ilk $(out).manifest
     260TOOL_VCC80AMD64_LINK_DLL_OUTPUT = $(outbase).map $(outbase).lib $(outbase).exp $(call TOOL_VCC80AMD64_PDB, $(outbase),pdb) $(outbase).pdb $(outbase).ilk $(out).manifest
    234261TOOL_VCC80AMD64_LINK_DLL_DEPEND = $(objs) $(foreach lib,$(libs),$(if $(findstring $(lib),$(subst /,x,$(lib))),, $(lib))) $(othersrc)
    235262TOOL_VCC80AMD64_LINK_DLL_DEPORD = $(call DIRDEP,$(PATH_LIB))
     
    271298#
    272299# @param    $(outbase)  Output basename (full). Use this for list files and such.
    273 TOOL_VCC80AMD64_LINK_SYSMOD_OUTPUT = $(outbase).map $(outbase).lib $(outbase).exp $(call TOOL_VCC80AMD64_PDB, $(outbase),pdb) $(outbase).ilk $(out).manifest
     300TOOL_VCC80AMD64_LINK_SYSMOD_OUTPUT = $(outbase).map $(outbase).lib $(outbase).exp $(call TOOL_VCC80AMD64_PDB, $(outbase),pdb) $(outbase).pdb $(outbase).ilk $(out).manifest
    274301TOOL_VCC80AMD64_LINK_SYSMOD_DEPEND = $(foreach lib,$(libs),$(if $(findstring $(lib),$(subst /,x,$(lib))),, $(lib))) $(othersrc)
    275302TOOL_VCC80AMD64_LINK_SYSMOD_DEPORD =
Note: See TracChangeset for help on using the changeset viewer.