1*d71964d5SAndrew Rist# ************************************************************* 2*d71964d5SAndrew Rist# 3*d71964d5SAndrew Rist# Licensed to the Apache Software Foundation (ASF) under one 4*d71964d5SAndrew Rist# or more contributor license agreements. See the NOTICE file 5*d71964d5SAndrew Rist# distributed with this work for additional information 6*d71964d5SAndrew Rist# regarding copyright ownership. The ASF licenses this file 7*d71964d5SAndrew Rist# to you under the Apache License, Version 2.0 (the 8*d71964d5SAndrew Rist# "License"); you may not use this file except in compliance 9*d71964d5SAndrew Rist# with the License. You may obtain a copy of the License at 10*d71964d5SAndrew Rist# 11*d71964d5SAndrew Rist# http://www.apache.org/licenses/LICENSE-2.0 12*d71964d5SAndrew Rist# 13*d71964d5SAndrew Rist# Unless required by applicable law or agreed to in writing, 14*d71964d5SAndrew Rist# software distributed under the License is distributed on an 15*d71964d5SAndrew Rist# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*d71964d5SAndrew Rist# KIND, either express or implied. See the License for the 17*d71964d5SAndrew Rist# specific language governing permissions and limitations 18*d71964d5SAndrew Rist# under the License. 19*d71964d5SAndrew Rist# 20*d71964d5SAndrew Rist# ************************************************************* 21cdf0e10cSrcweir# copied from settings.mk 22cdf0e10cSrcweirSOLARBINDIR=$(SOLARVERSION)$/$(INPATH)$/bin$(UPDMINOREXT) 23cdf0e10cSrcweir 24cdf0e10cSrcweir# Please modify the following lines to match your environment: 25cdf0e10cSrcweir# If you use the run: target at the end of the file, then adapt pipe name 26cdf0e10cSrcweirPIPE_NAME = $(USER) 27cdf0e10cSrcweir 28cdf0e10cSrcweir# The following variables probably don't need to be changed. 29cdf0e10cSrcweirJAVA = java 30cdf0e10cSrcweir# The JAR_PATH points to the jar files of your local office installation. 31cdf0e10cSrcweirJAR_PATH = $(SOLARBINDIR)$/ 32cdf0e10cSrcweir 33cdf0e10cSrcweir 34cdf0e10cSrcweir# The rest of this makefile should not need to be touched. 35cdf0e10cSrcweir 36cdf0e10cSrcweirJAR_FILES = \ 37cdf0e10cSrcweir unoil.jar \ 38cdf0e10cSrcweir ridl.jar \ 39cdf0e10cSrcweir jurt.jar \ 40cdf0e10cSrcweir juh.jar \ 41cdf0e10cSrcweir java_uno.jar 42cdf0e10cSrcweir 43cdf0e10cSrcweir 44cdf0e10cSrcweirJAVA_CLASSPATHS := \ 45cdf0e10cSrcweir ..$/$(INPATH)$/class \ 46cdf0e10cSrcweir $(foreach,i,$(JAR_FILES) $(JAR_PATH)$i) \ 47cdf0e10cSrcweir $(CLASSPATH) 48cdf0e10cSrcweir 49cdf0e10cSrcweirCLASSPATH !:=$(JAVA_CLASSPATHS:t$(PATH_SEPERATOR)) 50cdf0e10cSrcweir 51cdf0e10cSrcweirall: 52cdf0e10cSrcweir build 53cdf0e10cSrcweir 54cdf0e10cSrcweir# Example of how to run the work bench. 55cdf0e10cSrcweirrun: 56cdf0e10cSrcweir +$(JAVA) -classpath "$(CLASSPATH)" org/openoffice/accessibility/awb/AccessibilityWorkBench -p $(PIPE_NAME) 57cdf0e10cSrcweir 58cdf0e10cSrcweirrunjar: 59cdf0e10cSrcweir +$(JAVA) -classpath "$(CLASSPATH)" -jar AccessibilityWorkBench.jar -p $(PIPE_NAME) 60