Mercurial > hg > graal-jvmci-8
comparison make/solaris/makefiles/rules.make @ 1972:f95d63e2154a
6989984: Use standard include model for Hospot
Summary: Replaced MakeDeps and the includeDB files with more standardized solutions.
Reviewed-by: coleenp, kvn, kamg
author | stefank |
---|---|
date | Tue, 23 Nov 2010 13:22:55 -0800 |
parents | c18cbe5936b8 |
children | 5d801e6b9a80 |
comparison
equal
deleted
inserted
replaced
1971:e33f46fc48ed | 1972:f95d63e2154a |
---|---|
1 # | 1 # |
2 # Copyright (c) 2000, 2008, Oracle and/or its affiliates. All rights reserved. | 2 # Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved. |
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 # | 4 # |
5 # This code is free software; you can redistribute it and/or modify it | 5 # This code is free software; you can redistribute it and/or modify it |
6 # under the terms of the GNU General Public License version 2 only, as | 6 # under the terms of the GNU General Public License version 2 only, as |
7 # published by the Free Software Foundation. | 7 # published by the Free Software Foundation. |
149 # Sun compiler for 64 bit Solaris does not support building non-PIC object files. | 149 # Sun compiler for 64 bit Solaris does not support building non-PIC object files. |
150 ifdef LP64 | 150 ifdef LP64 |
151 %.o: %.cpp | 151 %.o: %.cpp |
152 @echo Compiling $< | 152 @echo Compiling $< |
153 $(QUIETLY) $(REMOVE_TARGET) | 153 $(QUIETLY) $(REMOVE_TARGET) |
154 $(QUIETLY) $(COMPILE.CC) -o $@ $< $(COMPILE_DONE) | 154 $(QUIETLY) $(COMPILE.CC) $(DEPFLAGS) -o $@ $< $(COMPILE_DONE) |
155 else | 155 else |
156 %.o: %.cpp | 156 %.o: %.cpp |
157 @echo Compiling $< | 157 @echo Compiling $< |
158 $(QUIETLY) $(REMOVE_TARGET) | 158 $(QUIETLY) $(REMOVE_TARGET) |
159 $(QUIETLY) $(if $(findstring $@, $(NONPIC_OBJ_FILES)), \ | 159 $(QUIETLY) $(if $(findstring $@, $(NONPIC_OBJ_FILES)), \ |
160 $(subst $(VM_PICFLAG), ,$(COMPILE.CC)) -o $@ $< $(COMPILE_DONE), \ | 160 $(subst $(VM_PICFLAG), ,$(COMPILE.CC)) $(DEPFLAGS) -o $@ $< $(COMPILE_DONE), \ |
161 $(COMPILE.CC) -o $@ $< $(COMPILE_DONE)) | 161 $(COMPILE.CC) $(DEPFLAGS) -o $@ $< $(COMPILE_DONE)) |
162 endif | 162 endif |
163 | 163 |
164 %.o: %.s | 164 %.o: %.s |
165 @echo Assembling $< | 165 @echo Assembling $< |
166 $(QUIETLY) $(REMOVE_TARGET) | 166 $(QUIETLY) $(REMOVE_TARGET) |