Makefile revision 3261
698N/A#
698N/A# Copyright (c) 1995, 2010, Oracle and/or its affiliates. All rights reserved.
698N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
698N/A#
698N/A# This code is free software; you can redistribute it and/or modify it
698N/A# under the terms of the GNU General Public License version 2 only, as
698N/A# published by the Free Software Foundation. Oracle designates this
698N/A# particular file as subject to the "Classpath" exception as provided
698N/A# by Oracle in the LICENSE file that accompanied this code.
698N/A#
698N/A# This code is distributed in the hope that it will be useful, but WITHOUT
698N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
698N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
698N/A# version 2 for more details (a copy is included in the LICENSE file that
698N/A# accompanied this code).
698N/A#
698N/A# You should have received a copy of the GNU General Public License version
698N/A# 2 along with this work; if not, write to the Free Software Foundation,
698N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
698N/A#
698N/A# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
698N/A# or visit www.oracle.com if you need additional information or have any
698N/A# questions.
698N/A#
698N/A
698N/ABUILDDIR = ../..
698N/AMODULE = java2d
698N/APACKAGE = sun.awt
698N/ALIBRARY = jpeg
698N/APRODUCT = sun
698N/A
698N/A# Use highest optimization level
698N/AOPTIMIZATION_LEVEL = HIGHEST
698N/A
698N/Ainclude $(BUILDDIR)/common/Defs.gmk
698N/A
698N/A#
698N/A# Files
698N/A#
698N/Ainclude FILES_c.gmk
698N/A
698N/AAUTO_FILES_JAVA_DIRS = sun/awt/image com/sun/imageio/plugins/jpeg
698N/A
698N/AFILES_export = \
698N/A sun/awt/image/JPEGImageDecoder.java \
698N/A com/sun/imageio/plugins/jpeg/JPEGImageReader.java \
698N/A com/sun/imageio/plugins/jpeg/JPEGImageWriter.java
698N/A
698N/A# OpenJDK doesn't use the non-standard jpeg classes which we hope to remove.
698N/Aifndef OPENJDK
698N/AFILES_m = mapfile-vers-closed
698N/AFILES_export += \
698N/A sun/awt/image/codec/JPEGImageDecoderImpl.java \
698N/A sun/awt/image/codec/JPEGImageEncoderImpl.java
698N/Avpath %.c $(CLOSED_SRC)/share/native/$(PKGDIR)/image/jpeg
698N/AOTHER_INCLUDES += -I$(CLOSED_SRC)/share/native/$(PKGDIR)/image/jpeg
698N/Aendif
698N/A
OTHER_INCLUDES += -I$(SHARE_SRC)/native/$(PKGDIR)/image/jpeg
# Rules
#
ifeq ($(PLATFORM), solaris)
ifneq ($(ARCH), amd64)
FILES_reorder += reorder-$(ARCH)
endif
endif
include $(BUILDDIR)/common/Mapfile-vers.gmk
include $(BUILDDIR)/common/Library.gmk
#
# Add to ambient vpath to get files in a subdirectory
#
vpath %.c $(SHARE_SRC)/native/$(PKGDIR)/image/jpeg
CLASSES.export += java.io.InputStream