Version 4.0.2.1, tag libreoffice-4.0.2.1
[LibreOffice.git] / connectivity / Library_dbtools.mk
blob964f9f372950ad479694282cdf0ae751231d6c2f
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 $(eval $(call gb_Library_use_packages,dbtools,\
31 connectivity_inc \
34 $(eval $(call gb_Library_add_defs,dbtools,\
35 -DOOO_DLLIMPLEMENTATION_DBTOOLS \
36 -DBOOST_SPIRIT_USE_OLD_NAMESPACE \
39 $(eval $(call gb_Library_set_componentfile,dbtools,connectivity/source/dbtools/dbtools))
41 $(eval $(call gb_Library_set_include,dbtools,\
42 $$(INCLUDE) \
43 -I$(SRCDIR)/connectivity/source/inc \
46 $(eval $(call gb_Library_use_sdk_api,dbtools))
48 $(eval $(call gb_Library_use_libraries,dbtools,\
49 cppu \
50 cppuhelper \
51 sal \
52 salhelper \
53 $(if $(filter IOS,$(OS)),,jvmaccess) \
54 utl \
55 tl \
56 comphelper \
57 i18nisolang1 \
58 $(gb_UWINAPI) \
61 ifeq ($(filter-out NETBSD MACOSX,$(OS)),)
62 $(eval $(call gb_Library_use_libraries,dbtools,\
63 ucbhelper \
65 endif
67 #connectivity/source/commontools/RowFunctionParser.cxx disable optimization?
69 $(eval $(call gb_Library_add_noexception_objects,dbtools,\
70 connectivity/source/simpledbt/refbase \
73 $(eval $(call gb_Library_add_grammars,dbtools,\
74 connectivity/source/parse/sqlbison \
77 $(call gb_YaccTarget_get_target,connectivity/source/parse/sqlbison) : T_YACCFLAGS := -d -l -pSQLyy -bsql
79 $(eval $(call gb_Library_add_scanners,dbtools,\
80 connectivity/source/parse/sqlflex \
83 $(call gb_LexTarget_get_scanner_target,connectivity/source/parse/sqlflex) : T_LEXFLAGS := -i -8 -PSQLyy -L
87 $(eval $(call gb_Library_add_exception_objects,dbtools,\
88 connectivity/source/commontools/AutoRetrievingBase \
89 connectivity/source/commontools/BlobHelper \
90 connectivity/source/commontools/CommonTools \
91 connectivity/source/commontools/ConnectionWrapper \
92 connectivity/source/commontools/DateConversion \
93 connectivity/source/commontools/DriversConfig \
94 connectivity/source/commontools/FDatabaseMetaDataResultSet \
95 connectivity/source/commontools/FDatabaseMetaDataResultSetMetaData \
96 connectivity/source/commontools/FValue \
97 connectivity/source/commontools/ParamterSubstitution \
98 connectivity/source/commontools/RowFunctionParser \
99 connectivity/source/commontools/TColumnsHelper \
100 connectivity/source/commontools/TConnection \
101 connectivity/source/commontools/TDatabaseMetaDataBase \
102 connectivity/source/commontools/TIndex \
103 connectivity/source/commontools/TIndexColumns \
104 connectivity/source/commontools/TIndexes \
105 connectivity/source/commontools/TKey \
106 connectivity/source/commontools/TKeyColumns \
107 connectivity/source/commontools/TKeys \
108 connectivity/source/commontools/TPrivilegesResultSet \
109 connectivity/source/commontools/TSkipDeletedSet \
110 connectivity/source/commontools/TSortIndex \
111 connectivity/source/commontools/TTableHelper \
112 connectivity/source/commontools/conncleanup \
113 connectivity/source/commontools/dbcharset \
114 connectivity/source/commontools/dbconversion \
115 connectivity/source/commontools/dbexception \
116 connectivity/source/commontools/dbmetadata \
117 connectivity/source/commontools/dbtools \
118 connectivity/source/commontools/dbtools2 \
119 connectivity/source/commontools/filtermanager \
120 connectivity/source/commontools/formattedcolumnvalue \
121 connectivity/source/commontools/parameters \
122 connectivity/source/commontools/paramwrapper \
123 connectivity/source/commontools/predicateinput \
124 connectivity/source/commontools/propertyids \
125 connectivity/source/commontools/sqlerror \
126 connectivity/source/commontools/statementcomposer \
127 connectivity/source/commontools/warningscontainer \
128 connectivity/source/parse/PColumn \
129 connectivity/source/parse/internalnode \
130 connectivity/source/parse/sqliterator \
131 connectivity/source/parse/sqlnode \
132 connectivity/source/resource/sharedresources \
133 connectivity/source/sdbcx/VCatalog \
134 connectivity/source/sdbcx/VCollection \
135 connectivity/source/sdbcx/VColumn \
136 connectivity/source/sdbcx/VDescriptor \
137 connectivity/source/sdbcx/VGroup \
138 connectivity/source/sdbcx/VIndex \
139 connectivity/source/sdbcx/VIndexColumn \
140 connectivity/source/sdbcx/VKey \
141 connectivity/source/sdbcx/VKeyColumn \
142 connectivity/source/sdbcx/VTable \
143 connectivity/source/sdbcx/VUser \
144 connectivity/source/sdbcx/VView \
145 connectivity/source/simpledbt/charset_s \
146 connectivity/source/simpledbt/dbtfactory \
147 connectivity/source/simpledbt/parsenode_s \
148 connectivity/source/simpledbt/parser_s \
149 connectivity/source/simpledbt/staticdbtools_s \
152 # vim: set noet sw=4 ts=4: