VirtualBox

Changeset 966 in kBuild


Ignore:
Timestamp:
May 27, 2007 1:47:57 PM (18 years ago)
Author:
bird
Message:

Fix the clean rule

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/footer.kmk

    r905 r966  
    11611161endif
    11621162
     1163## Temporary macro for testing the new multi target rules.
     1164ifdef USE_MULTI_TARGET
     1165 _M_PLUSS=+
     1166else
     1167 _M_PLUSS=
     1168endif
     1169
    11631170## Generates the rules for building a specific object, and the aliases
    11641171# for building a source file.
    11651172# @param    $(obj)    The object file.
    11661173define def_target_source_rule
    1167 $(obj) $($(target)_$(source)_OUTPUT_): \
     1174$(obj) $(_M_PLUSS) $($(target)_$(source)_OUTPUT_): \
    11681175                $($(target)_$(source)_DEPEND_) \
    11691176                $(_DEP_COMPILE_CMDS) \
     
    12091216# @param    $($(target)_CMDS_PREV_) The link commands from the previous run.
    12101217define def_link_rule
    1211 $(out) $($(target)_OUTPUT_): \
     1218$(out) $(_M_PLUSS) $($(target)_OUTPUT_): \
    12121219                $($(target)_DEPEND_) \
    12131220                $(_DEP_LINK_CMDS) \
     
    23102317ifeq ($(RMDIR),kmk_builtin_rmdir)
    23112318 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)))
    23132320 endif
    23142321endif
     
    25072514endif # __footer_kmk__
    25082515
    2509 
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