~drizzle-trunk/drizzle/development

139.1.1 by Stewart Smith
Move MD5() into a UDF
1
# Copyright (C) 2006 MySQL AB
2
#
3
# This program is free software; you can redistribute it and/or modify
4
# it under the terms of the GNU General Public License as published by
5
# the Free Software Foundation; version 2 of the License.
6
#
7
# This program is distributed in the hope that it will be useful,
8
# but WITHOUT ANY WARRANTY; without even the implied warranty of
9
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10
# GNU General Public License for more details.
11
#
12
# You should have received a copy of the GNU General Public License
13
# along with this program; if not, write to the Free Software
14
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
15
907.3.3 by Monty Taylor
A whole crapload of build fixes. OpenSolaris AMD64 builds with -m64 now by default... still isn't warning clean yet though. Also cleaned up the AM_*FLAGS situation.
16
AM_CPPFLAGS += $(SSL_CFLAGS)
139.1.1 by Stewart Smith
Move MD5() into a UDF
17
230.2.1 by Monty Taylor
Bug 252687: openssl-dev requirement undetected
18
if BUILD_MD5_UDF
722.2.1 by Monty Taylor
Fixed: error compiling with the MD5 plugin on mac.
19
EXTRA_LTLIBRARIES=	libmd5udf.la
722.2.7 by Monty Taylor
Fixed the stupid build problem
20
pkgplugin_LTLIBRARIES=	@plugin_md5_shared_target@
722.2.1 by Monty Taylor
Fixed: error compiling with the MD5 plugin on mac.
21
libmd5udf_la_LDFLAGS=	-module -avoid-version -rpath $(pkgplugindir)
22
libmd5udf_la_LIBADD=	$(CRYPTO_LIBS)
907.3.3 by Monty Taylor
A whole crapload of build fixes. OpenSolaris AMD64 builds with -m64 now by default... still isn't warning clean yet though. Also cleaned up the AM_*FLAGS situation.
23
libmd5udf_la_CPPFLAGS=	${AM_CPPFLAGS} -DDRIZZLE_DYNAMIC_PLUGIN
722.2.1 by Monty Taylor
Fixed: error compiling with the MD5 plugin on mac.
24
libmd5udf_la_SOURCES=	md5udf.cc
722.2.7 by Monty Taylor
Fixed the stupid build problem
25
26
EXTRA_LIBRARIES=	libmd5udf.a
27
pkgplugin_LIBRARIES=	@plugin_md5_static_target@
28
libmd5udf_a_SOURCES=	md5udf.cc
230.2.1 by Monty Taylor
Bug 252687: openssl-dev requirement undetected
29
endif