1 #
2 # Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved.
3 # Copyright 2012, 2013 SAP AG. All rights reserved.
4 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 #
6 # This code is free software; you can redistribute it and/or modify it
7 # under the terms of the GNU General Public License version 2 only, as
8 # published by the Free Software Foundation.
9 #
10 # This code is distributed in the hope that it will be useful, but WITHOUT
11 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
13 # version 2 for more details (a copy is included in the LICENSE file that
14 # accompanied this code).
15 #
16 # You should have received a copy of the GNU General Public License version
17 # 2 along with this work; if not, write to the Free Software Foundation,
18 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
19 #
20 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
21 # or visit www.oracle.com if you need additional information or have any
22 # questions.
193 SUBDIR_DOCS = $(OSNAME)_$(BUILDARCH)_docs
194 endif
195 SUBDIRS_C1 = $(addprefix $(OSNAME)_$(BUILDARCH)_compiler1/,$(TARGETS))
196 SUBDIRS_C2 = $(addprefix $(OSNAME)_$(BUILDARCH)_compiler2/,$(TARGETS))
197 SUBDIRS_TIERED = $(addprefix $(OSNAME)_$(BUILDARCH)_tiered/,$(TARGETS))
198 SUBDIRS_CORE = $(addprefix $(OSNAME)_$(BUILDARCH)_core/,$(TARGETS))
199 SUBDIRS_ZERO = $(addprefix $(OSNAME)_$(VARIANTARCH)_zero/,$(TARGETS))
200 SUBDIRS_SHARK = $(addprefix $(OSNAME)_$(VARIANTARCH)_shark/,$(TARGETS))
201 SUBDIRS_MINIMAL1 = $(addprefix $(OSNAME)_$(BUILDARCH)_minimal1/,$(TARGETS))
202
203 TARGETS_C2 = $(TARGETS)
204 TARGETS_C1 = $(addsuffix 1,$(TARGETS))
205 TARGETS_TIERED = $(addsuffix tiered,$(TARGETS))
206 TARGETS_CORE = $(addsuffix core,$(TARGETS))
207 TARGETS_ZERO = $(addsuffix zero,$(TARGETS))
208 TARGETS_SHARK = $(addsuffix shark,$(TARGETS))
209 TARGETS_MINIMAL1 = $(addsuffix minimal1,$(TARGETS))
210
211 BUILDTREE_MAKE = $(GAMMADIR)/make/$(OSNAME)/makefiles/buildtree.make
212 BUILDTREE_VARS = GAMMADIR=$(GAMMADIR) OS_FAMILY=$(OSNAME) SRCARCH=$(SRCARCH) BUILDARCH=$(BUILDARCH) LIBARCH=$(LIBARCH)
213 BUILDTREE_VARS += HOTSPOT_RELEASE_VERSION=$(HOTSPOT_RELEASE_VERSION) HOTSPOT_BUILD_VERSION=$(HOTSPOT_BUILD_VERSION) JRE_RELEASE_VERSION=$(JRE_RELEASE_VERSION)
214 BUILDTREE_VARS += ENABLE_FULL_DEBUG_SYMBOLS=$(ENABLE_FULL_DEBUG_SYMBOLS) OBJCOPY=$(OBJCOPY) STRIP_POLICY=$(STRIP_POLICY) ZIP_DEBUGINFO_FILES=$(ZIP_DEBUGINFO_FILES) ZIPEXE=$(ZIPEXE)
215
216 BUILDTREE = $(MAKE) -f $(BUILDTREE_MAKE) $(BUILDTREE_VARS)
217
218 #-------------------------------------------------------------------------------
219
220 # Could make everything by default, but that would take a while.
221 all:
222 @echo "Try '$(MAKE) <target> ...' where <target> is one or more of"
223 @echo " $(TARGETS_C2)"
224 @echo " $(TARGETS_C1)"
225 @echo " $(TARGETS_CORE)"
226 @echo " $(TARGETS_ZERO)"
227 @echo " $(TARGETS_SHARK)"
228 @echo " $(TARGETS_MINIMAL1)"
229
230 checks: check_os_version check_j2se_version
231
232 # We do not want people accidentally building on old systems (e.g. Linux 2.2.x,
233 # Solaris 2.5.1, 2.6).
|
1 #
2 # Copyright (c) 1999, 2015, Oracle and/or its affiliates. All rights reserved.
3 # Copyright 2012, 2013 SAP AG. All rights reserved.
4 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 #
6 # This code is free software; you can redistribute it and/or modify it
7 # under the terms of the GNU General Public License version 2 only, as
8 # published by the Free Software Foundation.
9 #
10 # This code is distributed in the hope that it will be useful, but WITHOUT
11 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
13 # version 2 for more details (a copy is included in the LICENSE file that
14 # accompanied this code).
15 #
16 # You should have received a copy of the GNU General Public License version
17 # 2 along with this work; if not, write to the Free Software Foundation,
18 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
19 #
20 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
21 # or visit www.oracle.com if you need additional information or have any
22 # questions.
193 SUBDIR_DOCS = $(OSNAME)_$(BUILDARCH)_docs
194 endif
195 SUBDIRS_C1 = $(addprefix $(OSNAME)_$(BUILDARCH)_compiler1/,$(TARGETS))
196 SUBDIRS_C2 = $(addprefix $(OSNAME)_$(BUILDARCH)_compiler2/,$(TARGETS))
197 SUBDIRS_TIERED = $(addprefix $(OSNAME)_$(BUILDARCH)_tiered/,$(TARGETS))
198 SUBDIRS_CORE = $(addprefix $(OSNAME)_$(BUILDARCH)_core/,$(TARGETS))
199 SUBDIRS_ZERO = $(addprefix $(OSNAME)_$(VARIANTARCH)_zero/,$(TARGETS))
200 SUBDIRS_SHARK = $(addprefix $(OSNAME)_$(VARIANTARCH)_shark/,$(TARGETS))
201 SUBDIRS_MINIMAL1 = $(addprefix $(OSNAME)_$(BUILDARCH)_minimal1/,$(TARGETS))
202
203 TARGETS_C2 = $(TARGETS)
204 TARGETS_C1 = $(addsuffix 1,$(TARGETS))
205 TARGETS_TIERED = $(addsuffix tiered,$(TARGETS))
206 TARGETS_CORE = $(addsuffix core,$(TARGETS))
207 TARGETS_ZERO = $(addsuffix zero,$(TARGETS))
208 TARGETS_SHARK = $(addsuffix shark,$(TARGETS))
209 TARGETS_MINIMAL1 = $(addsuffix minimal1,$(TARGETS))
210
211 BUILDTREE_MAKE = $(GAMMADIR)/make/$(OSNAME)/makefiles/buildtree.make
212 BUILDTREE_VARS = GAMMADIR=$(GAMMADIR) OS_FAMILY=$(OSNAME) SRCARCH=$(SRCARCH) BUILDARCH=$(BUILDARCH) LIBARCH=$(LIBARCH)
213 BUILDTREE_VARS += HOTSPOT_VERSION_STRING=$(HOTSPOT_VERSION_STRING) VERSION_STRING=$(VERSION_STRING)
214 BUILDTREE_VARS += ENABLE_FULL_DEBUG_SYMBOLS=$(ENABLE_FULL_DEBUG_SYMBOLS) OBJCOPY=$(OBJCOPY) STRIP_POLICY=$(STRIP_POLICY) ZIP_DEBUGINFO_FILES=$(ZIP_DEBUGINFO_FILES) ZIPEXE=$(ZIPEXE)
215
216 BUILDTREE = $(MAKE) -f $(BUILDTREE_MAKE) $(BUILDTREE_VARS)
217
218 #-------------------------------------------------------------------------------
219
220 # Could make everything by default, but that would take a while.
221 all:
222 @echo "Try '$(MAKE) <target> ...' where <target> is one or more of"
223 @echo " $(TARGETS_C2)"
224 @echo " $(TARGETS_C1)"
225 @echo " $(TARGETS_CORE)"
226 @echo " $(TARGETS_ZERO)"
227 @echo " $(TARGETS_SHARK)"
228 @echo " $(TARGETS_MINIMAL1)"
229
230 checks: check_os_version check_j2se_version
231
232 # We do not want people accidentally building on old systems (e.g. Linux 2.2.x,
233 # Solaris 2.5.1, 2.6).
|