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
,\
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
,\
37 $(eval
$(call gb_Library_use_libraries
,odbc
,\
46 $(eval
$(call gb_Library_add_exception_objects
,odbc
,\
47 connectivity
/source
/drivers
/odbc
/ORealDriver \
48 connectivity
/source
/drivers
/odbc
/OFunctions \
49 connectivity
/source
/drivers
/odbc
/OPreparedStatement \
50 connectivity
/source
/drivers
/odbc
/OStatement \
51 connectivity
/source
/drivers
/odbc
/OResultSetMetaData \
52 connectivity
/source
/drivers
/odbc
/OResultSet \
53 connectivity
/source
/drivers
/odbc
/OTools \
54 connectivity
/source
/drivers
/odbc
/ODatabaseMetaDataResultSet \
55 connectivity
/source
/drivers
/odbc
/ODatabaseMetaData \
56 connectivity
/source
/drivers
/odbc
/ODriver \
57 connectivity
/source
/drivers
/odbc
/OConnection \
60 # vim: set noet sw=4 ts=4: