Update ooo320-m1
[ooovba.git] / connectivity / source / drivers / dbase / makefile.mk
blob37a88ef47674bd1e532656a249d4ab5ba4cd3397
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.28 $
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=dbase
37 VISIBILITY_HIDDEN=TRUE
39 # --- Settings ----------------------------------
40 .IF "$(DBGUTIL_OJ)"!=""
41 ENVCFLAGS+=/FR$(SLO)$/
42 .ENDIF
44 .INCLUDE : $(PRJ)$/makefile.pmk
45 .INCLUDE : $(PRJ)$/version.mk
47 # --- Files -------------------------------------
49 SLOFILES=\
50 $(SLO)$/DCode.obj \
51 $(SLO)$/DResultSet.obj \
52 $(SLO)$/DStatement.obj \
53 $(SLO)$/DPreparedStatement.obj \
54 $(SLO)$/dindexnode.obj \
55 $(SLO)$/DIndexIter.obj \
56 $(SLO)$/DDatabaseMetaData.obj \
57 $(SLO)$/DCatalog.obj \
58 $(SLO)$/DColumns.obj \
59 $(SLO)$/DIndexColumns.obj \
60 $(SLO)$/DIndex.obj \
61 $(SLO)$/DIndexes.obj \
62 $(SLO)$/DTable.obj \
63 $(SLO)$/DTables.obj \
64 $(SLO)$/DConnection.obj \
65 $(SLO)$/Dservices.obj \
66 $(SLO)$/DDriver.obj
68 EXCEPTIONSFILES=\
69 $(SLO)$/DCode.obj \
70 $(SLO)$/DResultSet.obj \
71 $(SLO)$/DStatement.obj \
72 $(SLO)$/DPreparedStatement.obj \
73 $(SLO)$/dindexnode.obj \
74 $(SLO)$/DIndexIter.obj \
75 $(SLO)$/DDatabaseMetaData.obj \
76 $(SLO)$/DCatalog.obj \
77 $(SLO)$/DColumns.obj \
78 $(SLO)$/DIndexColumns.obj \
79 $(SLO)$/DIndex.obj \
80 $(SLO)$/DIndexes.obj \
81 $(SLO)$/DTables.obj \
82 $(SLO)$/DConnection.obj \
83 $(SLO)$/Dservices.obj \
84 $(SLO)$/DDriver.obj
86 # [kh] ppc linux gcc compiler problem
87 .IF "$(OS)$(COM)$(CPUNAME)"=="LINUXGCCPOWERPC"
88 EXCEPTIONSNOOPTFILES= \
89 $(SLO)$/DTable.obj
90 .ELSE
91 EXCEPTIONSFILES +=\
92 $(SLO)$/DTable.obj
93 .ENDIF
96 SHL1VERSIONMAP=$(TARGET).map
98 # --- Library -----------------------------------
100 SHL1TARGET=$(TARGET)$(DLLPOSTFIX)
101 SHL1OBJS=$(SLOFILES)
102 SHL1STDLIBS=\
103 $(CPPULIB) \
104 $(CPPUHELPERLIB) \
105 $(VOSLIB) \
106 $(SVLLIB) \
107 $(TOOLSLIB) \
108 $(UCBHELPERLIB) \
109 $(SALLIB) \
110 $(DBTOOLSLIB) \
111 $(DBFILELIB) \
112 $(UNOTOOLSLIB) \
113 $(COMPHELPERLIB)
115 .IF "$(DBFILELIB)" == ""
116 SHL1STDLIBS+= ifile.lib
117 .ENDIF
119 SHL1DEPN=
120 SHL1IMPLIB= i$(DBASE_TARGET)
123 SHL1DEF= $(MISC)$/$(SHL1TARGET).def
125 DEF1NAME= $(SHL1TARGET)
126 DEF1EXPORTFILE= exports.dxp
129 # --- Targets ----------------------------------
131 .INCLUDE : $(PRJ)$/target.pmk