~drizzle-trunk/drizzle/development

1265 by Brian Aker
Updated Makefile.am to push client rules to include.am
1
# vim:ft=automake
2
# included from Top Level Makefile.am
3
# All paths should be given relative to the root
4
2037.1.1 by kalebral at gmail
More copyright updates
5
#  Copyright (C) 2008 Sun Microsystems, Inc.
6
#
7
#  This program is free software; you can redistribute it and/or modify
8
#  it under the terms of the GNU General Public License as published by
9
#  the Free Software Foundation; version 2 of the License.
10
#
11
#  This program is distributed in the hope that it will be useful,
12
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
13
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
#  GNU General Public License for more details.
15
#
16
#  You should have received a copy of the GNU General Public License
17
#  along with this program; if not, write to the Free Software
18
#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19
1265 by Brian Aker
Updated Makefile.am to push client rules to include.am
20
CLIENT_LDADD= \
21
	      drizzled/internal/libinternal.la \
1712.1.1 by Monty Taylor
Merged libdrizzle directly into tree.
22
	      libdrizzle/libdrizzle.la \
1265 by Brian Aker
Updated Makefile.am to push client rules to include.am
23
	      $(LIBINTL) \
24
	      $(LIBZ) \
25
	      client/libgetpassword.la
26
27
noinst_LTLIBRARIES+= \
28
		     client/libgetpassword.la
29
30
noinst_PROGRAMS+= \
1723.1.11 by Monty Taylor
If we get lucky, this will work on both fedora and centos.
31
		  client/drizzletest
1265 by Brian Aker
Updated Makefile.am to push client rules to include.am
32
1799.3.2 by Monty Taylor
Use drizzledump sphinx docs as manpage source.
33
bin_PROGRAMS+= \
34
	       client/drizzle \
1960.2.3 by Andrew Hutchings
Add basic client tool (a cut-down modified clone of drizzle.cc)
35
               client/drizzleadmin \
1799.3.2 by Monty Taylor
Use drizzledump sphinx docs as manpage source.
36
	       client/drizzledump \
37
	       client/drizzleimport \
38
	       client/drizzleslap
1265 by Brian Aker
Updated Makefile.am to push client rules to include.am
39
1799.3.2 by Monty Taylor
Use drizzledump sphinx docs as manpage source.
40
man_MANS+= \
41
	   client/drizzle.1 \
42
	   client/drizzled.8 \
43
	   client/drizzleimport.1 \
44
	   client/drizzleslap.1
1265 by Brian Aker
Updated Makefile.am to push client rules to include.am
45
46
client_libgetpassword_la_SOURCES= client/get_password.cc
47
48
noinst_HEADERS+= \
49
		 client/client_priv.h \
50
		 client/get_password.h \
1751.4.19 by Andrew Hutchings
Put drizzle and mysql processes in seperate classes/files
51
		 client/linebuffer.h \
1897.1.3 by Brian Aker
Updating with moving out wakeup to its own file. Why not use barrier for
52
                 client/conclusions.h \
1751.4.19 by Andrew Hutchings
Put drizzle and mysql processes in seperate classes/files
53
                 client/drizzledump_data.h \
1897.1.3 by Brian Aker
Updating with moving out wakeup to its own file. Why not use barrier for
54
                 client/drizzledump_drizzle.h \
1751.4.19 by Andrew Hutchings
Put drizzle and mysql processes in seperate classes/files
55
                 client/drizzledump_mysql.h \
1897.1.3 by Brian Aker
Updating with moving out wakeup to its own file. Why not use barrier for
56
                 client/option_string.h \
2187.3.2 by Andrew Hutchings
Separate the server detection functions into a .h file
57
                 client/server_detect.h \
1848.5.1 by Vijay Samuel
Merge pushed classes of drizzleslap out into separate classes.
58
                 client/statement.h \
59
                 client/stats.h \
60
                 client/thread_context.h \
1897.1.3 by Brian Aker
Updating with moving out wakeup to its own file. Why not use barrier for
61
                 client/wakeup.h
1265 by Brian Aker
Updated Makefile.am to push client rules to include.am
62
63
client_drizzle_SOURCES=		client/drizzle.cc client/linebuffer.cc
1567.3.14 by Monty Taylor
Removed the need for drizzled::internal usage in drizzle.cc.
64
client_drizzle_LDADD=		${READLINE_LIBS} ${BOOST_LIBS} \
1729.3.2 by LinuxJedi
Further cleanups based on Monty's comments (also revert a couple of things)
65
				libdrizzle/libdrizzle.la \
1567.3.14 by Monty Taylor
Removed the need for drizzled::internal usage in drizzle.cc.
66
				$(LIBINTL) \
1729.3.2 by LinuxJedi
Further cleanups based on Monty's comments (also revert a couple of things)
67
				$(LIBZ) \
68
				client/libgetpassword.la
1265 by Brian Aker
Updated Makefile.am to push client rules to include.am
69
1960.2.7 by Andrew Hutchings
Drop the drizzleadmin client and use ifdef instead
70
client_drizzleadmin_CXXFLAGS=   ${AM_CXXFLAGS} -DDRIZZLE_ADMIN_TOOL
71
client_drizzleadmin_SOURCES=    client/drizzle.cc client/linebuffer.cc
1960.2.3 by Andrew Hutchings
Add basic client tool (a cut-down modified clone of drizzle.cc)
72
client_drizzleadmin_LDADD=      ${READLINE_LIBS} ${BOOST_LIBS} \
73
                                libdrizzle/libdrizzle.la \
74
                                $(LIBINTL) \
75
                                $(LIBZ) \
76
                                client/libgetpassword.la
77
1897.1.3 by Brian Aker
Updating with moving out wakeup to its own file. Why not use barrier for
78
client_drizzledump_SOURCES= \
79
			    client/drizzledump.cc \
80
			    client/drizzledump_data.cc \
81
			    client/drizzledump_drizzle.cc \
82
			    client/drizzledump_mysql.cc
83
1751.4.2 by Andrew Hutchings
Switch to using boost::regex instead of pcre
84
client_drizzledump_LDADD=	${CLIENT_LDADD} ${BOOST_LIBS}
1265 by Brian Aker
Updated Makefile.am to push client rules to include.am
85
86
client_drizzleimport_SOURCES=	client/drizzleimport.cc
1593.1.2 by Vijay Samuel
Merge re factored commandline option and configuration file processing using boost::program_options.
87
client_drizzleimport_LDADD=	${CLIENT_LDADD} ${BOOST_LIBS}
1265 by Brian Aker
Updated Makefile.am to push client rules to include.am
88
89
client_drizzleslap_SOURCES=	client/drizzleslap.cc
1531.2.1 by Vijay Samuel
Slap refactored
90
client_drizzleslap_LDADD=	${CLIENT_LDADD} ${BOOST_LIBS}
1631 by Monty Taylor
Fixed the OSX build. Again.
91
client_drizzleslap_CXXFLAGS=	${AM_CXXFLAGS} ${BOOSTSKIP_WARNINGS}
1265 by Brian Aker
Updated Makefile.am to push client rules to include.am
92
1996.3.7 by Monty Taylor
Replaced static error code mapping with a query of data_dictionary.errors.
93
client_drizzletest_SOURCES=	client/drizzletest.cc
1608.6.1 by Vijay Samuel
Merge
94
client_drizzletest_LDADD=	${CLIENT_LDADD} ${BOOST_LIBS} ${LIBPCRE} 
1531.2.1 by Vijay Samuel
Slap refactored
95
 
1265 by Brian Aker
Updated Makefile.am to push client rules to include.am
96