~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 \
383.1.42 by Monty Taylor
Removed mysys and mystrings from libdrizzle. All gone.
19
			$(top_builddir)/mysys/libmysys.la \
20
			$(top_builddir)/mystrings/libmystrings.la \
264.1.4 by Monty Taylor
Added LIBINTL to libs needed.
21
			$(LIBINTL) -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
212.5.42 by Monty Taylor
Ding dong include is dead.
24
noinst_HEADERS =	completion_hash.h \
25
			my_readline.h \
26
			client_priv.h \
27
			errname.h
77.6.3 by Monty Taylor
Moved drizzlebinlog back to client.
28
29
CLEANFILES =		$(BUILT_SOURCES)
30
31
bin_PROGRAMS =	drizzle \
77.3.9 by Monty Taylor
Renamed client programs to drizzle.
32
				drizzleadmin \
33
				drizzlecheck \
34
				drizzledump \
35
				drizzleimport \
373.1.9 by Monty Taylor
Added back mysqlslap as drizzleslap. Also made it C++ and removed DYNAMIC_STRING.
36
				drizzletest \
37
				drizzleslap
1 by brian
clean slate
38
279.2.2 by Monty Taylor
Replaced DYNAMIC_STRING with C++ string in drizzle command line client.
39
drizzle_SOURCES =		drizzle.cc readline.cc completion_hash.cc
279.2.1 by Monty Taylor
Renamed drizzle.c
40
drizzle_LDADD =			$(READLINE_LIBS) $(TERMCAP_LIBS) \
1 by brian
clean slate
41
				$(LDADD) $(CXXLDFLAGS)
520.4.44 by mordred
A whole bunch of solaris/sun studio compile fixes.
42
drizzle_CXXFLAGS =		${AM_CXXFLAGS} ${W_EXCEPTIONS}
77.3.9 by Monty Taylor
Renamed client programs to drizzle.
43
drizzleadmin_SOURCES =		drizzleadmin.cc
1 by brian
clean slate
44
279.2.7 by Monty Taylor
Replaced DYNAMIC_ARRAY in drizzlecheck with vector<string>
45
drizzlecheck_SOURCES =		drizzlecheck.cc
279.2.4 by Monty Taylor
Moved import, check and dump to C++... fixed errors.
46
drizzledump_SOURCES=            drizzledump.cc 
77.3.9 by Monty Taylor
Renamed client programs to drizzle.
47
279.2.4 by Monty Taylor
Moved import, check and dump to C++... fixed errors.
48
drizzleimport_SOURCES=		drizzleimport.cc
1 by brian
clean slate
49
373.1.9 by Monty Taylor
Added back mysqlslap as drizzleslap. Also made it C++ and removed DYNAMIC_STRING.
50
drizzleslap_SOURCES=            drizzleslap.cc
51
77.3.9 by Monty Taylor
Renamed client programs to drizzle.
52
drizzletest_SOURCES=		drizzletest.cc 
201.2.3 by Monty Taylor
Cleaned up some LIBS bits in the build.
53
drizzletest_LDADD =		${LDADD} $(PCRE_LIBS)
287.3.29 by Monty Taylor
Made Makefile.am better.
54
drizzletest_CXXFLAGS = 		${AM_CXXFLAGS} $(PCRE_CFLAGS)
1 by brian
clean slate
55
319.1.1 by Grant Limberg
renamed all instances of MYSQL_ to DRIZZLE_
56
DEFS =	-DDEFAULT_DRIZZLE_HOME="\"$(prefix)\"" \
202.3.2 by Monty Taylor
Added gettext calls in to my_getopt.c and drizzle.c
57
	-DDATADIR="\"$(localstatedir)\"" \
58
	-DLOCALEDIR=\"$(localedir)\" @DEFS@