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