Makefile revision 4632
499b34cea04a46823d003d4c0520c8b03e8513cbBrian Wellington# Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved.
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
20bd7b4bbf2437ef2f9109edca168ab0ce8445b3David Lawrence# This code is free software; you can redistribute it and/or modify it
20bd7b4bbf2437ef2f9109edca168ab0ce8445b3David Lawrence# under the terms of the GNU General Public License version 2 only, as
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence# published by the Free Software Foundation. Oracle designates this
15a44745412679c30a6d022733925af70a38b715David Lawrence# particular file as subject to the "Classpath" exception as provided
15a44745412679c30a6d022733925af70a38b715David Lawrence# by Oracle in the LICENSE file that accompanied this code.
15a44745412679c30a6d022733925af70a38b715David Lawrence# This code is distributed in the hope that it will be useful, but WITHOUT
15a44745412679c30a6d022733925af70a38b715David Lawrence# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15a44745412679c30a6d022733925af70a38b715David Lawrence# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
15a44745412679c30a6d022733925af70a38b715David Lawrence# version 2 for more details (a copy is included in the LICENSE file that
15a44745412679c30a6d022733925af70a38b715David Lawrence# accompanied this code).
20bd7b4bbf2437ef2f9109edca168ab0ce8445b3David Lawrence# You should have received a copy of the GNU General Public License version
499b34cea04a46823d003d4c0520c8b03e8513cbBrian Wellington# 2 along with this work; if not, write to the Free Software Foundation,
20bd7b4bbf2437ef2f9109edca168ab0ce8445b3David Lawrence# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20bd7b4bbf2437ef2f9109edca168ab0ce8445b3David Lawrence# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20bd7b4bbf2437ef2f9109edca168ab0ce8445b3David Lawrence# or visit www.oracle.com if you need additional information or have any
20bd7b4bbf2437ef2f9109edca168ab0ce8445b3David Lawrence# Makefile for building the VIS (solaris-only) version of medialib
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid Lawrence# Tell Defs.gmk we need VIS instructions
20bd7b4bbf2437ef2f9109edca168ab0ce8445b3David Lawrence# Select highest level of optimization for this library
20bd7b4bbf2437ef2f9109edca168ab0ce8445b3David Lawrence# Use generic mapfile
20bd7b4bbf2437ef2f9109edca168ab0ce8445b3David Lawrencevpath %.s $(PLATFORM_SRC)/native/sun/awt/medialib
20bd7b4bbf2437ef2f9109edca168ab0ce8445b3David Lawrencevpath %.c $(SHARE_SRC)/native/sun/awt/medialib
30a4d5b0c23eb7a73d9635a98250560437a42d59David Lawrence# set compile options for solaris 32- or 64-bit build
30a4d5b0c23eb7a73d9635a98250560437a42d59David LawrenceINLINE = $(PLATFORM_SRC)/native/sun/awt/medialib/vis_$(ARCH_DATA_MODEL).il
30a4d5b0c23eb7a73d9635a98250560437a42d59David LawrenceCFLAGS += $(CFLAGS_$(ARCH)) $(INLINE) -I$(PLATFORM_SRC)/native/sun/awt/medialib -I$(SHARE_SRC)/native/sun/awt/medialib