make/gensrc/Gensrc-jdk.scripting.nashorn.gmk
author gromero
Tue, 04 Sep 2018 11:46:23 -0400
changeset 51629 78c7f0c7827d
parent 50313 7c40e39e38a1
permissions -rw-r--r--
8210320: PPC64: Fix uninitialized variable in C1 LIR assembler code Reviewed-by: mbaesken, shade, mdoerr
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
50313
7c40e39e38a1 8203945: Cleanup nashorn build
erikj
parents:
diff changeset
     1
#
7c40e39e38a1 8203945: Cleanup nashorn build
erikj
parents:
diff changeset
     2
# Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
7c40e39e38a1 8203945: Cleanup nashorn build
erikj
parents:
diff changeset
     3
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
7c40e39e38a1 8203945: Cleanup nashorn build
erikj
parents:
diff changeset
     4
#
7c40e39e38a1 8203945: Cleanup nashorn build
erikj
parents:
diff changeset
     5
# This code is free software; you can redistribute it and/or modify it
7c40e39e38a1 8203945: Cleanup nashorn build
erikj
parents:
diff changeset
     6
# under the terms of the GNU General Public License version 2 only, as
7c40e39e38a1 8203945: Cleanup nashorn build
erikj
parents:
diff changeset
     7
# published by the Free Software Foundation.  Oracle designates this
7c40e39e38a1 8203945: Cleanup nashorn build
erikj
parents:
diff changeset
     8
# particular file as subject to the "Classpath" exception as provided
7c40e39e38a1 8203945: Cleanup nashorn build
erikj
parents:
diff changeset
     9
# by Oracle in the LICENSE file that accompanied this code.
7c40e39e38a1 8203945: Cleanup nashorn build
erikj
parents:
diff changeset
    10
#
7c40e39e38a1 8203945: Cleanup nashorn build
erikj
parents:
diff changeset
    11
# This code is distributed in the hope that it will be useful, but WITHOUT
7c40e39e38a1 8203945: Cleanup nashorn build
erikj
parents:
diff changeset
    12
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
7c40e39e38a1 8203945: Cleanup nashorn build
erikj
parents:
diff changeset
    13
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
7c40e39e38a1 8203945: Cleanup nashorn build
erikj
parents:
diff changeset
    14
# version 2 for more details (a copy is included in the LICENSE file that
7c40e39e38a1 8203945: Cleanup nashorn build
erikj
parents:
diff changeset
    15
# accompanied this code).
7c40e39e38a1 8203945: Cleanup nashorn build
erikj
parents:
diff changeset
    16
#
7c40e39e38a1 8203945: Cleanup nashorn build
erikj
parents:
diff changeset
    17
# You should have received a copy of the GNU General Public License version
7c40e39e38a1 8203945: Cleanup nashorn build
erikj
parents:
diff changeset
    18
# 2 along with this work; if not, write to the Free Software Foundation,
7c40e39e38a1 8203945: Cleanup nashorn build
erikj
parents:
diff changeset
    19
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
7c40e39e38a1 8203945: Cleanup nashorn build
erikj
parents:
diff changeset
    20
#
7c40e39e38a1 8203945: Cleanup nashorn build
erikj
parents:
diff changeset
    21
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
7c40e39e38a1 8203945: Cleanup nashorn build
erikj
parents:
diff changeset
    22
# or visit www.oracle.com if you need additional information or have any
7c40e39e38a1 8203945: Cleanup nashorn build
erikj
parents:
diff changeset
    23
# questions.
7c40e39e38a1 8203945: Cleanup nashorn build
erikj
parents:
diff changeset
    24
#
7c40e39e38a1 8203945: Cleanup nashorn build
erikj
parents:
diff changeset
    25
7c40e39e38a1 8203945: Cleanup nashorn build
erikj
parents:
diff changeset
    26
default: all
7c40e39e38a1 8203945: Cleanup nashorn build
erikj
parents:
diff changeset
    27
7c40e39e38a1 8203945: Cleanup nashorn build
erikj
parents:
diff changeset
    28
include $(SPEC)
7c40e39e38a1 8203945: Cleanup nashorn build
erikj
parents:
diff changeset
    29
include MakeBase.gmk
7c40e39e38a1 8203945: Cleanup nashorn build
erikj
parents:
diff changeset
    30
include TextFileProcessing.gmk
7c40e39e38a1 8203945: Cleanup nashorn build
erikj
parents:
diff changeset
    31
7c40e39e38a1 8203945: Cleanup nashorn build
erikj
parents:
diff changeset
    32
################################################################################
7c40e39e38a1 8203945: Cleanup nashorn build
erikj
parents:
diff changeset
    33
7c40e39e38a1 8203945: Cleanup nashorn build
erikj
parents:
diff changeset
    34
# Version file needs to be processed with version numbers
7c40e39e38a1 8203945: Cleanup nashorn build
erikj
parents:
diff changeset
    35
VERSION_FILE := jdk/nashorn/internal/runtime/resources/version.properties
7c40e39e38a1 8203945: Cleanup nashorn build
erikj
parents:
diff changeset
    36
7c40e39e38a1 8203945: Cleanup nashorn build
erikj
parents:
diff changeset
    37
$(eval $(call SetupTextFileProcessing, BUILD_VERSION_FILE, \
7c40e39e38a1 8203945: Cleanup nashorn build
erikj
parents:
diff changeset
    38
    SOURCE_FILES := $(TOPDIR)/src/$(MODULE)/share/classes/$(VERSION_FILE).template, \
7c40e39e38a1 8203945: Cleanup nashorn build
erikj
parents:
diff changeset
    39
    OUTPUT_FILE := $(SUPPORT_OUTPUTDIR)/gensrc/$(MODULE)/$(VERSION_FILE), \
7c40e39e38a1 8203945: Cleanup nashorn build
erikj
parents:
diff changeset
    40
    REPLACEMENTS := \
7c40e39e38a1 8203945: Cleanup nashorn build
erikj
parents:
diff changeset
    41
        @@VERSION_STRING@@ => $(VERSION_STRING) ; \
7c40e39e38a1 8203945: Cleanup nashorn build
erikj
parents:
diff changeset
    42
        @@VERSION_SHORT@@ => $(VERSION_SHORT) , \
7c40e39e38a1 8203945: Cleanup nashorn build
erikj
parents:
diff changeset
    43
))
7c40e39e38a1 8203945: Cleanup nashorn build
erikj
parents:
diff changeset
    44
7c40e39e38a1 8203945: Cleanup nashorn build
erikj
parents:
diff changeset
    45
TARGETS += $(NASGEN_RUN_FILE) $(BUILD_VERSION_FILE)
7c40e39e38a1 8203945: Cleanup nashorn build
erikj
parents:
diff changeset
    46
7c40e39e38a1 8203945: Cleanup nashorn build
erikj
parents:
diff changeset
    47
################################################################################
7c40e39e38a1 8203945: Cleanup nashorn build
erikj
parents:
diff changeset
    48
7c40e39e38a1 8203945: Cleanup nashorn build
erikj
parents:
diff changeset
    49
all: $(TARGETS)
7c40e39e38a1 8203945: Cleanup nashorn build
erikj
parents:
diff changeset
    50
7c40e39e38a1 8203945: Cleanup nashorn build
erikj
parents:
diff changeset
    51
.PHONY: all default