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