VirtualBox

Changeset 91 in kBuild


Ignore:
Timestamp:
Jun 7, 2004 2:38:27 PM (21 years ago)
Author:
bird
Message:

othersrc.

Location:
trunk/kBuild
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/footer.kmk

    r89 r91  
    585585$(eval lib         := $(outbase)$(libsuff))
    586586$(eval objs         = $(_OBJS_$(target)))
     587$(eval othersrc    := $(filter-out %.c %.cpp %.cxx %.cc %.s %.S %.asm,$($(target)_SOURCES)))
    587588$(eval dirdep      := $(dir $(lib)).dir_created)
    588589## @todo fix dependencies on makefiles an such
     
    699700        $(CUSTOM_POST)\
    700701)))
     702$(eval othersrc    := $(filter-out %.c %.cpp %.cxx %.cc %.s %.S %.asm,$($(target)_SOURCES)))
    701703
    702704$(eval $(TOOL_$(tool)_LINK_PROGRAM))
     
    816818        $(CUSTOM_POST)\
    817819)))
     820$(eval othersrc    := $(filter-out %.c %.cpp %.cxx %.cc %.s %.S %.asm,$($(target)_SOURCES)))
    818821
    819822$(eval $(TOOL_$(tool)_LINK_SYSMOD))
  • trunk/kBuild/tools/VCC70.kmk

    r87 r91  
    120120# @param        $(dirdep)   Directory creation dependency.
    121121# @param        $(deps)         Other dependencies.
     122# @param        $(othersrc) Unhandled sources.
    122123#
    123124# @param    $(outbase)  Output basename (full). Use this for list files and such.
    124125define TOOL_VCC70_LINK_LIBRARY
    125126#$ (warning dbg: TOOL_VCC70_LINK_LIBRARY: target=$(target) lib=$(lib) objs=$(objs) deps=$(deps) flags=$(flags) dirdep=$(dirdep) outbase=$(outbase))
    126 $(lib): $(dirdep) $(objs) $(deps)
     127$(lib): $(dirdep) $(objs) $(deps) $(othersrc)
    127128        $(call MSG_L1,Creating Library $$@)
    128129        $(RM) -f $$@
    129         $(TOOL_VCC70_AR) $(flags) /OUT:$(call CYGPATHMIXED,$(lib)) $(call CYGPATHMIXED,$(objs))
     130        $(TOOL_VCC70_AR) $(flags) /OUT:$(call CYGPATHMIXED,$(lib)) $(call CYGPATHMIXED,$(objs)) \
     131                $(foreach def,$(filter %.def,$(othersrc)), /DEF:$(call CYGPATHMIXED,$(def)))
    130132        $(MKDIR) -p $(PATH_LIB)
    131133        $(CP) $$@ $(PATH_LIB)/
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette