Version 3.6.0.2, tag libreoffice-3.6.0.2
[LibreOffice.git] / connectivity / Library_dbtools.mk
blob93539deb6f33e93f81a18724ce90e68d15fd6c66
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # Version: MPL 1.1 / GPLv3+ / LGPLv3+
5 # The contents of this file are subject to the Mozilla Public License Version
6 # 1.1 (the "License"); you may not use this file except in compliance with
7 # the License or as specified alternatively below. You may obtain a copy of
8 # the License at http://www.mozilla.org/MPL/
10 # Software distributed under the License is distributed on an "AS IS" basis,
11 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 # for the specific language governing rights and limitations under the
13 # License.
15 # Major Contributor(s):
16 # Copyright (C) 2011 Peter Foley <pefoley2@verizon.net> (initial developer)
18 # All Rights Reserved.
20 # For minor contributions see the git repository.
22 # Alternatively, the contents of this file may be used under the terms of
23 # either the GNU General Public License Version 3 or later (the "GPLv3+"), or
24 # the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
25 # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
26 # instead of those above.
28 $(eval $(call gb_Library_Library,dbtools))
30 # connectivity_generated causes cyclic dependency here, so set include path
31 # for that instead
32 $(eval $(call gb_Library_use_packages,dbtools,\
33 connectivity_inc \
36 $(eval $(call gb_Library_add_defs,dbtools,\
37 -DOOO_DLLIMPLEMENTATION_DBTOOLS \
38 -DBOOST_SPIRIT_USE_OLD_NAMESPACE \
41 $(eval $(call gb_Library_set_componentfile,dbtools,connectivity/source/dbtools/dbtools))
43 $(eval $(call gb_Library_set_include,dbtools,\
44 $$(INCLUDE) \
45 -I$(SRCDIR)/connectivity/inc \
46 -I$(SRCDIR)/connectivity/source/inc \
47 -I$(dir $(call gb_YaccTarget_get_target,connectivity/source/parse/sqlbison)) \
50 $(eval $(call gb_Library_use_api,dbtools,\
51 offapi \
52 udkapi \
55 $(eval $(call gb_Library_use_libraries,dbtools,\
56 cppu \
57 cppuhelper \
58 sal \
59 salhelper \
60 jvmaccess \
61 utl \
62 tl \
63 comphelper \
64 i18nisolang1 \
65 $(gb_STDLIBS) \
68 ifeq ($(filter-out NETBSD MACOSX,$(OS)),)
69 $(eval $(call gb_Library_use_libraries,dbtools,\
70 ucbhelper \
72 endif
74 #connectivity/source/commontools/RowFunctionParser.cxx disable optimization?
76 $(eval $(call gb_Library_add_noexception_objects,dbtools,\
77 connectivity/source/commontools/AutoRetrievingBase \
78 connectivity/source/simpledbt/refbase \
81 $(eval $(call gb_Library_add_grammars,dbtools,\
82 connectivity/source/parse/sqlbison \
85 $(call gb_YaccTarget_get_target,connectivity/source/parse/sqlbison) : T_YACCFLAGS := -d -l -pSQLyy -bsql
87 $(eval $(call gb_Library_add_scanners,dbtools,\
88 connectivity/source/parse/sqlflex \
91 $(call gb_LexTarget_get_scanner_target,connectivity/source/parse/sqlflex) : T_LEXFLAGS := -i -8 -PSQLyy -L
95 $(eval $(call gb_Library_add_exception_objects,dbtools,\
96 connectivity/source/commontools/predicateinput \
97 connectivity/source/commontools/ConnectionWrapper \
98 connectivity/source/commontools/TConnection \
99 connectivity/source/commontools/conncleanup \
100 connectivity/source/commontools/dbtools \
101 connectivity/source/commontools/dbtools2 \
102 connectivity/source/commontools/dbexception \
103 connectivity/source/commontools/CommonTools \
104 connectivity/source/commontools/TColumnsHelper \
105 connectivity/source/commontools/TTableHelper \
106 connectivity/source/commontools/TKeys \
107 connectivity/source/commontools/TKey \
108 connectivity/source/commontools/TKeyColumns \
109 connectivity/source/commontools/TIndexes \
110 connectivity/source/commontools/TIndex \
111 connectivity/source/commontools/TIndexColumns \
112 connectivity/source/commontools/DateConversion \
113 connectivity/source/commontools/FDatabaseMetaDataResultSetMetaData \
114 connectivity/source/commontools/FDatabaseMetaDataResultSet \
115 connectivity/source/commontools/TDatabaseMetaDataBase \
116 connectivity/source/commontools/TPrivilegesResultSet \
117 connectivity/source/commontools/TSkipDeletedSet \
118 connectivity/source/commontools/dbmetadata \
119 connectivity/source/commontools/TSortIndex \
120 connectivity/source/commontools/dbcharset \
121 connectivity/source/commontools/propertyids \
122 connectivity/source/commontools/FValue \
123 connectivity/source/commontools/paramwrapper \
124 connectivity/source/commontools/statementcomposer \
125 connectivity/source/commontools/RowFunctionParser \
126 connectivity/source/commontools/sqlerror \
127 connectivity/source/commontools/filtermanager \
128 connectivity/source/commontools/parameters \
129 connectivity/source/commontools/ParamterSubstitution \
130 connectivity/source/commontools/DriversConfig \
131 connectivity/source/commontools/formattedcolumnvalue \
132 connectivity/source/commontools/BlobHelper \
133 connectivity/source/commontools/warningscontainer \
134 connectivity/source/commontools/dbconversion \
135 connectivity/source/simpledbt/charset_s \
136 connectivity/source/simpledbt/dbtfactory \
137 connectivity/source/simpledbt/parsenode_s \
138 connectivity/source/simpledbt/parser_s \
139 connectivity/source/simpledbt/staticdbtools_s \
140 connectivity/source/sdbcx/VDescriptor \
141 connectivity/source/sdbcx/VCollection \
142 connectivity/source/sdbcx/VColumn \
143 connectivity/source/sdbcx/VIndexColumn \
144 connectivity/source/sdbcx/VKeyColumn \
145 connectivity/source/sdbcx/VUser \
146 connectivity/source/sdbcx/VGroup \
147 connectivity/source/sdbcx/VTable \
148 connectivity/source/sdbcx/VKey \
149 connectivity/source/sdbcx/VIndex \
150 connectivity/source/sdbcx/VCatalog \
151 connectivity/source/sdbcx/VView \
152 connectivity/source/parse/PColumn \
153 connectivity/source/parse/internalnode \
154 connectivity/source/parse/sqliterator \
155 connectivity/source/parse/sqlnode \
156 connectivity/source/resource/sharedresources \
159 # vim: set noet sw=4 ts=4: