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
23PRJ	= ..$/..$/..$/..$/..$/..
24PRJNAME = connectivity
25PACKAGE = com$/sun$/star$/sdbcx$/comp$/hsqldb
26TARGET  = sdbc_hsqldb
27
28SECONDARY_PACKAGE = org$/hsqldb$/lib
29
30# --- Settings -----------------------------------------------------
31.INCLUDE: settings.mk
32
33# --- Files --------------------------------------------------------
34
35
36.IF "$(SYSTEM_HSQLDB)" == "YES"
37EXTRAJARFILES = $(HSQLDB_JAR)
38.ELSE
39JARFILES = hsqldb.jar
40.ENDIF
41
42JAVAFILES =\
43    NativeInputStreamHelper.java\
44    NativeOutputStreamHelper.java\
45    NativeStorageAccess.java\
46    StorageAccess.java\
47    StorageFileAccess.java\
48    StorageNativeInputStream.java\
49    StorageNativeOutputStream.java\
50    FileSystemRuntimeException.java\
51    NativeLibraries.java
52
53JAVACLASSFILES  = $(foreach,i,$(JAVAFILES) $(CLASSDIR)$/$(PACKAGE)$/$(i:b).class)
54
55JARCOMPRESS	= TRUE
56JARCLASSDIRS = $(PACKAGE) $(SECONDARY_PACKAGE)
57JARTARGET	= $(TARGET).jar
58JARCLASSPATH = $(JARFILES) $(EXTRAJARFILES) ..
59
60# --- Targets ------------------------------------------------------
61.INCLUDE :  target.mk
62