VirtualBox

Changeset 2026 in kBuild for trunk


Ignore:
Timestamp:
Nov 2, 2008 6:29:20 AM (16 years ago)
Author:
bird
Message:

footer.kmk: Use .MUST_MAKE when available.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/footer.kmk

    r2018 r2026  
    19931993## wrapper the compile command dependency check.
    19941994ifndef NO_COMPILE_CMDS_DEPS
    1995  _DEP_COMPILE_CMDS = $$(comp-cmds-ex $$($(target)_$(subst :,_,$(source))_CMDS_PREV_),$$(commands $(obj)),FORCE)
     1995 if1of ($(KMK_FEATURES),dot-must-make)
     1996  _DEP_COMPILE_CMDS =
     1997  # for debugging:  $$(warning MUST_MAKE=$$$$(comp-cmds-ex $$$$($(target)_$(subst :,_,$(source))_CMDS_PREV_), $$$$(commands $$@)) -> $$(comp-cmds-ex $$($(target)_$(subst :,_,$(source))_CMDS_PREV_),$$(commands $$@),FORCE))
     1998 else
     1999  _DEP_COMPILE_CMDS = $$(comp-cmds-ex $$($(target)_$(subst :,_,$(source))_CMDS_PREV_),$$(commands $(obj)),FORCE)
     2000 endif
    19962001else
    19972002 _DEP_COMPILE_CMDS =
    19982003endif
     2004
    19992005
    20002006## Generates the rules for building a specific object, and the aliases
     
    20022008# @param    $(obj)    The object file.
    20032009define def_target_source_rule
     2010ifndef NO_COMPILE_CMDS_DEPS
     2011$(obj): .MUST_MAKE = $$(comp-cmds-ex $$($(target)_$(subst :,_,$(source))_CMDS_PREV_),$$(commands $$@),FORCE)
     2012endif
    20042013ifdef TOOL_$(tool)_COMPILE_$(type)_USES_KOBJCACHE
    20052014$(outbase).koc +| $(obj) $($(target)_$(source)_OUTPUT_) $($(target)_$(source)_OUTPUT_MAYBE_) : \
     
    20432052## wrapper the link command dependency check.
    20442053ifndef NO_LINK_CMDS_DEPS
    2045  _DEP_LINK_CMDS = $$(comp-cmds-ex $$($(target)_CMDS_PREV_),$$(commands $(out)),FORCE)
     2054 if1of ($(KMK_FEATURES),dot-must-make)
     2055  _DEP_LINK_CMDS =
     2056 else
     2057  _DEP_LINK_CMDS = $$(comp-cmds-ex $$($(target)_CMDS_PREV_),$$(commands $(out)),FORCE)
     2058 endif
    20462059else
    20472060 _DEP_LINK_CMDS =
     
    20602073# @param    $($(target)_CMDS_PREV_) The link commands from the previous run.
    20612074define def_link_rule
     2075ifndef NO_LINK_CMDS_DEPS
     2076$(out): .MUST_MAKE = $$(comp-cmds-ex $$($(target)_CMDS_PREV_),$$(commands $$@),FORCE)
     2077endif
    20622078$(out) + $($(target)_OUTPUT_) +| $($(target)_OUTPUT_MAYBE_) : \
    20632079                $$$$($(target)_DEPEND_) \
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette