abdaf61270
2007/11/20 08:34:57 sb 1.13.88.4: #i82422# At least on Mac OS X Tiger, System.loadLibrary(hsqldb2) does not find the hsqldb2 library on directory above sdbc_hsqldb.jar, even though .. is on the jar's Class-Path; added NativeLibraries.load to work around that. 2007/11/19 10:17:00 sb 1.13.88.3: #i82422# Removed dependency on NativeLibraryLoader (as finding jurt.jar is not trivial in OOo-wo-URE installations). 2007/11/14 13:37:02 sb 1.13.88.2: #i82422# Simplification of previous change (unoil.jar is always present next to sdbc_hsqldb.jar). 2007/11/14 13:21:22 sb 1.13.88.1: #i82422# Dirty tricks with the JARCLASSPATH so that URE jars are found in both plain OOo and OOo-wo-URE (to be cleaned up once OOo-wo-URE completely replaces plain OOo).
74 lines
2.4 KiB
Makefile
74 lines
2.4 KiB
Makefile
#*************************************************************************
|
|
#
|
|
# OpenOffice.org - a multi-platform office productivity suite
|
|
#
|
|
# $RCSfile: makefile.mk,v $
|
|
#
|
|
# $Revision: 1.14 $
|
|
#
|
|
# last change: $Author: obo $ $Date: 2008-01-07 09:46:27 $
|
|
#
|
|
# The Contents of this file are made available subject to
|
|
# the terms of GNU Lesser General Public License Version 2.1.
|
|
#
|
|
#
|
|
# GNU Lesser General Public License Version 2.1
|
|
# =============================================
|
|
# Copyright 2005 by Sun Microsystems, Inc.
|
|
# 901 San Antonio Road, Palo Alto, CA 94303, USA
|
|
#
|
|
# This library is free software; you can redistribute it and/or
|
|
# modify it under the terms of the GNU Lesser General Public
|
|
# License version 2.1, as published by the Free Software Foundation.
|
|
#
|
|
# This library is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
# Lesser General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU Lesser General Public
|
|
# License along with this library; if not, write to the Free Software
|
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
|
# MA 02111-1307 USA
|
|
#
|
|
#*************************************************************************
|
|
PRJ = ..$/..$/..$/..$/..$/..
|
|
PRJNAME = connectivity
|
|
PACKAGE = com$/sun$/star$/sdbcx$/comp$/hsqldb
|
|
TARGET = sdbc_hsqldb
|
|
|
|
SECONDARY_PACKAGE = org$/hsqldb$/lib
|
|
|
|
# --- Settings -----------------------------------------------------
|
|
.INCLUDE: settings.mk
|
|
|
|
# --- Files --------------------------------------------------------
|
|
|
|
|
|
JARFILES = unoil.jar
|
|
.IF "$(SYSTEM_HSQLDB)" == "YES"
|
|
XCLASSPATH!:=$(XCLASSPATH)$(PATH_SEPERATOR)$(HSQLDB_JAR)
|
|
.ELSE
|
|
JARFILES+= hsqldb.jar
|
|
.ENDIF
|
|
|
|
JAVAFILES =\
|
|
NativeInputStreamHelper.java\
|
|
NativeOutputStreamHelper.java\
|
|
NativeStorageAccess.java\
|
|
StorageAccess.java\
|
|
StorageFileAccess.java\
|
|
StorageNativeInputStream.java\
|
|
StorageNativeOutputStream.java\
|
|
FileSystemRuntimeException.java\
|
|
NativeLibraries.java
|
|
|
|
JAVACLASSFILES = $(foreach,i,$(JAVAFILES) $(CLASSDIR)$/$(PACKAGE)$/$(i:b).class)
|
|
|
|
JARCOMPRESS = TRUE
|
|
JARCLASSDIRS = $(PACKAGE) $(SECONDARY_PACKAGE)
|
|
JARTARGET = $(TARGET).jar
|
|
JARCLASSPATH = $(JARFILES) ..
|
|
|
|
# --- Targets ------------------------------------------------------
|
|
.INCLUDE : target.mk
|