Changeset 251


Ignore:
Timestamp:
Apr 12, 2005, 7:06:17 PM (20 years ago)
Author:
bird
Message:

allow obj and o.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/footer.kmk

    r250 r251  
    691691$(eval tool        := $(call _TARGET_TOOL,$(target),LD))
    692692$(eval outbase     := $(call _TARGET_BASE,$(target),$(target)))
    693 $(eval objs         = $(_OBJS_$(target)))
     693$(eval objs         = $(_OBJS_$(target)) $(filter %.o %.obj, $($(target)_SOURCES) $($(target)_SOURCES.$(bld_trg)) $($(target)_SOURCES.$(bld_type))))
    694694$(eval flags       :=\
    695695        $(TOOL_$(tool)_LDFLAGS)\
     
    799799        $(CUSTOM_POST)\
    800800)))
    801 $(eval othersrc    := $(filter-out %.c %.cpp %.cxx %.cc %.s %.S %.asm,$($(target)_SOURCES) $($(target)_SOURCES.$(bld_trg)) $($(target)_SOURCES.$(bld_type))))
     801$(eval othersrc    := $(filter-out %.c %.cpp %.cxx %.cc %.s %.S %.asm %.o %.obj,$($(target)_SOURCES) $($(target)_SOURCES.$(bld_trg)) $($(target)_SOURCES.$(bld_type))))
    802802
    803803ifndef TOOL_$(tool)_LINK_PROGRAM
     
    878878        $($(target)_ARFLAGS.$(bld_type))\
    879879        )
    880 $(eval objs         = $(_OBJS_$(target)))
    881 $(eval othersrc    := $(filter-out %.c %.cpp %.cxx %.cc %.s %.S %.asm,$($(target)_SOURCES) $($(target)_SOURCES.$(bld_trg)) $($(target)_SOURCES.$(bld_type))))
     880$(eval objs         = $(_OBJS_$(target)) $(filter %.o %.obj, $($(target)_SOURCES) $($(target)_SOURCES.$(bld_trg)) $($(target)_SOURCES.$(bld_type))))
     881$(eval othersrc    := $(filter-out %.c %.cpp %.cxx %.cc %.s %.S %.asm %.o %.obj,$($(target)_SOURCES) $($(target)_SOURCES.$(bld_trg)) $($(target)_SOURCES.$(bld_type))))
    882882$(eval dirdep      := $(dir $(lib)).dir_created)
    883883## @todo fix dependencies on makefiles an such
     
    933933$(eval tool        := $(call _TARGET_TOOL,$(target),LD))
    934934$(eval outbase     := $(call _TARGET_BASE,$(target),$(target)))
    935 $(eval objs         = $(_OBJS_$(target)))
     935$(eval objs         = $(_OBJS_$(target)) $(filter %.o %.obj, $($(target)_SOURCES) $($(target)_SOURCES.$(bld_trg)) $($(target)_SOURCES.$(bld_type))))
     936
    936937$(eval flags       :=\
    937938        $(TOOL_$(tool)_LDFLAGS)\
     
    10411042        $(CUSTOM_POST)\
    10421043)))
    1043 $(eval othersrc    := $(filter-out %.c %.cpp %.cxx %.cc %.s %.S %.asm,$($(target)_SOURCES) $($(target)_SOURCES.$(bld_trg)) $($(target)_SOURCES.$(bld_type))))
     1044$(eval othersrc    := $(filter-out %.c %.cpp %.cxx %.cc %.s %.S %.asm %.o %.obj,$($(target)_SOURCES) $($(target)_SOURCES.$(bld_trg)) $($(target)_SOURCES.$(bld_type))))
    10441045
    10451046ifndef TOOL_$(tool)_LINK_DLL
     
    11211122$(eval tool        := $(call _TARGET_TOOL,$(target),LD))
    11221123$(eval outbase     := $(call _TARGET_BASE,$(target),$(target)))
    1123 $(eval objs         = $(_OBJS_$(target)))
     1124$(eval objs         = $(_OBJS_$(target)) $(filter %.o %.obj, $($(target)_SOURCES) $($(target)_SOURCES.$(bld_trg)) $($(target)_SOURCES.$(bld_type))))
     1125
    11241126$(eval flags       :=\
    11251127        $(TOOL_$(tool)_LDFLAGS)\
     
    12291231        $(CUSTOM_POST)\
    12301232)))
    1231 $(eval othersrc    := $(filter-out %.c %.cpp %.cxx %.cc %.s %.S %.asm,$($(target)_SOURCES) $($(target)_SOURCES.$(bld_trg)) $($(target)_SOURCES.$(bld_type))))
     1233$(eval othersrc    := $(filter-out %.c %.cpp %.cxx %.cc %.s %.S %.asm %.o %.obj,$($(target)_SOURCES) $($(target)_SOURCES.$(bld_trg)) $($(target)_SOURCES.$(bld_type))))
    12321234
    12331235$(eval $(TOOL_$(tool)_LINK_PROGRAM))
     
    12791281$(eval tool        := $(call _TARGET_TOOL,$(target),LD))
    12801282$(eval outbase     := $(call _TARGET_BASE,$(target),$(target)))
    1281 $(eval objs         = $(_OBJS_$(target)))
     1283$(eval objs         = $(_OBJS_$(target)) $(filter %.o %.obj, $($(target)_SOURCES) $($(target)_SOURCES.$(bld_trg)) $($(target)_SOURCES.$(bld_type))))
     1284
    12821285$(eval flags       :=\
    12831286        $(TOOL_$(tool)_LDFLAGS)\
     
    13871390        $(CUSTOM_POST)\
    13881391)))
    1389 $(eval othersrc    := $(filter-out %.c %.cpp %.cxx %.cc %.s %.S %.asm,$($(target)_SOURCES) $($(target)_SOURCES.$(bld_trg)) $($(target)_SOURCES.$(bld_type))))
     1392$(eval othersrc    := $(filter-out %.c %.cpp %.cxx %.cc %.s %.S %.asm %.o %.obj,$($(target)_SOURCES) $($(target)_SOURCES.$(bld_trg)) $($(target)_SOURCES.$(bld_type))))
    13901393
    13911394ifndef TOOL_$(tool)_LINK_SYSMOD
Note: See TracChangeset for help on using the changeset viewer.