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