Update ooo320-m1
[ooovba.git] / connectivity / source / drivers / evoab / makefile.mk
blob13da1758739815bbe500a364d45025dd04555b93
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.9 $
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=evoab
37 VISIBILITY_HIDDEN=TRUE
39 .IF "$(ENABLE_EVOAB2)"=="TRUE"
40 dummy:
41 @echo "Evolution 1.x Addressbook build disabled in favour of Evolution 2.x Addressbook"
42 .ELSE
44 # --- Settings ----------------------------------
45 .IF "$(DBGUTIL_OJ)"!=""
46 ENVCFLAGS+=/FR$(SLO)$/
47 .ENDIF
49 .INCLUDE : $(PRJ)$/version.mk
50 .INCLUDE : $(PRJ)$/makefile.pmk
52 .IF "$(GUI)"=="UNX"
54 # --- Files -------------------------------------
56 EXCEPTIONSFILES=\
57 $(SLO)$/LResultSet.obj \
58 $(SLO)$/LStatement.obj \
59 $(SLO)$/LPreparedStatement.obj \
60 $(SLO)$/LFolderList.obj \
61 $(SLO)$/LConfigAccess.obj \
62 $(SLO)$/LColumnAlias.obj \
63 $(SLO)$/LTable.obj \
64 $(SLO)$/LDatabaseMetaData.obj \
65 $(SLO)$/LCatalog.obj \
66 $(SLO)$/LColumns.obj \
67 $(SLO)$/LTables.obj \
68 $(SLO)$/LConnection.obj \
69 $(SLO)$/LServices.obj \
70 $(SLO)$/LDriver.obj
72 SLOFILES=\
73 $(EXCEPTIONSFILES) \
74 $(SLO)$/LDebug.obj
77 SHL1VERSIONMAP=$(TARGET).map
80 # --- Library -----------------------------------
81 #SHL1TARGET=$(TARGET)$(DLLPOSTFIX)
82 SHL1TARGET= $(EVOAB_TARGET)$(DLLPOSTFIX)
83 SHL1OBJS=$(SLOFILES)
84 SHL1STDLIBS=\
85 $(CPPULIB) \
86 $(CPPUHELPERLIB) \
87 $(VOSLIB) \
88 $(TOOLSLIB) \
89 $(SVTOOLLIB) \
90 $(UNOTOOLSLIB) \
91 $(UCBHELPERLIB) \
92 $(SALLIB) \
93 $(DBTOOLSLIB) \
94 $(DBFILELIB) \
95 $(COMPHELPERLIB)
97 .IF "$(DBFILELIB)" == ""
98 SHL1STDLIBS+= ifile.lib
99 .ENDIF
101 SHL1DEPN=
102 SHL1IMPLIB= i$(TARGET)
104 SHL1DEF= $(MISC)$/$(SHL1TARGET).def
106 DEF1NAME= $(SHL1TARGET)
108 .ELSE
109 dummy:
110 @echo "Nothing to build for GUI $(GUI)"
111 .ENDIF
112 .ENDIF
113 # --- Targets ----------------------------------
114 .INCLUDE : $(PRJ)$/target.pmk