Changeset 123 for trunk/src/emx/mklib.smak
- Timestamp:
- May 12, 2003, 12:48:43 PM (23 years ago)
- File:
-
- 1 edited
-
trunk/src/emx/mklib.smak (modified) (1 diff, 1 prop)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/emx/mklib.smak
-
Property cvs2svn:cvs-rev
changed from
1.1to1.2
r122 r123 10 10 $(call FECHO,_@, $$(DO.LIBRARY))$(NL) 11 11 12 # The rule for building the OMF variant of library from a.out format 13 ifneq ($(findstring aout,$(.TKIND)),) 14 # Remove the .a suffix from library name 15 .TARGET := $(patsubst %$A,%,$(.TARGET)) 16 # Replace 'aout' with 'omf' in .TKIND 17 .TKIND := $(subst aout,omf,$(.TKIND)) 18 # Compute the new output file directory 19 .TKIND.DIR := $(subst $(SPACE),-,$(.TKIND))/ 20 # Append the .lib suffix to target name 21 .TARGET := $(.TARGET)$A 22 # Compute the name of target file to build 23 .TARG@OMF := $(.TKIND.DIR)$(.TARGET) 24 # The rule for building the xxx@omf variant of target 25 .PHONY: $(.MODULE)@omf 26 MODULES += $(.MODULE)@omf 27 DO.INSTALL += $(call CP,$.$(.TARG@OMF),$(INS)$(.INSDIR)$(.TARGET))$(NL) 28 .DIRS@OMF := $(dir $.$(.TARG@OMF)) 29 TARGDIRS += $(.DIRS@OMF) 30 $(.MODULE)@omf: $(.MODULE) $(.DIRS@OMF) $.$(.TARG@OMF) 31 endif # neq ($(findstring aout,$(.TKIND)),) 32 12 33 include comend.smak -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.
