2013-01-24 14:43:52 -06:00
|
|
|
# -*- 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))
|
|
|
|
|
2013-11-03 16:47:20 -06:00
|
|
|
$(eval $(call gb_Extension_use_default_description,mysql-connector-ooo,mysqlc/source/description-en-US.txt))
|
2013-03-07 04:01:55 -06:00
|
|
|
$(eval $(call gb_Extension_use_default_license,mysql-connector-ooo))
|
|
|
|
|
2013-01-24 14:43:52 -06:00
|
|
|
$(eval $(call gb_Extension_add_library,mysql-connector-ooo,mysqlc))
|
|
|
|
|
2013-02-07 05:45:20 -06:00
|
|
|
$(eval $(call gb_Extension_add_file,mysql-connector-ooo,components.rdb,$(call gb_Rdb_get_target,mysqlc)))
|
|
|
|
|
2013-01-24 14:43:52 -06:00
|
|
|
$(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 \
|
|
|
|
))
|
|
|
|
|
2014-02-11 09:57:35 -06:00
|
|
|
ifeq ($(SYSTEM_MYSQL_CPPCONN),)
|
2013-01-28 16:53:30 -06:00
|
|
|
$(eval $(call gb_Extension_add_library,mysql-connector-ooo,mysqlcppconn))
|
2013-01-24 14:43:52 -06:00
|
|
|
endif
|
|
|
|
|
2014-03-10 16:57:08 -05:00
|
|
|
ifneq ($(BUNDLE_MARIADB),)
|
2013-10-19 15:57:40 -05:00
|
|
|
$(eval $(call gb_Extension_add_files,mysql-connector-ooo,,\
|
|
|
|
$(LIBMARIADB_PATH)/$(LIBMARIADB) \
|
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
2013-01-24 14:43:52 -06:00
|
|
|
# vim: set noet sw=4 ts=4:
|