Makefile revision 3720
1N/A#
1N/A# Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
1N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
1N/A#
1N/A# This code is free software; you can redistribute it and/or modify it
1N/A# under the terms of the GNU General Public License version 2 only, as
1N/A# published by the Free Software Foundation. Oracle designates this
1N/A# particular file as subject to the "Classpath" exception as provided
1N/A# by Oracle in the LICENSE file that accompanied this code.
1N/A#
1N/A# This code is distributed in the hope that it will be useful, but WITHOUT
1N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
1N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
1N/A# version 2 for more details (a copy is included in the LICENSE file that
1N/A# accompanied this code).
1N/A#
1N/A# You should have received a copy of the GNU General Public License version
1N/A# 2 along with this work; if not, write to the Free Software Foundation,
1N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
1N/A#
1N/A# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
1N/A# or visit www.oracle.com if you need additional information or have any
1N/A# questions.
1N/A#
1N/A
1N/ABUILDDIR = ../../..
1N/AMODULE = java2d
1N/APACKAGE = sun.java2d.cmm.kcms
1N/ALIBRARY = kcms
1N/APRODUCT = sun
1N/Ainclude $(BUILDDIR)/common/Defs.gmk
1N/A
1N/A#
1N/A# Files
1N/A#
1N/Aifeq ($(PLATFORM), windows)
1N/Ainclude FILES_c_windows.gmk
1N/Aelse # PLATFORM
1N/Ainclude FILES_c_unix.gmk
1N/Aendif # PLATFORM
1N/A
1N/AFILES_java = \
1N/A sun/java2d/cmm/kcms/CMM.java
1N/A
1N/AFILES_export = \
1N/A sun/java2d/cmm/kcms/CMM.java
1N/A
1N/Aifeq ($(PLATFORM), windows)
1N/A # Override the default version info with our own resource file (see 5043594)
1N/A VERSIONINFO_RESOURCE = $(CLOSED_SRC)/share/native/sun/java2d/cmm/kcms/cmm.rc
1N/Aendif
1N/A
1N/A# Rules
1N/A#
1N/Ainclude $(BUILDDIR)/common/Mapfile-vers.gmk
1N/Ainclude $(BUILDDIR)/common/Library.gmk
1N/A
1N/ASERVICEDIR = $(CLASSBINDIR)/META-INF/services
1N/A
1N/AFILES_copy = \
1N/A $(SERVICEDIR)/sun.java2d.cmm.PCMM
1N/A
1N/A
1N/Abuild: copy-files
1N/A
1N/Acopy-files: $(FILES_copy)
1N/A
1N/A$(SERVICEDIR)/%: $(CLOSED_SRC)/share/classes/sun/java2d/cmm/kcms/META-INF/services/%
1N/A $(install-file)
1N/A
1N/A#
1N/A# Extra rules
1N/A#
1N/Aifeq ($(PLATFORM), linux)
1N/A LDLIBS += -lpthread
1N/A OTHER_CFLAGS += -Wno-missing-field-initializers
1N/Aendif
1N/A
1N/Aclean clobber::
1N/A $(RM) $(FILES_copy)
1N/A
1N/A#
1N/A# Add to ambient vpath to get files in a subdirectory
1N/A#
1N/Avpath %.c $(CLOSED_SRC)/share/native/$(PKGDIR)
1N/A
1N/Aifeq ($(PLATFORM), windows)
1N/A
1N/AOTHER_LDLIBS = user32.lib version.lib
1N/A
1N/Aclean:: res.clean
1N/A
1N/Ares.clean:
1N/A $(RM) $(OBJDIR)/cmm.rc
1N/A $(RM) $(OBJDIR)/cmm.res
1N/A $(RM) $(OBJDIR)/cmm.h
1N/A
1N/Aelse # PLATFORM
1N/AOTHER_LDLIBS = $(LIBM)
1N/A
1N/A# Use pic instead of PIC on this library
1N/AGLOBAL_KPIC = $(PIC_CODE_SMALL)
1N/A
1N/ACPPFLAGS += -I$(CLASSHDRDIR) \
1N/A
1N/Aendif # PLATFORM
1N/A
1N/ACFLAGS += -DJAVACMM -DFUT_CALC_EX -DNO_FUT_GCONST
1N/A
1N/A