Mercurial > hg > graal-jvmci-8
comparison make/solaris/makefiles/buildtree.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 | 2ca799d83d3c |
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. |
104 | 104 |
105 # Get things from the platform file. | 105 # Get things from the platform file. |
106 COMPILER = $(shell sed -n 's/^compiler[ ]*=[ ]*//p' $(PLATFORM_FILE)) | 106 COMPILER = $(shell sed -n 's/^compiler[ ]*=[ ]*//p' $(PLATFORM_FILE)) |
107 | 107 |
108 SIMPLE_DIRS = \ | 108 SIMPLE_DIRS = \ |
109 $(PLATFORM_DIR)/generated/incls \ | 109 $(PLATFORM_DIR)/generated/dependencies \ |
110 $(PLATFORM_DIR)/generated/adfiles \ | 110 $(PLATFORM_DIR)/generated/adfiles \ |
111 $(PLATFORM_DIR)/generated/jvmtifiles | 111 $(PLATFORM_DIR)/generated/jvmtifiles |
112 | 112 |
113 TARGETS = debug fastdebug jvmg optimized product profiled | 113 TARGETS = debug fastdebug jvmg optimized product profiled |
114 SUBMAKE_DIRS = $(addprefix $(PLATFORM_DIR)/,$(TARGETS)) | 114 SUBMAKE_DIRS = $(addprefix $(PLATFORM_DIR)/,$(TARGETS)) |
189 echo "SA_BUILD_VERSION = $(HS_BUILD_VER)"; \ | 189 echo "SA_BUILD_VERSION = $(HS_BUILD_VER)"; \ |
190 echo "HOTSPOT_BUILD_USER = $(HOTSPOT_BUILD_USER)"; \ | 190 echo "HOTSPOT_BUILD_USER = $(HOTSPOT_BUILD_USER)"; \ |
191 echo "HOTSPOT_VM_DISTRO = $(HOTSPOT_VM_DISTRO)"; \ | 191 echo "HOTSPOT_VM_DISTRO = $(HOTSPOT_VM_DISTRO)"; \ |
192 echo "$(LP64_SETTING/$(DATA_MODE))"; \ | 192 echo "$(LP64_SETTING/$(DATA_MODE))"; \ |
193 echo; \ | 193 echo; \ |
194 echo "Src_Dirs = \\"; \ | 194 echo "# Used for platform dispatching"; \ |
195 echo "TARGET_DEFINES = -DTARGET_OS_FAMILY_\$$(Platform_os_family)"; \ | |
196 echo "TARGET_DEFINES += -DTARGET_ARCH_\$$(Platform_arch)"; \ | |
197 echo "TARGET_DEFINES += -DTARGET_ARCH_MODEL_\$$(Platform_arch_model)"; \ | |
198 echo "TARGET_DEFINES += -DTARGET_OS_ARCH_\$$(Platform_os_arch)"; \ | |
199 echo "TARGET_DEFINES += -DTARGET_OS_ARCH_MODEL_\$$(Platform_os_arch_model)"; \ | |
200 echo "TARGET_DEFINES += -DTARGET_COMPILER_\$$(Platform_compiler)"; \ | |
201 echo "CFLAGS += \$$(TARGET_DEFINES)"; \ | |
202 echo; \ | |
203 echo "Src_Dirs_V = \\"; \ | |
195 sed 's/$$/ \\/;s|$(GAMMADIR)|$$(GAMMADIR)|' ../shared_dirs.lst; \ | 204 sed 's/$$/ \\/;s|$(GAMMADIR)|$$(GAMMADIR)|' ../shared_dirs.lst; \ |
205 echo "\$$(GAMMADIR)/src/cpu/$(ARCH)/vm \\"; \ | |
206 echo "\$$(GAMMADIR)/src/os/$(OS_FAMILY)/vm \\"; \ | |
207 echo "\$$(GAMMADIR)/src/os_cpu/$(OS_FAMILY)_$(ARCH)/vm"; \ | |
208 echo; \ | |
209 echo "Src_Dirs_I = \\"; \ | |
210 echo "\$$(GAMMADIR)/src/share/vm \\"; \ | |
211 echo "\$$(GAMMADIR)/src/share/vm/prims \\"; \ | |
196 echo "\$$(GAMMADIR)/src/cpu/$(ARCH)/vm \\"; \ | 212 echo "\$$(GAMMADIR)/src/cpu/$(ARCH)/vm \\"; \ |
197 echo "\$$(GAMMADIR)/src/os/$(OS_FAMILY)/vm \\"; \ | 213 echo "\$$(GAMMADIR)/src/os/$(OS_FAMILY)/vm \\"; \ |
198 echo "\$$(GAMMADIR)/src/os_cpu/$(OS_FAMILY)_$(ARCH)/vm"; \ | 214 echo "\$$(GAMMADIR)/src/os_cpu/$(OS_FAMILY)_$(ARCH)/vm"; \ |
199 [ -n "$(CFLAGS_BROWSE)" ] && \ | 215 [ -n "$(CFLAGS_BROWSE)" ] && \ |
200 echo && echo "CFLAGS_BROWSE = $(CFLAGS_BROWSE)"; \ | 216 echo && echo "CFLAGS_BROWSE = $(CFLAGS_BROWSE)"; \ |