- Timestamp:
- Nov 2, 2008 6:29:20 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/footer.kmk
r2018 r2026 1993 1993 ## wrapper the compile command dependency check. 1994 1994 ifndef 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 1996 2001 else 1997 2002 _DEP_COMPILE_CMDS = 1998 2003 endif 2004 1999 2005 2000 2006 ## Generates the rules for building a specific object, and the aliases … … 2002 2008 # @param $(obj) The object file. 2003 2009 define def_target_source_rule 2010 ifndef NO_COMPILE_CMDS_DEPS 2011 $(obj): .MUST_MAKE = $$(comp-cmds-ex $$($(target)_$(subst :,_,$(source))_CMDS_PREV_),$$(commands $$@),FORCE) 2012 endif 2004 2013 ifdef TOOL_$(tool)_COMPILE_$(type)_USES_KOBJCACHE 2005 2014 $(outbase).koc +| $(obj) $($(target)_$(source)_OUTPUT_) $($(target)_$(source)_OUTPUT_MAYBE_) : \ … … 2043 2052 ## wrapper the link command dependency check. 2044 2053 ifndef 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 2046 2059 else 2047 2060 _DEP_LINK_CMDS = … … 2060 2073 # @param $($(target)_CMDS_PREV_) The link commands from the previous run. 2061 2074 define def_link_rule 2075 ifndef NO_LINK_CMDS_DEPS 2076 $(out): .MUST_MAKE = $$(comp-cmds-ex $$($(target)_CMDS_PREV_),$$(commands $$@),FORCE) 2077 endif 2062 2078 $(out) + $($(target)_OUTPUT_) +| $($(target)_OUTPUT_MAYBE_) : \ 2063 2079 $$$$($(target)_DEPEND_) \
Note:
See TracChangeset
for help on using the changeset viewer.