Ignore:
Timestamp:
Dec 4, 2004, 3:26:54 AM (21 years ago)
Author:
bird
Message:

Dependencies.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/footer.kmk

    r183 r184  
    577577$(eval obj         := $(outbase)$(objsuff))
    578578$(eval dep         := $(outbase)$(SUFF_DEP))
    579 
    580 #$ (warning dbg: target=$(target) source=$(source) tool=$(tool) obj=$(obj) dep=$(dep) flags=$(flags) defs=$(defs) incs=$(incs) dirdep=$(dirdep) outbase=$(outbase) objsuff=$(objsuff))
     579$(eval deps        := \
     580        $($(target)_$(source)_DEPS)\
     581    $($(target)_$(source)_DEPS.$(BUILD_TYPE))\
     582    $($(target)_$(source)_DEPS.$(BUILD_TARGET))\
     583    $($(target)_$(source)_DEPS.$(BUILD_TARGET_ARCH))\
     584    $($(target)_$(source)_DEPS.$(BUILD_TARGET_CPU))\
     585        $($(source)_DEPS)\
     586        $($(source)_DEPS.$(BUILD_TYPE))\
     587        $($(source)_DEPS.$(BUILD_TARGET))\
     588        $($(target)_DEPS)\
     589        $($(target)_DEPS.$(BUILD_TARGET_ARCH))\
     590        $($(target)_DEPS.$(BUILD_TARGET_CPU)))
     591
     592
     593#$ (warning dbg: target=$(target) source=$(source) tool=$(tool) obj=$(obj) dep=$(dep) flags=$(flags) defs=$(defs) incs=$(incs) dirdep=$(dirdep) outbase=$(outbase) objsuff=$(objsuff) deps=$(deps))
    581594ifndef TOOL_$(tool)_COMPILE_$(type)
    582595$$(warning kBuild: TOOL_$(tool)_COMPILE_$(type) is not defined. source=$(source) target=$(target) )
     
    667680$(eval dirdep      := $(dir $(lib)).dir_created)
    668681## @todo fix dependencies on makefiles an such
    669 $(eval deps        := )
     682$(eval deps        := $($(target)_DEPS))
    670683
    671684$(eval $(TOOL_$(tool)_LINK_LIBRARY))
     
    798811$(eval dirdep      := $(dir $(exe)).dir_created)
    799812## @todo fix dependencies
    800 $(eval deps        := )
     813$(eval deps        := $($(target)_DEPS))
    801814#
    802815$(eval custom_pre    := $(strip $(firstword
     
    950963$(eval dirdep      := $(dir $(dll)).dir_created)
    951964## @todo fix dependencies
    952 $(eval deps        := )
     965$(eval deps        := $($(target)_DEPS))
    953966#
    954967$(eval custom_pre    := $(strip $(firstword
     
    11161129$(eval dirdep      := $(dir $(sys)).dir_created)
    11171130## @todo fix dependencies
    1118 $(eval deps        := )
     1131$(eval deps        := $($(target)_DEPS))
    11191132#
    11201133$(eval custom_pre    := $(strip $(firstword
Note: See TracChangeset for help on using the changeset viewer.