Changeset 129 for trunk/kBuild/tools/VCC70.kmk
- Timestamp:
- Jun 29, 2004, 1:55:07 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/tools/VCC70.kmk
r126 r129 75 75 define TOOL_VCC70_COMPILE_C 76 76 #$ (warning dbg: TOOL_VCC70_COMPILE_C: target=$(target) source=$(source) obj=$(obj) dep=$(dep) flags=$(flags) defs=$(defs) incs=$(incs) dirdep=$(dirdep) outbase=$(outbase) objsuff=$(objsuff)) 77 $(obj): $(dirdep) $( PATH_CURRENT)/$(source)77 $(obj): $(dirdep) $(source) 78 78 $(call MSG_L2,Compiling $$@ using VCC70) 79 79 $(TOOL_VCC70_CC) -c\ 80 $(flags) $(addprefix -I, $( call CYGPATHMIXED,$(incs))) $(addprefix -D, $(defs))\81 -Fd$( call CYGPATHMIXED,$(outbase).pdb)\82 -Fo$( call CYGPATHMIXED,$(obj))\83 $(subst /,\\,$(call CYGPATHMIXED,$(DRV_WINEROOT)$(PATH_CURRENT)/$(source)))80 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 81 -Fd$(outbase).pdb \ 82 -Fo$(obj)\ 83 $(subst /,\\,$(call ABSPATH,$(source))) 84 84 _OUT_FILES += $(outbase).pdb 85 85 … … 101 101 define TOOL_VCC70_COMPILE_CXX 102 102 #$ (warning dbg: TOOL_VCC70_COMPILE_CXX: target=$(target) source=$(source) obj=$(obj) dep=$(dep) flags=$(flags) defs=$(defs) incs=$(incs) dirdep=$(dirdep) outbase=$(outbase) objsuff=$(objsuff)) 103 $(obj): $(dirdep) $( PATH_CURRENT)/$(source)103 $(obj): $(dirdep) $(source) 104 104 $(call MSG_L2,Compiling $$@ using VCC70) 105 105 $(TOOL_VCC70_CXX) -c\ 106 $(flags) $(addprefix -I, $( call CYGPATHMIXED,$(incs))) $(addprefix -D, $(defs))\107 -Fd$( call CYGPATHMIXED,$(outbase).pdb)\108 -Fo$( call CYGPATHMIXED,$(obj))\109 $(subst /,\\,$(call CYGPATHMIXED,$(DRV_WINEROOT)$(PATH_CURRENT)/$(source)))106 $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\ 107 -Fd$(outbase).pdb \ 108 -Fo$(obj)\ 109 $(subst /,\\,$(call ABSPATH,$(source))) 110 110 _OUT_FILES += $(outbase).pdb 111 111 … … 128 128 $(call MSG_L1,Creating Library $$@) 129 129 $(RM) -f $$@ 130 $(TOOL_VCC70_AR) $(flags) /OUT:$( call CYGPATHMIXED,$(lib)) $(subst /,\\,$(call CYGPATHMIXED,$(objs))) \131 $(foreach def,$(filter %.def,$(othersrc)), /DEF:$( call CYGPATHMIXED,$(def)))130 $(TOOL_VCC70_AR) $(flags) /OUT:$(lib) $(subst /,\\,$(objs)) \ 131 $(foreach def,$(filter %.def,$(othersrc)), /DEF:$(def)) 132 132 133 133 endef … … 156 156 endif 157 157 $(TOOL_VCC70_LD) $(flags) \ 158 /OUT:$( call CYGPATHMIXED,$(exe)) \158 /OUT:$(exe) \ 159 159 /MAPINFO:EXPORTS /MAPINFO:LINES \ 160 /MAP:$( call CYGPATHMIXED,$(outbase).map)\161 $(subst /,\\,$( call CYGPATHMIXED,$(objs))) \162 $(subst /,\\,$( call CYGPATHMIXED,$(libs)))160 /MAP:$(outbase).map \ 161 $(subst /,\\,$(objs)) \ 162 $(subst /,\\,$(libs)) 163 163 $(MKDIR) -p $(PATH_BIN) 164 164 $(CP) $$@ $(PATH_BIN)/ … … 193 193 endif 194 194 $(TOOL_VCC70_LD) $(flags) \ 195 /OUT:$( call CYGPATHMIXED,$(sys)) \195 /OUT:$(sys) \ 196 196 /MAPINFO:EXPORTS /MAPINFO:LINES \ 197 /MAP:$( call CYGPATHMIXED,$(outbase).map)\198 $(subst /,\\,$( call CYGPATHMIXED,$(objs))) \199 $(subst /,\\,$( call CYGPATHMIXED,$(libs)))197 /MAP:$(outbase).map \ 198 $(subst /,\\,$(objs)) \ 199 $(subst /,\\,$(libs)) 200 200 $(MKDIR) -p $(PATH_BIN) 201 201 $(CP) $$@ $(PATH_BIN)/
Note:
See TracChangeset
for help on using the changeset viewer.