Changeset 260
- Timestamp:
- May 28, 2003, 6:14:25 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/emx/Makefile
-
Property cvs2svn:cvs-rev
changed from
1.18
to1.19
r259 r260 89 89 90 90 # emxbind tool 91 #EMXBIND = $(call FINDTOOL,emxbind)92 91 EMXBIND = $.$(TOOLFMT)/emxbind$E 93 92 # emxbind flags … … 99 98 100 99 # The macro assembler 100 ifdef PATH_TOP 101 ASM = $(PATH_TOP)/tools/x86.os2/masm/v6.0/binp/ml.exe -c 102 else 101 103 ASM = ml -c 104 endif 102 105 ASMFLAGS = -Cp -W3 -WX -VM -nologo 103 106 # How to compile an .asm file … … 112 115 # removing unused stuff (like empty lines and comments) 113 116 # and sorting alphabetically (looks nicer). 114 #EMXEXP = $(call FINDTOOL,emxexp)115 117 EMXEXP = $.$(TOOLFMT)/emxexp$E 116 118 EMXEXPFLAGS = -u … … 118 120 119 121 # The tool to create import libraries 120 #IMPLIB = $(call FINDTOOL,emximp)121 122 IMPLIB = $.$(TOOLFMT)/emximp$E 122 123 IMPLIBFLAGS.prof = -m … … 132 133 133 134 # How to convert an a.out file to the OMF format 134 # We must use FINDTOOL here 'cause of the two libs which emxomf depends on 135 EMXOMF = $(call FINDTOOL,emxomf) 135 # Emxomf depends on two libs, we have to detect wethere or not emxomf is built 136 # or not. Unfortunately make isn't up to the job of figuring this out, so we 137 # must use the shell. 138 EMXOMF = `test -f '$.$(TOOLFMT)/emxomf$E' && echo '$.$(TOOLFMT)/'`emxomf$E 136 139 DO.EMXOMF = $(EMXOMF) $(strip $1 -o) $@ $< 137 140 … … 144 147 # How to filter the libraries from $^ 145 148 ^LIB = $(strip $(filter %.a,$^) $(filter %.lib,$^)) 146 # This function finds a tool: if it has been already built, prefer it147 FINDTOOL = $(firstword $(wildcard $.$(TOOLFMT)/$1$E) $(wildcard $(OUT)dbg/aout/$1$E) $1$E)148 149 149 150 # A newline -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.