1
# Copyright (C) 2000-2006 MySQL AB
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.
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.
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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16
# This file is public domain and comes with NO WARRANTY of any kind
18
LDADD= $(top_builddir)/libdrizzle/libdrizzle.la -lz
21
noinst_HEADERS = completion_hash.h \
26
CLEANFILES = $(BUILT_SOURCES)
28
bin_PROGRAMS = drizzle \
37
drizzle_SOURCES = drizzle.c readline.c completion_hash.c
38
drizzle_LDADD = $(READLINE_LIBS) $(TERMCAP_LIBS) $(GLIB_LIBS) \
39
$(LDADD) $(CXXLDFLAGS)
40
drizzleadmin_SOURCES = drizzleadmin.cc
42
drizzlebinlog_SOURCES = drizzlebinlog.cc \
43
$(top_srcdir)/mysys/mf_tempdir.c \
44
$(top_srcdir)/mysys/my_new.cc \
45
$(top_srcdir)/mysys/my_bit.c \
46
$(top_srcdir)/mysys/my_bitmap.c \
47
$(top_srcdir)/mysys/base64.c
49
drizzledump_SOURCES= drizzledump.c
51
drizzleimport_SOURCES= drizzleimport.c
53
mysqlslap_SOURCES= mysqlslap.c
54
mysqlslap_CFLAGS= -DTHREAD -UUNDEF_THREADS_HACK
56
drizzletest_SOURCES= drizzletest.cc
57
drizzletest_LDADD = ${LDADD} $(PCRE_LIBS)
58
drizzletest_CFLAGS = ${AM_CPPFLAGS} $(PCRE_CFLAGS)
60
DEFS = -DDEFAULT_MYSQL_HOME="\"$(prefix)\"" \
61
-DDATADIR="\"$(localstatedir)\"" \
62
-DLOCALEDIR=\"$(localedir)\" @DEFS@