Update git submodules
[LibreOffice.git] / connectivity / Library_odbc.mk
blobb1441293208395f13bdde5f371445bf4365e688b
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
4 # This file is part of the LibreOffice project.
6 # This Source Code Form is subject to the terms of the Mozilla Public
7 # License, v. 2.0. If a copy of the MPL was not distributed with this
8 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
11 $(eval $(call gb_Library_Library,odbc))
13 $(eval $(call gb_Library_set_componentfile,odbc,connectivity/source/drivers/odbc/odbc,services))
15 $(eval $(call gb_Library_use_sdk_api,odbc))
17 $(eval $(call gb_Library_set_include,odbc,\
18 $$(INCLUDE) \
19 -I$(SRCDIR)/connectivity/inc \
20 -I$(SRCDIR)/connectivity/source/inc \
21 -I$(WORKDIR)/YaccTarget/connectivity/source/parse \
24 $(eval $(call gb_Library_add_defs,odbc,\
25 -DOOO_DLLIMPLEMENTATION_ODBCBASE \
26 $(if $(and $(filter MACOSX,$(OS)), $(if $(SYSTEM_ODBC_HEADERS),,TRUE)), \
27 -DSQL_WCHART_CONVERT) \
30 $(eval $(call gb_Library_set_precompiled_header,odbc,connectivity/inc/pch/precompiled_odbc))
32 $(eval $(call gb_Library_use_externals,odbc,\
33 boost_headers \
34 odbc_headers \
37 $(eval $(call gb_Library_use_libraries,odbc,\
38 cppu \
39 cppuhelper \
40 comphelper \
41 dbtools \
42 sal \
43 salhelper \
44 utl \
47 $(eval $(call gb_Library_add_exception_objects,odbc,\
48 connectivity/source/drivers/odbc/ORealDriver \
49 connectivity/source/drivers/odbc/OFunctions \
50 connectivity/source/drivers/odbc/OPreparedStatement \
51 connectivity/source/drivers/odbc/OStatement \
52 connectivity/source/drivers/odbc/OResultSetMetaData \
53 connectivity/source/drivers/odbc/OResultSet \
54 connectivity/source/drivers/odbc/OTools \
55 connectivity/source/drivers/odbc/ODatabaseMetaDataResultSet \
56 connectivity/source/drivers/odbc/ODatabaseMetaData \
57 connectivity/source/drivers/odbc/ODriver \
58 connectivity/source/drivers/odbc/OConnection \
61 # vim: set noet sw=4 ts=4: