1630N/A#
2362N/A# Copyright (c) 1998, 2005, Oracle and/or its affiliates. All rights reserved.
1630N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
1630N/A#
1630N/A# This code is free software; you can redistribute it and/or modify it
1630N/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
1630N/A# particular file as subject to the "Classpath" exception as provided
2362N/A# by Oracle in the LICENSE file that accompanied this code.
1630N/A#
1630N/A# This code is distributed in the hope that it will be useful, but WITHOUT
1630N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
1630N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
1630N/A# version 2 for more details (a copy is included in the LICENSE file that
1630N/A# accompanied this code).
1630N/A#
1630N/A# You should have received a copy of the GNU General Public License version
1630N/A# 2 along with this work; if not, write to the Free Software Foundation,
1630N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
1630N/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.
1630N/A#
1630N/A
1630N/A#
1630N/A# Makefile for building the Nimbus generator
1630N/A#
1630N/A
1630N/ABUILDDIR = ../..
1630N/APACKAGE = build.tools.generatenimbus
1630N/APRODUCT = tools
1630N/APROGRAM = generatenimbus
1630N/Ainclude $(BUILDDIR)/common/Defs.gmk
1630N/A
1630N/ABUILDTOOL_SOURCE_ROOT = $(BUILDDIR)/tools/src
1630N/ABUILDTOOL_MAIN = $(PKGDIR)/Generator.java
1630N/A
1630N/A
1630N/A#
1630N/A# Files
1630N/A#
1630N/A
1630N/ASOURCE_FILES = Generator.java \
1630N/A ObjectFactory.java \
1630N/A Paint.java \
1630N/A SynthModel.java \
1630N/A UIDefault.java \
1630N/A UIStyle.java
1630N/ATEMPLATE_FILES = Defaults.template \
1630N/A PainterImpl.template \
1630N/A StateImpl.template
1630N/ATEMPLATE_DEST = $(BUILDTOOLCLASSDIR)/$(PKGDIR)/resources
1630N/A
1630N/A
1630N/A#
1630N/A# Rules
1630N/A#
1630N/A
1630N/Aall: $(TEMPLATE_DEST) $(BUILDTOOL_JAR_FILE)
1630N/A
1630N/Ainclude $(BUILDDIR)/common/BuildToolJar.gmk
1630N/A
1630N/A$(TEMPLATE_DEST): $(TEMPLATE_FILES:%=$(SHARE_SRC)/classes/javax/swing/plaf/nimbus/%)
1630N/A $(MKDIR) -p $@
1630N/A $(RM) $(TEMPLATE_FILES:%=$@/%)
1630N/A $(CP) $^ $@
1630N/A
1630N/ABUILDTOOL_MAIN_SOURCE_FILE = $(SOURCE_FILES:%=$(BUILDTOOL_SOURCE_ROOT)/$(PKGDIR)/%)
1630N/A
1630N/Aclean clobber::
1630N/A $(RM) -r $(TEMPLATE_DEST)