Makefile revision 911
18861N/A#
18861N/A# Copyright 2007 Sun Microsystems, Inc. All Rights Reserved.
18861N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
18861N/A#
18861N/A# This code is free software; you can redistribute it and/or modify it
18861N/A# under the terms of the GNU General Public License version 2 only, as
18861N/A# published by the Free Software Foundation. Sun designates this
18861N/A# particular file as subject to the "Classpath" exception as provided
18861N/A# by Sun in the LICENSE file that accompanied this code.
18861N/A#
18861N/A# This code is distributed in the hope that it will be useful, but WITHOUT
18861N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18861N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
18861N/A# version 2 for more details (a copy is included in the LICENSE file that
18861N/A# accompanied this code).
18861N/A#
18861N/A# You should have received a copy of the GNU General Public License version
18861N/A# 2 along with this work; if not, write to the Free Software Foundation,
18861N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18861N/A#
18861N/A# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
18861N/A# CA 95054 USA or visit www.sun.com if you need additional information or
18861N/A# have any questions.
18861N/A#
18861N/A
18861N/ABUILDDIR = ../../..
18861N/APACKAGE = sun.java2d.cmm.lcms
18861N/ALIBRARY = lcms
18861N/APRODUCT = sun
18861N/A
18861N/Ainclude $(BUILDDIR)/common/Defs.gmk
18861N/A
18861N/A#
18861N/A# Files
18861N/A#
18861N/Aifeq ($(PLATFORM), windows)
18861N/Ainclude FILES_c_windows.gmk
18861N/Aelse # PLATFORM
18861N/Ainclude FILES_c_unix.gmk
18861N/Aendif # PLATFORM
18861N/A
18861N/AFILES_java = \
18861N/A $(TAGDIR)sun/java2d/cmm/lcms/LCMS.java \
18861N/A $(TAGDIR)sun/java2d/cmm/lcms/LCMSImageLayout.java \
18861N/A $(TAGDIR)sun/java2d/cmm/lcms/LCMSTransform.java
18861N/A
18861N/AFILES_export = sun/java2d/cmm/lcms/LCMS.java
18861N/A
18861N/A#
18861N/A# Rules
18861N/A#
18861N/Ainclude $(BUILDDIR)/common/Mapfile-vers.gmk
18861N/Ainclude $(BUILDDIR)/common/Library.gmk
18861N/A
18861N/ASERVICEDIR = $(CLASSBINDIR)/META-INF/services
18861N/A
18861N/AFILES_copy = \
18861N/A $(SERVICEDIR)/sun.java2d.cmm.PCMM
18861N/A
18861N/Abuild: copy-files
18861N/A
18861N/Acopy-files: $(FILES_copy)
18861N/A
18861N/A$(SERVICEDIR)/%: $(SHARE_SRC)/classes/sun/java2d/cmm/lcms/META-INF/services/%
18861N/A $(install-file)
18861N/A
18861N/A#
18861N/A# Extra rules
18861N/A#
18861N/A
18861N/Aifeq ($(PLATFORM), solaris)
18861N/ACFLAGS := $(subst -xc99=%none,-xc99=no_lib,$(CFLAGS))
18861N/Aendif
18861N/A
18861N/Aclean clobber::
18861N/A $(RM) $(FILES_copy)
18861N/A
18861N/Avpath %.c $(SHARE_SRC)/native/$(PKGDIR)
18861N/Avpath %.c $(SHARE_SRC)/native/sun/java2d
18861N/A
18861N/Aifeq ($(PLATFORM), windows)
18861N/A
18861N/AOTHER_LDLIBS = user32.lib version.lib $(OBJDIR)/../../../sun.awt/awt/$(OBJDIRNAME)/awt.lib
18861N/AOTHER_INCLUDES += -I$(SHARE_SRC)/native/sun/java2d \
18861N/A -I$(SHARE_SRC)/native/sun/awt/debug
18861N/A
18861N/Aclean:: res.clean
18861N/A
18861N/Ares.clean:
18861N/A $(RM) $(OBJDIR)/cmm.rc
18861N/A $(RM) $(OBJDIR)/cmm.res
18861N/A $(RM) $(OBJDIR)/cmm.h
18861N/A
18861N/Aelse
18861N/AOTHER_LDLIBS = $(LIBM) -lawt -L$(LIBDIR)/$(LIBARCH)/xawt
18861N/ACPPFLAGS += -I$(SHARE_SRC)/native/sun/java2d \
18861N/A -I$(SHARE_SRC)/native/sun/awt/debug
18861N/Aendif
18861N/A
18861N/A