Makefile revision 3909
45e9809aff7304721fddb95654901b32195c9c7avboxsync#
45e9809aff7304721fddb95654901b32195c9c7avboxsync# Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
45e9809aff7304721fddb95654901b32195c9c7avboxsync# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
45e9809aff7304721fddb95654901b32195c9c7avboxsync#
45e9809aff7304721fddb95654901b32195c9c7avboxsync# This code is free software; you can redistribute it and/or modify it
45e9809aff7304721fddb95654901b32195c9c7avboxsync# under the terms of the GNU General Public License version 2 only, as
45e9809aff7304721fddb95654901b32195c9c7avboxsync# published by the Free Software Foundation. Oracle designates this
45e9809aff7304721fddb95654901b32195c9c7avboxsync# particular file as subject to the "Classpath" exception as provided
45e9809aff7304721fddb95654901b32195c9c7avboxsync# by Oracle in the LICENSE file that accompanied this code.
45e9809aff7304721fddb95654901b32195c9c7avboxsync#
45e9809aff7304721fddb95654901b32195c9c7avboxsync# This code is distributed in the hope that it will be useful, but WITHOUT
45e9809aff7304721fddb95654901b32195c9c7avboxsync# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
45e9809aff7304721fddb95654901b32195c9c7avboxsync# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
45e9809aff7304721fddb95654901b32195c9c7avboxsync# version 2 for more details (a copy is included in the LICENSE file that
45e9809aff7304721fddb95654901b32195c9c7avboxsync# accompanied this code).
45e9809aff7304721fddb95654901b32195c9c7avboxsync#
45e9809aff7304721fddb95654901b32195c9c7avboxsync# You should have received a copy of the GNU General Public License version
45e9809aff7304721fddb95654901b32195c9c7avboxsync# 2 along with this work; if not, write to the Free Software Foundation,
45e9809aff7304721fddb95654901b32195c9c7avboxsync# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
45e9809aff7304721fddb95654901b32195c9c7avboxsync#
45e9809aff7304721fddb95654901b32195c9c7avboxsync# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
45e9809aff7304721fddb95654901b32195c9c7avboxsync# or visit www.oracle.com if you need additional information or have any
45e9809aff7304721fddb95654901b32195c9c7avboxsync# questions.
45e9809aff7304721fddb95654901b32195c9c7avboxsync#
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncBUILDDIR = ../..
45e9809aff7304721fddb95654901b32195c9c7avboxsyncPACKAGE = sun.dc
45e9809aff7304721fddb95654901b32195c9c7avboxsyncLIBRARY = dcpr
45e9809aff7304721fddb95654901b32195c9c7avboxsyncPRODUCT = sun
45e9809aff7304721fddb95654901b32195c9c7avboxsyncinclude $(BUILDDIR)/common/Defs.gmk
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync#
45e9809aff7304721fddb95654901b32195c9c7avboxsync# Files
45e9809aff7304721fddb95654901b32195c9c7avboxsync#
45e9809aff7304721fddb95654901b32195c9c7avboxsyncinclude FILES_c.gmk
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncFILES_java = \
45e9809aff7304721fddb95654901b32195c9c7avboxsync sun/dc/DuctusRenderingEngine.java \
45e9809aff7304721fddb95654901b32195c9c7avboxsync sun/dc/path/FastPathProducer.java \
45e9809aff7304721fddb95654901b32195c9c7avboxsync sun/dc/path/PathConsumer.java \
45e9809aff7304721fddb95654901b32195c9c7avboxsync sun/dc/path/PathError.java \
45e9809aff7304721fddb95654901b32195c9c7avboxsync sun/dc/path/PathException.java \
45e9809aff7304721fddb95654901b32195c9c7avboxsync sun/dc/pr/PathDasher.java \
45e9809aff7304721fddb95654901b32195c9c7avboxsync sun/dc/pr/PathFiller.java \
sun/dc/pr/PathStroker.java \
sun/dc/pr/PRError.java \
sun/dc/pr/PRException.java \
sun/dc/pr/Rasterizer.java
FILES_export = \
sun/dc/pr/PathDasher.java \
sun/dc/pr/PathFiller.java \
sun/dc/pr/PathStroker.java
#
# Rules.
#
include $(BUILDDIR)/common/Mapfile-vers.gmk
include $(BUILDDIR)/common/Library.gmk
SERVICEDIR = $(CLASSBINDIR)/META-INF/services
FILES_copy = \
$(SERVICEDIR)/sun.java2d.pipe.RenderingEngine
build: copy-files
copy-files: $(FILES_copy)
$(SERVICEDIR)/%: $(SHARE_SRC)/classes/sun/dc/META-INF/services/%
$(install-file)
#
# Add to the ambient vpath to pick up files in subdirectories
#
vpath %.c $(CLOSED_SRC)/share/native/$(PKGDIR)/doe
vpath %.c $(CLOSED_SRC)/share/native/$(PKGDIR)/path
vpath %.c $(CLOSED_SRC)/share/native/$(PKGDIR)/pr
vpath %.c $(CLOSED_SRC)/share/native/$(PKGDIR)/util
vpath %.c $(SHARE_SRC)/native/sun/java2d/pipe
ifneq ($(PLATFORM), windows)
OTHER_LDLIBS = $(LIBM)
endif # PLATFORM
CPPFLAGS += \
-I$(CLOSED_SRC)/share/native/$(PKGDIR)/doe \
-I$(CLOSED_SRC)/share/native/$(PKGDIR)/path \
-I$(CLOSED_SRC)/share/native/$(PKGDIR)/pr \
-I$(CLOSED_SRC)/share/native/$(PKGDIR)/util \
-I$(SHARE_SRC)/native/sun/java2d/pipe \
-I$(PLATFORM_SRC)/native/sun/java2d