0N/A#
3909N/A# Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved.
0N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
0N/A#
0N/A# This code is free software; you can redistribute it and/or modify it
0N/A# under the terms of the GNU General Public License version 2 only, as
2362N/A# published by the Free Software Foundation. Oracle designates this
0N/A# particular file as subject to the "Classpath" exception as provided
2362N/A# by Oracle in the LICENSE file that accompanied this code.
0N/A#
0N/A# This code is distributed in the hope that it will be useful, but WITHOUT
0N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
0N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
0N/A# version 2 for more details (a copy is included in the LICENSE file that
0N/A# accompanied this code).
0N/A#
0N/A# You should have received a copy of the GNU General Public License version
0N/A# 2 along with this work; if not, write to the Free Software Foundation,
0N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
0N/A#
2362N/A# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
2362N/A# or visit www.oracle.com if you need additional information or have any
2362N/A# questions.
0N/A#
0N/A
0N/ABUILDDIR = ../../..
0N/APACKAGE = javax.swing.plaf
0N/APRODUCT = com
0N/ASWING_SRC = $(SHARE_SRC)/classes/javax/swing
0N/Ainclude $(BUILDDIR)/common/Defs.gmk
0N/A
0N/A#
0N/A# Files
0N/A#
0N/Ainclude FILES.gmk
0N/AAUTO_FILES_JAVA_DIRS = javax/swing/plaf sun/swing com/sun/java/swing/plaf
1173N/A
0N/Aifeq ($(PLATFORM), windows)
0N/A # Don't build GTK L&F on Windows
1630N/A AUTO_JAVA_PRUNE = gtk
1630N/Aendif
1630N/A
1630N/Aifdef DISABLE_NIMBUS
1630N/A AUTO_JAVA_PRUNE += nimbus
0N/Aendif
0N/A
0N/AMISC_FILES = $(MISC_SWING_FILES)
0N/Aifneq ($(PLATFORM), windows)
0N/A # Only include GTK icons on Solaris/Linux
0N/A MISC_FILES += $(MISC_SWING_FILES_UNIX)
0N/Aendif
0N/A
1630N/ANIMBUS_GENSRC_DIR = $(GENSRCDIR)/javax/swing/plaf/nimbus
1630N/ANIMBUS_SKIN_FILE = $(SWING_SRC)/plaf/nimbus/skin.laf
1630N/ANIMBUS_GENERATOR_JAR = $(BUILDTOOLJARDIR)/generatenimbus.jar
1630N/A
0N/AFILES_java = $(FILES_SWING_java)
0N/A
0N/A#
0N/A# Resources
0N/A#
0N/ALOCALE_SET_DEFINITION = jre
0N/ARESOURCE_BUNDLES_COMPILED_PROPERTIES = \
0N/A com/sun/swing/internal/plaf/basic/resources/basic.properties \
0N/A com/sun/swing/internal/plaf/metal/resources/metal.properties \
0N/A com/sun/swing/internal/plaf/synth/resources/synth.properties \
0N/A com/sun/java/swing/plaf/motif/resources/motif.properties \
0N/A com/sun/java/swing/plaf/windows/resources/windows.properties
0N/Aifneq ($(PLATFORM), windows)
0N/A # Only compile GTK resource bundles on Solaris/Linux
0N/A RESOURCE_BUNDLES_COMPILED_PROPERTIES += \
0N/A com/sun/java/swing/plaf/gtk/resources/gtk.properties
0N/Aendif
0N/A
0N/A#
0N/A# Rules.
0N/A# Process LOGO_ICONS and Motif Icons first.
0N/A#
0N/Abuild: $(LOGO_ICONS) $(MISC_SWING_FILES_MOTIF_GIF) $(MISC_SWING_FILES_MOTIF_PNG) other_files
0N/A
1630N/A$(NIMBUS_GENSRC_DIR): $(NIMBUS_SKIN_FILE) $(NIMBUS_GENERATOR_JAR)
1630N/A @$(ECHO) "Generating Nimbus source files:"
1630N/A $(RM) -r $(NIMBUS_GENSRC_DIR)
1630N/A $(BOOT_JAVA_CMD) -jar $(NIMBUS_GENERATOR_JAR) \
1630N/A -skinFile $(NIMBUS_SKIN_FILE) -buildDir $(GENSRCDIR) \
1630N/A -packagePrefix $(PACKAGE).nimbus -lafName Nimbus
1630N/A @$(ECHO) "Finished generating Nimbus source files"
1630N/A
1630N/Aclean:: classes.clean
1630N/A $(RM) -r $(NIMBUS_GENSRC_DIR)
0N/A
0N/A#
0N/A# Include
0N/A#
1630N/Aifndef DISABLE_NIMBUS
1630N/A CLASSES_INIT = $(NIMBUS_GENSRC_DIR)
1630N/Aendif
1630N/A
0N/Ainclude $(BUILDDIR)/common/Classes.gmk
0N/A
0N/Aifndef OPENJDK
0N/A$(LOGO_ICONS): $(CLASSBINDIR)/%.png: $(CLOSED_SRC)/share/classes/%.png
0N/A $(install-file)
0N/A
0N/A$(MISC_SWING_FILES_MOTIF_GIF): $(CLASSBINDIR)/%.gif: $(CLOSED_SRC)/share/classes/%.gif
0N/A $(install-file)
0N/A
0N/A$(MISC_SWING_FILES_MOTIF_PNG): $(CLASSBINDIR)/%.png: $(CLOSED_SRC)/share/classes/%.png
0N/A $(install-file)
0N/Aendif
0N/A
0N/Aother_files: $(MISC_FILES)
0N/A
0N/A$(CLASSBINDIR)/%.wav: $(SHARE_SRC)/classes/%.wav
0N/A $(install-file)
0N/A
0N/A$(CLASSBINDIR)/%.gif: $(SHARE_SRC)/classes/%.gif
0N/A $(install-file)
0N/A
0N/A$(CLASSBINDIR)/%.png: $(SHARE_SRC)/classes/%.png
0N/A $(install-file)
0N/A
0N/A$(CLASSBINDIR)/%.xml: $(SHARE_SRC)/classes/%.xml
0N/A $(install-file)
0N/A
0N/A$(CLASSBINDIR)/%.css: $(SHARE_SRC)/classes/%.css
0N/A $(install-file)
0N/A
0N/A$(CLASSBINDIR)/%.bdtd: $(SHARE_SRC)/classes/%.bdtd
0N/A $(install-file)
0N/A
0N/A$(CLASSBINDIR)/%.txt: $(SHARE_SRC)/classes/%.txt
0N/A $(install-file)
0N/A