Changeset 111
- Timestamp:
- Jun 25, 2004, 12:28:10 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/footer.kmk
r110 r111 323 323 324 324 $(eval tool:=$(call _SOURCE_TOOL,$(source),$(target),$(type))) 325 $(eval outbase := $(call _OBJECT_BASE,$(source),$(target))) 326 $(eval PATH_$(target)_$(source) := $(patsubst %/,%,$(dir $(outbase)))) 327 $(eval dirdep := $(dir $(outbase)).dir_created) 325 328 $(eval defs :=\ 326 329 $(TOOL_$(tool)_DEFS)\ … … 545 548 $($(target)_$(source)_$(type)FLAGS.$(BUILD_TARGET_CPU))\ 546 549 ) 547 $(eval outbase := $(call _OBJECT_BASE,$(source),$(target)))548 $(eval PATH_$(target)_$(source) := $(patsubst %/,%,$(dir $(outbase))))549 $(eval dirdep := $(dir $(outbase)).dir_created)550 550 $(eval objsuff := $(firstword \ 551 551 $($(target)_$(source)_OBJSUFF.$(BUILD_TARGET))\ … … 623 623 $$(error kBuild: Library target $(target) doesn't have a tool defined!) 624 624 endif 625 ## @todo prefix 626 $(eval outbase := $(call _TARGET_BASE,$(target),$(target))) 627 $(eval PATH_$(target) := $(patsubst %/,%,$(dir $(outbase)))) 628 $(eval lib := $(outbase)$(libsuff)) 625 629 $(eval flags :=\ 626 630 $(TOOL_$(tool)_ARFLAGS)\ … … 638 642 $(SUFF_LIB)\ 639 643 )) 640 ## @todo prefix641 $(eval outbase := $(call _TARGET_BASE,$(target),$(target)))642 $(eval PATH_$(target) := $(patsubst %/,%,$(dir $(outbase))))643 $(eval lib := $(outbase)$(libsuff))644 644 $(eval objs = $(_OBJS_$(target))) 645 645 $(eval othersrc := $(filter-out %.c %.cpp %.cxx %.cc %.s %.S %.asm,$($(target)_SOURCES))) … … 672 672 # library 673 673 $(eval tool := $(call _TARGET_TOOL,$(target),LD)) 674 $(eval outbase := $(call _TARGET_BASE,$(target),$(target))) 675 $(eval PATH_$(target) := $(patsubst %/,%,$(dir $(outbase)))) 676 $(eval exesuff := $(firstword $($(target)_EXESUFF) $($(target)_EXESUFF) $(TOOL_$(tool)_LDEXESUFF) $(SUFF_EXE))) 677 $(eval exe := $(outbase)$(exesuff)) 678 $(eval objs = $(_OBJS_$(target))) 674 679 $(eval flags :=\ 675 680 $(TOOL_$(tool)_LDFLAGS)\ … … 689 694 $($(target)_LDFLAGS.$(BUILD_TARGET_CPU))\ 690 695 ) 691 $(eval outbase := $(call _TARGET_BASE,$(target),$(target)))692 $(eval PATH_$(target) := $(patsubst %/,%,$(dir $(outbase))))693 $(eval exesuff := $(firstword $($(target)_EXESUFF) $($(target)_EXESUFF) $(TOOL_$(tool)_LDEXESUFF) $(SUFF_EXE)))694 $(eval exe := $(outbase)$(exesuff))695 $(eval objs = $(_OBJS_$(target)))696 696 $(eval libs :=\ 697 697 $($(target)_LIBS.$(BUILD_TARGET_CPU))\ … … 791 791 # sysmod 792 792 $(eval tool := $(call _TARGET_TOOL,$(target),LD)) 793 $(eval outbase := $(call _TARGET_BASE,$(target),$(target))) 794 $(eval PATH_$(target) := $(patsubst %/,%,$(dir $(outbase)))) 795 $(eval syssuff := $(firstword $($(target)_SYSSUFF) $($(target)_SYSSUFF) $(TOOL_$(tool)_LDSYSSUFF) $(SUFF_SYS))) 796 $(eval sys := $(outbase)$(syssuff)) 797 $(eval objs = $(_OBJS_$(target))) 793 798 $(eval flags :=\ 794 799 $(TOOL_$(tool)_LDFLAGS)\ … … 808 813 $($(target)_LDFLAGS.$(BUILD_TARGET_CPU))\ 809 814 ) 810 $(eval outbase := $(call _TARGET_BASE,$(target),$(target)))811 $(eval PATH_$(target) := $(patsubst %/,%,$(dir $(outbase))))812 $(eval syssuff := $(firstword $($(target)_SYSSUFF) $($(target)_SYSSUFF) $(TOOL_$(tool)_LDSYSSUFF) $(SUFF_SYS)))813 $(eval sys := $(outbase)$(syssuff))814 $(eval objs = $(_OBJS_$(target)))815 815 $(eval libs :=\ 816 816 $($(target)_LIBS.$(BUILD_TARGET_CPU))\
Note:
See TracChangeset
for help on using the changeset viewer.