# @(#)GNUmakefile	1.3 98/05/10
#
# Makefile for building the generic version of medialib
#

BUILDDIR = ../../..
include $(BUILDDIR)/Platform.gmk
PACKAGE = sun.awt.medialib
LIBRARY = mlib_image
PRODUCT = sun
include $(BUILDDIR)/makefiles/Defs.gmk

#
# Files
#
include $(MINCLUDES)sun_image.cmk

#
# Rules
#
include $(BUILDDIR)/makefiles/Library.gmk

ifneq ($(CC_VERSION), gcc)
    _OPT = -fast -xO4 -xdepend -xrestrict
else
    _OPT = -O3
endif

CPPFLAGS += \
            -I$(PLATFORM_SRC)/native/$(PKGDIR)/medialib 

OTHER_LDLIBS = -lm -ldl

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