Bump version to 5.0-14
[LibreOffice.git] / connectivity / Library_odbc.mk
blob8ff5fd0daaed09389f043837863ac47fc5250872
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))
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,$(SRCDIR)/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 $(gb_UWINAPI) \
47 $(eval $(call gb_Library_add_exception_objects,odbc,\
48 connectivity/source/drivers/odbc/appendsqlwchars \
49 connectivity/source/drivers/odbc/oservices \
50 connectivity/source/drivers/odbc/ORealDriver \
51 connectivity/source/drivers/odbc/OFunctions \
52 connectivity/source/drivers/odbc/OPreparedStatement \
53 connectivity/source/drivers/odbc/OStatement \
54 connectivity/source/drivers/odbc/OResultSetMetaData \
55 connectivity/source/drivers/odbc/OResultSet \
56 connectivity/source/drivers/odbc/OTools \
57 connectivity/source/drivers/odbc/ODatabaseMetaDataResultSet \
58 connectivity/source/drivers/odbc/ODatabaseMetaData \
59 connectivity/source/drivers/odbc/ODriver \
60 connectivity/source/drivers/odbc/OConnection \
63 # vim: set noet sw=4 ts=4: