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