VirtualBox

Changeset 2895 in kBuild for trunk/kBuild/tools/VCC100AMD64.kmk


Ignore:
Timestamp:
Sep 8, 2016 1:28:37 PM (8 years ago)
Author:
bird
Message:

Use kObjDep more.

File:
1 edited

Legend:

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

    r2870 r2895  
    7878 ifeq ($(KBUILD_HOST),win)
    7979  ifneq ($(substr $(PATH_TOOL_VCC100AMD64_BIN),-9),x86_amd64)
    80    TOOL_VCC100AMD64_KSUBMIT ?= kmk_builtin_kSubmit --64-bit --
     80   TOOL_VCC100AMD64_KSUBMIT ?= kmk_builtin_kSubmit --64-bit
    8181  else
    82    TOOL_VCC100AMD64_KSUBMIT ?= kmk_builtin_kSubmit --32-bit --
     82   TOOL_VCC100AMD64_KSUBMIT ?= kmk_builtin_kSubmit --32-bit
    8383  endif
    8484 endif
     
    172172TOOL_VCC100AMD64_COMPILE_C_OUTPUT = $(call TOOL_VCC100AMD64_PDB, $(outbase)-obj,idb)
    173173TOOL_VCC100AMD64_COMPILE_C_OUTPUT_MAYBE = $(call TOOL_VCC100AMD64_PDB, $(outbase)-obj,pdb)
     174 ifdef TOOL_VCC100AMD64_KSUBMIT
    174175define TOOL_VCC100AMD64_COMPILE_C_CMDS
    175         $(QUIET)$(TOOL_VCC100AMD64_KSUBMIT) $(TOOL_VCC100AMD64_CC) -c\
     176        $(QUIET)$(TOOL_VCC100AMD64_KSUBMIT) -P $(DEP_OBJ_INT) -f -s -q -o $(dep) -t $(obj) $(obj)\
     177                -- $(TOOL_VCC100AMD64_CC) -c\
    176178                $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\
    177179                -Fd$(outbase)-obj.pdb \
     
    179181                -Fo$(obj)\
    180182                $(subst /,\\,$(abspath $(source)))
     183endef
     184 else
     185define TOOL_VCC100AMD64_COMPILE_C_CMDS
     186        $(QUIET)$(TOOL_VCC100AMD64_CC) -c\
     187                $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\
     188                -Fd$(outbase)-obj.pdb \
     189                -FD\
     190                -Fo$(obj)\
     191                $(subst /,\\,$(abspath $(source)))
    181192        $(QUIET)$(DEP_IDB) -f -s -q -o $(dep) -t $(obj) $(call TOOL_VCC100AMD64_PDB,$(outbase)-obj,idb)
    182193endef
     194 endif # !TOOL_VCC100AMD64_KSUBMIT
    183195endif # !KBUILD_USE_KOBJCACHE
    184196
     
    220232TOOL_VCC100AMD64_COMPILE_CXX_OUTPUT = $(call TOOL_VCC100AMD64_PDB, $(outbase)-obj,idb)
    221233TOOL_VCC100AMD64_COMPILE_CXX_OUTPUT_MAYBE = $(call TOOL_VCC100AMD64_PDB, $(outbase)-obj,pdb)
     234 ifdef TOOL_VCC100AMD64_KSUBMIT
    222235define TOOL_VCC100AMD64_COMPILE_CXX_CMDS
    223         $(QUIET)$(TOOL_VCC100AMD64_KSUBMIT) $(TOOL_VCC100AMD64_CXX) -c\
     236        $(QUIET)$(TOOL_VCC100AMD64_KSUBMIT) -P $(DEP_OBJ_INT) -f -s -q -o $(dep) -t $(obj) $(obj)\
     237                -- $(TOOL_VCC100AMD64_CXX) -c\
    224238                $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\
    225239                -Fd$(outbase)-obj.pdb \
     
    227241                -Fo$(obj)\
    228242                $(subst /,\\,$(abspath $(source)))
     243endef
     244 else
     245define TOOL_VCC100AMD64_COMPILE_CXX_CMDS
     246        $(QUIET)$(TOOL_VCC100AMD64_CXX) -c\
     247                $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\
     248                -Fd$(outbase)-obj.pdb \
     249                -FD\
     250                -Fo$(obj)\
     251                $(subst /,\\,$(abspath $(source)))
    229252        $(QUIET)$(DEP_IDB) -f -s -q -o $(dep) -t $(obj) $(call TOOL_VCC100AMD64_PDB,$(outbase)-obj,idb)
    230253endef
     254 endif # !TOOL_VCC100AMD64_KSUBMIT
    231255endif # !KBUILD_USE_KOBJCACHE
    232256
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette