Ignore:
Timestamp:
Oct 10, 2004, 4:53:14 AM (21 years ago)
Author:
bird
Message:

profiling and lazy fixing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/Makefile

    • Property cvs2svn:cvs-rev changed from 1.52 to 1.53
    r1564 r1565  
    187187IMPLIBFLAGS.lazy = -l
    188188IMPLIBFLAGS.KIND = $(foreach x,$(subst -, ,$(firstword $(subst /, ,$(subst $.,,$@)))),$(IMPLIBFLAGS.$x))
    189 DO.IMPLIB = $(IMPLIB) -o $@ $(strip $1 $(IMPLIBFLAGS.KIND)) $(^I)\
    190   $(if $(^O),$(NL)$(AR) rs $@ $(^O))
     189DO.IMPLIB = $(IMPLIB) -o $@ $(strip $1 $(IMPLIBFLAGS.KIND)) $(^IC)\
     190  $(if $(^ID),\
     191  $(NL)$(IMPLIB) -o $@.data$(suffix $@) $(strip $1) $(^ID)\
     192  $(NL)$(call RMDIR,$@.tmpdir)\
     193  $(NL)$(call MKDIR,$@.tmpdir)\
     194  $(NL)cd $@.tmpdir && $(AR) x ../$(notdir $@.data$(suffix $@))\
     195  $(NL)$(AR) rs $@ $@.tmpdir/* )\
     196  $(if $(^O)$(^LIB),$(NL)$(AR) rs $@ $(^O) $(^LIB))
    191197
    192198# How to create dependencies
     
    213219# How to filter just the object files from $^
    214220^O = $(filter %.o,$^)
    215 # Just the .imp files from $^
    216 ^I = $(filter %.imp,$^)
     221# Just the .imp files from $^ excluing -data.imp files.
     222^IC = $(filter-out %-data.imp,$(filter %.imp,$^))
     223# Just the -data.imp files from $^
     224^ID = $(filter %-data.imp,$^)
    217225# How to filter just the .def files from $^
    218226^DEF = $(filter %.def,$^)
Note: See TracChangeset for help on using the changeset viewer.