# @(#)Makefile	1.12 98/06/09
#
# Makefile for building jpeg dll
#

BUILDDIR = ..\..
LOCATION = sun\jpeg
LIBRARY	= jpeg
!include $(BUILDDIR)\makefiles\defs.nmk

#
# Files to compile.
#
PKG = sun.awt.image
# fake pkg2 so we get vpaths for c files.
PKG2 = sun.awt.image.jpeg
!include $(MINCLUDES)\sun_jpeg.jmk
!include $(MINCLUDES)\sun_jpeg.cmk

#
# Stuff to feed into javah.
#
EXPORTED_CLASSES = \
                   sun.awt.image.JPEGImageDecoder \
                   java.io.InputStream \
                   sun.awt.image.codec.JPEGImageDecoderImpl \
                   sun.awt.image.codec.JPEGImageEncoderImpl

#
# Tweak flags.
#
!if "$(VARIANT)" == "DBG"
CPPDEBUG = -D_DEBUG
!endif

#
# Has been converted to the JNI: generate JNI-style header files
#
JAVAHFLAGS = $(JAVAHFLAGS) -jni

EXTRA_CFLAGS = $(EXTRA_CFLAGS) -DNIFTY

#
# Rules.
#
!include $(BUILDDIR)\makefiles\library.nmk
