~drizzle-trunk/drizzle/development

1 by brian
clean slate
1
# Copyright (C) 2000-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., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
15
16
# This file is public domain and comes with NO WARRANTY of any kind
17
77.6.3 by Monty Taylor
Moved drizzlebinlog back to client.
18
AM_CPPFLAGS =		-I$(top_builddir)/include \
19
					-I$(top_srcdir)/include 
1 by brian
clean slate
20
77.1.50 by Monty Taylor
First step of sql-common removal (the cheap way)
21
LDADD=				$(top_builddir)/libdrizzle/libdrizzle.la -lz
12.4.3 by Stewart Smith
remove non-thread safe client library. client lib is now *always* thread safe.
22
1 by brian
clean slate
23
77.6.3 by Monty Taylor
Moved drizzlebinlog back to client.
24
noinst_HEADERS =	completion_hash.h my_readline.h client_priv.h
25
26
CLEANFILES =		$(BUILT_SOURCES)
27
28
bin_PROGRAMS =	drizzle \
77.3.9 by Monty Taylor
Renamed client programs to drizzle.
29
				drizzleadmin \
77.6.3 by Monty Taylor
Moved drizzlebinlog back to client.
30
				drizzlebinlog \
77.3.9 by Monty Taylor
Renamed client programs to drizzle.
31
				drizzlecheck \
32
				drizzledump \
33
				drizzleimport \
34
				drizzletest \
77.1.31 by Monty Taylor
Replaced regex lib with pcre. Reworked mysqltest to use it.
35
				mysqlslap 
1 by brian
clean slate
36
77.3.9 by Monty Taylor
Renamed client programs to drizzle.
37
drizzle_SOURCES =		drizzle.c readline.c completion_hash.c
38
drizzle_LDADD =			-lreadline @TERMCAP_LIB@ $(GLIB_LIBS) \
1 by brian
clean slate
39
				$(LDADD) $(CXXLDFLAGS)
77.3.9 by Monty Taylor
Renamed client programs to drizzle.
40
drizzle_CPPFLAGS = 		$(AM_CPPFLAGS) $(GLIB_CFLAGS)
41
drizzleadmin_SOURCES =		drizzleadmin.cc
1 by brian
clean slate
42
77.6.3 by Monty Taylor
Moved drizzlebinlog back to client.
43
drizzlebinlog_SOURCES =     drizzlebinlog.cc \
44
                $(top_srcdir)/mysys/mf_tempdir.c \
45
                $(top_srcdir)/mysys/my_new.cc \
46
                $(top_srcdir)/mysys/my_bit.c \
47
                $(top_srcdir)/mysys/my_bitmap.c \
48
                $(top_srcdir)/mysys/base64.c
49
drizzlebinlog_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/server
50
77.3.9 by Monty Taylor
Renamed client programs to drizzle.
51
drizzledump_SOURCES=            drizzledump.c 
52
53
drizzleimport_SOURCES=		drizzleimport.c
1 by brian
clean slate
54
55
mysqlslap_SOURCES=		mysqlslap.c
56
mysqlslap_CFLAGS=		-DTHREAD -UUNDEF_THREADS_HACK
57
77.3.9 by Monty Taylor
Renamed client programs to drizzle.
58
drizzletest_SOURCES=		drizzletest.cc 
59
drizzletest_LDADD =		${LDADD} @PCRE_LIBS@
60
drizzletest_CFLAGS = 		${AM_CPPFLAGS} @PCRE_CFLAGS@
1 by brian
clean slate
61
62
# Fix for mit-threads
63
DEFS =			-DUNDEF_THREADS_HACK \
64
			-DDEFAULT_MYSQL_HOME="\"$(prefix)\"" \
65
			-DDATADIR="\"$(localstatedir)\""