summaryrefslogtreecommitdiff
path: root/mysqlc/Extension_mysql-connector-ooo.mk
diff options
context:
space:
mode:
authorPeter Foley <pefoley2@verizon.net>2013-01-24 15:43:52 -0500
committerMichael Stahl <mstahl@redhat.com>2013-01-28 22:54:08 +0000
commitb02d799732594eee67cab0f86dc3b09182f628a5 (patch)
tree5a90134c1c2ac1ed5a25933ce84a8fdab196030f /mysqlc/Extension_mysql-connector-ooo.mk
parentc322d509231f9e1220fb86be68f13c5f4b135ccb (diff)
convert mysqlc to gbuild and add to tail_build
Change-Id: Ia64bc884ed04a5d5652fb743f543a39e6b6bbcf2 Reviewed-on: https://gerrit.libreoffice.org/1901 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'mysqlc/Extension_mysql-connector-ooo.mk')
-rw-r--r--mysqlc/Extension_mysql-connector-ooo.mk34
1 files changed, 34 insertions, 0 deletions
diff --git a/mysqlc/Extension_mysql-connector-ooo.mk b/mysqlc/Extension_mysql-connector-ooo.mk
new file mode 100644
index 000000000000..65f2b0d5cd97
--- /dev/null
+++ b/mysqlc/Extension_mysql-connector-ooo.mk
@@ -0,0 +1,34 @@
+# -*- 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_Extension_Extension,mysql-connector-ooo,mysqlc/source))
+
+$(eval $(call gb_Extension_add_library,mysql-connector-ooo,mysqlc))
+
+$(eval $(call gb_Extension_add_file,mysql-connector-ooo,registry/data/org/openoffice/Office/DataAccess/Drivers.xcu,$(call gb_XcuFile_for_extension,mysqlc/source/registry/data/org/openoffice/Office/DataAccess/Drivers.xcu)))
+
+$(eval $(call gb_Extension_add_files,mysql-connector-ooo,images,\
+ $(SRCDIR)/icon-themes/galaxy/desktop/res/extension_32.png \
+))
+
+ifeq ($(SYSTEM_MYSQL_CPPCON),NO)
+$(eval $(call gb_Extension_add_files,mysql-connector-ooo,,\
+ $(call gb_Library_get_target,mysqlcppcon) \
+))
+endif
+
+# HACK: comes from Library_mysql.mk
+ifeq ($(SYSTEM_MYSQL),NO)
+$(eval $(call gb_Extension_add_files,mysql-connector-ooo,,\
+ $(LIBMYSQL_PATH)/lib/$(MYSQL_LIBFILE) \
+))
+endif
+
+
+# vim: set noet sw=4 ts=4: