159N/A#
159N/A# Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved.
159N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
159N/A#
159N/A# This code is free software; you can redistribute it and/or modify it
159N/A# under the terms of the GNU General Public License version 2 only, as
159N/A# published by the Free Software Foundation. Oracle designates this
159N/A# particular file as subject to the "Classpath" exception as provided
159N/A# by Oracle in the LICENSE file that accompanied this code.
159N/A#
159N/A# This code is distributed in the hope that it will be useful, but WITHOUT
159N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
159N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
159N/A# version 2 for more details (a copy is included in the LICENSE file that
159N/A# accompanied this code).
159N/A#
159N/A# You should have received a copy of the GNU General Public License version
159N/A# 2 along with this work; if not, write to the Free Software Foundation,
159N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
159N/A#
1440N/A# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
159N/A# or visit www.oracle.com if you need additional information or have any
159N/A# questions.
159N/A#
159N/A
159N/A#
618N/A# Makefile for building the VIS (solaris-only) version of medialib
159N/A#
159N/ABUILDDIR = ../../..
844N/APACKAGE = sun.awt.medialib
844N/ALIBRARY = mlib_image_v
159N/APRODUCT = sun
1258N/A
159N/A# Tell Defs.gmk we need VIS instructions
159N/AVIS_NEEDED=true
159N/A
159N/A# Select highest level of optimization for this library
159N/AOPTIMIZATION_LEVEL = HIGHEST
1440N/A
1440N/Ainclude $(BUILDDIR)/common/Defs.gmk
159N/A
159N/A#
159N/A# Use generic mapfile
1440N/A#
159N/AFILES_m = ../generic/mapfile-vers
206N/Ainclude $(BUILDDIR)/common/Mapfile-vers.gmk
1440N/A
159N/A#
159N/A# Files
159N/A#
159N/Ainclude FILES_c.gmk
159N/A
159N/A#
159N/A# Rules
181N/A#
159N/Ainclude $(BUILDDIR)/common/Library.gmk
159N/A
159N/Avpath %.s $(PLATFORM_SRC)/native/sun/awt/medialib
159N/Avpath %.c $(SHARE_SRC)/native/sun/awt/medialib
#
# set compile options for solaris 32- or 64-bit build
#
ASFLAGS += -P
CFLAGS_sparcv9 = -DMLIB_OS64BIT
INLINE = $(PLATFORM_SRC)/native/sun/awt/medialib/vis_$(ARCH_DATA_MODEL).il
CFLAGS += $(CFLAGS_$(ARCH)) $(INLINE) -I$(PLATFORM_SRC)/native/sun/awt/medialib -I$(SHARE_SRC)/native/sun/awt/medialib
OTHER_CFLAGS += -D__USE_J2D_NAMES -D__MEDIALIB_OLD_NAMES
OTHER_LDLIBS = $(LIBM) $(LIBDL)