1 $NetBSD: patch-jdk_make_CompileDemos.gmk,v 1.1 2015/07/03 20:40:59 fhajny Exp $
3 --- jdk/make/CompileDemos.gmk.orig
4 +++ jdk/make/CompileDemos.gmk
6 BUILD_DEMOS += $$(BUILD_DEMO_APPLET_$1)
9 -ifneq ($(OPENJDK_TARGET_OS), solaris)
10 $(eval $(call SetupAppletDemo,ArcTest))
11 $(eval $(call SetupAppletDemo,BarChart))
12 $(eval $(call SetupAppletDemo,Blink))
14 $(eval $(call SetupAppletDemo,JumpingBox,,closed/))
15 $(eval $(call SetupAppletDemo,TicTacToe,,closed/))
19 ##################################################################################################
23 BUILD_DEMOS += $(JDK_OUTPUTDIR)/demo/jfc/CodePointIM/_the.services
25 -ifneq ($(OPENJDK_TARGET_OS), solaris)
26 $(eval $(call SetupDemo,MoleculeViewer,applets,,XYZChemModel,,,example*.html *.java))
27 $(eval $(call SetupDemo,WireFrame,applets,,ThreeD,,,example*.html *.java))
28 $(eval $(call SetupDemo,SwingApplet,jfc,,SwingApplet,,,README* *.html))
30 $(eval $(call SetupDemo,FileChooserDemo,jfc,,FileChooserDemo,,,README*))
31 $(eval $(call SetupDemo,Font2DTest,jfc,,Font2DTest,,,*.html *.txt))
32 $(eval $(call SetupDemo,Metalworks,jfc,,Metalworks,,,README*))
34 ##################################################################################################
36 # The netbeans project files are copied into the demo directory.
37 -ifeq ($(OPENJDK_TARGET_OS), solaris)
38 - BUILD_DEMOS += $(patsubst $(JDK_TOPDIR)/src/share/demo/nbproject/%, \
39 - $(JDK_OUTPUTDIR)/demo/nbproject/%, \
40 - $(filter-out $(JDK_TOPDIR)/src/share/demo/nbproject/jfc/SwingApplet%, \
41 - $(call CacheFind, $(JDK_TOPDIR)/src/share/demo/nbproject)))
43 BUILD_DEMOS += $(patsubst $(JDK_TOPDIR)/src/share/demo/nbproject/%, \
44 $(JDK_OUTPUTDIR)/demo/nbproject/%, \
45 $(call CacheFind, $(JDK_TOPDIR)/src/share/demo/nbproject))
48 $(JDK_OUTPUTDIR)/demo/nbproject/%: $(JDK_TOPDIR)/src/share/demo/nbproject/%