Mercurial > hg > truffle
annotate make/linux/makefiles/buildtree.make @ 14343:05ede1d98e1e
8032771: The flag VerifySilently misses a test case
Summary: Add test case for the VerifySilently flag.
Reviewed-by: brutisso
author | tschatzl |
---|---|
date | Fri, 31 Jan 2014 09:55:59 +0100 |
parents | f2110083203d |
children | 836a62f43af9 a00b8f42c4c4 faf0c78e906b |
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) 2005, 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:
1010
diff
changeset
|
19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
c18cbe5936b8
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
1010
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:
1010
diff
changeset
|
21 # questions. |
9152 | 22 # |
0 | 23 # |
24 | |
25 # Usage: | |
26 # | |
2192
b92c45f2bc75
7016023: Enable building ARM and PPC from src/closed repository
bobv
parents:
2027
diff
changeset
|
27 # $(MAKE) -f buildtree.make SRCARCH=srcarch BUILDARCH=buildarch LIBARCH=libarch |
0 | 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:
1681
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 |
6854
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
6022
diff
changeset
|
59 include $(GAMMADIR)/make/defs.make |
2199
d8a72fbc4be7
7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents:
2192
diff
changeset
|
60 include $(GAMMADIR)/make/altsrc.make |
2192
b92c45f2bc75
7016023: Enable building ARM and PPC from src/closed repository
bobv
parents:
2027
diff
changeset
|
61 |
0 | 62 |
63 # 'gmake MAKE_VERBOSE=y' or 'gmake QUIETLY=' gives all the gory details. | |
64 QUIETLY$(MAKE_VERBOSE) = @ | |
65 | |
5946
3d7ea1dbe0de
7141246: build-infra merge: Introduce new JVM_VARIANT* to control which kind of jvm gets built
erikj
parents:
5897
diff
changeset
|
66 ifeq ($(findstring true, $(JVM_VARIANT_ZERO) $(JVM_VARIANT_ZEROSHARK)), true) |
1010 | 67 PLATFORM_FILE = $(shell dirname $(shell dirname $(shell pwd)))/platform_zero |
50
485d403e94e1
6452081: 3/4 Allow for Linux builds with Sun Studio Linux compilers
dcubed
parents:
0
diff
changeset
|
68 else |
1010 | 69 ifdef USE_SUNCC |
70 PLATFORM_FILE = $(GAMMADIR)/make/$(OS_FAMILY)/platform_$(BUILDARCH).suncc | |
71 else | |
72 PLATFORM_FILE = $(GAMMADIR)/make/$(OS_FAMILY)/platform_$(BUILDARCH) | |
73 endif | |
74 endif | |
75 | |
76 # Allow overriding of the arch part of the directory but default | |
77 # to BUILDARCH if nothing is specified | |
78 ifeq ($(VARIANTARCH),) | |
79 VARIANTARCH=$(BUILDARCH) | |
50
485d403e94e1
6452081: 3/4 Allow for Linux builds with Sun Studio Linux compilers
dcubed
parents:
0
diff
changeset
|
80 endif |
0 | 81 |
82 ifdef FORCE_TIERED | |
83 ifeq ($(VARIANT),tiered) | |
1010 | 84 PLATFORM_DIR = $(OS_FAMILY)_$(VARIANTARCH)_compiler2 |
0 | 85 else |
1010 | 86 PLATFORM_DIR = $(OS_FAMILY)_$(VARIANTARCH)_$(VARIANT) |
0 | 87 endif |
88 else | |
1010 | 89 PLATFORM_DIR = $(OS_FAMILY)_$(VARIANTARCH)_$(VARIANT) |
0 | 90 endif |
91 | |
92 # | |
93 # We do two levels of exclusion in the shared directory. | |
94 # TOPLEVEL excludes are pruned, they are not recursively searched, | |
95 # but lower level directories can be named without fear of collision. | |
96 # ALWAYS excludes are excluded at any level in the directory tree. | |
97 # | |
98 | |
99 ALWAYS_EXCLUDE_DIRS = $(SCM_DIRS) | |
100 | |
101 ifeq ($(VARIANT),tiered) | |
102 TOPLEVEL_EXCLUDE_DIRS = $(ALWAYS_EXCLUDE_DIRS) -o -name adlc -o -name agent | |
103 else | |
104 ifeq ($(VARIANT),compiler2) | |
105 TOPLEVEL_EXCLUDE_DIRS = $(ALWAYS_EXCLUDE_DIRS) -o -name adlc -o -name c1 -o -name agent | |
106 else | |
107 # compiler1 and core use the same exclude list | |
108 TOPLEVEL_EXCLUDE_DIRS = $(ALWAYS_EXCLUDE_DIRS) -o -name adlc -o -name opto -o -name libadt -o -name agent | |
109 endif | |
110 endif | |
111 | |
112 # Get things from the platform file. | |
113 COMPILER = $(shell sed -n 's/^compiler[ ]*=[ ]*//p' $(PLATFORM_FILE)) | |
114 | |
115 SIMPLE_DIRS = \ | |
1972 | 116 $(PLATFORM_DIR)/generated/dependencies \ |
0 | 117 $(PLATFORM_DIR)/generated/adfiles \ |
10405 | 118 $(PLATFORM_DIR)/generated/jvmtifiles \ |
119 $(PLATFORM_DIR)/generated/tracefiles | |
0 | 120 |
9152 | 121 TARGETS = debug fastdebug optimized product |
0 | 122 SUBMAKE_DIRS = $(addprefix $(PLATFORM_DIR)/,$(TARGETS)) |
123 | |
124 # For dependencies and recursive makes. | |
91
a294fd0c4b38
6583644: Move all managed/SCCS files out of 'build' into 'make' directory
kamg
parents:
50
diff
changeset
|
125 BUILDTREE_MAKE = $(GAMMADIR)/make/$(OS_FAMILY)/makefiles/buildtree.make |
0 | 126 |
10405 | 127 BUILDTREE_TARGETS = Makefile flags.make flags_vm.make vm.make adlc.make jvmti.make trace.make sa.make |
0 | 128 |
129 BUILDTREE_VARS = GAMMADIR=$(GAMMADIR) OS_FAMILY=$(OS_FAMILY) \ | |
2192
b92c45f2bc75
7016023: Enable building ARM and PPC from src/closed repository
bobv
parents:
2027
diff
changeset
|
130 SRCARCH=$(SRCARCH) BUILDARCH=$(BUILDARCH) LIBARCH=$(LIBARCH) VARIANT=$(VARIANT) |
0 | 131 |
132 # Define variables to be set in flags.make. | |
133 # Default values are set in make/defs.make. | |
134 ifeq ($(HOTSPOT_BUILD_VERSION),) | |
135 HS_BUILD_VER=$(HOTSPOT_RELEASE_VERSION) | |
136 else | |
137 HS_BUILD_VER=$(HOTSPOT_RELEASE_VERSION)-$(HOTSPOT_BUILD_VERSION) | |
138 endif | |
139 # Set BUILD_USER from system-dependent hints: $LOGNAME, $(whoami) | |
140 ifndef HOTSPOT_BUILD_USER | |
141 HOTSPOT_BUILD_USER := $(shell echo $$LOGNAME) | |
142 endif | |
143 ifndef HOTSPOT_BUILD_USER | |
144 HOTSPOT_BUILD_USER := $(shell whoami) | |
145 endif | |
91
a294fd0c4b38
6583644: Move all managed/SCCS files out of 'build' into 'make' directory
kamg
parents:
50
diff
changeset
|
146 # 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:
50
diff
changeset
|
147 # or make/hotspot_distro. |
0 | 148 ifndef HOTSPOT_VM_DISTRO |
2199
d8a72fbc4be7
7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents:
2192
diff
changeset
|
149 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:
50
diff
changeset
|
150 include $(GAMMADIR)/make/hotspot_distro |
0 | 151 else |
91
a294fd0c4b38
6583644: Move all managed/SCCS files out of 'build' into 'make' directory
kamg
parents:
50
diff
changeset
|
152 include $(GAMMADIR)/make/openjdk_distro |
0 | 153 endif |
154 endif | |
155 | |
6837
75982791ddb6
7170638: Use DTRACE_PROBE[N] in JNI Set and SetStatic Field.
coleenp
parents:
6022
diff
changeset
|
156 # 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
|
157 ifndef OPENJDK |
75982791ddb6
7170638: Use DTRACE_PROBE[N] in JNI Set and SetStatic Field.
coleenp
parents:
6022
diff
changeset
|
158 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
|
159 OPENJDK=true |
75982791ddb6
7170638: Use DTRACE_PROBE[N] in JNI Set and SetStatic Field.
coleenp
parents:
6022
diff
changeset
|
160 endif |
75982791ddb6
7170638: Use DTRACE_PROBE[N] in JNI Set and SetStatic Field.
coleenp
parents:
6022
diff
changeset
|
161 endif |
75982791ddb6
7170638: Use DTRACE_PROBE[N] in JNI Set and SetStatic Field.
coleenp
parents:
6022
diff
changeset
|
162 |
0 | 163 BUILDTREE_VARS += HOTSPOT_RELEASE_VERSION=$(HS_BUILD_VER) HOTSPOT_BUILD_VERSION= JRE_RELEASE_VERSION=$(JRE_RELEASE_VERSION) |
164 | |
165 BUILDTREE = \ | |
166 $(MAKE) -f $(BUILDTREE_MAKE) $(BUILDTREE_TARGETS) $(BUILDTREE_VARS) | |
167 | |
168 BUILDTREE_COMMENT = echo "\# Generated by $(BUILDTREE_MAKE)" | |
169 | |
170 all: $(SUBMAKE_DIRS) | |
171 | |
172 # Run make in each subdirectory recursively. | |
173 $(SUBMAKE_DIRS): $(SIMPLE_DIRS) FORCE | |
174 $(QUIETLY) [ -d $@ ] || { mkdir -p $@; } | |
175 $(QUIETLY) cd $@ && $(BUILDTREE) TARGET=$(@F) | |
176 $(QUIETLY) touch $@ | |
177 | |
178 $(SIMPLE_DIRS): | |
179 $(QUIETLY) mkdir -p $@ | |
180 | |
2199
d8a72fbc4be7
7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents:
2192
diff
changeset
|
181 # Convenience macro which takes a source relative path, applies $(1) to the |
9152 | 182 # absolute path, and then replaces $(GAMMADIR) in the result with a |
183 # literal "$(GAMMADIR)/" suitable for inclusion in a Makefile. | |
2199
d8a72fbc4be7
7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents:
2192
diff
changeset
|
184 gamma-path=$(subst $(GAMMADIR),\$$(GAMMADIR),$(call $(1),$(HS_COMMON_SRC)/$(2))) |
d8a72fbc4be7
7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents:
2192
diff
changeset
|
185 |
8879
bab5cbf74b5f
8011198: LP64 setting is not preserved on Solaris after 8006965
kvn
parents:
8780
diff
changeset
|
186 # This bit is needed to enable local rebuilds. |
bab5cbf74b5f
8011198: LP64 setting is not preserved on Solaris after 8006965
kvn
parents:
8780
diff
changeset
|
187 # Unless the makefile itself sets LP64, any environmental |
bab5cbf74b5f
8011198: LP64 setting is not preserved on Solaris after 8006965
kvn
parents:
8780
diff
changeset
|
188 # setting of LP64 will interfere with the build. |
bab5cbf74b5f
8011198: LP64 setting is not preserved on Solaris after 8006965
kvn
parents:
8780
diff
changeset
|
189 LP64_SETTING/32 = LP64 = \#empty |
bab5cbf74b5f
8011198: LP64 setting is not preserved on Solaris after 8006965
kvn
parents:
8780
diff
changeset
|
190 LP64_SETTING/64 = LP64 = 1 |
bab5cbf74b5f
8011198: LP64 setting is not preserved on Solaris after 8006965
kvn
parents:
8780
diff
changeset
|
191 |
bab5cbf74b5f
8011198: LP64 setting is not preserved on Solaris after 8006965
kvn
parents:
8780
diff
changeset
|
192 DATA_MODE/i486 = 32 |
bab5cbf74b5f
8011198: LP64 setting is not preserved on Solaris after 8006965
kvn
parents:
8780
diff
changeset
|
193 DATA_MODE/sparc = 32 |
bab5cbf74b5f
8011198: LP64 setting is not preserved on Solaris after 8006965
kvn
parents:
8780
diff
changeset
|
194 DATA_MODE/sparcv9 = 64 |
bab5cbf74b5f
8011198: LP64 setting is not preserved on Solaris after 8006965
kvn
parents:
8780
diff
changeset
|
195 DATA_MODE/amd64 = 64 |
bab5cbf74b5f
8011198: LP64 setting is not preserved on Solaris after 8006965
kvn
parents:
8780
diff
changeset
|
196 |
bab5cbf74b5f
8011198: LP64 setting is not preserved on Solaris after 8006965
kvn
parents:
8780
diff
changeset
|
197 DATA_MODE = $(DATA_MODE/$(BUILDARCH)) |
bab5cbf74b5f
8011198: LP64 setting is not preserved on Solaris after 8006965
kvn
parents:
8780
diff
changeset
|
198 |
0 | 199 flags.make: $(BUILDTREE_MAKE) ../shared_dirs.lst |
200 @echo Creating $@ ... | |
201 $(QUIETLY) ( \ | |
202 $(BUILDTREE_COMMENT); \ | |
203 echo; \ | |
204 echo "Platform_file = $(PLATFORM_FILE)" | sed 's|$(GAMMADIR)|$$(GAMMADIR)|'; \ | |
205 sed -n '/=/s/^ */Platform_/p' < $(PLATFORM_FILE); \ | |
206 echo; \ | |
207 echo "GAMMADIR = $(GAMMADIR)"; \ | |
6854
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
6022
diff
changeset
|
208 echo "HS_ALT_MAKE = $(HS_ALT_MAKE)"; \ |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
6022
diff
changeset
|
209 echo "OSNAME = $(OSNAME)"; \ |
0 | 210 echo "SYSDEFS = \$$(Platform_sysdefs)"; \ |
2192
b92c45f2bc75
7016023: Enable building ARM and PPC from src/closed repository
bobv
parents:
2027
diff
changeset
|
211 echo "SRCARCH = $(SRCARCH)"; \ |
0 | 212 echo "BUILDARCH = $(BUILDARCH)"; \ |
213 echo "LIBARCH = $(LIBARCH)"; \ | |
214 echo "TARGET = $(TARGET)"; \ | |
215 echo "HS_BUILD_VER = $(HS_BUILD_VER)"; \ | |
216 echo "JRE_RELEASE_VER = $(JRE_RELEASE_VERSION)"; \ | |
217 echo "SA_BUILD_VERSION = $(HS_BUILD_VER)"; \ | |
218 echo "HOTSPOT_BUILD_USER = $(HOTSPOT_BUILD_USER)"; \ | |
219 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
|
220 echo "OPENJDK = $(OPENJDK)"; \ |
8879
bab5cbf74b5f
8011198: LP64 setting is not preserved on Solaris after 8006965
kvn
parents:
8780
diff
changeset
|
221 echo "$(LP64_SETTING/$(DATA_MODE))"; \ |
0 | 222 echo; \ |
1972 | 223 echo "# Used for platform dispatching"; \ |
224 echo "TARGET_DEFINES = -DTARGET_OS_FAMILY_\$$(Platform_os_family)"; \ | |
225 echo "TARGET_DEFINES += -DTARGET_ARCH_\$$(Platform_arch)"; \ | |
226 echo "TARGET_DEFINES += -DTARGET_ARCH_MODEL_\$$(Platform_arch_model)"; \ | |
227 echo "TARGET_DEFINES += -DTARGET_OS_ARCH_\$$(Platform_os_arch)"; \ | |
228 echo "TARGET_DEFINES += -DTARGET_OS_ARCH_MODEL_\$$(Platform_os_arch_model)"; \ | |
229 echo "TARGET_DEFINES += -DTARGET_COMPILER_\$$(Platform_compiler)"; \ | |
230 echo "CFLAGS += \$$(TARGET_DEFINES)"; \ | |
231 echo; \ | |
232 echo "Src_Dirs_V = \\"; \ | |
0 | 233 sed 's/$$/ \\/;s|$(GAMMADIR)|$$(GAMMADIR)|' ../shared_dirs.lst; \ |
2199
d8a72fbc4be7
7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents:
2192
diff
changeset
|
234 echo "$(call gamma-path,altsrc,cpu/$(SRCARCH)/vm) \\"; \ |
d8a72fbc4be7
7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents:
2192
diff
changeset
|
235 echo "$(call gamma-path,commonsrc,cpu/$(SRCARCH)/vm) \\"; \ |
d8a72fbc4be7
7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents:
2192
diff
changeset
|
236 echo "$(call gamma-path,altsrc,os_cpu/$(OS_FAMILY)_$(SRCARCH)/vm) \\"; \ |
d8a72fbc4be7
7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents:
2192
diff
changeset
|
237 echo "$(call gamma-path,commonsrc,os_cpu/$(OS_FAMILY)_$(SRCARCH)/vm) \\"; \ |
d8a72fbc4be7
7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents:
2192
diff
changeset
|
238 echo "$(call gamma-path,altsrc,os/$(OS_FAMILY)/vm) \\"; \ |
d8a72fbc4be7
7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents:
2192
diff
changeset
|
239 echo "$(call gamma-path,commonsrc,os/$(OS_FAMILY)/vm) \\"; \ |
d8a72fbc4be7
7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents:
2192
diff
changeset
|
240 echo "$(call gamma-path,altsrc,os/posix/vm) \\"; \ |
d8a72fbc4be7
7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents:
2192
diff
changeset
|
241 echo "$(call gamma-path,commonsrc,os/posix/vm)"; \ |
1972 | 242 echo; \ |
243 echo "Src_Dirs_I = \\"; \ | |
2199
d8a72fbc4be7
7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents:
2192
diff
changeset
|
244 echo "$(call gamma-path,altsrc,share/vm/prims) \\"; \ |
d8a72fbc4be7
7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents:
2192
diff
changeset
|
245 echo "$(call gamma-path,commonsrc,share/vm/prims) \\"; \ |
d8a72fbc4be7
7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents:
2192
diff
changeset
|
246 echo "$(call gamma-path,altsrc,share/vm) \\"; \ |
d8a72fbc4be7
7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents:
2192
diff
changeset
|
247 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
|
248 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
|
249 echo "$(call gamma-path,commonsrc,share/vm/precompiled) \\"; \ |
2199
d8a72fbc4be7
7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents:
2192
diff
changeset
|
250 echo "$(call gamma-path,altsrc,cpu/$(SRCARCH)/vm) \\"; \ |
d8a72fbc4be7
7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents:
2192
diff
changeset
|
251 echo "$(call gamma-path,commonsrc,cpu/$(SRCARCH)/vm) \\"; \ |
d8a72fbc4be7
7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents:
2192
diff
changeset
|
252 echo "$(call gamma-path,altsrc,os_cpu/$(OS_FAMILY)_$(SRCARCH)/vm) \\"; \ |
d8a72fbc4be7
7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents:
2192
diff
changeset
|
253 echo "$(call gamma-path,commonsrc,os_cpu/$(OS_FAMILY)_$(SRCARCH)/vm) \\"; \ |
d8a72fbc4be7
7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents:
2192
diff
changeset
|
254 echo "$(call gamma-path,altsrc,os/$(OS_FAMILY)/vm) \\"; \ |
d8a72fbc4be7
7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents:
2192
diff
changeset
|
255 echo "$(call gamma-path,commonsrc,os/$(OS_FAMILY)/vm) \\"; \ |
d8a72fbc4be7
7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents:
2192
diff
changeset
|
256 echo "$(call gamma-path,altsrc,os/posix/vm) \\"; \ |
d8a72fbc4be7
7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents:
2192
diff
changeset
|
257 echo "$(call gamma-path,commonsrc,os/posix/vm)"; \ |
0 | 258 [ -n "$(CFLAGS_BROWSE)" ] && \ |
259 echo && echo "CFLAGS_BROWSE = $(CFLAGS_BROWSE)"; \ | |
6020
d652a62d6e03
7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents:
4846
diff
changeset
|
260 [ -n "$(ENABLE_FULL_DEBUG_SYMBOLS)" ] && \ |
d652a62d6e03
7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents:
4846
diff
changeset
|
261 echo && echo "ENABLE_FULL_DEBUG_SYMBOLS = $(ENABLE_FULL_DEBUG_SYMBOLS)"; \ |
3954 | 262 [ -n "$(OBJCOPY)" ] && \ |
263 echo && echo "OBJCOPY = $(OBJCOPY)"; \ | |
264 [ -n "$(STRIP_POLICY)" ] && \ | |
265 echo && echo "STRIP_POLICY = $(STRIP_POLICY)"; \ | |
6020
d652a62d6e03
7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents:
4846
diff
changeset
|
266 [ -n "$(ZIP_DEBUGINFO_FILES)" ] && \ |
d652a62d6e03
7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents:
4846
diff
changeset
|
267 echo && echo "ZIP_DEBUGINFO_FILES = $(ZIP_DEBUGINFO_FILES)"; \ |
d652a62d6e03
7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents:
4846
diff
changeset
|
268 [ -n "$(ZIPEXE)" ] && \ |
d652a62d6e03
7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents:
4846
diff
changeset
|
269 echo && echo "ZIPEXE = $(ZIPEXE)"; \ |
0 | 270 [ -n "$(HOTSPOT_EXTRA_SYSDEFS)" ] && \ |
271 echo && \ | |
272 echo "HOTSPOT_EXTRA_SYSDEFS\$$(HOTSPOT_EXTRA_SYSDEFS) = $(HOTSPOT_EXTRA_SYSDEFS)" && \ | |
273 echo "SYSDEFS += \$$(HOTSPOT_EXTRA_SYSDEFS)"; \ | |
10405 | 274 [ -n "$(INCLUDE_TRACE)" ] && \ |
275 echo && echo "INCLUDE_TRACE = $(INCLUDE_TRACE)"; \ | |
0 | 276 echo; \ |
5897
7292cff45988
7141244: build-infra merge: Include $(SPEC) in makefiles and make variables overridable
erikj
parents:
4846
diff
changeset
|
277 [ -n "$(SPEC)" ] && \ |
7292cff45988
7141244: build-infra merge: Include $(SPEC) in makefiles and make variables overridable
erikj
parents:
4846
diff
changeset
|
278 echo "include $(SPEC)"; \ |
91
a294fd0c4b38
6583644: Move all managed/SCCS files out of 'build' into 'make' directory
kamg
parents:
50
diff
changeset
|
279 echo "include \$$(GAMMADIR)/make/$(OS_FAMILY)/makefiles/$(VARIANT).make"; \ |
6854
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
6022
diff
changeset
|
280 echo "include \$$(GAMMADIR)/make/excludeSrc.make"; \ |
91
a294fd0c4b38
6583644: Move all managed/SCCS files out of 'build' into 'make' directory
kamg
parents:
50
diff
changeset
|
281 echo "include \$$(GAMMADIR)/make/$(OS_FAMILY)/makefiles/$(COMPILER).make"; \ |
0 | 282 ) > $@ |
283 | |
284 flags_vm.make: $(BUILDTREE_MAKE) ../shared_dirs.lst | |
285 @echo Creating $@ ... | |
286 $(QUIETLY) ( \ | |
287 $(BUILDTREE_COMMENT); \ | |
288 echo; \ | |
91
a294fd0c4b38
6583644: Move all managed/SCCS files out of 'build' into 'make' directory
kamg
parents:
50
diff
changeset
|
289 echo "include \$$(GAMMADIR)/make/$(OS_FAMILY)/makefiles/$(TARGET).make"; \ |
0 | 290 ) > $@ |
291 | |
292 ../shared_dirs.lst: $(BUILDTREE_MAKE) $(GAMMADIR)/src/share/vm | |
293 @echo Creating directory list $@ | |
2199
d8a72fbc4be7
7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents:
2192
diff
changeset
|
294 $(QUIETLY) if [ -d $(HS_ALT_SRC)/share/vm ]; then \ |
d8a72fbc4be7
7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents:
2192
diff
changeset
|
295 find $(HS_ALT_SRC)/share/vm/* -prune \ |
d8a72fbc4be7
7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents:
2192
diff
changeset
|
296 -type d \! \( $(TOPLEVEL_EXCLUDE_DIRS) \) -exec find {} \ |
d8a72fbc4be7
7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents:
2192
diff
changeset
|
297 \( $(ALWAYS_EXCLUDE_DIRS) \) -prune -o -type d -print \; > $@; \ |
d8a72fbc4be7
7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents:
2192
diff
changeset
|
298 fi; |
d8a72fbc4be7
7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents:
2192
diff
changeset
|
299 $(QUIETLY) find $(HS_COMMON_SRC)/share/vm/* -prune \ |
0 | 300 -type d \! \( $(TOPLEVEL_EXCLUDE_DIRS) \) -exec find {} \ |
2199
d8a72fbc4be7
7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents:
2192
diff
changeset
|
301 \( $(ALWAYS_EXCLUDE_DIRS) \) -prune -o -type d -print \; >> $@ |
0 | 302 |
303 Makefile: $(BUILDTREE_MAKE) | |
304 @echo Creating $@ ... | |
305 $(QUIETLY) ( \ | |
306 $(BUILDTREE_COMMENT); \ | |
307 echo; \ | |
308 echo include flags.make; \ | |
309 echo; \ | |
91
a294fd0c4b38
6583644: Move all managed/SCCS files out of 'build' into 'make' directory
kamg
parents:
50
diff
changeset
|
310 echo "include \$$(GAMMADIR)/make/$(OS_FAMILY)/makefiles/top.make"; \ |
0 | 311 ) > $@ |
312 | |
313 vm.make: $(BUILDTREE_MAKE) | |
314 @echo Creating $@ ... | |
315 $(QUIETLY) ( \ | |
316 $(BUILDTREE_COMMENT); \ | |
317 echo; \ | |
318 echo include flags.make; \ | |
319 echo include flags_vm.make; \ | |
320 echo; \ | |
91
a294fd0c4b38
6583644: Move all managed/SCCS files out of 'build' into 'make' directory
kamg
parents:
50
diff
changeset
|
321 echo "include \$$(GAMMADIR)/make/$(OS_FAMILY)/makefiles/$(@F)"; \ |
0 | 322 ) > $@ |
323 | |
324 adlc.make: $(BUILDTREE_MAKE) | |
325 @echo Creating $@ ... | |
326 $(QUIETLY) ( \ | |
327 $(BUILDTREE_COMMENT); \ | |
328 echo; \ | |
329 echo include flags.make; \ | |
330 echo; \ | |
91
a294fd0c4b38
6583644: Move all managed/SCCS files out of 'build' into 'make' directory
kamg
parents:
50
diff
changeset
|
331 echo "include \$$(GAMMADIR)/make/$(OS_FAMILY)/makefiles/$(@F)"; \ |
0 | 332 ) > $@ |
333 | |
334 jvmti.make: $(BUILDTREE_MAKE) | |
335 @echo Creating $@ ... | |
336 $(QUIETLY) ( \ | |
337 $(BUILDTREE_COMMENT); \ | |
338 echo; \ | |
339 echo include flags.make; \ | |
340 echo; \ | |
91
a294fd0c4b38
6583644: Move all managed/SCCS files out of 'build' into 'make' directory
kamg
parents:
50
diff
changeset
|
341 echo "include \$$(GAMMADIR)/make/$(OS_FAMILY)/makefiles/$(@F)"; \ |
0 | 342 ) > $@ |
343 | |
10405 | 344 trace.make: $(BUILDTREE_MAKE) |
345 @echo Creating $@ ... | |
346 $(QUIETLY) ( \ | |
347 $(BUILDTREE_COMMENT); \ | |
348 echo; \ | |
349 echo include flags.make; \ | |
350 echo; \ | |
351 echo "include \$$(GAMMADIR)/make/$(OS_FAMILY)/makefiles/$(@F)"; \ | |
352 ) > $@ | |
353 | |
0 | 354 sa.make: $(BUILDTREE_MAKE) |
355 @echo Creating $@ ... | |
356 $(QUIETLY) ( \ | |
357 $(BUILDTREE_COMMENT); \ | |
358 echo; \ | |
359 echo include flags.make; \ | |
360 echo; \ | |
91
a294fd0c4b38
6583644: Move all managed/SCCS files out of 'build' into 'make' directory
kamg
parents:
50
diff
changeset
|
361 echo "include \$$(GAMMADIR)/make/$(OS_FAMILY)/makefiles/$(@F)"; \ |
0 | 362 ) > $@ |
363 | |
364 FORCE: | |
365 | |
366 .PHONY: all FORCE |