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=..$/..
25
26PRJNAME=connectivity
27TARGET=commontools
28
29# --- Settings -----------------------------------------------------
30.IF "$(DBGUTIL_OJ)"!=""
31ENVCFLAGS+=/FR$(SLO)$/
32.ENDIF
33
34.INCLUDE : settings.mk
35.INCLUDE : $(PRJ)$/dbtools.pmk
36
37# Disable optimization for SunCC SPARC and MACOSX (funny loops
38# when parsing e.g. "x+width/2"),
39# also http://gcc.gnu.org/PR22392
40.IF ("$(OS)$(CPU)"=="SOLARISS" && "$(COM)"!="GCC") || "$(OS)"=="MACOSX" || ("$(OS)"=="LINUX" && "$(CPU)"=="P")
41NOOPTFILES= $(SLO)$/RowFunctionParser.obj
42.ENDIF
43
44ENVCFLAGS += -DBOOST_SPIRIT_USE_OLD_NAMESPACE
45
46# --- Files --------------------------------------------------------
47EXCEPTIONSFILES=\
48		$(SLO)$/predicateinput.obj						\
49		$(SLO)$/ConnectionWrapper.obj					\
50		$(SLO)$/TConnection.obj							\
51		$(SLO)$/conncleanup.obj							\
52		$(SLO)$/dbtools.obj								\
53		$(SLO)$/dbtools2.obj							\
54		$(SLO)$/dbexception.obj							\
55		$(SLO)$/CommonTools.obj							\
56		$(SLO)$/TColumnsHelper.obj						\
57		$(SLO)$/TTableHelper.obj						\
58		$(SLO)$/TKeys.obj								\
59		$(SLO)$/TKey.obj								\
60		$(SLO)$/TKeyColumns.obj							\
61		$(SLO)$/TIndexes.obj							\
62		$(SLO)$/TIndex.obj								\
63		$(SLO)$/TIndexColumns.obj						\
64		$(SLO)$/DateConversion.obj						\
65		$(SLO)$/FDatabaseMetaDataResultSetMetaData.obj	\
66		$(SLO)$/FDatabaseMetaDataResultSet.obj			\
67		$(SLO)$/TDatabaseMetaDataBase.obj				\
68		$(SLO)$/TPrivilegesResultSet.obj				\
69		$(SLO)$/TSkipDeletedSet.obj                     \
70		$(SLO)$/dbmetadata.obj                          \
71        $(SLO)$/TSortIndex.obj                          \
72        $(SLO)$/dbcharset.obj                           \
73        $(SLO)$/propertyids.obj                         \
74        $(SLO)$/FValue.obj                              \
75        $(SLO)$/paramwrapper.obj                        \
76        $(SLO)$/statementcomposer.obj                   \
77        $(SLO)$/RowFunctionParser.obj                   \
78        $(SLO)$/sqlerror.obj                            \
79        $(SLO)$/filtermanager.obj                       \
80        $(SLO)$/parameters.obj							\
81        $(SLO)$/ParamterSubstitution.obj                \
82        $(SLO)$/DriversConfig.obj                       \
83        $(SLO)$/formattedcolumnvalue.obj                \
84        $(SLO)$/BlobHelper.obj							\
85        $(SLO)$/warningscontainer.obj
86
87SLOFILES=\
88		$(EXCEPTIONSFILES)								\
89		$(SLO)$/AutoRetrievingBase.obj					\
90		$(SLO)$/dbconversion.obj
91
92
93
94
95# --- Targets ------------------------------------------------------
96
97.INCLUDE :      target.mk
98
99
100