merge the formfield patch from ooo-build
[ooovba.git] / toolkit / test / accessibility / makefile.mk
blob47f9db8cd414c1d0676a802f140d85f496b7c31b
1 # This is the dmake version.
3 # copied from settings.mk
4 SOLARBINDIR=$(SOLARVERSION)$/$(INPATH)$/bin$(UPDMINOREXT)
6 # Please modify the following lines to match your environment:
7 # If you use the run: target at the end of the file, then adapt port number.
8 PORT_NUMBER = 5678
10 # The following variables probably don't need to be changed.
11 JAVAC = javac
12 JAVA = java
13 # The JAR_PATH points to the jar files of your local office installation.
14 JAR_PATH = $(SOLARBINDIR)$/
17 # The rest of this makefile should not need to be touched.
19 all : AccessibilityWorkBench
21 JAR_FILES = \
22 unoil.jar \
23 ridl.jar \
24 jurt.jar \
25 juh.jar \
26 java_uno.jar
28 JAVA_FILES = \
29 AccTreeNode.java \
30 AccessibilityTree.java \
31 AccessibilityTreeModel.java \
32 AccessibilityTreeModelBase.java \
33 AccessibilityWorkBench.java \
34 AccessibleActionHandler.java \
35 AccessibleActionNode.java \
36 AccessibleCellHandler.java \
37 AccessibleComponentHandler.java \
38 AccessibleContextHandler.java \
39 AccessibleEditableTextHandler.java \
40 AccessibleExtendedComponentHandler.java \
41 AccessibleHyperlinkHandler.java \
42 AccessibleHypertextHandler.java \
43 AccessibleImageHandler.java \
44 AccessibleRelationHandler.java \
45 AccessibleSelectionHandler.java \
46 AccessibleTableHandler.java \
47 AccessibleTextHandler.java \
48 AccessibleTreeCellRenderer.java \
49 AccessibleTreeHandler.java \
50 AccessibleTreeNode.java \
51 AccessibleUNOHandler.java \
52 Canvas.java \
53 CanvasShape.java \
54 ChildEventHandler.java \
55 ContextEventHandler.java \
56 EventHandler.java \
57 EventListener.java \
58 EventLogger.java \
59 EventQueue.java \
60 FrameActionListener.java \
61 GeometryEventHandler.java \
62 HelpWindow.java \
63 InformationWriter.java \
64 MessageArea.java \
65 NodeFactory.java \
66 NodeHandler.java \
67 NodeMap.java \
68 OfficeConnection.java \
69 Options.java \
70 QueuedListener.java \
71 QueuedTopWindowListener.java \
72 SelectionDialog.java \
73 SimpleOffice.java \
74 StringNode.java \
75 TableEventHandler.java \
76 TextLogger.java \
77 TextUpdateListener.java \
78 TopWindowListener.java \
79 VectorNode.java
81 JAVA_CLASSPATHS := \
82 . \
83 $(foreach,i,$(JAR_FILES) $(JAR_PATH)$i) \
84 $(CLASSPATH)
86 CLASSPATH !:=$(JAVA_CLASSPATHS:t$(PATH_SEPERATOR))
88 JFLAGS = -deprecation -classpath $(CLASSPATH)
90 %.class : %.java
91 $(JAVAC) $(JFLAGS) $<
93 %.class : %.java
94 $(JAVAC) $(JFLAGS) $<
96 AccessibilityWorkBench : ObjectView Tools $(JAVA_FILES:b:+".class")
98 ObjectView .SETDIR=ov :
99 @echo "making package ObjectView"
100 dmake
102 Tools .SETDIR=tools :
103 @echo "making package Tools"
104 dmake
106 # Remove all class files.
107 clean : ObjectView.clean Tools.clean
108 rm *.class
109 rm AccessibilityWorkBench.jar
110 ObjectView.clean .SETDIR=ov :
111 rm *.class
112 Tools.clean .SETDIR=tools :
113 rm *.class
115 # Create a jar file of all files neccessary to build and run the work bench.
116 dist: AccessibilityWorkBench.jar
118 AccessibilityWorkBench.jar: $(JAVA_FILES:b:+".class") jawb.mf
119 jar -cfm AccessibilityWorkBench.jar jawb.mf *.class ov\*.class tools\*.class
121 # Example of how to run the work bench.
122 run: all
123 $(JAVA) -classpath $(CLASSPATH) AccessibilityWorkBench -p $(PORT_NUMBER)
125 runjar: all dist
126 $(JAVA) -classpath $(CLASSPATH) -jar AccessibilityWorkBench.jar -p $(PORT_NUMBER)
128 check: all