xref: /AOO41X/main/accessibility/workben/makefile.mk (revision ef1ef8e674fabf3a541d12c6e6c14cecdfc2f9e7)
1# copied from settings.mk
2SOLARBINDIR=$(SOLARVERSION)$/$(INPATH)$/bin$(UPDMINOREXT)
3
4# Please modify the following lines to match your environment:
5#   If you use the run: target at the end of the file, then adapt pipe name
6PIPE_NAME = $(USER)
7
8# The following variables probably don't need to be changed.
9JAVA = java
10#   The JAR_PATH points to the jar files of your local office installation.
11JAR_PATH = $(SOLARBINDIR)$/
12
13
14# The rest of this makefile should not need to be touched.
15
16JAR_FILES =     \
17    unoil.jar   \
18    ridl.jar    \
19    jurt.jar    \
20    juh.jar     \
21    java_uno.jar
22
23
24JAVA_CLASSPATHS :=          \
25    ..$/$(INPATH)$/class                        \
26    $(foreach,i,$(JAR_FILES) $(JAR_PATH)$i) \
27    $(CLASSPATH)
28
29CLASSPATH !:=$(JAVA_CLASSPATHS:t$(PATH_SEPERATOR))
30
31all:
32    build
33
34# Example of how to run the work bench.
35run:
36    +$(JAVA) -classpath "$(CLASSPATH)" org/openoffice/accessibility/awb/AccessibilityWorkBench -p $(PIPE_NAME)
37
38runjar:
39    +$(JAVA) -classpath "$(CLASSPATH)" -jar AccessibilityWorkBench.jar -p $(PIPE_NAME)
40