Version 4.3.0.0.beta1, tag libreoffice-4.3.0.0.beta1
[LibreOffice.git] / external / libmariadb / StaticLibrary_mariadb.mk
blobb0434a4a06d9cac51ca3157ed812f33621664ad8
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_set_include,mariadblib,\
17 $$(INCLUDE) \
18 -I$(call gb_UnpackedTarball_get_dir,mariadb)/include \
21 # This is needed for MSVC 2008: it somehow finds a dlopen somewhere
22 # but the static library then contains unreferenced symbols.
23 # This macro enables a re-definition to native Win32 APIs in my_global.h.
24 ## TODO missing enable: -DHAVE_OPENSSL -D HAVE_COMPRESS
25 ## (but then need to add "-lssl -lcrypto -lz" to mysqlcppconn linking)
26 $(eval $(call gb_StaticLibrary_add_cflags,mariadblib,-DHAVE_DLOPEN -D ENABLED_LOCAL_INFILE -D LIBMARIADB -D THREAD -DSQLITE_ENABLE_COLUMN_METADATA=1))
28 $(eval $(call gb_StaticLibrary_add_generated_cobjects,mariadblib,\
29 UnpackedTarball/mariadb/libmariadb/array \
30 UnpackedTarball/mariadb/libmariadb/ma_dyncol \
31 UnpackedTarball/mariadb/libmariadb/bchange \
32 UnpackedTarball/mariadb/libmariadb/bmove \
33 UnpackedTarball/mariadb/libmariadb/bmove_upp \
34 UnpackedTarball/mariadb/libmariadb/my_charset \
35 UnpackedTarball/mariadb/libmariadb/hash \
36 UnpackedTarball/mariadb/libmariadb/violite \
37 UnpackedTarball/mariadb/libmariadb/net \
38 UnpackedTarball/mariadb/libmariadb/charset \
39 UnpackedTarball/mariadb/libmariadb/ma_time \
40 UnpackedTarball/mariadb/libmariadb/dbug \
41 UnpackedTarball/mariadb/libmariadb/default \
42 UnpackedTarball/mariadb/libmariadb/errmsg \
43 UnpackedTarball/mariadb/libmariadb/my_vsnprintf \
44 UnpackedTarball/mariadb/libmariadb/errors \
45 UnpackedTarball/mariadb/libmariadb/getopt1 \
46 UnpackedTarball/mariadb/libmariadb/getopt \
47 UnpackedTarball/mariadb/libmariadb/get_password \
48 UnpackedTarball/mariadb/libmariadb/int2str \
49 UnpackedTarball/mariadb/libmariadb/is_prefix \
50 UnpackedTarball/mariadb/libmariadb/libmariadb \
51 UnpackedTarball/mariadb/libmariadb/list \
52 UnpackedTarball/mariadb/libmariadb/llstr \
53 UnpackedTarball/mariadb/libmariadb/longlong2str \
54 UnpackedTarball/mariadb/libmariadb/mf_dirname \
55 UnpackedTarball/mariadb/libmariadb/mf_fn_ext \
56 UnpackedTarball/mariadb/libmariadb/mf_format \
57 UnpackedTarball/mariadb/libmariadb/mf_loadpath \
58 UnpackedTarball/mariadb/libmariadb/mf_pack \
59 UnpackedTarball/mariadb/libmariadb/mf_path \
60 UnpackedTarball/mariadb/libmariadb/mf_unixpath \
61 UnpackedTarball/mariadb/libmariadb/mf_wcomp \
62 UnpackedTarball/mariadb/libmariadb/mulalloc \
63 UnpackedTarball/mariadb/libmariadb/my_alloc \
64 UnpackedTarball/mariadb/libmariadb/my_compress \
65 UnpackedTarball/mariadb/libmariadb/my_div \
66 UnpackedTarball/mariadb/libmariadb/my_error \
67 UnpackedTarball/mariadb/libmariadb/my_fopen \
68 UnpackedTarball/mariadb/libmariadb/my_fstream \
69 UnpackedTarball/mariadb/libmariadb/my_getwd \
70 UnpackedTarball/mariadb/libmariadb/my_init \
71 UnpackedTarball/mariadb/libmariadb/my_lib \
72 UnpackedTarball/mariadb/libmariadb/my_malloc \
73 UnpackedTarball/mariadb/libmariadb/my_messnc \
74 UnpackedTarball/mariadb/libmariadb/my_net \
75 UnpackedTarball/mariadb/libmariadb/my_once \
76 UnpackedTarball/mariadb/libmariadb/my_open \
77 UnpackedTarball/mariadb/libmariadb/my_port \
78 UnpackedTarball/mariadb/libmariadb/my_pthread \
79 UnpackedTarball/mariadb/libmariadb/my_read \
80 UnpackedTarball/mariadb/libmariadb/my_realloc \
81 UnpackedTarball/mariadb/libmariadb/my_seek \
82 UnpackedTarball/mariadb/libmariadb/my_static \
83 UnpackedTarball/mariadb/libmariadb/my_symlink \
84 UnpackedTarball/mariadb/libmariadb/my_thr_init \
85 UnpackedTarball/mariadb/libmariadb/my_write \
86 UnpackedTarball/mariadb/libmariadb/password \
87 UnpackedTarball/mariadb/libmariadb/str2int \
88 UnpackedTarball/mariadb/libmariadb/strcend \
89 UnpackedTarball/mariadb/libmariadb/strcont \
90 UnpackedTarball/mariadb/libmariadb/strend \
91 UnpackedTarball/mariadb/libmariadb/strfill \
92 UnpackedTarball/mariadb/libmariadb/string \
93 UnpackedTarball/mariadb/libmariadb/strinstr \
94 UnpackedTarball/mariadb/libmariadb/strmake \
95 UnpackedTarball/mariadb/libmariadb/strmov \
96 UnpackedTarball/mariadb/libmariadb/strnmov \
97 UnpackedTarball/mariadb/libmariadb/strtoll \
98 UnpackedTarball/mariadb/libmariadb/strtoull \
99 UnpackedTarball/mariadb/libmariadb/strxmov \
100 UnpackedTarball/mariadb/libmariadb/strxnmov \
101 UnpackedTarball/mariadb/libmariadb/thr_mutex \
102 UnpackedTarball/mariadb/libmariadb/typelib \
103 UnpackedTarball/mariadb/libmariadb/sha1 \
104 UnpackedTarball/mariadb/libmariadb/my_stmt \
105 UnpackedTarball/mariadb/libmariadb/my_loaddata \
106 UnpackedTarball/mariadb/libmariadb/my_stmt_codec \
107 UnpackedTarball/mariadb/libmariadb/client_plugin \
108 UnpackedTarball/mariadb/libmariadb/my_auth \
109 UnpackedTarball/mariadb/libmariadb/ma_secure \
112 # vim: set noet sw=4 ts=4: