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_StaticLibrary_StaticLibrary
,mariadblib
))
12 $(eval
$(call gb_StaticLibrary_set_warnings_not_errors
,mariadblib
))
14 $(eval
$(call gb_StaticLibrary_use_unpacked
,mariadblib
,mariadb
))
16 $(eval
$(call gb_StaticLibrary_use_package
,mariadblib
,libmariadb_inc
))
18 $(eval
$(call gb_StaticLibrary_set_generated_c_suffix
,mariadblib
,c
))
20 $(eval
$(call gb_StaticLibrary_set_include
,mariadblib
,\
22 -I
$(call gb_UnpackedTarball_get_dir
,mariadb
)/include \
25 # This is needed for MSVC 2008: it somehow finds a dlopen somewhere
26 # but the static library then contains unreferenced symbols.
27 # This macro enables a re-definition to native Win32 APIs in my_global.h.
28 $(eval
$(call gb_StaticLibrary_add_cflags
,mariadblib
,-DHAVE_DLOPEN
))
30 $(eval
$(call gb_StaticLibrary_add_generated_cobjects
,mariadblib
,\
31 UnpackedTarball
/mariadb
/libmysql
/array \
32 UnpackedTarball
/mariadb
/libmysql
/bchange \
33 UnpackedTarball
/mariadb
/libmysql
/bmove \
34 UnpackedTarball
/mariadb
/libmysql
/bmove_upp \
35 UnpackedTarball
/mariadb
/libmysql
/charset \
36 UnpackedTarball
/mariadb
/libmysql
/client_plugin \
37 UnpackedTarball
/mariadb
/libmysql
/dbug \
38 UnpackedTarball
/mariadb
/libmysql
/default \
39 UnpackedTarball
/mariadb
/libmysql
/errmsg \
40 UnpackedTarball
/mariadb
/libmysql
/errors \
41 UnpackedTarball
/mariadb
/libmysql
/getopt \
42 UnpackedTarball
/mariadb
/libmysql
/getopt1 \
43 UnpackedTarball
/mariadb
/libmysql
/get_password \
44 UnpackedTarball
/mariadb
/libmysql
/int2str \
45 UnpackedTarball
/mariadb
/libmysql
/is_prefix \
46 UnpackedTarball
/mariadb
/libmysql
/libmysql \
47 UnpackedTarball
/mariadb
/libmysql
/list \
48 UnpackedTarball
/mariadb
/libmysql
/llstr \
49 UnpackedTarball
/mariadb
/libmysql
/longlong2str \
50 UnpackedTarball
/mariadb
/libmysql
/mf_dirname \
51 UnpackedTarball
/mariadb
/libmysql
/mf_fn_ext \
52 UnpackedTarball
/mariadb
/libmysql
/mf_format \
53 UnpackedTarball
/mariadb
/libmysql
/mf_loadpath \
54 UnpackedTarball
/mariadb
/libmysql
/mf_pack \
55 UnpackedTarball
/mariadb
/libmysql
/mf_path \
56 UnpackedTarball
/mariadb
/libmysql
/mf_tempfile \
57 UnpackedTarball
/mariadb
/libmysql
/mf_unixpath \
58 UnpackedTarball
/mariadb
/libmysql
/mf_wcomp \
59 UnpackedTarball
/mariadb
/libmysql
/mulalloc \
60 UnpackedTarball
/mariadb
/libmysql
/my_alloc \
61 UnpackedTarball
/mariadb
/libmysql
/my_auth \
62 UnpackedTarball
/mariadb
/libmysql
/my_charset \
63 UnpackedTarball
/mariadb
/libmysql
/my_compress \
64 UnpackedTarball
/mariadb
/libmysql
/my_create \
65 UnpackedTarball
/mariadb
/libmysql
/my_delete \
66 UnpackedTarball
/mariadb
/libmysql
/my_div \
67 UnpackedTarball
/mariadb
/libmysql
/my_error \
68 UnpackedTarball
/mariadb
/libmysql
/my_fopen \
69 UnpackedTarball
/mariadb
/libmysql
/my_fstream \
70 UnpackedTarball
/mariadb
/libmysql
/my_gethostbyname \
71 UnpackedTarball
/mariadb
/libmysql
/my_getwd \
72 UnpackedTarball
/mariadb
/libmysql
/my_init \
73 UnpackedTarball
/mariadb
/libmysql
/my_lib \
74 UnpackedTarball
/mariadb
/libmysql
/my_loaddata \
75 UnpackedTarball
/mariadb
/libmysql
/my_malloc \
76 UnpackedTarball
/mariadb
/libmysql
/my_messnc \
77 UnpackedTarball
/mariadb
/libmysql
/my_net \
78 UnpackedTarball
/mariadb
/libmysql
/my_once \
79 UnpackedTarball
/mariadb
/libmysql
/my_open \
80 UnpackedTarball
/mariadb
/libmysql
/my_port \
81 UnpackedTarball
/mariadb
/libmysql
/my_pthread \
82 UnpackedTarball
/mariadb
/libmysql
/my_read \
83 UnpackedTarball
/mariadb
/libmysql
/my_realloc \
84 UnpackedTarball
/mariadb
/libmysql
/my_secure \
85 UnpackedTarball
/mariadb
/libmysql
/my_seek \
86 UnpackedTarball
/mariadb
/libmysql
/my_static \
87 UnpackedTarball
/mariadb
/libmysql
/my_stmt \
88 UnpackedTarball
/mariadb
/libmysql
/my_stmt_codec \
89 UnpackedTarball
/mariadb
/libmysql
/my_symlink \
90 UnpackedTarball
/mariadb
/libmysql
/my_thr_init \
91 UnpackedTarball
/mariadb
/libmysql
/my_vsnprintf \
92 UnpackedTarball
/mariadb
/libmysql
/my_write \
93 UnpackedTarball
/mariadb
/libmysql
/net \
94 UnpackedTarball
/mariadb
/libmysql
/password \
95 UnpackedTarball
/mariadb
/libmysql
/safemalloc \
96 UnpackedTarball
/mariadb
/libmysql
/sha1 \
97 UnpackedTarball
/mariadb
/libmysql
/str2int \
98 UnpackedTarball
/mariadb
/libmysql
/strcend \
99 UnpackedTarball
/mariadb
/libmysql
/strcont \
100 UnpackedTarball
/mariadb
/libmysql
/strend \
101 UnpackedTarball
/mariadb
/libmysql
/strfill \
102 UnpackedTarball
/mariadb
/libmysql
/string \
103 UnpackedTarball
/mariadb
/libmysql
/strinstr \
104 UnpackedTarball
/mariadb
/libmysql
/strmake \
105 UnpackedTarball
/mariadb
/libmysql
/strmov \
106 UnpackedTarball
/mariadb
/libmysql
/strnlen \
107 UnpackedTarball
/mariadb
/libmysql
/strnmov \
108 UnpackedTarball
/mariadb
/libmysql
/strto \
109 UnpackedTarball
/mariadb
/libmysql
/strtoll \
110 UnpackedTarball
/mariadb
/libmysql
/strtoull \
111 UnpackedTarball
/mariadb
/libmysql
/strxmov \
112 UnpackedTarball
/mariadb
/libmysql
/strxnmov \
113 UnpackedTarball
/mariadb
/libmysql
/thr_mutex \
114 UnpackedTarball
/mariadb
/libmysql
/typelib \
115 UnpackedTarball
/mariadb
/libmysql
/violite \
118 # vim: set noet sw=4 ts=4: