Makefile revision 3909
6443N/A#
6443N/A# Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
6443N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6443N/A#
6443N/A# This code is free software; you can redistribute it and/or modify it
6443N/A# under the terms of the GNU General Public License version 2 only, as
6443N/A# published by the Free Software Foundation. Oracle designates this
6443N/A# particular file as subject to the "Classpath" exception as provided
6443N/A# by Oracle in the LICENSE file that accompanied this code.
6443N/A#
6443N/A# This code is distributed in the hope that it will be useful, but WITHOUT
6443N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
6443N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
6443N/A# version 2 for more details (a copy is included in the LICENSE file that
6443N/A# accompanied this code).
6443N/A#
6443N/A# You should have received a copy of the GNU General Public License version
6443N/A# 2 along with this work; if not, write to the Free Software Foundation,
6443N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
6443N/A#
6443N/A# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
6443N/A# or visit www.oracle.com if you need additional information or have any
7049N/A# questions.
6443N/A#
6443N/A
6443N/A#
6443N/A# Makefile for building all of JPS (Java Print Service) API
6443N/A#
7049N/A
7049N/ABUILDDIR = ../..
7050N/APACKAGE = javax.print
6443N/APRODUCT = sun
6443N/Ainclude $(BUILDDIR)/common/Defs.gmk
6443N/A
6443N/A#
6443N/A# Files to compile
6443N/A#
6443N/AAUTO_FILES_JAVA_DIRS = javax/print sun/print
6443N/A
6443N/A#
6443N/A# Files that just need cp.
6443N/A#
6443N/ASERVICEDIR = $(CLASSBINDIR)/META-INF/services
6443N/A
6443N/AFILES_copy = \
6443N/A $(SERVICEDIR)/javax.print.StreamPrintServiceFactory \
6443N/A $(SERVICEDIR)/javax.print.PrintServiceLookup
6443N/A
6443N/AFILES_mkdirs = \
6443N/A $(CLASSBINDIR)/META-INF \
6443N/A $(CLASSBINDIR)/META-INF/services
6443N/A
6443N/AFILES_copydirs = \
6443N/A $(FILES_mkdirs)
6443N/A
6443N/A#
6443N/A# Resources
6443N/A#
6443N/ALOCALE_SET_DEFINITION = jre
6443N/ARESOURCE_BUNDLES_COMPILED_PROPERTIES = sun/print/resources/serviceui.properties
6443N/A
6443N/A#
6443N/A# Rules
6443N/A#
6443N/Ainclude $(BUILDDIR)/common/Classes.gmk
6443N/A
6443N/A#
6443N/A# Rules that copy files.
6443N/A#
6443N/A
6443N/Abuild: copy-files properties
6443N/A
6443N/A_PSFONTPROPS = \
6443N/A psfontj2d.properties \
6443N/A psfont.properties.ja \
6443N/A
6443N/APSFONTPROPS_SRC = $(SHARE_SRC)/classes/sun/print
6443N/APSFONTPROPS = $(_PSFONTPROPS:%=$(LIBDIR)/%)
7097N/A
7097N/A_RESOURCES_PRINT = \
6443N/A orientLandscape.png \
6443N/A orientPortrait.png \
6443N/A orientRevLandscape.png \
6443N/A orientRevPortrait.png \
6443N/A oneside.png \
6443N/A duplex.png \
6443N/A tumble.png
6443N/A
6443N/A
6443N/ARESDIR_PRINT = $(CLASSBINDIR)/sun/print/resources
6443N/ARESOURCES_PRINT = $(_RESOURCES_PRINT:%=$(RESDIR_PRINT)/%)
6443N/A
6443N/A$(LIBDIR)/%: $(PSFONTPROPS_SRC)/% $(FONTPROPS)
6443N/A $(install-file)
6443N/A
6443N/A$(RESDIR_PRINT)/%: $(SHARE_SRC)/classes/sun/print/resources/%
6443N/A $(install-file)
6443N/A
6443N/Aproperties: $(LIBDIR) $(PSFONTPROPS) $(RESOURCES_PRINT)
6443N/A
6443N/Aproperties.clean:
6443N/A $(RM) $(PSFONTPROPS)
6443N/A $(RM) -r $(RESDIR_PRINT)
6443N/A
6443N/Acopy-files: $(FILES_copy)
6443N/A
6443N/A$(SERVICEDIR)/%: $(PLATFORM_SRC)/classes/sun/print/services/%
6443N/A $(install-file)
6443N/A
6443N/A#
6443N/A# Clean up internal-use-only package.
6443N/A#
6443N/Aclean::
6443N/A $(RM) -r $(CLASSDESTDIR)/javax/print $(CLASSDESTDIR)/sun/print
6443N/A
6443N/A.PHONY: copy-files
6443N/A