~drizzle-trunk/drizzle/development

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
# vim:ft=automake
# included from Top Level Makefile.am
# All paths should be given relative to the root

#  Copyright (C) 2008 Sun Microsystems, Inc.
#
#  This program is free software; you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation; version 2 of the License.
#
#  This program is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#
#  You should have received a copy of the GNU General Public License
#  along with this program; if not, write to the Free Software
#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA

CLIENT_LDADD= \
	      drizzled/internal/libinternal.la \
	      libdrizzle-2.0/libdrizzle/libdrizzle.la \
	      $(LIBINTL) \
	      $(LIBZ) \
	      client/libgetpassword.la

noinst_LTLIBRARIES+= \
		     client/libgetpassword.la

noinst_PROGRAMS+= \
		  client/drizzletest

bin_PROGRAMS+= \
	       client/drizzle \
               client/drizzleadmin \
	       client/drizzledump \
	       client/drizzleimport \
	       client/drizzleslap

man_MANS+= \
	   client/drizzle.1 \
	   client/drizzled.8 \
	   client/drizzleimport.1 \
	   client/drizzleslap.1

client_libgetpassword_la_SOURCES= client/get_password.cc

noinst_HEADERS+= \
		 client/client_priv.h \
		 client/get_password.h \
		 client/linebuffer.h \
                 client/conclusions.h \
                 client/drizzledump_data.h \
                 client/drizzledump_drizzle.h \
                 client/drizzledump_mysql.h \
                 client/option_string.h \
                 client/server_detect.h \
                 client/statement.h \
                 client/stats.h \
                 client/thread_context.h \
                 client/wakeup.h

client_drizzle_SOURCES=		client/drizzle.cc client/linebuffer.cc
client_drizzle_CXXFLAGS=	${AM_CXXFLAGS} ${LIBDRIZZLE_CPPFLAGS}
client_drizzle_LDADD=		${READLINE_LIBS} ${BOOST_LIBS} \
				libdrizzle-2.0/libdrizzle/libdrizzle.la \
				$(LIBINTL) \
				$(LIBZ) \
				client/libgetpassword.la

client_drizzleadmin_CXXFLAGS=   ${AM_CXXFLAGS} ${LIBDRIZZLE_CPPFLAGS} -DDRIZZLE_ADMIN_TOOL
client_drizzleadmin_SOURCES=    client/drizzle.cc client/linebuffer.cc
client_drizzleadmin_LDADD=      ${READLINE_LIBS} ${BOOST_LIBS} \
                                libdrizzle-2.0/libdrizzle/libdrizzle.la \
                                $(LIBINTL) \
                                $(LIBZ) \
                                client/libgetpassword.la

client_drizzledump_CXXFLAGS=	${AM_CXXFLAGS} ${LIBDRIZZLE_CPPFLAGS}
client_drizzledump_SOURCES= \
			    client/drizzledump.cc \
			    client/drizzledump_data.cc \
			    client/drizzledump_drizzle.cc \
			    client/drizzledump_mysql.cc

client_drizzledump_LDADD=	${CLIENT_LDADD} ${BOOST_LIBS}

client_drizzleimport_SOURCES=	client/drizzleimport.cc
client_drizzleimport_CXXFLAGS=	${AM_CXXFLAGS} ${LIBDRIZZLE_CPPFLAGS}
client_drizzleimport_LDADD=	${CLIENT_LDADD} ${BOOST_LIBS}

client_drizzleslap_SOURCES=	client/drizzleslap.cc
client_drizzleslap_LDADD=	${CLIENT_LDADD} ${BOOST_LIBS}
client_drizzleslap_CXXFLAGS=	${AM_CXXFLAGS} ${BOOSTSKIP_WARNINGS} ${LIBDRIZZLE_CPPFLAGS}

client_drizzletest_SOURCES=	client/drizzletest.cc
client_drizzletest_LDADD=	${CLIENT_LDADD} ${BOOST_LIBS} ${LIBPCRE} 
client_drizzletest_CXXFLAGS=	${AM_CXXFLAGS} ${LIBDRIZZLE_CPPFLAGS}