hotspot/make/linux/makefiles/adlc.make
changeset 13875 bb683b4a79ac
parent 13473 9bbabe271025
child 17880 17f3d10c297f
equal deleted inserted replaced
13874:a93c03275528 13875:bb683b4a79ac
   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)