tdf#119052: hide edit style button in character style
[LibreOffice.git] / mysqlc / Library_mysqlc.mk
blob97f2b63500a2814bde799c86f912e13e61b21d75
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, you can obtain one at http://mozilla.org/MPL/2.0/.
10 $(eval $(call gb_Library_Library,mysqlc))
12 $(eval $(call gb_Library_use_externals,mysqlc,\
13 boost_headers \
14 mysql-connector-cpp \
17 ifeq ($(SYSTEM_MYSQL_CONNECTOR_CPP),)
18 $(eval $(call gb_Library_add_libs,mysqlc,\
19 $(if $(filter-out WNT,$(OS)),$(if $(filter MACOSX SOLARIS,$(OS)),-lz -lm,\
20 -rdynamic -lz -lcrypt -lm)) \
22 endif
24 $(eval $(call gb_Library_use_sdk_api,mysqlc))
26 $(eval $(call gb_Library_use_libraries,mysqlc,\
27 cppu \
28 sal \
29 salhelper \
30 cppuhelper \
33 $(eval $(call gb_Library_add_defs,mysqlc,\
34 -DCPPDBC_EXPORTS \
35 -DCPPCONN_LIB_BUILD \
36 -DMARIADBC_VERSION_MAJOR=$(MARIADBC_MAJOR) \
37 -DMARIADBC_VERSION_MINOR=$(MARIADBC_MINOR) \
38 -DMARIADBC_VERSION_MICRO=$(MARIADBC_MICRO) \
39 $(if $(SYSTEM_MYSQL_CONNECTOR_CPP),,\
40 -DCPPCONN_LIB=\"$(call gb_Library_get_runtime_filename,mysqlcppconn)\") \
41 $(if $(BUNDLE_MARIADB_CONNECTOR_C),-DBUNDLE_MARIADB=\"$(LIBMARIADB)\") \
44 $(eval $(call gb_Library_add_exception_objects,mysqlc,\
45 mysqlc/source/mysqlc_driver \
46 mysqlc/source/mysqlc_services \
47 mysqlc/source/mysqlc_connection \
48 mysqlc/source/mysqlc_resultset \
49 mysqlc/source/mysqlc_resultsetmetadata \
50 mysqlc/source/mysqlc_statement \
51 mysqlc/source/mysqlc_preparedstatement \
52 mysqlc/source/mysqlc_databasemetadata \
53 mysqlc/source/mysqlc_types \
54 mysqlc/source/mysqlc_general \
57 $(eval $(call gb_Library_set_componentfile,mysqlc,mysqlc/source/mysqlc))
59 $(eval $(call gb_Library_set_external_code,mysqlc))
61 # vim: set noet sw=4 ts=4: