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
,mysqlcppconn
))
12 $(eval
$(call gb_Library_use_unpacked
,mysqlcppconn
,mysqlcppconn
))
14 $(eval
$(call gb_Library_use_externals
,mysqlcppconn
, \
21 $(eval
$(call gb_Library_add_libs
,mysqlcppconn
,\
22 $(if
$(filter-out MACOSX
,$(OS
)),-ldl
) \
28 ifeq ($(SYSTEM_MARIADB
),)
29 $(eval
$(call gb_Library_use_externals
,mysqlcppconn
,\
35 $(eval
$(call gb_Library_set_external_code
,mysqlcppconn
))
37 $(eval
$(call gb_Library_set_warnings_not_errors
,mysqlcppconn
))
39 $(eval
$(call gb_Library_set_generated_cxx_suffix
,mysqlcppconn
,cpp))
41 $(eval
$(call gb_Library_set_include
,mysqlcppconn
,\
43 -I
$(call gb_UnpackedTarball_get_dir
,mysqlcppconn
) \
44 -I
$(call gb_UnpackedTarball_get_dir
,mysqlcppconn
)/cppconn \
47 $(eval
$(call gb_Library_add_defs
,mysqlcppconn
,\
48 -Dmysqlcppconn_EXPORTS \
49 $(if
$(filter WNT
,$(OS
)),\
51 -D_CRT_SECURE_NO_WARNINGS \
52 -D_SCL_SECURE_NO_WARNINGS
) \
56 $(eval
$(call gb_Library_add_libs
,mysqlcppconn
,\
61 $(eval
$(call gb_Library_add_generated_exception_objects
,mysqlcppconn
,\
62 UnpackedTarball
/mysqlcppconn
/driver
/mysql_art_resultset \
63 UnpackedTarball
/mysqlcppconn
/driver
/mysql_art_rset_metadata \
64 UnpackedTarball
/mysqlcppconn
/driver
/mysql_connection \
65 UnpackedTarball
/mysqlcppconn
/driver
/mysql_debug \
66 UnpackedTarball
/mysqlcppconn
/driver
/mysql_driver \
67 UnpackedTarball
/mysqlcppconn
/driver
/mysql_metadata \
68 UnpackedTarball
/mysqlcppconn
/driver
/mysql_parameter_metadata \
69 UnpackedTarball
/mysqlcppconn
/driver
/mysql_prepared_statement \
70 UnpackedTarball
/mysqlcppconn
/driver
/mysql_ps_resultset \
71 UnpackedTarball
/mysqlcppconn
/driver
/mysql_ps_resultset_metadata \
72 UnpackedTarball
/mysqlcppconn
/driver
/mysql_resultbind \
73 UnpackedTarball
/mysqlcppconn
/driver
/mysql_resultset \
74 UnpackedTarball
/mysqlcppconn
/driver
/mysql_resultset_metadata \
75 UnpackedTarball
/mysqlcppconn
/driver
/mysql_statement \
76 UnpackedTarball
/mysqlcppconn
/driver
/mysql_uri \
77 UnpackedTarball
/mysqlcppconn
/driver
/mysql_util \
78 UnpackedTarball
/mysqlcppconn
/driver
/mysql_warning \
79 UnpackedTarball
/mysqlcppconn
/driver
/nativeapi
/mysql_client_api \
80 UnpackedTarball
/mysqlcppconn
/driver
/nativeapi
/library_loader \
81 UnpackedTarball
/mysqlcppconn
/driver
/nativeapi
/mysql_native_driver_wrapper \
82 UnpackedTarball
/mysqlcppconn
/driver
/nativeapi
/mysql_native_connection_wrapper \
83 UnpackedTarball
/mysqlcppconn
/driver
/nativeapi
/mysql_native_resultset_wrapper \
84 UnpackedTarball
/mysqlcppconn
/driver
/nativeapi
/mysql_native_statement_wrapper \
87 # vim: set noet sw=4 ts=4: