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