~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
264.1.4 by Monty Taylor
Added LIBINTL to libs needed.
18
LDADD=			$(top_builddir)/libdrizzle/libdrizzle.la \
19
			$(LIBINTL) -lz
12.4.3 by Stewart Smith
remove non-thread safe client library. client lib is now *always* thread safe.
20
1 by brian
clean slate
21
212.5.42 by Monty Taylor
Ding dong include is dead.
22
noinst_HEADERS =	completion_hash.h \
23
			my_readline.h \
24
			client_priv.h \
25
			errname.h
77.6.3 by Monty Taylor
Moved drizzlebinlog back to client.
26
27
CLEANFILES =		$(BUILT_SOURCES)
28
29
bin_PROGRAMS =	drizzle \
77.3.9 by Monty Taylor
Renamed client programs to drizzle.
30
				drizzleadmin \
77.6.3 by Monty Taylor
Moved drizzlebinlog back to client.
31
				drizzlebinlog \
77.3.9 by Monty Taylor
Renamed client programs to drizzle.
32
				drizzlecheck \
33
				drizzledump \
34
				drizzleimport \
35
				drizzletest \
77.1.31 by Monty Taylor
Replaced regex lib with pcre. Reworked mysqltest to use it.
36
				mysqlslap 
1 by brian
clean slate
37
77.3.9 by Monty Taylor
Renamed client programs to drizzle.
38
drizzle_SOURCES =		drizzle.c readline.c completion_hash.c
201.2.3 by Monty Taylor
Cleaned up some LIBS bits in the build.
39
drizzle_LDADD =			$(READLINE_LIBS) $(TERMCAP_LIBS) $(GLIB_LIBS) \
1 by brian
clean slate
40
				$(LDADD) $(CXXLDFLAGS)
77.3.9 by Monty Taylor
Renamed client programs to drizzle.
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_bit.c \
46
                $(top_srcdir)/mysys/my_bitmap.c \
47
                $(top_srcdir)/mysys/base64.c
48
77.3.9 by Monty Taylor
Renamed client programs to drizzle.
49
drizzledump_SOURCES=            drizzledump.c 
50
51
drizzleimport_SOURCES=		drizzleimport.c
1 by brian
clean slate
52
53
mysqlslap_SOURCES=		mysqlslap.c
54
mysqlslap_CFLAGS=		-DTHREAD -UUNDEF_THREADS_HACK
55
77.3.9 by Monty Taylor
Renamed client programs to drizzle.
56
drizzletest_SOURCES=		drizzletest.cc 
201.2.3 by Monty Taylor
Cleaned up some LIBS bits in the build.
57
drizzletest_LDADD =		${LDADD} $(PCRE_LIBS)
58
drizzletest_CFLAGS = 		${AM_CPPFLAGS} $(PCRE_CFLAGS)
1 by brian
clean slate
59
202.3.2 by Monty Taylor
Added gettext calls in to my_getopt.c and drizzle.c
60
DEFS =	-DDEFAULT_MYSQL_HOME="\"$(prefix)\"" \
61
	-DDATADIR="\"$(localstatedir)\"" \
62
	-DLOCALEDIR=\"$(localedir)\" @DEFS@