Changeset 110 for trunk/kBuild/footer.kmk
- Timestamp:
- Jun 25, 2004, 12:04:23 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/footer.kmk
r109 r110 110 110 111 111 ## Figure out where to put object files. 112 # @param $ targetsource file113 # @param $ sourcenormalized main target114 _OBJECT_BASE = $(PATH_TARGET)/$( source)/$(basename $(target))112 # @param $1 source file 113 # @param $2 normalized main target 114 _OBJECT_BASE = $(PATH_TARGET)/$(2)/$(basename $(1)) 115 115 116 116 ## Figure out where to put object files. 117 # @param $ targetreal target name.118 # @param $ sourcenormalized main target119 _TARGET_BASE = $(PATH_TARGET)/$( source)/$(basename $(target))117 # @param $1 real target name. 118 # @param $2 normalized main target 119 _TARGET_BASE = $(PATH_TARGET)/$(2)/$(basename $(1)) 120 120 121 121 … … 546 546 ) 547 547 $(eval outbase := $(call _OBJECT_BASE,$(source),$(target))) 548 $(eval PATH_$(target)_$(source) := $(patsubst %/,%,$(dir $(outbase)))) 548 549 $(eval dirdep := $(dir $(outbase)).dir_created) 549 550 $(eval objsuff := $(firstword \ … … 639 640 ## @todo prefix 640 641 $(eval outbase := $(call _TARGET_BASE,$(target),$(target))) 642 $(eval PATH_$(target) := $(patsubst %/,%,$(dir $(outbase)))) 641 643 $(eval lib := $(outbase)$(libsuff)) 642 644 $(eval objs = $(_OBJS_$(target))) … … 687 689 $($(target)_LDFLAGS.$(BUILD_TARGET_CPU))\ 688 690 ) 691 $(eval outbase := $(call _TARGET_BASE,$(target),$(target))) 692 $(eval PATH_$(target) := $(patsubst %/,%,$(dir $(outbase)))) 689 693 $(eval exesuff := $(firstword $($(target)_EXESUFF) $($(target)_EXESUFF) $(TOOL_$(tool)_LDEXESUFF) $(SUFF_EXE))) 690 $(eval outbase := $(call _TARGET_BASE,$(target),$(target)))691 694 $(eval exe := $(outbase)$(exesuff)) 692 695 $(eval objs = $(_OBJS_$(target))) … … 786 789 $(eval $(def_target_sources)) 787 790 788 # library791 # sysmod 789 792 $(eval tool := $(call _TARGET_TOOL,$(target),LD)) 790 793 $(eval flags :=\ … … 805 808 $($(target)_LDFLAGS.$(BUILD_TARGET_CPU))\ 806 809 ) 810 $(eval outbase := $(call _TARGET_BASE,$(target),$(target))) 811 $(eval PATH_$(target) := $(patsubst %/,%,$(dir $(outbase)))) 807 812 $(eval syssuff := $(firstword $($(target)_SYSSUFF) $($(target)_SYSSUFF) $(TOOL_$(tool)_LDSYSSUFF) $(SUFF_SYS))) 808 $(eval outbase := $(call _TARGET_BASE,$(target),$(target)))809 813 $(eval sys := $(outbase)$(syssuff)) 810 814 $(eval objs = $(_OBJS_$(target)))
Note:
See TracChangeset
for help on using the changeset viewer.