xref: /trunk/main/connectivity/qa/complex/sdbc/makefile.mk (revision 45c5a00162811bd03b87fcb4fe9996782f2b59ec)
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.IF "$(OOO_SUBSEQUENT_TESTS)" == ""
24nothing .PHONY:
25.ELSE
26
27PRJ = ..$/..$/..
28PRJNAME = connectivity
29TARGET  = SdbcToolsTest
30
31.IF "$(OOO_JUNIT_JAR)" != ""
32PACKAGE = complex$/sdbc
33
34# here store only Files which contain a @Test
35JAVATESTFILES = \
36    ToolsTest.java
37
38# put here all other files
39JAVAFILES = $(JAVATESTFILES)
40
41# The class under test lives in sdbc_jdbc.jar; dbtools.jar supplies the two
42# helper types Tools references (ResourceBasedEventLogger, StandardSQLState),
43# so that com.sun.star.comp.sdbc.Tools can be loaded and verified.
44JARFILES = ridl.jar unoil.jar jurt.jar juh.jar java_uno.jar dbtools.jar sdbc_jdbc.jar
45EXTRAJARFILES = $(OOO_JUNIT_JAR)
46
47# Sample how to debug
48# JAVAIFLAGS+=-Xdebug  -Xrunjdwp:transport=dt_socket,server=y,address=9003,suspend=y
49
50.END
51
52.INCLUDE: settings.mk
53.INCLUDE: target.mk
54.INCLUDE: installationtest.mk
55
56ALLTAR : javatest
57
58.END
59