make/HotspotWrapper.gmk

Mon, 14 Sep 2020 16:42:03 +0100

author
andrew
date
Mon, 14 Sep 2020 16:42:03 +0100
changeset 2554
7f60c2d9823e
parent 912
a667caba1e84
child 1133
50aaf272884f
permissions
-rw-r--r--

Added tag jdk8u272-b08 for changeset 34c6baf21464

ohair@478 1 #
ohair@478 2 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
ohair@478 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
ohair@478 4 #
ohair@478 5 # This code is free software; you can redistribute it and/or modify it
ohair@478 6 # under the terms of the GNU General Public License version 2 only, as
ohair@478 7 # published by the Free Software Foundation. Oracle designates this
ohair@478 8 # particular file as subject to the "Classpath" exception as provided
ohair@478 9 # by Oracle in the LICENSE file that accompanied this code.
ohair@478 10 #
ohair@478 11 # This code is distributed in the hope that it will be useful, but WITHOUT
ohair@478 12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
ohair@478 13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
ohair@478 14 # version 2 for more details (a copy is included in the LICENSE file that
ohair@478 15 # accompanied this code).
ohair@478 16 #
ohair@478 17 # You should have received a copy of the GNU General Public License version
ohair@478 18 # 2 along with this work; if not, write to the Free Software Foundation,
ohair@478 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
ohair@478 20 #
ohair@478 21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
ohair@478 22 # or visit www.oracle.com if you need additional information or have any
ohair@478 23 # questions.
ohair@478 24 #
ohair@478 25
ohair@478 26 # Include the legacy hotspot-spec.gmk (which in turns includes spec.gmk)
ohair@478 27 BASE_SPEC:=$(SPEC)
ohair@478 28 include $(dir $(SPEC))hotspot-spec.gmk
ohair@478 29 include MakeBase.gmk
ohair@478 30
ohair@478 31 # Inclusion of this pseudo-target will cause make to execute this file
ohair@478 32 # serially, regardless of -j. Recursively called makefiles will not be
ohair@478 33 # affected, however. This is required for correct dependency management.
ohair@478 34 .NOTPARALLEL:
ohair@478 35
ohair@478 36 default: all
ohair@478 37
ohair@478 38 # Get all files except .hg in the hotspot directory.
ihse@839 39 HOTSPOT_FILES := $(shell $(FIND) -L $(HOTSPOT_TOPDIR) -name ".hg" -prune -o -print)
ohair@478 40
ohair@494 41 # The old build creates hotspot output dir before calling hotspot and
ohair@494 42 # not doing it breaks builds on msys.
ohair@478 43 $(HOTSPOT_OUTPUTDIR)/_hotspot.timestamp: $(HOTSPOT_FILES)
ohair@494 44 @$(MKDIR) -p $(HOTSPOT_OUTPUTDIR)
ohair@478 45 @($(CD) $(HOTSPOT_TOPDIR)/make && $(MAKE) -j1 $(HOTSPOT_MAKE_ARGS) SPEC=$(HOTSPOT_SPEC) BASE_SPEC=$(BASE_SPEC))
ohair@478 46 $(TOUCH) $@
ohair@478 47
ohair@478 48 hotspot: $(HOTSPOT_OUTPUTDIR)/_hotspot.timestamp
ohair@478 49
ohair@478 50 all: hotspot
ohair@478 51
ohair@478 52 .PHONY: default all hotspot

mercurial