xref: /trunk/main/connectivity/source/drivers/flat/makefile.mk (revision 1ecadb572e7010ff3b3382ad9bf179dbc6efadbb) !
1#*************************************************************************
2#
3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4#
5# Copyright 2000, 2010 Oracle and/or its affiliates.
6#
7# OpenOffice.org - a multi-platform office productivity suite
8#
9# This file is part of OpenOffice.org.
10#
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.
14#
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).
20#
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.
25#
26#*************************************************************************
27
28PRJ=..$/..$/..
29PRJINC=..$/..
30PRJNAME=connectivity
31TARGET=flat
32
33VISIBILITY_HIDDEN=TRUE
34
35# --- Settings ----------------------------------
36.IF "$(DBGUTIL_OJ)"!=""
37ENVCFLAGS+=/FR$(SLO)$/
38.ENDIF
39
40.INCLUDE : $(PRJ)$/makefile.pmk
41.INCLUDE :  $(PRJ)$/version.mk
42
43
44# --- Files -------------------------------------
45
46SLOFILES=\
47    $(SLO)$/EResultSet.obj          \
48    $(SLO)$/EStatement.obj          \
49    $(SLO)$/EPreparedStatement.obj  \
50    $(SLO)$/ETable.obj              \
51    $(SLO)$/EDatabaseMetaData.obj   \
52    $(SLO)$/ECatalog.obj            \
53    $(SLO)$/EColumns.obj            \
54    $(SLO)$/ETables.obj             \
55    $(SLO)$/EConnection.obj         \
56    $(SLO)$/Eservices.obj           \
57    $(SLO)$/EDriver.obj
58
59EXCEPTIONSFILES=\
60    $(SLO)$/EResultSet.obj          \
61    $(SLO)$/EStatement.obj          \
62    $(SLO)$/EPreparedStatement.obj  \
63    $(SLO)$/ETable.obj              \
64    $(SLO)$/EDatabaseMetaData.obj   \
65    $(SLO)$/ECatalog.obj            \
66    $(SLO)$/EColumns.obj            \
67    $(SLO)$/ETables.obj             \
68    $(SLO)$/EConnection.obj         \
69    $(SLO)$/Eservices.obj           \
70    $(SLO)$/EDriver.obj
71
72
73SHL1VERSIONMAP=$(SOLARENV)/src/component.map
74
75# --- Library -----------------------------------
76SHL1TARGET=$(TARGET)$(DLLPOSTFIX)
77SHL1OBJS=$(SLOFILES)
78SHL1STDLIBS=\
79    $(CPPULIB)                  \
80    $(CPPUHELPERLIB)            \
81    $(VOSLIB)                   \
82    $(TOOLSLIB)                 \
83    $(SVLLIB)               \
84    $(UNOTOOLSLIB)              \
85    $(SALLIB)                   \
86    $(DBTOOLSLIB)               \
87    $(DBFILELIB)                \
88    $(COMPHELPERLIB)
89
90.IF "$(DBFILELIB)" == ""
91SHL1STDLIBS+= ifile.lib
92.ENDIF
93
94SHL1DEPN=
95SHL1IMPLIB= i$(TARGET)
96
97SHL1DEF=    $(MISC)$/$(SHL1TARGET).def
98
99DEF1NAME=   $(SHL1TARGET)
100DEF1EXPORTFILE= exports.dxp
101
102
103# --- Targets ----------------------------------
104
105.INCLUDE : $(PRJ)$/target.pmk
106
107
108
109ALLTAR : $(MISC)/flat.component
110
111$(MISC)/flat.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
112        flat.component
113    $(XSLTPROC) --nonet --stringparam uri \
114        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
115        $(SOLARENV)/bin/createcomponent.xslt flat.component
116