VirtualBox

Changeset 1057 in kBuild


Ignore:
Timestamp:
Jun 11, 2007 9:38:18 AM (18 years ago)
Author:
bird
Message:

Disabled the USE_KOBJCACHE stuff in VCC70 as it is now outdated and it screwed up dependencies.

File:
1 edited

Legend:

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

    r1029 r1057  
    118118TOOL_VCC70_COMPILE_C_DEPEND =
    119119TOOL_VCC70_COMPILE_C_DEPORD =
    120 ifdef USE_KOBJCACHE
    121 TOOL_VCC70_COMPILE_C_OUTPUT = $(call TOOL_VCC70_PDB, $(outbase)-obj,pdb) $(call TOOL_VCC70_PDB, $(outbase)-obj,idb) $(outbase).i
    122 TOOL_VCC70_COMPILE_C_USESES_KOBJCACHE = 1
    123 define TOOL_VCC70_COMPILE_C_CMDS
    124         $(QUIET)$(KOBJCACHE) -f $(outbase).koc -r --kObjCache-cpp $(outbase).i \
    125                 $(TOOL_VCC70_CC) -E \
    126                 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\
    127                 $(subst /,\\,$(abspath $(source))) \
    128                 --kObjCache-cc $(obj) \
    129                 $(TOOL_VCC70_CC) -c -TC\
    130                 $(flags) \
    131                 -Fd$(outbase)-obj.pdb \
    132                 -FD\
    133                 -Fo$(obj)\
    134                 $(subst /,\\,$(outbase).i)
    135         $(QUIET)$(DEP_IDB) -f -s -o $(dep) -t $(obj) $(call TOOL_VCC70_PDB,$(outbase)-obj,idb)
    136 endef
    137 else # !USE_KOBJCACHE
     120#ifdef USE_KOBJCACHE
     121#TOOL_VCC70_COMPILE_C_OUTPUT = $(call TOOL_VCC70_PDB, $(outbase)-obj,pdb) $(call TOOL_VCC70_PDB, $(outbase)-obj,idb) $(outbase).i
     122#TOOL_VCC70_COMPILE_C_USESES_KOBJCACHE = 1
     123#define TOOL_VCC70_COMPILE_C_CMDS
     124#       $(QUIET)$(KOBJCACHE) -f $(outbase).koc -r --kObjCache-cpp $(outbase).i \
     125#               $(TOOL_VCC70_CC) -E \
     126#               $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\
     127#               $(subst /,\\,$(abspath $(source))) \
     128#               --kObjCache-cc $(obj) \
     129#               $(TOOL_VCC70_CC) -c -TC\
     130#               $(flags) \
     131#               -Fd$(outbase)-obj.pdb \
     132#               -FD\
     133#               -Fo$(obj)\
     134#               $(subst /,\\,$(outbase).i)
     135#       $(QUIET)$(DEP_IDB) -f -s -o $(dep) -t $(obj) $(call TOOL_VCC70_PDB,$(outbase)-obj,idb)
     136#endef
     137#else # !USE_KOBJCACHE
    138138TOOL_VCC70_COMPILE_C_OUTPUT = $(call TOOL_VCC70_PDB, $(outbase)-obj,pdb) $(call TOOL_VCC70_PDB, $(outbase)-obj,idb)
    139139define TOOL_VCC70_COMPILE_C_CMDS
     
    146146        $(QUIET)$(DEP_IDB) -f -s -o $(dep) -t $(obj) $(call TOOL_VCC70_PDB,$(outbase)-obj,idb)
    147147endef
    148 endif # !USE_KOBJCACHE
     148#endif # !USE_KOBJCACHE
    149149
    150150
     
    165165TOOL_VCC70_COMPILE_CXX_DEPEND =
    166166TOOL_VCC70_COMPILE_CXX_DEPORD =
    167 ifdef USE_KOBJCACHE
    168 TOOL_VCC70_COMPILE_CXX_OUTPUT = $(call TOOL_VCC70_PDB, $(outbase)-obj,pdb) $(call TOOL_VCC70_PDB, $(outbase)-obj,idb) $(outbase).ii
    169 TOOL_VCC70_COMPILE_CXX_USES_KOBJCACHE = 1
    170 define TOOL_VCC70_COMPILE_CXX_CMDS
    171         $(QUIET)$(KOBJCACHE) -f $(outbase).koc -r --kObjCache-cpp $(outbase).ii \
    172                 $(TOOL_VCC70_CC) -E \
    173                 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\
    174                 $(subst /,\\,$(abspath $(source))) \
    175                 --kObjCache-cc $(obj) \
    176                 $(TOOL_VCC70_CC) -c -TP\
    177                 $(flags) \
    178                 -Fd$(outbase)-obj.pdb \
    179                 -FD\
    180                 -Fo$(obj)\
    181                 $(subst /,\\,$(outbase).ii)
    182         $(QUIET)$(DEP_IDB) -f -s -o $(dep) -t $(obj) $(call TOOL_VCC70_PDB,$(outbase)-obj,idb)
    183 endef
    184 else # !USE_KOBJCACHE
     167#ifdef USE_KOBJCACHE
     168#TOOL_VCC70_COMPILE_CXX_OUTPUT = $(call TOOL_VCC70_PDB, $(outbase)-obj,pdb) $(call TOOL_VCC70_PDB, $(outbase)-obj,idb) $(outbase).ii
     169#TOOL_VCC70_COMPILE_CXX_USES_KOBJCACHE = 1
     170#define TOOL_VCC70_COMPILE_CXX_CMDS
     171#       $(QUIET)$(KOBJCACHE) -f $(outbase).koc -r --kObjCache-cpp $(outbase).ii \
     172#               $(TOOL_VCC70_CC) -E \
     173#               $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\
     174#               $(subst /,\\,$(abspath $(source))) \
     175#               --kObjCache-cc $(obj) \
     176#               $(TOOL_VCC70_CC) -c -TP\
     177#               $(flags) \
     178#               -Fd$(outbase)-obj.pdb \
     179#               -FD\
     180#               -Fo$(obj)\
     181#               $(subst /,\\,$(outbase).ii)
     182#       $(QUIET)$(DEP_IDB) -f -s -o $(dep) -t $(obj) $(call TOOL_VCC70_PDB,$(outbase)-obj,idb)
     183#endef
     184#else # !USE_KOBJCACHE
    185185TOOL_VCC70_COMPILE_CXX_OUTPUT = $(call TOOL_VCC70_PDB, $(outbase)-obj,pdb) $(call TOOL_VCC70_PDB, $(outbase)-obj,idb)
    186186define TOOL_VCC70_COMPILE_CXX_CMDS
     
    193193        $(QUIET)$(DEP_IDB) -f -s -o $(dep) -t $(obj) $(call TOOL_VCC70_PDB,$(outbase)-obj,idb)
    194194endef
    195 endif # !USE_KOBJCACHE
     195#endif # !USE_KOBJCACHE
    196196
    197197
     
    232232TOOL_VCC70_LINK_LIBRARY_DEPEND = $(othersrc)
    233233TOOL_VCC70_LINK_LIBRARY_DEPORD =
    234 TOOL_VCC70_LINK_LIBRARY_OUTPUT = $(outbase).rsp 
    235 TOOL_VCC70_LINK_LIBRARY_OUTPUT_MAYBE = $(outbase).lst $(outbase).exp $(outbase).pdb 
     234TOOL_VCC70_LINK_LIBRARY_OUTPUT = $(outbase).rsp
     235TOOL_VCC70_LINK_LIBRARY_OUTPUT_MAYBE = $(outbase).lst $(outbase).exp $(outbase).pdb
    236236define TOOL_VCC70_LINK_LIBRARY_CMDS
    237237        $(QUIET)$(APPEND) -n $(outbase).rsp \
     
    289289#
    290290# @param    $(outbase)  Output basename (full). Use this for list files and such.
    291 TOOL_VCC70_LINK_DLL_OUTPUT = $(outbase).map $(outbase).lib $(outbase).exp 
     291TOOL_VCC70_LINK_DLL_OUTPUT = $(outbase).map $(outbase).lib $(outbase).exp
    292292TOOL_VCC70_LINK_DLL_OUTPUT_MAYBE = $(outbase).pdb $(outbase).ilk
    293293TOOL_VCC70_LINK_DLL_DEPEND = $(objs) $(foreach lib,$(libs),$(if $(findstring $(lib),$(subst /,x,$(lib))),, $(lib))) $(othersrc)
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