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