xref: /aoo4110/main/ucb/test/com/sun/star/comp/ucb/makefile.mk (revision b1cdbd2c)
1#**************************************************************
2#
3#  Licensed to the Apache Software Foundation (ASF) under one
4#  or more contributor license agreements.  See the NOTICE file
5#  distributed with this work for additional information
6#  regarding copyright ownership.  The ASF licenses this file
7#  to you under the Apache License, Version 2.0 (the
8#  "License"); you may not use this file except in compliance
9#  with the License.  You may obtain a copy of the License at
10#
11#    http://www.apache.org/licenses/LICENSE-2.0
12#
13#  Unless required by applicable law or agreed to in writing,
14#  software distributed under the License is distributed on an
15#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16#  KIND, either express or implied.  See the License for the
17#  specific language governing permissions and limitations
18#  under the License.
19#
20#**************************************************************
21
22
23
24PRJ := ..$/..$/..$/..$/..$/..
25PRJNAME := ucb
26PACKAGE := com$/sun$/star$/comp$/ucb
27TARGET := test_com_sun_star_comp_ucb
28
29.INCLUDE : settings.mk
30
31JAVAFILES = $(subst,$(CLASSDIR)$/$(PACKAGE)$/, $(subst,.class,.java $(JAVACLASSFILES)))
32
33CLASSDIR !:= $(CLASSDIR)$/test
34
35JARFILES = OOoRunner.jar \
36           ridl.jar \
37           unoil.jar \
38           juh.jar \
39           jurt.jar
40
41JAVACLASSFILES = $(CLASSDIR)$/$(PACKAGE)$/GlobalTransfer_Test.class
42
43.INCLUDE: target.mk
44
45$(JAVAFILES): $(MISC)$/$(TARGET).createdclassdir
46
47$(MISC)$/$(TARGET).createdclassdir:
48    - $(MKDIR) $(CLASSDIR)
49    $(TOUCH) $@
50
51#ALLTAR .PHONY:
52runtest:
53    java -classpath $(CLASSPATH) org.openoffice.Runner -TestBase java_complex \
54        -AppExecutionCommand "c:\staroffice8.m13\program\soffice -accept=socket,host=localhost,port=8100;urp;" \
55        -o $(subst,$/,. $(PACKAGE)$/GlobalTransfer_Test)
56
57