1# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2#
3#
4# This file is part of the LibreOffice project.
5#
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/.
9#
10
11$(eval $(call gb_Library_Library,mysql_jdbc))
12
13$(eval $(call gb_Library_set_componentfile,mysql_jdbc,connectivity/source/drivers/mysql_jdbc/mysql_jdbc))
14
15$(eval $(call gb_Library_use_external,mysql_jdbc,boost_headers))
16
17$(eval $(call gb_Library_use_sdk_api,mysql_jdbc))
18
19$(eval $(call gb_Library_set_include,mysql_jdbc,\
20	$$(INCLUDE) \
21	-I$(SRCDIR)/connectivity/inc \
22	-I$(SRCDIR)/connectivity/source/inc \
23))
24
25$(eval $(call gb_Library_set_precompiled_header,mysql_jdbc,connectivity/inc/pch/precompiled_mysql_jdbc))
26
27$(eval $(call gb_Library_use_libraries,mysql_jdbc,\
28	cppu \
29	cppuhelper \
30	sal \
31	salhelper \
32	dbtools \
33	comphelper \
34))
35
36$(eval $(call gb_Library_add_exception_objects,mysql_jdbc,\
37	connectivity/source/drivers/mysql_jdbc/YDriver \
38	connectivity/source/drivers/mysql_jdbc/YTables \
39	connectivity/source/drivers/mysql_jdbc/YTable \
40	connectivity/source/drivers/mysql_jdbc/YViews \
41	connectivity/source/drivers/mysql_jdbc/YCatalog \
42	connectivity/source/drivers/mysql_jdbc/YColumns \
43	connectivity/source/drivers/mysql_jdbc/YUser \
44	connectivity/source/drivers/mysql_jdbc/YUsers \
45	connectivity/source/drivers/mysql_jdbc/Yservices \
46))
47
48# vim: set noet sw=4 ts=4:
49