Changeset 217
- Timestamp:
- May 22, 2003, 6:29:14 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/emx/Makefile
-
Property cvs2svn:cvs-rev
changed from
1.14
to1.15
r216 r217 83 83 84 84 # emxbind tool 85 EMXBIND = $(call FINDTOOL,emxbind) 86 EMXBIND.BUILD = $.$(TOOLFMT)/emxbind$E 85 #EMXBIND = $(call FINDTOOL,emxbind) 86 EMXBIND = $.$(TOOLFMT)/emxbind$E 87 EMXBIND.DEPON = emxbind $.$(TOOLFMT)/emxbind$E 87 88 # emxbind flags 88 89 EMXBINDFLAGS = -q $(EMXBINDFLAGS.$(MODE)) … … 106 107 # removing unused stuff (like empty lines and comments) 107 108 # and sorting alphabetically (looks nicer). 108 EMXEXP = $(call FINDTOOL,emxexp) 109 EMXEXP.BUILD = $.$(TOOLFMT)/emxexp$E 109 #EMXEXP = $(call FINDTOOL,emxexp) 110 EMXEXP = $.$(TOOLFMT)/emxexp$E 111 EMXEXP.DEPON = emxexp $.$(TOOLFMT)/emxexp$E 110 112 EMXEXPFLAGS = -u 111 113 DO.EMXEXP = $(EMXEXP) $(strip $(EMXEXPFLAGS) $1) $^ | sed -e "/^$$/d" -e "/^ *;/d" | sort -d >>$@ 112 114 113 115 # The tool to create import libraries 114 IMPLIB = $(call FINDTOOL,emximp) 115 IMPLIB.BUILT = $.$(TOOLFMT)/emximp$E 116 #IMPLIB = $(call FINDTOOL,emximp) 117 IMPLIB = $.$(TOOLFMT)/emximp$E 118 EMXIMP.DEPON = emximp $.$(TOOLFMT)/emximp$E 116 119 IMPLIBFLAGS.prof = -m 117 120 IMPLIBFLAGS.KIND = $(foreach x,$(subst -, ,$(firstword $(subst /, ,$(subst $.,,$@)))),$(IMPLIBFLAGS.$x)) … … 126 129 127 130 # How to convert an a.out file to the OMF format 131 # We must use FINDTOOL here 'cause of the two libs which emxomf depends on 128 132 EMXOMF = $(call FINDTOOL,emxomf) 129 EMXOMF. BUILT =$.$(TOOLFMT)/emxomf$E133 EMXOMF.DEPON = emxomf $.$(TOOLFMT)/emxomf$E 130 134 DO.EMXOMF = $(EMXOMF) $(strip $1 -o) $@ $< 131 135 … … 139 143 ^LIB = $(strip $(filter %.a,$^) $(filter %.lib,$^)) 140 144 # This function finds a tool: if it has been already built, prefer it 141 FINDTOOL = $(firstword $(wildcard $.$(TOOLFMT)/$1$E) $(wildcard $(OUT)dbg/aout/$1$E) $1 )145 FINDTOOL = $(firstword $(wildcard $.$(TOOLFMT)/$1$E) $(wildcard $(OUT)dbg/aout/$1$E) $1$E) 142 146 143 147 # A newline -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.