Mercurial > hg > truffle
comparison make/linux/makefiles/adlc.make @ 2401:7e88bdae86ec
7029017: Additional architecture support for c2 compiler
Summary: Enables cross building of a c2 VM. Support masking of shift counts when the processor architecture mandates it.
Reviewed-by: kvn, never
author | roland |
---|---|
date | Fri, 25 Mar 2011 09:35:39 +0100 |
parents | d8a72fbc4be7 |
children | 0654ee04b214 65149e74c706 |
comparison
equal
deleted
inserted
replaced
2399:b2949bf39900 | 2401:7e88bdae86ec |
---|---|
100 | 100 |
101 all: $(EXEC) | 101 all: $(EXEC) |
102 | 102 |
103 $(EXEC) : $(OBJECTS) | 103 $(EXEC) : $(OBJECTS) |
104 @echo Making adlc | 104 @echo Making adlc |
105 $(QUIETLY) $(LINK_NOPROF.CC) -o $(EXEC) $(OBJECTS) | 105 $(QUIETLY) $(HOST.LINK_NOPROF.CC) -o $(EXEC) $(OBJECTS) |
106 | 106 |
107 # Random dependencies: | 107 # Random dependencies: |
108 $(OBJECTS): opcodes.hpp classes.hpp adlc.hpp adlcVMDeps.hpp adlparse.hpp archDesc.hpp arena.hpp dict2.hpp filebuff.hpp forms.hpp formsopt.hpp formssel.hpp | 108 $(OBJECTS): opcodes.hpp classes.hpp adlc.hpp adlcVMDeps.hpp adlparse.hpp archDesc.hpp arena.hpp dict2.hpp filebuff.hpp forms.hpp formsopt.hpp formssel.hpp |
109 | 109 |
110 # The source files refer to ostream.h, which sparcworks calls iostream.h | 110 # The source files refer to ostream.h, which sparcworks calls iostream.h |
202 print }' | 202 print }' |
203 | 203 |
204 $(OUTDIR)/%.o: %.cpp | 204 $(OUTDIR)/%.o: %.cpp |
205 @echo Compiling $< | 205 @echo Compiling $< |
206 $(QUIETLY) $(REMOVE_TARGET) | 206 $(QUIETLY) $(REMOVE_TARGET) |
207 $(QUIETLY) $(COMPILE.CC) -o $@ $< $(COMPILE_DONE) | 207 $(QUIETLY) $(HOST.COMPILE.CC) -o $@ $< $(COMPILE_DONE) |
208 | 208 |
209 # Some object files are given a prefix, to disambiguate | 209 # Some object files are given a prefix, to disambiguate |
210 # them from objects of the same name built for the VM. | 210 # them from objects of the same name built for the VM. |
211 $(OUTDIR)/adlc-%.o: %.cpp | 211 $(OUTDIR)/adlc-%.o: %.cpp |
212 @echo Compiling $< | 212 @echo Compiling $< |
213 $(QUIETLY) $(REMOVE_TARGET) | 213 $(QUIETLY) $(REMOVE_TARGET) |
214 $(QUIETLY) $(COMPILE.CC) -o $@ $< $(COMPILE_DONE) | 214 $(QUIETLY) $(HOST.COMPILE.CC) -o $@ $< $(COMPILE_DONE) |
215 | 215 |
216 # ######################################################################### | 216 # ######################################################################### |
217 | 217 |
218 clean : | 218 clean : |
219 rm $(OBJECTS) | 219 rm $(OBJECTS) |