Changeset 1565 for trunk/src/emx/Makefile
- Timestamp:
- Oct 10, 2004, 4:53:14 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/emx/Makefile
-
Property cvs2svn:cvs-rev
changed from
1.52
to1.53
r1564 r1565 187 187 IMPLIBFLAGS.lazy = -l 188 188 IMPLIBFLAGS.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)) 189 DO.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)) 191 197 192 198 # How to create dependencies … … 213 219 # How to filter just the object files from $^ 214 220 ^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,$^) 217 225 # How to filter just the .def files from $^ 218 226 ^DEF = $(filter %.def,$^) -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.