blob: 2b81df7b2d023220ef4588fb2284f8f6b034f0b2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
|
# This is the dmake version.
# copied from settings.mk
SOLARBINDIR=$(SOLARVERSION)$/$(INPATH)$/bin$(UPDMINOREXT)
# Please modify the following lines to match your environment:
# If you use the run: target at the end of the file, then adapt port number.
PORT_NUMBER = 5678
# The following variables probably don't need to be changed.
JAVAC = javac
JAVA = java
# The JAR_PATH points to the jar files of your local office installation.
JAR_PATH = $(SOLARBINDIR)$/
# The rest of this makefile should not need to be touched.
all : AccessibilityWorkBench dist
JAR_FILES = \
unoil.jar \
sandbox.jar \
ridl.jar \
jurt.jar \
juh.jar \
java_uno.jar
JAVA_FILES = \
AccTreeNode.java \
AccessibilityTree.java \
AccessibilityTreeModel.java \
AccessibilityTreeModelBase.java \
AccessibilityWorkBench.java \
AccessibleActionHandler.java \
AccessibleActionNode.java \
AccessibleCellHandler.java \
AccessibleComponentHandler.java \
AccessibleContextHandler.java \
AccessibleEditableTextHandler.java \
AccessibleExtendedComponentHandler.java \
AccessibleHyperlinkHandler.java \
AccessibleHypertextHandler.java \
AccessibleImageHandler.java \
AccessibleRelationHandler.java \
AccessibleSelectionHandler.java \
AccessibleTableHandler.java \
AccessibleTextHandler.java \
AccessibleTreeCellRenderer.java \
AccessibleTreeHandler.java \
AccessibleTreeNode.java \
AccessibleUNOHandler.java \
Canvas.java \
CanvasShape.java \
ChildEventHandler.java \
ContextEventHandler.java \
EventHandler.java \
EventListener.java \
EventLogger.java \
EventQueue.java \
FrameActionListener.java \
GeometryEventHandler.java \
HelpWindow.java \
InformationWriter.java \
MessageArea.java \
NameProvider.java \
NodeFactory.java \
NodeHandler.java \
NodeMap.java \
OfficeConnection.java \
Options.java \
QueuedListener.java \
QueuedTopWindowListener.java \
SelectionDialog.java \
SimpleOffice.java \
StringNode.java \
TableEventHandler.java \
TextLogger.java \
TextUpdateListener.java \
TopWindowListener.java \
VectorNode.java
JAVA_CLASSPATHS := \
. \
$(foreach,i,$(JAR_FILES) $(JAR_PATH)$i) \
$(CLASSPATH)
CLASSPATH !:=$(JAVA_CLASSPATHS:t$(PATH_SEPERATOR))
JFLAGS = -deprecation -classpath $(CLASSPATH)
%.class : %.java
+$(JAVAC) $(JFLAGS) $<
AccessibilityWorkBench : $(JAVA_FILES:b:+".class")
# Create a jar file of all files neccessary to build and run the work bench.
dist: AccessibilityWorkBench.jar
AccessibilityWorkBench.jar: $(JAVA_FILES:b:+".class") jawb.mf
+jar -cfm AccessibilityWorkBench.jar jawb.mf *.class
# Example of how to run the work bench.
run: all
+$(JAVA) -classpath $(CLASSPATH) AccessibilityWorkBench -p $(PORT_NUMBER)
|