Update ooo320-m1
[ooovba.git] / connectivity / source / drivers / evoab2 / makefile.mk
blobe9bb9fdc4d70089b62ff31bcab5fbfcd865b3c42
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 # This file is part of OpenOffice.org.
11 # OpenOffice.org is free software: you can redistribute it and/or modify
12 # it under the terms of the GNU Lesser General Public License version 3
13 # only, as published by the Free Software Foundation.
15 # OpenOffice.org is distributed in the hope that it will be useful,
16 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 # GNU Lesser General Public License version 3 for more details
19 # (a copy is included in the LICENSE file that accompanied this code).
21 # You should have received a copy of the GNU Lesser General Public License
22 # version 3 along with OpenOffice.org. If not, see
23 # <http://www.openoffice.org/license.html>
24 # for a copy of the LGPLv3 License.
26 #*************************************************************************
28 PRJ=..$/..$/..
29 PRJINC=..$/..
30 PRJNAME=connectivity
31 TARGET=evoab2
32 ENABLE_EXCEPTIONS=TRUE
33 VISIBILITY_HIDDEN=TRUE
35 .IF "$(ENABLE_EVOAB2)"!="TRUE"
36 dummy:
37 @echo "Evolution 2.x Addressbook build disabled"
38 .ELSE
40 # --- Settings ----------------------------------
42 .INCLUDE : $(PRJ)$/makefile.pmk
43 .INCLUDE : $(PRJ)$/version.mk
45 PKGCONFIG_MODULES=gtk+-2.0
46 .INCLUDE : pkg_config.mk
48 CFLAGS+=$(GOBJECT_CFLAGS)
50 # --- Files -------------------------------------
52 SLOFILES=\
53 $(SLO)$/NDriver.obj \
54 $(SLO)$/NTable.obj \
55 $(SLO)$/NColumns.obj \
56 $(SLO)$/NTables.obj \
57 $(SLO)$/NCatalog.obj \
58 $(SLO)$/NConnection.obj \
59 $(SLO)$/NDatabaseMetaData.obj \
60 $(SLO)$/NStatement.obj \
61 $(SLO)$/NPreparedStatement.obj \
62 $(SLO)$/NServices.obj \
63 $(SLO)$/NResultSet.obj \
64 $(SLO)$/NResultSetMetaData.obj \
65 $(SLO)$/EApi.obj \
66 $(SLO)$/NDebug.obj
68 SHL1VERSIONMAP=$(TARGET).map
71 # --- Library -----------------------------------
72 #SHL1TARGET=$(TARGET)$(DLLPOSTFIX)
73 SHL1TARGET= $(EVOAB_TARGET)$(DLLPOSTFIX)
74 SHL1OBJS=$(SLOFILES)
75 SHL1STDLIBS=\
76 $(CPPULIB) \
77 $(CPPUHELPERLIB) \
78 $(VOSLIB) \
79 $(SVLLIB) \
80 $(VCLLIB) \
81 $(TOOLSLIB) \
82 $(SVTOOLLIB) \
83 $(UNOTOOLSLIB) \
84 $(UCBHELPERLIB) \
85 $(SALLIB) \
86 $(DBTOOLSLIB) \
87 $(DBFILELIB) \
88 $(COMPHELPERLIB)
90 .IF "$(DBFILELIB)" == ""
91 SHL1STDLIBS+= ifile.lib
92 .ENDIF
93 SHL1STDLIBS+=$(GOBJECT_LIBS)
96 SHL1STDLIBS+=$(PKGCONFIG_LIBS:s/ -lpangoxft-1.0//)
97 # hack for faked SO environment
98 .IF "$(PKGCONFIG_ROOT)"!=""
99 SHL1SONAME+=-z nodefs
100 SHL1NOCHECK=TRUE
101 .ENDIF # "$(PKGCONFIG_ROOT)"!=""
104 SHL1DEPN=
105 SHL1IMPLIB= i$(TARGET)
107 SHL1DEF= $(MISC)$/$(SHL1TARGET).def
109 DEF1NAME= $(SHL1TARGET)
111 .ENDIF
112 # --- Targets ----------------------------------
114 .INCLUDE : $(PRJ)$/target.pmk