Mercurial > hg > graal-jvmci-8
comparison make/linux/makefiles/adlc.make @ 6948:e522a00b91aa
Merge with http://hg.openjdk.java.net/hsx/hsx25/hotspot/ after NPG - C++ build works
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Mon, 12 Nov 2012 23:14:12 +0100 |
parents | c38f13903fdf 45535ab90688 |
children | 836a62f43af9 |
comparison
equal
deleted
inserted
replaced
6711:ae13cc658b80 | 6948:e522a00b91aa |
---|---|
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) |