~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
279.2.2 by Monty Taylor
Replaced DYNAMIC_STRING with C++ string in drizzle command line client.
38
drizzle_SOURCES =		drizzle.cc readline.cc completion_hash.cc
279.2.1 by Monty Taylor
Renamed drizzle.c
39
drizzle_LDADD =			$(READLINE_LIBS) $(TERMCAP_LIBS) \
1 by brian
clean slate
40
				$(LDADD) $(CXXLDFLAGS)
287.3.29 by Monty Taylor
Made Makefile.am better.
41
drizzle_CXXFLAGS =		${AM_CXXFLAGS} -fexceptions
77.3.9 by Monty Taylor
Renamed client programs to drizzle.
42
drizzleadmin_SOURCES =		drizzleadmin.cc
1 by brian
clean slate
43
77.6.3 by Monty Taylor
Moved drizzlebinlog back to client.
44
drizzlebinlog_SOURCES =     drizzlebinlog.cc \
45
                $(top_srcdir)/mysys/mf_tempdir.c \
46
                $(top_srcdir)/mysys/my_bit.c \
47
                $(top_srcdir)/mysys/my_bitmap.c \
48
                $(top_srcdir)/mysys/base64.c
49
279.2.7 by Monty Taylor
Replaced DYNAMIC_ARRAY in drizzlecheck with vector<string>
50
drizzlecheck_SOURCES =		drizzlecheck.cc
279.2.4 by Monty Taylor
Moved import, check and dump to C++... fixed errors.
51
drizzledump_SOURCES=            drizzledump.cc 
77.3.9 by Monty Taylor
Renamed client programs to drizzle.
52
279.2.4 by Monty Taylor
Moved import, check and dump to C++... fixed errors.
53
drizzleimport_SOURCES=		drizzleimport.cc
1 by brian
clean slate
54
55
mysqlslap_SOURCES=		mysqlslap.c
56
77.3.9 by Monty Taylor
Renamed client programs to drizzle.
57
drizzletest_SOURCES=		drizzletest.cc 
201.2.3 by Monty Taylor
Cleaned up some LIBS bits in the build.
58
drizzletest_LDADD =		${LDADD} $(PCRE_LIBS)
287.3.29 by Monty Taylor
Made Makefile.am better.
59
drizzletest_CXXFLAGS = 		${AM_CXXFLAGS} $(PCRE_CFLAGS)
1 by brian
clean slate
60
319.1.1 by Grant Limberg
renamed all instances of MYSQL_ to DRIZZLE_
61
DEFS =	-DDEFAULT_DRIZZLE_HOME="\"$(prefix)\"" \
202.3.2 by Monty Taylor
Added gettext calls in to my_getopt.c and drizzle.c
62
	-DDATADIR="\"$(localstatedir)\"" \
63
	-DLOCALEDIR=\"$(localedir)\" @DEFS@