Changeset 184 for trunk/kBuild/tools/GCC3OMF.kmk
- Timestamp:
- Dec 4, 2004, 3:26:54 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/tools/GCC3OMF.kmk
r182 r184 80 80 # @param $(incs) Includes. No -I or something. 81 81 # @param $(dirdep) Directory creation dependency. 82 # @param $(deps) Other dependencies. 82 83 # 83 84 # @param $(outbase) Output basename (full). Use this for list files and such. 84 85 # @param $(objsuff) Object suffix. 85 86 define TOOL_GCC3OMF_COMPILE_C 86 #$ (warning dbg: TOOL_GCC3OMF_COMPILE_C: target=$(target) source=$(source) obj=$(obj) dep=$(dep) flags=$(flags) defs=$(defs) incs=$(incs) dirdep=$(dirdep) outbase=$(outbase) objsuff=$(objsuff) )87 $(obj): $(dirdep) $(source) 87 #$ (warning dbg: TOOL_GCC3OMF_COMPILE_C: target=$(target) source=$(source) obj=$(obj) dep=$(dep) flags=$(flags) defs=$(defs) incs=$(incs) dirdep=$(dirdep) outbase=$(outbase) objsuff=$(objsuff) deps=$(deps)) 88 $(obj): $(dirdep) $(source) $(deps) 88 89 $(call MSG_L2,Compiling $$@ using GCC3) 89 90 $(TOOL_GCC3OMF_CC) -c\ … … 92 93 -o $$@\ 93 94 $(call ABSPATH,$(source)) 94 95 95 96 endef 96 97 … … 105 106 # @param $(incs) Includes. No -I or something. 106 107 # @param $(dirdep) Directory creation dependency. 108 # @param $(deps) Other dependencies. 107 109 # 108 110 # @param $(outbase) Output basename (full). Use this for list files and such. 109 111 # @param $(objsuff) Object suffix. 110 112 define TOOL_GCC3OMF_COMPILE_CXX 111 #$ (warning dbg: TOOL_GCC3OMF_COMPILE_CXX: target=$(target) source=$(source) obj=$(obj) dep=$(dep) flags=$(flags) defs=$(defs) incs=$(incs) dirdep=$(dirdep) outbase=$(outbase) objsuff=$(objsuff) )112 $(obj): $(dirdep) $(source) 113 #$ (warning dbg: TOOL_GCC3OMF_COMPILE_CXX: target=$(target) source=$(source) obj=$(obj) dep=$(dep) flags=$(flags) defs=$(defs) incs=$(incs) dirdep=$(dirdep) outbase=$(outbase) objsuff=$(objsuff) deps=$(deps)) 114 $(obj): $(dirdep) $(source) $(deps) 113 115 $(call MSG_L2,Compiling $$@ using GCC3) 114 116 $(TOOL_GCC3OMF_CXX) -c\ … … 117 119 -o $$@\ 118 120 $(call ABSPATH,$(source)) 119 121 120 122 endef 121 123 … … 136 138 $(RM) -f $$@ 137 139 $(TOOL_GCC3OMF_AR) $(flags) $$@ $(objs) 138 140 139 141 endef 140 142 … … 160 162 ifneq ($(custom_pre),) 161 163 $(eval $(custom_pre)) 162 endif 164 endif 163 165 $(TOOL_GCC3OMF_LD) $(flags) -o $$@ $(objs) \ 164 166 $(foreach p,$(libpath), -L$(p)) \ … … 166 168 ifneq ($(custom_post),) 167 169 $(eval $(custom_post)) 168 endif 169 170 endif 171 170 172 endef 171 173 … … 191 193 ifneq ($(custom_pre),) 192 194 $(eval $(custom_pre)) 193 endif 195 endif 194 196 $(TOOL_GCC3OMF_LD) $(TOOL_GCC3OMF_LDFLAGS.dll) $(flags) -o $$@ $(objs) \ 195 197 $(foreach p,$(libpath), -L$(p)) \ … … 197 199 ifneq ($(custom_post),) 198 200 $(eval $(custom_post)) 199 endif 200 201 endif 202 201 203 endef 202 204 … … 221 223 ifneq ($(custom_pre),) 222 224 $(eval $(custom_pre)) 223 endif 225 endif 224 226 $(TOOL_GCC3OMF_LD_SYSMOD) $(TOOL_GCC3OMF_LDFLAGS.sysmod) $(flags) -o $$@ $(objs) \ 225 227 $(foreach p,$(libpath), -L$(p)) \ … … 227 229 ifneq ($(custom_post),) 228 230 $(eval $(custom_post)) 229 endif 230 231 endef 232 231 endif 232 233 endef 234
Note:
See TracChangeset
for help on using the changeset viewer.