JrtfsJar.gmk revision 1756:4999895b3a44
1190207Srpaulo#
2190207Srpaulo# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
3146773Ssam# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4146773Ssam#
5146773Ssam# This code is free software; you can redistribute it and/or modify it
6146773Ssam# under the terms of the GNU General Public License version 2 only, as
7146773Ssam# published by the Free Software Foundation.  Oracle designates this
8146773Ssam# particular file as subject to the "Classpath" exception as provided
9146773Ssam# by Oracle in the LICENSE file that accompanied this code.
10146773Ssam#
11146773Ssam# This code is distributed in the hope that it will be useful, but WITHOUT
12146773Ssam# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13146773Ssam# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
14146773Ssam# version 2 for more details (a copy is included in the LICENSE file that
15146773Ssam# accompanied this code).
16146773Ssam#
17146773Ssam# You should have received a copy of the GNU General Public License version
18146773Ssam# 2 along with this work; if not, write to the Free Software Foundation,
19146773Ssam# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20190207Srpaulo#
21190207Srpaulo# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22190207Srpaulo# or visit www.oracle.com if you need additional information or have any
23146773Ssam# questions.
24146773Ssam#
25146773Ssam
26146773Ssamdefault: all
27146773Ssam
28146773Ssaminclude $(SPEC)
29146773Ssaminclude MakeBase.gmk
30146773Ssaminclude JavaCompilation.gmk
31146773Ssaminclude TextFileProcessing.gmk
32146773Ssam
33146773Ssam# This rule will be depended on due to the MANIFEST line
34146773Ssam$(eval $(call SetupTextFileProcessing, BUILD_JAVA_MANIFEST, \
35147899Ssam  SOURCE_FILES := $(JDK_TOPDIR)/make/data/mainmanifest/manifest.mf, \
36146773Ssam  OUTPUT_FILE := $(SUPPORT_OUTPUTDIR)/java-main-manifest.mf, \
37146773Ssam  REPLACEMENTS := \
38146773Ssam      @@VERSION_SPECIFICATION@@ => $(VERSION_SPECIFICATION) ; \
39146773Ssam      @@VERSION_SHORT@@ => $(VERSION_SHORT) ; \
40147899Ssam      @@COMPANY_NAME@@ => $(COMPANY_NAME) , \
41147899Ssam))
42146773Ssam
43146773Ssam$(eval $(call SetupArchive,JRTFS_JAR, , \
44146773Ssam    SRCS := $(BUILDTOOLS_OUTPUTDIR)/interim_jimage_classes, \
45146773Ssam    JAR := $(SUPPORT_OUTPUTDIR)/jrt-fs.jar, \
46146773Ssam    MANIFEST := $(SUPPORT_OUTPUTDIR)/java-main-manifest.mf))
47190207Srpaulo
48190207Srpauloall: $(JRTFS_JAR)
49162017Ssam