make/gensrc/Gensrc-jdk.hotspot.agent.gmk
author dnsimon
Mon, 06 Nov 2017 09:44:42 +0100
changeset 47785 5692c538ecef
parent 47216 71c04702a3d5
child 50818 e46b9e514479
permissions -rw-r--r--
8190415: [JVMCI] JVMCIRuntime::adjust_comp_level must not swallow ThreadDeath Reviewed-by: never, thartmann
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
34289
2d1821a50263 8142336: Convert the SA agent build to modular build-infra makefiles
erikj
parents:
diff changeset
     1
#
2d1821a50263 8142336: Convert the SA agent build to modular build-infra makefiles
erikj
parents:
diff changeset
     2
# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
2d1821a50263 8142336: Convert the SA agent build to modular build-infra makefiles
erikj
parents:
diff changeset
     3
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
2d1821a50263 8142336: Convert the SA agent build to modular build-infra makefiles
erikj
parents:
diff changeset
     4
#
2d1821a50263 8142336: Convert the SA agent build to modular build-infra makefiles
erikj
parents:
diff changeset
     5
# This code is free software; you can redistribute it and/or modify it
2d1821a50263 8142336: Convert the SA agent build to modular build-infra makefiles
erikj
parents:
diff changeset
     6
# under the terms of the GNU General Public License version 2 only, as
2d1821a50263 8142336: Convert the SA agent build to modular build-infra makefiles
erikj
parents:
diff changeset
     7
# published by the Free Software Foundation.  Oracle designates this
2d1821a50263 8142336: Convert the SA agent build to modular build-infra makefiles
erikj
parents:
diff changeset
     8
# particular file as subject to the "Classpath" exception as provided
2d1821a50263 8142336: Convert the SA agent build to modular build-infra makefiles
erikj
parents:
diff changeset
     9
# by Oracle in the LICENSE file that accompanied this code.
2d1821a50263 8142336: Convert the SA agent build to modular build-infra makefiles
erikj
parents:
diff changeset
    10
#
2d1821a50263 8142336: Convert the SA agent build to modular build-infra makefiles
erikj
parents:
diff changeset
    11
# This code is distributed in the hope that it will be useful, but WITHOUT
2d1821a50263 8142336: Convert the SA agent build to modular build-infra makefiles
erikj
parents:
diff changeset
    12
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
2d1821a50263 8142336: Convert the SA agent build to modular build-infra makefiles
erikj
parents:
diff changeset
    13
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
2d1821a50263 8142336: Convert the SA agent build to modular build-infra makefiles
erikj
parents:
diff changeset
    14
# version 2 for more details (a copy is included in the LICENSE file that
2d1821a50263 8142336: Convert the SA agent build to modular build-infra makefiles
erikj
parents:
diff changeset
    15
# accompanied this code).
2d1821a50263 8142336: Convert the SA agent build to modular build-infra makefiles
erikj
parents:
diff changeset
    16
#
2d1821a50263 8142336: Convert the SA agent build to modular build-infra makefiles
erikj
parents:
diff changeset
    17
# You should have received a copy of the GNU General Public License version
2d1821a50263 8142336: Convert the SA agent build to modular build-infra makefiles
erikj
parents:
diff changeset
    18
# 2 along with this work; if not, write to the Free Software Foundation,
2d1821a50263 8142336: Convert the SA agent build to modular build-infra makefiles
erikj
parents:
diff changeset
    19
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
2d1821a50263 8142336: Convert the SA agent build to modular build-infra makefiles
erikj
parents:
diff changeset
    20
#
2d1821a50263 8142336: Convert the SA agent build to modular build-infra makefiles
erikj
parents:
diff changeset
    21
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
2d1821a50263 8142336: Convert the SA agent build to modular build-infra makefiles
erikj
parents:
diff changeset
    22
# or visit www.oracle.com if you need additional information or have any
2d1821a50263 8142336: Convert the SA agent build to modular build-infra makefiles
erikj
parents:
diff changeset
    23
# questions.
2d1821a50263 8142336: Convert the SA agent build to modular build-infra makefiles
erikj
parents:
diff changeset
    24
#
2d1821a50263 8142336: Convert the SA agent build to modular build-infra makefiles
erikj
parents:
diff changeset
    25
2d1821a50263 8142336: Convert the SA agent build to modular build-infra makefiles
erikj
parents:
diff changeset
    26
default: all
2d1821a50263 8142336: Convert the SA agent build to modular build-infra makefiles
erikj
parents:
diff changeset
    27
2d1821a50263 8142336: Convert the SA agent build to modular build-infra makefiles
erikj
parents:
diff changeset
    28
include $(SPEC)
2d1821a50263 8142336: Convert the SA agent build to modular build-infra makefiles
erikj
parents:
diff changeset
    29
include MakeBase.gmk
2d1821a50263 8142336: Convert the SA agent build to modular build-infra makefiles
erikj
parents:
diff changeset
    30
2d1821a50263 8142336: Convert the SA agent build to modular build-infra makefiles
erikj
parents:
diff changeset
    31
################################################################################
2d1821a50263 8142336: Convert the SA agent build to modular build-infra makefiles
erikj
parents:
diff changeset
    32
2d1821a50263 8142336: Convert the SA agent build to modular build-infra makefiles
erikj
parents:
diff changeset
    33
SA_PROPERTIES := $(SUPPORT_OUTPUTDIR)/gensrc/jdk.hotspot.agent/sa.properties
2d1821a50263 8142336: Convert the SA agent build to modular build-infra makefiles
erikj
parents:
diff changeset
    34
2d1821a50263 8142336: Convert the SA agent build to modular build-infra makefiles
erikj
parents:
diff changeset
    35
SA_BUILD_VERSION_PROP_NAME := "sun.jvm.hotspot.runtime.VM.saBuildVersion"
2d1821a50263 8142336: Convert the SA agent build to modular build-infra makefiles
erikj
parents:
diff changeset
    36
34319
lana
parents: 34289
diff changeset
    37
$(SA_PROPERTIES): $(call DependOnVariable, VERSION_STRING)
34289
2d1821a50263 8142336: Convert the SA agent build to modular build-infra makefiles
erikj
parents:
diff changeset
    38
	$(MKDIR) -p $(@D)
34319
lana
parents: 34289
diff changeset
    39
	$(ECHO) "$(SA_BUILD_VERSION_PROP_NAME)=$(VERSION_STRING)" > $@
34289
2d1821a50263 8142336: Convert the SA agent build to modular build-infra makefiles
erikj
parents:
diff changeset
    40
2d1821a50263 8142336: Convert the SA agent build to modular build-infra makefiles
erikj
parents:
diff changeset
    41
TARGETS += $(SA_PROPERTIES)
2d1821a50263 8142336: Convert the SA agent build to modular build-infra makefiles
erikj
parents:
diff changeset
    42
2d1821a50263 8142336: Convert the SA agent build to modular build-infra makefiles
erikj
parents:
diff changeset
    43
################################################################################
2d1821a50263 8142336: Convert the SA agent build to modular build-infra makefiles
erikj
parents:
diff changeset
    44
2d1821a50263 8142336: Convert the SA agent build to modular build-infra makefiles
erikj
parents:
diff changeset
    45
all: $(TARGETS)
2d1821a50263 8142336: Convert the SA agent build to modular build-infra makefiles
erikj
parents:
diff changeset
    46
2d1821a50263 8142336: Convert the SA agent build to modular build-infra makefiles
erikj
parents:
diff changeset
    47
.PHONY: all default