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