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