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