6033N/A#
6033N/A# Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved.
6033N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6033N/A#
6033N/A# This code is free software; you can redistribute it and/or modify it
6033N/A# under the terms of the GNU General Public License version 2 only, as
6033N/A# published by the Free Software Foundation. Oracle designates this
6033N/A# particular file as subject to the "Classpath" exception as provided
6033N/A# by Oracle in the LICENSE file that accompanied this code.
6033N/A#
6033N/A# This code is distributed in the hope that it will be useful, but WITHOUT
6033N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
6033N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
6033N/A# version 2 for more details (a copy is included in the LICENSE file that
6033N/A# accompanied this code).
6033N/A#
6033N/A# You should have received a copy of the GNU General Public License version
6033N/A# 2 along with this work; if not, write to the Free Software Foundation,
6033N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
6033N/A#
6033N/A# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
6033N/A# or visit www.oracle.com if you need additional information or have any
6033N/A# questions.
6033N/A#
6033N/A
6033N/A#
6033N/A# Makefile to generate sun/misc/Version.java
6033N/A#
6033N/A
6033N/ABUILDDIR = ../..
6033N/Ainclude $(BUILDDIR)/common/Defs.gmk
6033N/A
6033N/Aall build: $(GENSRCDIR)/sun/misc/Version.java
6033N/A
6033N/A$(GENSRCDIR)/sun/misc/Version.java: \
6033N/A $(SHARE_SRC)/classes/sun/misc/Version.java.template
6033N/A $(prep-target)
6033N/A $(RM) $@.temp
6033N/A $(SED) -e 's/@@launcher_name@@/$(LAUNCHER_NAME)/g' \
6033N/A -e 's/@@java_version@@/$(RELEASE)/g' \
6033N/A -e 's/@@java_runtime_version@@/$(FULL_VERSION)/g' \
6033N/A -e 's/@@java_runtime_name@@/$(RUNTIME_NAME)/g' \
6033N/A $< > $@.temp
6033N/A @$(MV) $@.temp $@
6033N/A
6033N/Aclean clobber:
6033N/A $(RM) $(GENSRCDIR)/sun/misc/Version.java
6033N/A