0ad489b182ebb3789322345e22cf750f88ae167and#
0ad489b182ebb3789322345e22cf750f88ae167and# Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved.
0ad489b182ebb3789322345e22cf750f88ae167and# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
144c96f1a9d2f0c8bfccafea655dae120f7470d2colm#
0ad489b182ebb3789322345e22cf750f88ae167and# This code is free software; you can redistribute it and/or modify it
0ad489b182ebb3789322345e22cf750f88ae167and# under the terms of the GNU General Public License version 2 only, as
a2652f3451528565db1f85db6953fc30799d7eadcolm# published by the Free Software Foundation. Oracle designates this
d8d41b5a0fdd8e57ee29a860c405c25492d7edc7nd# particular file as subject to the "Classpath" exception as provided
0ad489b182ebb3789322345e22cf750f88ae167and# by Oracle in the LICENSE file that accompanied this code.
0ad489b182ebb3789322345e22cf750f88ae167and#
0ad489b182ebb3789322345e22cf750f88ae167and# This code is distributed in the hope that it will be useful, but WITHOUT
0ad489b182ebb3789322345e22cf750f88ae167and# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
0ad489b182ebb3789322345e22cf750f88ae167and# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
0ad489b182ebb3789322345e22cf750f88ae167and# version 2 for more details (a copy is included in the LICENSE file that
0ad489b182ebb3789322345e22cf750f88ae167and# accompanied this code).
0ad489b182ebb3789322345e22cf750f88ae167and#
0ad489b182ebb3789322345e22cf750f88ae167and# You should have received a copy of the GNU General Public License version
0ad489b182ebb3789322345e22cf750f88ae167and# 2 along with this work; if not, write to the Free Software Foundation,
0ad489b182ebb3789322345e22cf750f88ae167and# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
0ad489b182ebb3789322345e22cf750f88ae167and#
0ad489b182ebb3789322345e22cf750f88ae167and# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
0ad489b182ebb3789322345e22cf750f88ae167and# or visit www.oracle.com if you need additional information or have any
0ad489b182ebb3789322345e22cf750f88ae167and# questions.
0ad489b182ebb3789322345e22cf750f88ae167and#
0ad489b182ebb3789322345e22cf750f88ae167and
0ad489b182ebb3789322345e22cf750f88ae167and#
0ad489b182ebb3789322345e22cf750f88ae167and# Makefile for building the generic version of medialib
0ad489b182ebb3789322345e22cf750f88ae167and#
0ad489b182ebb3789322345e22cf750f88ae167and
0ad489b182ebb3789322345e22cf750f88ae167andBUILDDIR = ../../..
0ad489b182ebb3789322345e22cf750f88ae167andPACKAGE = sun.awt.medialib
0ad489b182ebb3789322345e22cf750f88ae167andLIBRARY = mlib_image
0ad489b182ebb3789322345e22cf750f88ae167andPRODUCT = sun
0ad489b182ebb3789322345e22cf750f88ae167and
0ad489b182ebb3789322345e22cf750f88ae167and# Use highest level of optimization on this library
0ad489b182ebb3789322345e22cf750f88ae167andOPTIMIZATION_LEVEL = HIGHEST
0ad489b182ebb3789322345e22cf750f88ae167and
0ad489b182ebb3789322345e22cf750f88ae167andinclude $(BUILDDIR)/common/Defs.gmk
0ad489b182ebb3789322345e22cf750f88ae167and
0ad489b182ebb3789322345e22cf750f88ae167and#
0ad489b182ebb3789322345e22cf750f88ae167and# Use mapfile
0ad489b182ebb3789322345e22cf750f88ae167and#
0ad489b182ebb3789322345e22cf750f88ae167andFILES_m = mapfile-vers
0ad489b182ebb3789322345e22cf750f88ae167andinclude $(BUILDDIR)/common/Mapfile-vers.gmk
0ad489b182ebb3789322345e22cf750f88ae167and
0ad489b182ebb3789322345e22cf750f88ae167and#
0ad489b182ebb3789322345e22cf750f88ae167and# Files
0ad489b182ebb3789322345e22cf750f88ae167and#
0ad489b182ebb3789322345e22cf750f88ae167andinclude FILES_c.gmk
0ad489b182ebb3789322345e22cf750f88ae167and
0ad489b182ebb3789322345e22cf750f88ae167and#
0ad489b182ebb3789322345e22cf750f88ae167and# Rules
0ad489b182ebb3789322345e22cf750f88ae167and#
0ad489b182ebb3789322345e22cf750f88ae167andinclude $(BUILDDIR)/common/Library.gmk
0ad489b182ebb3789322345e22cf750f88ae167and
0ad489b182ebb3789322345e22cf750f88ae167and#
0ad489b182ebb3789322345e22cf750f88ae167and# set compile options for solaris 32- or 64-bit build
0ad489b182ebb3789322345e22cf750f88ae167and#
0ad489b182ebb3789322345e22cf750f88ae167andifeq ($(ARCH_DATA_MODEL), 64)
0ad489b182ebb3789322345e22cf750f88ae167and CFLAGS += -DMLIB_OS64BIT
0ad489b182ebb3789322345e22cf750f88ae167andendif # ARCH_DATA_MODEL
0ad489b182ebb3789322345e22cf750f88ae167and
0ad489b182ebb3789322345e22cf750f88ae167andifneq ($(PLATFORM), sparc)
0ad489b182ebb3789322345e22cf750f88ae167and OTHER_CFLAGS += -DMLIB_NO_LIBSUNMATH
0ad489b182ebb3789322345e22cf750f88ae167andendif
0ad489b182ebb3789322345e22cf750f88ae167and
0ad489b182ebb3789322345e22cf750f88ae167andCPPFLAGS += \
0ad489b182ebb3789322345e22cf750f88ae167and -I$(PLATFORM_SRC)/native/$(PKGDIR)/medialib
0ad489b182ebb3789322345e22cf750f88ae167and
0ad489b182ebb3789322345e22cf750f88ae167andOTHER_CFLAGS += -D__USE_J2D_NAMES -D__MEDIALIB_OLD_NAMES
0ad489b182ebb3789322345e22cf750f88ae167and
0ad489b182ebb3789322345e22cf750f88ae167andifneq ($(PLATFORM), windows)
0ad489b182ebb3789322345e22cf750f88ae167and OTHER_LDLIBS = $(LIBM) $(LIBDL)
0ad489b182ebb3789322345e22cf750f88ae167andendif
0ad489b182ebb3789322345e22cf750f88ae167and
0ad489b182ebb3789322345e22cf750f88ae167and