Mercurial > hg > truffle
annotate make/solaris/makefiles/buildtree.make @ 18664:54712aa2d3ee
Merge.
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Thu, 11 Dec 2014 20:02:36 +0100 |
parents | 4ca6dc0799b6 |
children | 8f2fb6bec986 |
rev | line source |
---|---|
0 | 1 # |
8879
bab5cbf74b5f
8011198: LP64 setting is not preserved on Solaris after 8006965
kvn
parents:
8780
diff
changeset
|
2 # Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved. |
0 | 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 # | |
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 | |
7 # published by the Free Software Foundation. | |
8 # | |
9 # This code is distributed in the hope that it will be useful, but WITHOUT | |
10 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
11 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
12 # version 2 for more details (a copy is included in the LICENSE file that | |
13 # accompanied this code). | |
14 # | |
15 # You should have received a copy of the GNU General Public License version | |
16 # 2 along with this work; if not, write to the Free Software Foundation, | |
17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. | |
18 # | |
1552
c18cbe5936b8
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
235
diff
changeset
|
19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
c18cbe5936b8
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
235
diff
changeset
|
20 # or visit www.oracle.com if you need additional information or have any |
c18cbe5936b8
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
235
diff
changeset
|
21 # questions. |
9152 | 22 # |
0 | 23 # |
24 | |
25 # Usage: | |
26 # | |
27 # $(MAKE) -f buildtree.make ARCH=arch BUILDARCH=buildarch LIBARCH=libarch | |
28 # GAMMADIR=dir OS_FAMILY=os VARIANT=variant | |
29 # | |
30 # The macros ARCH, GAMMADIR, OS_FAMILY and VARIANT must be defined in the | |
31 # environment or on the command-line: | |
32 # | |
33 # ARCH - sparc, i486, ... HotSpot cpu and os_cpu source directory | |
34 # BUILDARCH - build directory | |
35 # LIBARCH - the corresponding directory in JDK/JRE | |
36 # GAMMADIR - top of workspace | |
37 # OS_FAMILY - operating system | |
38 # VARIANT - core, compiler1, compiler2, or tiered | |
39 # HOTSPOT_RELEASE_VERSION - <major>.<minor>-b<nn> (11.0-b07) | |
1977
c7db7adb83b4
6987107: Add variable to add to but not modify non-fcs version string
ohair
parents:
1552
diff
changeset
|
40 # HOTSPOT_BUILD_VERSION - internal, internal-$(USER_RELEASE_SUFFIX) or empty |
0 | 41 # JRE_RELEASE_VERSION - <major>.<minor>.<micro> (1.7.0) |
42 # | |
43 # Builds the directory trees with makefiles plus some convenience files in | |
44 # each directory: | |
45 # | |
46 # Makefile - for "make foo" | |
47 # flags.make - with macro settings | |
48 # vm.make - to support making "$(MAKE) -v vm.make" in makefiles | |
9152 | 49 # adlc.make - |
10405 | 50 # trace.make - generate tracing event and type definitions |
0 | 51 # jvmti.make - generate JVMTI bindings from the spec (JSR-163) |
52 # sa.make - generate SA jar file and natives | |
9152 | 53 # |
0 | 54 # The makefiles are split this way so that "make foo" will run faster by not |
55 # having to read the dependency files for the vm. | |
56 | |
5897
7292cff45988
7141244: build-infra merge: Include $(SPEC) in makefiles and make variables overridable
erikj
parents:
4846
diff
changeset
|
57 -include $(SPEC) |
0 | 58 include $(GAMMADIR)/make/scm.make |
8780
98f3af397705
8006965: remove test_gamma and add dedicated test_* targets instead
twisti
parents:
7408
diff
changeset
|
59 include $(GAMMADIR)/make/defs.make |
2184
5d801e6b9a80
Imported build system changes from other repository.
Thomas Wuerthinger <thomas.wuerthinger@gmail.com>
parents:
2094
diff
changeset
|
60 include $(GAMMADIR)/make/altsrc.make |
0 | 61 |
8780
98f3af397705
8006965: remove test_gamma and add dedicated test_* targets instead
twisti
parents:
7408
diff
changeset
|
62 |
0 | 63 # 'gmake MAKE_VERBOSE=y' or 'gmake QUIETLY=' gives all the gory details. |
64 QUIETLY$(MAKE_VERBOSE) = @ | |
65 | |
66 ### maye ARCH_XXX instead? | |
67 ifdef USE_GCC | |
91
a294fd0c4b38
6583644: Move all managed/SCCS files out of 'build' into 'make' directory
kamg
parents:
0
diff
changeset
|
68 PLATFORM_FILE = $(GAMMADIR)/make/$(OS_FAMILY)/platform_$(BUILDARCH).gcc |
0 | 69 GCC_LIB = /usr/local/lib |
70 else | |
91
a294fd0c4b38
6583644: Move all managed/SCCS files out of 'build' into 'make' directory
kamg
parents:
0
diff
changeset
|
71 PLATFORM_FILE = $(GAMMADIR)/make/$(OS_FAMILY)/platform_$(BUILDARCH) |
9152 | 72 GCC_LIB = |
0 | 73 endif |
74 | |
75 ifdef FORCE_TIERED | |
76 ifeq ($(VARIANT),tiered) | |
77 PLATFORM_DIR = $(OS_FAMILY)_$(BUILDARCH)_compiler2 | |
78 else | |
79 PLATFORM_DIR = $(OS_FAMILY)_$(BUILDARCH)_$(VARIANT) | |
80 endif | |
81 else | |
82 PLATFORM_DIR = $(OS_FAMILY)_$(BUILDARCH)_$(VARIANT) | |
83 endif | |
84 | |
85 # | |
86 # We do two levels of exclusion in the shared directory. | |
87 # TOPLEVEL excludes are pruned, they are not recursively searched, | |
88 # but lower level directories can be named without fear of collision. | |
89 # ALWAYS excludes are excluded at any level in the directory tree. | |
90 # | |
91 | |
92 ALWAYS_EXCLUDE_DIRS = $(SCM_DIRS) | |
93 | |
94 ifeq ($(VARIANT),tiered) | |
95 TOPLEVEL_EXCLUDE_DIRS = $(ALWAYS_EXCLUDE_DIRS) -o -name adlc -o -name agent | |
96 else | |
97 ifeq ($(VARIANT),compiler2) | |
98 TOPLEVEL_EXCLUDE_DIRS = $(ALWAYS_EXCLUDE_DIRS) -o -name adlc -o -name c1 -o -name agent | |
99 else | |
100 # compiler1 and core use the same exclude list | |
101 TOPLEVEL_EXCLUDE_DIRS = $(ALWAYS_EXCLUDE_DIRS) -o -name adlc -o -name opto -o -name libadt -o -name agent | |
102 endif | |
103 endif | |
104 | |
105 # Get things from the platform file. | |
106 COMPILER = $(shell sed -n 's/^compiler[ ]*=[ ]*//p' $(PLATFORM_FILE)) | |
107 | |
108 SIMPLE_DIRS = \ | |
1972 | 109 $(PLATFORM_DIR)/generated/dependencies \ |
0 | 110 $(PLATFORM_DIR)/generated/adfiles \ |
10405 | 111 $(PLATFORM_DIR)/generated/jvmtifiles \ |
112 $(PLATFORM_DIR)/generated/tracefiles | |
0 | 113 |
9152 | 114 TARGETS = debug fastdebug optimized product |
0 | 115 SUBMAKE_DIRS = $(addprefix $(PLATFORM_DIR)/,$(TARGETS)) |
116 | |
117 # For dependencies and recursive makes. | |
91
a294fd0c4b38
6583644: Move all managed/SCCS files out of 'build' into 'make' directory
kamg
parents:
0
diff
changeset
|
118 BUILDTREE_MAKE = $(GAMMADIR)/make/$(OS_FAMILY)/makefiles/buildtree.make |
0 | 119 |
14909 | 120 BUILDTREE_TARGETS = Makefile flags.make flags_vm.make vm.make adlc.make jvmti.make trace.make sa.make |
0 | 121 |
122 BUILDTREE_VARS = GAMMADIR=$(GAMMADIR) OS_FAMILY=$(OS_FAMILY) \ | |
123 ARCH=$(ARCH) BUILDARCH=$(BUILDARCH) LIBARCH=$(LIBARCH) VARIANT=$(VARIANT) | |
124 | |
125 # Define variables to be set in flags.make. | |
126 # Default values are set in make/defs.make. | |
127 ifeq ($(HOTSPOT_BUILD_VERSION),) | |
128 HS_BUILD_VER=$(HOTSPOT_RELEASE_VERSION) | |
129 else | |
130 HS_BUILD_VER=$(HOTSPOT_RELEASE_VERSION)-$(HOTSPOT_BUILD_VERSION) | |
131 endif | |
132 # Set BUILD_USER from system-dependent hints: $LOGNAME, $(whoami) | |
133 ifndef HOTSPOT_BUILD_USER | |
134 HOTSPOT_BUILD_USER := $(shell echo $$LOGNAME) | |
135 endif | |
136 ifndef HOTSPOT_BUILD_USER | |
137 HOTSPOT_BUILD_USER := $(shell whoami) | |
138 endif | |
91
a294fd0c4b38
6583644: Move all managed/SCCS files out of 'build' into 'make' directory
kamg
parents:
0
diff
changeset
|
139 # Define HOTSPOT_VM_DISTRO based on settings in make/openjdk_distro |
a294fd0c4b38
6583644: Move all managed/SCCS files out of 'build' into 'make' directory
kamg
parents:
0
diff
changeset
|
140 # or make/hotspot_distro. |
0 | 141 ifndef HOTSPOT_VM_DISTRO |
2184
5d801e6b9a80
Imported build system changes from other repository.
Thomas Wuerthinger <thomas.wuerthinger@gmail.com>
parents:
2094
diff
changeset
|
142 ifeq ($(call if-has-altsrc,$(HS_COMMON_SRC)/,true,false),true) |
91
a294fd0c4b38
6583644: Move all managed/SCCS files out of 'build' into 'make' directory
kamg
parents:
0
diff
changeset
|
143 include $(GAMMADIR)/make/hotspot_distro |
0 | 144 else |
91
a294fd0c4b38
6583644: Move all managed/SCCS files out of 'build' into 'make' directory
kamg
parents:
0
diff
changeset
|
145 include $(GAMMADIR)/make/openjdk_distro |
0 | 146 endif |
147 endif | |
148 | |
6837
75982791ddb6
7170638: Use DTRACE_PROBE[N] in JNI Set and SetStatic Field.
coleenp
parents:
6022
diff
changeset
|
149 # if hotspot-only build and/or OPENJDK isn't passed down, need to set OPENJDK |
75982791ddb6
7170638: Use DTRACE_PROBE[N] in JNI Set and SetStatic Field.
coleenp
parents:
6022
diff
changeset
|
150 ifndef OPENJDK |
75982791ddb6
7170638: Use DTRACE_PROBE[N] in JNI Set and SetStatic Field.
coleenp
parents:
6022
diff
changeset
|
151 ifneq ($(call if-has-altsrc,$(HS_COMMON_SRC)/,true,false),true) |
75982791ddb6
7170638: Use DTRACE_PROBE[N] in JNI Set and SetStatic Field.
coleenp
parents:
6022
diff
changeset
|
152 OPENJDK=true |
75982791ddb6
7170638: Use DTRACE_PROBE[N] in JNI Set and SetStatic Field.
coleenp
parents:
6022
diff
changeset
|
153 endif |
75982791ddb6
7170638: Use DTRACE_PROBE[N] in JNI Set and SetStatic Field.
coleenp
parents:
6022
diff
changeset
|
154 endif |
75982791ddb6
7170638: Use DTRACE_PROBE[N] in JNI Set and SetStatic Field.
coleenp
parents:
6022
diff
changeset
|
155 |
9152 | 156 BUILDTREE_VARS += HOTSPOT_RELEASE_VERSION=$(HS_BUILD_VER) HOTSPOT_BUILD_VERSION= JRE_RELEASE_VERSION=$(JRE_RELEASE_VERSION) |
0 | 157 |
158 BUILDTREE = \ | |
159 $(MAKE) -f $(BUILDTREE_MAKE) $(BUILDTREE_TARGETS) $(BUILDTREE_VARS) | |
160 | |
161 BUILDTREE_COMMENT = echo "\# Generated by $(BUILDTREE_MAKE)" | |
162 | |
163 all: $(SUBMAKE_DIRS) | |
164 | |
165 # Run make in each subdirectory recursively. | |
166 $(SUBMAKE_DIRS): $(SIMPLE_DIRS) FORCE | |
167 $(QUIETLY) [ -d $@ ] || { mkdir -p $@; } | |
168 $(QUIETLY) cd $@ && $(BUILDTREE) TARGET=$(@F) | |
169 $(QUIETLY) touch $@ | |
170 | |
171 $(SIMPLE_DIRS): | |
172 $(QUIETLY) mkdir -p $@ | |
173 | |
2184
5d801e6b9a80
Imported build system changes from other repository.
Thomas Wuerthinger <thomas.wuerthinger@gmail.com>
parents:
2094
diff
changeset
|
174 # Convenience macro which takes a source relative path, applies $(1) to the |
9152 | 175 # absolute path, and then replaces $(GAMMADIR) in the result with a |
176 # literal "$(GAMMADIR)/" suitable for inclusion in a Makefile. | |
2184
5d801e6b9a80
Imported build system changes from other repository.
Thomas Wuerthinger <thomas.wuerthinger@gmail.com>
parents:
2094
diff
changeset
|
177 gamma-path=$(subst $(GAMMADIR),\$$(GAMMADIR),$(call $(1),$(HS_COMMON_SRC)/$(2))) |
5d801e6b9a80
Imported build system changes from other repository.
Thomas Wuerthinger <thomas.wuerthinger@gmail.com>
parents:
2094
diff
changeset
|
178 |
8879
bab5cbf74b5f
8011198: LP64 setting is not preserved on Solaris after 8006965
kvn
parents:
8780
diff
changeset
|
179 # This bit is needed to enable local rebuilds. |
bab5cbf74b5f
8011198: LP64 setting is not preserved on Solaris after 8006965
kvn
parents:
8780
diff
changeset
|
180 # Unless the makefile itself sets LP64, any environmental |
bab5cbf74b5f
8011198: LP64 setting is not preserved on Solaris after 8006965
kvn
parents:
8780
diff
changeset
|
181 # setting of LP64 will interfere with the build. |
bab5cbf74b5f
8011198: LP64 setting is not preserved on Solaris after 8006965
kvn
parents:
8780
diff
changeset
|
182 LP64_SETTING/32 = LP64 = \#empty |
bab5cbf74b5f
8011198: LP64 setting is not preserved on Solaris after 8006965
kvn
parents:
8780
diff
changeset
|
183 LP64_SETTING/64 = LP64 = 1 |
bab5cbf74b5f
8011198: LP64 setting is not preserved on Solaris after 8006965
kvn
parents:
8780
diff
changeset
|
184 |
bab5cbf74b5f
8011198: LP64 setting is not preserved on Solaris after 8006965
kvn
parents:
8780
diff
changeset
|
185 DATA_MODE/i486 = 32 |
bab5cbf74b5f
8011198: LP64 setting is not preserved on Solaris after 8006965
kvn
parents:
8780
diff
changeset
|
186 DATA_MODE/sparc = 32 |
bab5cbf74b5f
8011198: LP64 setting is not preserved on Solaris after 8006965
kvn
parents:
8780
diff
changeset
|
187 DATA_MODE/sparcv9 = 64 |
bab5cbf74b5f
8011198: LP64 setting is not preserved on Solaris after 8006965
kvn
parents:
8780
diff
changeset
|
188 DATA_MODE/amd64 = 64 |
bab5cbf74b5f
8011198: LP64 setting is not preserved on Solaris after 8006965
kvn
parents:
8780
diff
changeset
|
189 |
bab5cbf74b5f
8011198: LP64 setting is not preserved on Solaris after 8006965
kvn
parents:
8780
diff
changeset
|
190 DATA_MODE = $(DATA_MODE/$(BUILDARCH)) |
bab5cbf74b5f
8011198: LP64 setting is not preserved on Solaris after 8006965
kvn
parents:
8780
diff
changeset
|
191 |
0 | 192 flags.make: $(BUILDTREE_MAKE) ../shared_dirs.lst |
193 @echo Creating $@ ... | |
194 $(QUIETLY) ( \ | |
195 $(BUILDTREE_COMMENT); \ | |
196 echo; \ | |
197 echo "Platform_file = $(PLATFORM_FILE)" | sed 's|$(GAMMADIR)|$$(GAMMADIR)|'; \ | |
198 sed -n '/=/s/^ */Platform_/p' < $(PLATFORM_FILE); \ | |
199 echo; \ | |
200 echo "GAMMADIR = $(GAMMADIR)"; \ | |
201 echo "SYSDEFS = \$$(Platform_sysdefs)"; \ | |
202 echo "SRCARCH = $(ARCH)"; \ | |
203 echo "BUILDARCH = $(BUILDARCH)"; \ | |
204 echo "LIBARCH = $(LIBARCH)"; \ | |
205 echo "TARGET = $(TARGET)"; \ | |
206 echo "HS_BUILD_VER = $(HS_BUILD_VER)"; \ | |
207 echo "JRE_RELEASE_VER = $(JRE_RELEASE_VERSION)"; \ | |
208 echo "SA_BUILD_VERSION = $(HS_BUILD_VER)"; \ | |
209 echo "HOTSPOT_BUILD_USER = $(HOTSPOT_BUILD_USER)"; \ | |
210 echo "HOTSPOT_VM_DISTRO = $(HOTSPOT_VM_DISTRO)"; \ | |
6837
75982791ddb6
7170638: Use DTRACE_PROBE[N] in JNI Set and SetStatic Field.
coleenp
parents:
6022
diff
changeset
|
211 echo "OPENJDK = $(OPENJDK)"; \ |
0 | 212 echo "$(LP64_SETTING/$(DATA_MODE))"; \ |
213 echo; \ | |
1972 | 214 echo "# Used for platform dispatching"; \ |
215 echo "TARGET_DEFINES = -DTARGET_OS_FAMILY_\$$(Platform_os_family)"; \ | |
216 echo "TARGET_DEFINES += -DTARGET_ARCH_\$$(Platform_arch)"; \ | |
217 echo "TARGET_DEFINES += -DTARGET_ARCH_MODEL_\$$(Platform_arch_model)"; \ | |
218 echo "TARGET_DEFINES += -DTARGET_OS_ARCH_\$$(Platform_os_arch)"; \ | |
219 echo "TARGET_DEFINES += -DTARGET_OS_ARCH_MODEL_\$$(Platform_os_arch_model)"; \ | |
220 echo "TARGET_DEFINES += -DTARGET_COMPILER_\$$(Platform_compiler)"; \ | |
221 echo "CFLAGS += \$$(TARGET_DEFINES)"; \ | |
222 echo; \ | |
223 echo "Src_Dirs_V = \\"; \ | |
0 | 224 sed 's/$$/ \\/;s|$(GAMMADIR)|$$(GAMMADIR)|' ../shared_dirs.lst; \ |
2184
5d801e6b9a80
Imported build system changes from other repository.
Thomas Wuerthinger <thomas.wuerthinger@gmail.com>
parents:
2094
diff
changeset
|
225 echo "$(call gamma-path,altsrc,cpu/$(ARCH)/vm) \\"; \ |
5d801e6b9a80
Imported build system changes from other repository.
Thomas Wuerthinger <thomas.wuerthinger@gmail.com>
parents:
2094
diff
changeset
|
226 echo "$(call gamma-path,commonsrc,cpu/$(ARCH)/vm) \\"; \ |
5d801e6b9a80
Imported build system changes from other repository.
Thomas Wuerthinger <thomas.wuerthinger@gmail.com>
parents:
2094
diff
changeset
|
227 echo "$(call gamma-path,altsrc,os_cpu/$(OS_FAMILY)_$(ARCH)/vm) \\"; \ |
5d801e6b9a80
Imported build system changes from other repository.
Thomas Wuerthinger <thomas.wuerthinger@gmail.com>
parents:
2094
diff
changeset
|
228 echo "$(call gamma-path,commonsrc,os_cpu/$(OS_FAMILY)_$(ARCH)/vm) \\"; \ |
5d801e6b9a80
Imported build system changes from other repository.
Thomas Wuerthinger <thomas.wuerthinger@gmail.com>
parents:
2094
diff
changeset
|
229 echo "$(call gamma-path,altsrc,os/$(OS_FAMILY)/vm) \\"; \ |
5d801e6b9a80
Imported build system changes from other repository.
Thomas Wuerthinger <thomas.wuerthinger@gmail.com>
parents:
2094
diff
changeset
|
230 echo "$(call gamma-path,commonsrc,os/$(OS_FAMILY)/vm) \\"; \ |
5d801e6b9a80
Imported build system changes from other repository.
Thomas Wuerthinger <thomas.wuerthinger@gmail.com>
parents:
2094
diff
changeset
|
231 echo "$(call gamma-path,altsrc,os/posix/vm) \\"; \ |
9934
0f7ca53be929
CR-806: Changes to build Graal for SPARC
Morris Meyer <morris.meyer@oracle.com>
parents:
9159
diff
changeset
|
232 echo "$(call gamma-path,commonsrc,os/posix/vm) \\"; \ |
10899 | 233 echo "$(call gamma-path,altsrc,gpu/ptx/vm) \\"; \ |
13099 | 234 echo "$(call gamma-path,commonsrc,gpu/ptx/vm)" \\; \ |
235 echo "$(call gamma-path,altsrc,gpu/hsail/vm) \\"; \ | |
236 echo "$(call gamma-path,commonsrc,gpu/hsail/vm)"; \ | |
1972 | 237 echo; \ |
238 echo "Src_Dirs_I = \\"; \ | |
2184
5d801e6b9a80
Imported build system changes from other repository.
Thomas Wuerthinger <thomas.wuerthinger@gmail.com>
parents:
2094
diff
changeset
|
239 echo "$(call gamma-path,altsrc,share/vm/prims) \\"; \ |
5d801e6b9a80
Imported build system changes from other repository.
Thomas Wuerthinger <thomas.wuerthinger@gmail.com>
parents:
2094
diff
changeset
|
240 echo "$(call gamma-path,commonsrc,share/vm/prims) \\"; \ |
5d801e6b9a80
Imported build system changes from other repository.
Thomas Wuerthinger <thomas.wuerthinger@gmail.com>
parents:
2094
diff
changeset
|
241 echo "$(call gamma-path,altsrc,share/vm) \\"; \ |
5d801e6b9a80
Imported build system changes from other repository.
Thomas Wuerthinger <thomas.wuerthinger@gmail.com>
parents:
2094
diff
changeset
|
242 echo "$(call gamma-path,commonsrc,share/vm) \\"; \ |
4033
95009f678859
7106766: Move the precompiled header from the src/share/vm directory
brutisso
parents:
3954
diff
changeset
|
243 echo "$(call gamma-path,altsrc,share/vm/precompiled) \\"; \ |
95009f678859
7106766: Move the precompiled header from the src/share/vm directory
brutisso
parents:
3954
diff
changeset
|
244 echo "$(call gamma-path,commonsrc,share/vm/precompiled) \\"; \ |
2184
5d801e6b9a80
Imported build system changes from other repository.
Thomas Wuerthinger <thomas.wuerthinger@gmail.com>
parents:
2094
diff
changeset
|
245 echo "$(call gamma-path,altsrc,cpu/$(ARCH)/vm) \\"; \ |
5d801e6b9a80
Imported build system changes from other repository.
Thomas Wuerthinger <thomas.wuerthinger@gmail.com>
parents:
2094
diff
changeset
|
246 echo "$(call gamma-path,commonsrc,cpu/$(ARCH)/vm) \\"; \ |
5d801e6b9a80
Imported build system changes from other repository.
Thomas Wuerthinger <thomas.wuerthinger@gmail.com>
parents:
2094
diff
changeset
|
247 echo "$(call gamma-path,altsrc,os_cpu/$(OS_FAMILY)_$(ARCH)/vm) \\"; \ |
5d801e6b9a80
Imported build system changes from other repository.
Thomas Wuerthinger <thomas.wuerthinger@gmail.com>
parents:
2094
diff
changeset
|
248 echo "$(call gamma-path,commonsrc,os_cpu/$(OS_FAMILY)_$(ARCH)/vm) \\"; \ |
5d801e6b9a80
Imported build system changes from other repository.
Thomas Wuerthinger <thomas.wuerthinger@gmail.com>
parents:
2094
diff
changeset
|
249 echo "$(call gamma-path,altsrc,os/$(OS_FAMILY)/vm) \\"; \ |
5d801e6b9a80
Imported build system changes from other repository.
Thomas Wuerthinger <thomas.wuerthinger@gmail.com>
parents:
2094
diff
changeset
|
250 echo "$(call gamma-path,commonsrc,os/$(OS_FAMILY)/vm) \\"; \ |
9934
0f7ca53be929
CR-806: Changes to build Graal for SPARC
Morris Meyer <morris.meyer@oracle.com>
parents:
9159
diff
changeset
|
251 echo "$(call gamma-path,commonsrc,os/posix/vm) \\"; \ |
0f7ca53be929
CR-806: Changes to build Graal for SPARC
Morris Meyer <morris.meyer@oracle.com>
parents:
9159
diff
changeset
|
252 echo "$(call gamma-path,altsrc,gpu) \\"; \ |
0f7ca53be929
CR-806: Changes to build Graal for SPARC
Morris Meyer <morris.meyer@oracle.com>
parents:
9159
diff
changeset
|
253 echo "$(call gamma-path,commonsrc,gpu)"; \ |
0 | 254 [ -n "$(CFLAGS_BROWSE)" ] && \ |
255 echo && echo "CFLAGS_BROWSE = $(CFLAGS_BROWSE)"; \ | |
6020
d652a62d6e03
7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents:
4846
diff
changeset
|
256 [ -n "$(ENABLE_FULL_DEBUG_SYMBOLS)" ] && \ |
d652a62d6e03
7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents:
4846
diff
changeset
|
257 echo && echo "ENABLE_FULL_DEBUG_SYMBOLS = $(ENABLE_FULL_DEBUG_SYMBOLS)"; \ |
3954 | 258 [ -n "$(OBJCOPY)" ] && \ |
259 echo && echo "OBJCOPY = $(OBJCOPY)"; \ | |
260 [ -n "$(STRIP_POLICY)" ] && \ | |
261 echo && echo "STRIP_POLICY = $(STRIP_POLICY)"; \ | |
6020
d652a62d6e03
7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents:
4846
diff
changeset
|
262 [ -n "$(ZIP_DEBUGINFO_FILES)" ] && \ |
d652a62d6e03
7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents:
4846
diff
changeset
|
263 echo && echo "ZIP_DEBUGINFO_FILES = $(ZIP_DEBUGINFO_FILES)"; \ |
d652a62d6e03
7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents:
4846
diff
changeset
|
264 [ -n "$(ZIPEXE)" ] && \ |
d652a62d6e03
7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents:
4846
diff
changeset
|
265 echo && echo "ZIPEXE = $(ZIPEXE)"; \ |
0 | 266 [ -n "$(HOTSPOT_EXTRA_SYSDEFS)" ] && \ |
267 echo && \ | |
268 echo "HOTSPOT_EXTRA_SYSDEFS\$$(HOTSPOT_EXTRA_SYSDEFS) = $(HOTSPOT_EXTRA_SYSDEFS)" && \ | |
269 echo "SYSDEFS += \$$(HOTSPOT_EXTRA_SYSDEFS)"; \ | |
270 echo; \ | |
5897
7292cff45988
7141244: build-infra merge: Include $(SPEC) in makefiles and make variables overridable
erikj
parents:
4846
diff
changeset
|
271 [ -n "$(SPEC)" ] && \ |
7292cff45988
7141244: build-infra merge: Include $(SPEC) in makefiles and make variables overridable
erikj
parents:
4846
diff
changeset
|
272 echo "include $(SPEC)"; \ |
91
a294fd0c4b38
6583644: Move all managed/SCCS files out of 'build' into 'make' directory
kamg
parents:
0
diff
changeset
|
273 echo "include \$$(GAMMADIR)/make/$(OS_FAMILY)/makefiles/$(VARIANT).make"; \ |
a294fd0c4b38
6583644: Move all managed/SCCS files out of 'build' into 'make' directory
kamg
parents:
0
diff
changeset
|
274 echo "include \$$(GAMMADIR)/make/$(OS_FAMILY)/makefiles/$(COMPILER).make"; \ |
0 | 275 ) > $@ |
276 | |
277 flags_vm.make: $(BUILDTREE_MAKE) ../shared_dirs.lst | |
278 @echo Creating $@ ... | |
279 $(QUIETLY) ( \ | |
280 $(BUILDTREE_COMMENT); \ | |
281 echo; \ | |
91
a294fd0c4b38
6583644: Move all managed/SCCS files out of 'build' into 'make' directory
kamg
parents:
0
diff
changeset
|
282 echo "include \$$(GAMMADIR)/make/$(OS_FAMILY)/makefiles/$(TARGET).make"; \ |
0 | 283 ) > $@ |
284 | |
285 ../shared_dirs.lst: $(BUILDTREE_MAKE) $(GAMMADIR)/src/share/vm | |
286 @echo Creating directory list $@ | |
2184
5d801e6b9a80
Imported build system changes from other repository.
Thomas Wuerthinger <thomas.wuerthinger@gmail.com>
parents:
2094
diff
changeset
|
287 $(QUIETLY) if [ -d $(HS_ALT_SRC)/share/vm ]; then \ |
5d801e6b9a80
Imported build system changes from other repository.
Thomas Wuerthinger <thomas.wuerthinger@gmail.com>
parents:
2094
diff
changeset
|
288 find $(HS_ALT_SRC)/share/vm/* -prune \ |
5d801e6b9a80
Imported build system changes from other repository.
Thomas Wuerthinger <thomas.wuerthinger@gmail.com>
parents:
2094
diff
changeset
|
289 -type d \! \( $(TOPLEVEL_EXCLUDE_DIRS) \) -exec find {} \ |
5d801e6b9a80
Imported build system changes from other repository.
Thomas Wuerthinger <thomas.wuerthinger@gmail.com>
parents:
2094
diff
changeset
|
290 \( $(ALWAYS_EXCLUDE_DIRS) \) -prune -o -type d -print \; > $@; \ |
5d801e6b9a80
Imported build system changes from other repository.
Thomas Wuerthinger <thomas.wuerthinger@gmail.com>
parents:
2094
diff
changeset
|
291 fi; |
5d801e6b9a80
Imported build system changes from other repository.
Thomas Wuerthinger <thomas.wuerthinger@gmail.com>
parents:
2094
diff
changeset
|
292 $(QUIETLY) find $(HS_COMMON_SRC)/share/vm/* -prune \ |
0 | 293 -type d \! \( $(TOPLEVEL_EXCLUDE_DIRS) \) -exec find {} \ |
2184
5d801e6b9a80
Imported build system changes from other repository.
Thomas Wuerthinger <thomas.wuerthinger@gmail.com>
parents:
2094
diff
changeset
|
294 \( $(ALWAYS_EXCLUDE_DIRS) \) -prune -o -type d -print \; >> $@ |
0 | 295 |
296 Makefile: $(BUILDTREE_MAKE) | |
297 @echo Creating $@ ... | |
298 $(QUIETLY) ( \ | |
299 $(BUILDTREE_COMMENT); \ | |
300 echo; \ | |
301 echo include flags.make; \ | |
302 echo; \ | |
91
a294fd0c4b38
6583644: Move all managed/SCCS files out of 'build' into 'make' directory
kamg
parents:
0
diff
changeset
|
303 echo "include \$$(GAMMADIR)/make/$(OS_FAMILY)/makefiles/top.make"; \ |
0 | 304 ) > $@ |
305 | |
306 vm.make: $(BUILDTREE_MAKE) | |
307 @echo Creating $@ ... | |
308 $(QUIETLY) ( \ | |
309 $(BUILDTREE_COMMENT); \ | |
310 echo; \ | |
311 echo include flags.make; \ | |
312 echo include flags_vm.make; \ | |
313 echo; \ | |
91
a294fd0c4b38
6583644: Move all managed/SCCS files out of 'build' into 'make' directory
kamg
parents:
0
diff
changeset
|
314 echo "include \$$(GAMMADIR)/make/$(OS_FAMILY)/makefiles/$(@F)"; \ |
0 | 315 ) > $@ |
316 | |
317 adlc.make: $(BUILDTREE_MAKE) | |
318 @echo Creating $@ ... | |
319 $(QUIETLY) ( \ | |
320 $(BUILDTREE_COMMENT); \ | |
321 echo; \ | |
322 echo include flags.make; \ | |
323 echo; \ | |
91
a294fd0c4b38
6583644: Move all managed/SCCS files out of 'build' into 'make' directory
kamg
parents:
0
diff
changeset
|
324 echo "include \$$(GAMMADIR)/make/$(OS_FAMILY)/makefiles/$(@F)"; \ |
0 | 325 ) > $@ |
326 | |
327 jvmti.make: $(BUILDTREE_MAKE) | |
328 @echo Creating $@ ... | |
329 $(QUIETLY) ( \ | |
330 $(BUILDTREE_COMMENT); \ | |
331 echo; \ | |
332 echo include flags.make; \ | |
333 echo; \ | |
91
a294fd0c4b38
6583644: Move all managed/SCCS files out of 'build' into 'make' directory
kamg
parents:
0
diff
changeset
|
334 echo "include \$$(GAMMADIR)/make/$(OS_FAMILY)/makefiles/$(@F)"; \ |
0 | 335 ) > $@ |
336 | |
10405 | 337 trace.make: $(BUILDTREE_MAKE) |
338 @echo Creating $@ ... | |
339 $(QUIETLY) ( \ | |
340 $(BUILDTREE_COMMENT); \ | |
341 echo; \ | |
342 echo include flags.make; \ | |
343 echo; \ | |
344 echo "include \$$(GAMMADIR)/make/$(OS_FAMILY)/makefiles/$(@F)"; \ | |
345 ) > $@ | |
346 | |
0 | 347 sa.make: $(BUILDTREE_MAKE) |
348 @echo Creating $@ ... | |
349 $(QUIETLY) ( \ | |
350 $(BUILDTREE_COMMENT); \ | |
351 echo; \ | |
352 echo include flags.make; \ | |
353 echo; \ | |
91
a294fd0c4b38
6583644: Move all managed/SCCS files out of 'build' into 'make' directory
kamg
parents:
0
diff
changeset
|
354 echo "include \$$(GAMMADIR)/make/$(OS_FAMILY)/makefiles/$(@F)"; \ |
0 | 355 ) > $@ |
356 | |
357 FORCE: | |
358 | |
359 .PHONY: all FORCE |