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