summaryrefslogtreecommitdiff
path: root/connectivity/Library_mysql_jdbc.mk
diff options
context:
space:
mode:
authorTamas Bunth <tamas.bunth@collabora.co.uk>2018-10-08 11:04:48 +0200
committerTamás Bunth <btomi96@gmail.com>2018-10-14 22:16:05 +0200
commitb2cefc2e36925b4384eb0aea54aa2c6bcfb018a8 (patch)
treef1ab6e9fec3c66f0a3285b3ffffcbae38dc7185d /connectivity/Library_mysql_jdbc.mk
parentba6723431afa843232fadf44e12ddab44e85c9f0 (diff)
Revert removal of mysql jdbc connector
And also make some minor fixes so it cooperates with the new mysqlc library. Change-Id: I866add99a699150c6550ee7f7ff2ee947e07117c Reviewed-on: https://gerrit.libreoffice.org/61648 Tested-by: Jenkins Reviewed-by: Tamás Bunth <btomi96@gmail.com>
Diffstat (limited to 'connectivity/Library_mysql_jdbc.mk')
-rw-r--r--connectivity/Library_mysql_jdbc.mk48
1 files changed, 48 insertions, 0 deletions
diff --git a/connectivity/Library_mysql_jdbc.mk b/connectivity/Library_mysql_jdbc.mk
new file mode 100644
index 000000000000..3e92a7e19622
--- /dev/null
+++ b/connectivity/Library_mysql_jdbc.mk
@@ -0,0 +1,48 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+
+$(eval $(call gb_Library_Library,mysql_jdbc))
+
+$(eval $(call gb_Library_set_componentfile,mysql_jdbc,connectivity/source/drivers/mysql_jdbc/mysql_jdbc))
+
+$(eval $(call gb_Library_use_external,mysql_jdbc,boost_headers))
+
+$(eval $(call gb_Library_use_sdk_api,mysql_jdbc))
+
+$(eval $(call gb_Library_set_include,mysql_jdbc,\
+ $$(INCLUDE) \
+ -I$(SRCDIR)/connectivity/inc \
+ -I$(SRCDIR)/connectivity/source/inc \
+))
+
+$(eval $(call gb_Library_set_precompiled_header,mysql_jdbc,$(SRCDIR)/connectivity/inc/pch/precompiled_mysql))
+
+$(eval $(call gb_Library_use_libraries,mysql_jdbc,\
+ cppu \
+ cppuhelper \
+ sal \
+ salhelper \
+ dbtools \
+ comphelper \
+))
+
+$(eval $(call gb_Library_add_exception_objects,mysql_jdbc,\
+ connectivity/source/drivers/mysql_jdbc/YDriver \
+ connectivity/source/drivers/mysql_jdbc/YTables \
+ connectivity/source/drivers/mysql_jdbc/YTable \
+ connectivity/source/drivers/mysql_jdbc/YViews \
+ connectivity/source/drivers/mysql_jdbc/YCatalog \
+ connectivity/source/drivers/mysql_jdbc/YColumns \
+ connectivity/source/drivers/mysql_jdbc/YUser \
+ connectivity/source/drivers/mysql_jdbc/YUsers \
+ connectivity/source/drivers/mysql_jdbc/Yservices \
+))
+
+# vim: set noet sw=4 ts=4: