xref: /AOO41X/main/connectivity/source/drivers/file/makefile.mk (revision 7871dc3ea494bf86c742e1f4dfc9c6e20f5bcb2a)
1#**************************************************************
2#
3#  Licensed to the Apache Software Foundation (ASF) under one
4#  or more contributor license agreements.  See the NOTICE file
5#  distributed with this work for additional information
6#  regarding copyright ownership.  The ASF licenses this file
7#  to you under the Apache License, Version 2.0 (the
8#  "License"); you may not use this file except in compliance
9#  with the License.  You may obtain a copy of the License at
10#
11#    http://www.apache.org/licenses/LICENSE-2.0
12#
13#  Unless required by applicable law or agreed to in writing,
14#  software distributed under the License is distributed on an
15#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16#  KIND, either express or implied.  See the License for the
17#  specific language governing permissions and limitations
18#  under the License.
19#
20#**************************************************************
21
22
23
24PRJ=..$/..$/..
25PRJINC=..$/..
26PRJNAME=connectivity
27TARGET=file
28
29USE_DEFFILE=TRUE
30VISIBILITY_HIDDEN=TRUE
31
32# --- Settings ----------------------------------
33.IF "$(DBGUTIL_OJ)"!=""
34ENVCFLAGS+=/FR$(SLO)$/
35.ENDIF
36
37.INCLUDE : settings.mk
38.INCLUDE :  $(PRJ)$/version.mk
39
40CDEFS += -DOOO_DLLIMPLEMENTATION_FILE
41
42# --- Files -------------------------------------
43EXCEPTIONSFILES=\
44    $(SLO)$/FNoException.obj        \
45    $(SLO)$/FConnection.obj         \
46    $(SLO)$/FResultSetMetaData.obj  \
47    $(SLO)$/FColumns.obj            \
48    $(SLO)$/FTables.obj             \
49    $(SLO)$/FTable.obj              \
50    $(SLO)$/FCatalog.obj            \
51    $(SLO)$/FResultSet.obj          \
52    $(SLO)$/FStatement.obj          \
53    $(SLO)$/FPreparedStatement.obj  \
54    $(SLO)$/FDatabaseMetaData.obj   \
55    $(SLO)$/FDriver.obj             \
56    $(SLO)$/fanalyzer.obj           \
57    $(SLO)$/fcomp.obj               \
58    $(SLO)$/fcode.obj
59
60SLOFILES=\
61    $(EXCEPTIONSFILES)              \
62    $(SLO)$/FStringFunctions.obj    \
63    $(SLO)$/FDateFunctions.obj  \
64    $(SLO)$/FNumericFunctions.obj \
65    $(SLO)$/quotedstring.obj
66
67
68# --- Library -----------------------------------
69SHL1TARGET=$(TARGET)$(DLLPOSTFIX)
70SHL1OBJS=$(SLOFILES)
71SHL1STDLIBS=\
72    $(CPPULIB)                  \
73    $(CPPUHELPERLIB)            \
74    $(VOSLIB)                   \
75    $(SVLLIB)                   \
76    $(TOOLSLIB)                 \
77    $(UCBHELPERLIB)             \
78    $(SALLIB)                   \
79    $(DBTOOLSLIB)               \
80    $(UNOTOOLSLIB)              \
81    $(COMPHELPERLIB)
82
83SHL1DEPN=
84SHL1IMPLIB= i$(TARGET)
85
86SHL1DEF=    $(MISC)$/$(SHL1TARGET).def
87
88DEF1NAME=   $(SHL1TARGET)
89DEF1DEPN=   $(MISC)$/$(SHL1TARGET).flt \
90            $(SLB)$/$(TARGET).lib
91DEFLIB1NAME=$(TARGET)
92
93# --- Targets ----------------------------------
94
95.INCLUDE : target.mk
96
97
98# --- filter file ------------------------------
99
100$(MISC)$/$(SHL1TARGET).flt: makefile.mk
101    @echo ------------------------------
102    @echo _TI               >$@
103    @echo _real             >>$@
104
105