From 1080aa8f88b0199bc9ddf5663e4495624247ede0 Mon Sep 17 00:00:00 2001 From: mrkam Date: Fri, 25 Mar 2011 13:17:38 +0100 Subject: [PATCH] 7030792: /jfc/TransparentRuler needs to be included into build process Reviewed-by: rupashka, ohair --- make/mkdemo/jfc/Makefile | 3 +- make/mkdemo/jfc/TransparentRuler/Makefile | 44 +++++++++++++++++++++++ src/share/demo/nbproject/project.xml | 1 + 3 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 make/mkdemo/jfc/TransparentRuler/Makefile diff --git a/make/mkdemo/jfc/Makefile b/make/mkdemo/jfc/Makefile index 768e5b8f4..8eecf2859 100644 --- a/make/mkdemo/jfc/Makefile +++ b/make/mkdemo/jfc/Makefile @@ -39,7 +39,8 @@ SUBDIRS = \ Notepad \ SampleTree \ SwingApplet \ - TableExample + TableExample \ + TransparentRuler # Some demos aren't currently included in OpenJDK ifndef OPENJDK diff --git a/make/mkdemo/jfc/TransparentRuler/Makefile b/make/mkdemo/jfc/TransparentRuler/Makefile new file mode 100644 index 000000000..7092b8750 --- /dev/null +++ b/make/mkdemo/jfc/TransparentRuler/Makefile @@ -0,0 +1,44 @@ +# +# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# This code is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License version 2 only, as +# published by the Free Software Foundation. Oracle designates this +# particular file as subject to the "Classpath" exception as provided +# by Oracle in the LICENSE file that accompanied this code. +# +# This code is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# version 2 for more details (a copy is included in the LICENSE file that +# accompanied this code). +# +# You should have received a copy of the GNU General Public License version +# 2 along with this work; if not, write to the Free Software Foundation, +# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA +# or visit www.oracle.com if you need additional information or have any +# questions. +# + +# +# Makefile to build the TransparentRuler demo. +# + +BUILDDIR = ../../.. +PRODUCT = demo/jfc +DEMONAME = TransparentRuler +include $(BUILDDIR)/common/Defs.gmk + +DEMO_ROOT = $(SHARE_SRC)/demo/jfc/$(DEMONAME) +DEMO_TOPFILES = ./README.txt +DEMO_MAINCLASS = transparentruler.Ruler +DEMO_DESTDIR = $(DEMODIR)/jfc/$(DEMONAME) + + +# +# Demo jar building rules. +# +include $(BUILDDIR)/common/Demo.gmk diff --git a/src/share/demo/nbproject/project.xml b/src/share/demo/nbproject/project.xml index 585faf33b..43667547d 100644 --- a/src/share/demo/nbproject/project.xml +++ b/src/share/demo/nbproject/project.xml @@ -50,6 +50,7 @@ nbproject/jfc/Stylepad nbproject/jfc/SwingApplet nbproject/jfc/TableExample + nbproject/jfc/TransparentRuler nbproject/scripting/jconsole-plugin nbproject/management/FullThreadDump nbproject/management/JTop -- GitLab