bump product version to 4.1.6.2
[LibreOffice.git] / mysqlcppconn / Library_mysqlcppconn.mk
blobeccc52173d8e9380ccc7891a1f3fa546f8009858
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, \
15 boost_headers \
16 mariadb \
19 ifneq ($(OS)$(COM),WNTMSC)
21 $(eval $(call gb_Library_add_libs,mysqlcppconn,\
22 $(if $(filter-out MACOSX,$(OS)),-ldl) \
25 endif
27 $(eval $(call gb_Library_set_warnings_not_errors,mysqlcppconn))
29 $(eval $(call gb_Library_set_generated_cxx_suffix,mysqlcppconn,cpp))
31 $(eval $(call gb_Library_set_include,mysqlcppconn,\
32 $$(INCLUDE) \
33 -I$(call gb_UnpackedTarball_get_dir,mysqlcppconn) \
34 -I$(call gb_UnpackedTarball_get_dir,mysqlcppconn)/cppconn \
37 $(eval $(call gb_Library_add_defs,mysqlcppconn,\
38 -Dmysqlcppconn_EXPORTS \
39 $(if $(filter WNT,$(OS)),\
40 -DCPPDBC_WIN32 \
41 -D_CRT_SECURE_NO_WARNINGS \
42 -D_SCL_SECURE_NO_WARNINGS ) \
45 ifeq ($(OS),LINUX)
46 $(eval $(call gb_Library_add_libs,mysqlcppconn,\
47 -lpthread \
49 endif
51 $(eval $(call gb_Library_add_generated_exception_objects,mysqlcppconn,\
52 UnpackedTarball/mysqlcppconn/driver/mysql_art_resultset \
53 UnpackedTarball/mysqlcppconn/driver/mysql_art_rset_metadata \
54 UnpackedTarball/mysqlcppconn/driver/mysql_connection \
55 UnpackedTarball/mysqlcppconn/driver/mysql_debug \
56 UnpackedTarball/mysqlcppconn/driver/mysql_driver \
57 UnpackedTarball/mysqlcppconn/driver/mysql_metadata \
58 UnpackedTarball/mysqlcppconn/driver/mysql_parameter_metadata \
59 UnpackedTarball/mysqlcppconn/driver/mysql_prepared_statement \
60 UnpackedTarball/mysqlcppconn/driver/mysql_ps_resultset \
61 UnpackedTarball/mysqlcppconn/driver/mysql_ps_resultset_metadata \
62 UnpackedTarball/mysqlcppconn/driver/mysql_resultbind \
63 UnpackedTarball/mysqlcppconn/driver/mysql_resultset \
64 UnpackedTarball/mysqlcppconn/driver/mysql_resultset_metadata \
65 UnpackedTarball/mysqlcppconn/driver/mysql_statement \
66 UnpackedTarball/mysqlcppconn/driver/mysql_util \
67 UnpackedTarball/mysqlcppconn/driver/mysql_warning \
68 UnpackedTarball/mysqlcppconn/driver/nativeapi/mysql_client_api \
69 UnpackedTarball/mysqlcppconn/driver/nativeapi/library_loader \
70 UnpackedTarball/mysqlcppconn/driver/nativeapi/mysql_native_driver_wrapper \
71 UnpackedTarball/mysqlcppconn/driver/nativeapi/mysql_native_connection_wrapper \
72 UnpackedTarball/mysqlcppconn/driver/nativeapi/mysql_native_resultset_wrapper \
73 UnpackedTarball/mysqlcppconn/driver/nativeapi/mysql_native_statement_wrapper \
76 # vim: set noet sw=4 ts=4: