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