update dev300-m58
[ooovba.git] / connectivity / source / drivers / hsqldb / makefile.mk
blob9ed5acb17d4c6aa5823a13cd1cee2c19e113c43b
1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: makefile.mk,v $
11 # $Revision: 1.15 $
13 # This file is part of OpenOffice.org.
15 # OpenOffice.org is free software: you can redistribute it and/or modify
16 # it under the terms of the GNU Lesser General Public License version 3
17 # only, as published by the Free Software Foundation.
19 # OpenOffice.org is distributed in the hope that it will be useful,
20 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 # GNU Lesser General Public License version 3 for more details
23 # (a copy is included in the LICENSE file that accompanied this code).
25 # You should have received a copy of the GNU Lesser General Public License
26 # version 3 along with OpenOffice.org. If not, see
27 # <http://www.openoffice.org/license.html>
28 # for a copy of the LGPLv3 License.
30 #*************************************************************************
32 PRJ=..$/..$/..
33 PRJINC=..$/..
34 PRJNAME=connectivity
35 TARGET=hsqldb
37 ENABLE_EXCEPTIONS=TRUE
38 VISIBILITY_HIDDEN=TRUE
39 USE_DEFFILE=TRUE
41 # --- Settings ----------------------------------
42 .INCLUDE : $(PRJ)$/makefile.pmk
43 .INCLUDE : $(PRJ)$/version.mk
45 .IF "$(SOLAR_JAVA)"==""
46 nojava:
47 @echo "Not building jurt because Java is disabled"
48 .ENDIF
50 .IF "$(SYSTEM_HSQLDB)" == "YES"
51 CDEFS+=-DSYSTEM_HSQLDB -DHSQLDB_JAR=\""file://$(HSQLDB_JAR)"\"
52 .ENDIF
53 # --- Resources ---------------------------------
55 SRS1NAME=$(TARGET)
56 SRC1FILES = \
57 hsqlui.src
59 RES1FILELIST=\
60 $(SRS)$/$(TARGET).srs
62 RESLIB1NAME=$(TARGET)
63 RESLIB1IMAGES=$(SOLARSRC)$/$(RSCDEFIMG)$/database
64 RESLIB1SRSFILES=$(RES1FILELIST)
66 # Note that the resource file built here is currently *not* included
67 # in installation sets. See hsqlui.src for an explanation
69 # --- Files -------------------------------------
71 SLOFILES=\
72 $(SLO)$/HStorageMap.obj \
73 $(SLO)$/HStorageAccess.obj \
74 $(SLO)$/HDriver.obj \
75 $(SLO)$/HConnection.obj \
76 $(SLO)$/HTerminateListener.obj \
77 $(SLO)$/StorageNativeOutputStream.obj \
78 $(SLO)$/StorageNativeInputStream.obj \
79 $(SLO)$/StorageFileAccess.obj \
80 $(SLO)$/HTables.obj \
81 $(SLO)$/HTable.obj \
82 $(SLO)$/HView.obj \
83 $(SLO)$/HViews.obj \
84 $(SLO)$/HCatalog.obj \
85 $(SLO)$/HColumns.obj \
86 $(SLO)$/HUser.obj \
87 $(SLO)$/HUsers.obj \
88 $(SLO)$/Hservices.obj \
89 $(SLO)$/HTools.obj \
90 $(SLO)$/accesslog.obj
92 SHL1VERSIONMAP=$(HSQLDB_TARGET).map
94 # --- Library -----------------------------------
95 # NO $(DLLPOSTFIX) otherwise we have to find on which plattform we are for the java files
96 SHL1TARGET= $(HSQLDB_TARGET)
97 SHL1OBJS=$(SLOFILES)
98 SHL1STDLIBS=\
99 $(CPPULIB) \
100 $(CPPUHELPERLIB) \
101 $(SALLIB) \
102 $(DBTOOLSLIB) \
103 $(JVMFWKLIB) \
104 $(COMPHELPERLIB) \
105 $(UNOTOOLSLIB)
108 SHL1DEPN=
109 SHL1IMPLIB= i$(HSQLDB_TARGET)
111 SHL1DEF= $(MISC)$/$(SHL1TARGET).def
113 DEF1NAME= $(SHL1TARGET)
114 DEF1EXPORTFILE= exports.dxp
116 # --- Targets ----------------------------------
118 .INCLUDE : $(PRJ)$/target.pmk