Changeset 966 in kBuild
- Timestamp:
- May 27, 2007 1:47:57 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/footer.kmk
r905 r966 1161 1161 endif 1162 1162 1163 ## Temporary macro for testing the new multi target rules. 1164 ifdef USE_MULTI_TARGET 1165 _M_PLUSS=+ 1166 else 1167 _M_PLUSS= 1168 endif 1169 1163 1170 ## Generates the rules for building a specific object, and the aliases 1164 1171 # for building a source file. 1165 1172 # @param $(obj) The object file. 1166 1173 define def_target_source_rule 1167 $(obj) $( $(target)_$(source)_OUTPUT_): \1174 $(obj) $(_M_PLUSS) $($(target)_$(source)_OUTPUT_): \ 1168 1175 $($(target)_$(source)_DEPEND_) \ 1169 1176 $(_DEP_COMPILE_CMDS) \ … … 1209 1216 # @param $($(target)_CMDS_PREV_) The link commands from the previous run. 1210 1217 define def_link_rule 1211 $(out) $( $(target)_OUTPUT_): \1218 $(out) $(_M_PLUSS) $($(target)_OUTPUT_): \ 1212 1219 $($(target)_DEPEND_) \ 1213 1220 $(_DEP_LINK_CMDS) \ … … 2310 2317 ifeq ($(RMDIR),kmk_builtin_rmdir) 2311 2318 ifeq ($(filter rsort,$(KMK_FEATURES)),rsort) # TODO: Drop this when switching gmake to the gmakenew code! 2312 $( RMDIR)--ignore-fail-on-non-empty --ignore-fail-on-not-exist $(rsort $(dir $(_OUT_FILES) $(_OBJS) $(_DEPFILES) $(_DEPFILES_INCLUDED) $(_CLEAN_FILES) $(OTHER_CLEAN)))2319 $(QUIET)$(RMDIR) -p --ignore-fail-on-non-empty --ignore-fail-on-not-exist $(rsort $(dir $(_OUT_FILES) $(_OBJS) $(_DEPFILES) $(_DEPFILES_INCLUDED) $(_CLEAN_FILES) $(OTHER_CLEAN))) 2313 2320 endif 2314 2321 endif … … 2507 2514 endif # __footer_kmk__ 2508 2515 2509
Note:
See TracChangeset
for help on using the changeset viewer.