Mercurial > hg > graal-jvmci-8
comparison make/linux/makefiles/adlc.make @ 6784:45535ab90688
7200065: Cross-compilation changes to support the new-build
Reviewed-by: dholmes, ohair
Contributed-by: Fredrik Ohrstrom <fredrik.ohrstrom@oracle.com>
author | dholmes |
---|---|
date | Tue, 25 Sep 2012 07:58:42 -0400 |
parents | 282abd0fd878 |
children | e522a00b91aa 2cb5d5f6d5e5 |
comparison
equal
deleted
inserted
replaced
6783:3d739d45d9fd | 6784:45535ab90688 |
---|---|
107 | 107 |
108 all: $(EXEC) | 108 all: $(EXEC) |
109 | 109 |
110 $(EXEC) : $(OBJECTS) | 110 $(EXEC) : $(OBJECTS) |
111 @echo Making adlc | 111 @echo Making adlc |
112 $(QUIETLY) $(HOST.LINK_NOPROF.CXX) -o $(EXEC) $(OBJECTS) | 112 $(QUIETLY) $(filter-out $(ARCHFLAG),$(HOST.LINK_NOPROF.CXX)) -o $(EXEC) $(OBJECTS) |
113 | 113 |
114 # Random dependencies: | 114 # Random dependencies: |
115 $(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 | 115 $(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 |
116 | 116 |
117 # The source files refer to ostream.h, which sparcworks calls iostream.h | 117 # The source files refer to ostream.h, which sparcworks calls iostream.h |
211 print }' | 211 print }' |
212 | 212 |
213 $(OUTDIR)/%.o: %.cpp | 213 $(OUTDIR)/%.o: %.cpp |
214 @echo Compiling $< | 214 @echo Compiling $< |
215 $(QUIETLY) $(REMOVE_TARGET) | 215 $(QUIETLY) $(REMOVE_TARGET) |
216 $(QUIETLY) $(HOST.COMPILE.CXX) -o $@ $< $(COMPILE_DONE) | 216 $(QUIETLY) $(filter-out $(ARCHFLAG),$(HOST.COMPILE.CXX)) -o $@ $< $(COMPILE_DONE) |
217 | 217 |
218 # Some object files are given a prefix, to disambiguate | 218 # Some object files are given a prefix, to disambiguate |
219 # them from objects of the same name built for the VM. | 219 # them from objects of the same name built for the VM. |
220 $(OUTDIR)/adlc-%.o: %.cpp | 220 $(OUTDIR)/adlc-%.o: %.cpp |
221 @echo Compiling $< | 221 @echo Compiling $< |
222 $(QUIETLY) $(REMOVE_TARGET) | 222 $(QUIETLY) $(REMOVE_TARGET) |
223 $(QUIETLY) $(HOST.COMPILE.CXX) -o $@ $< $(COMPILE_DONE) | 223 $(QUIETLY) $(filter-out $(ARCHFLAG),$(HOST.COMPILE.CXX)) -o $@ $< $(COMPILE_DONE) |
224 | 224 |
225 # ######################################################################### | 225 # ######################################################################### |
226 | 226 |
227 clean : | 227 clean : |
228 rm $(OBJECTS) | 228 rm $(OBJECTS) |