~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
# Copyright (C) 2000-2006 MySQL AB
#
# 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., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

# This file is public domain and comes with NO WARRANTY of any kind

LDADD=			$(top_builddir)/libdrizzle/libdrizzle.la \
			$(top_builddir)/mysys/libmysys.la \
			$(top_builddir)/mystrings/libmystrings.la \
			$(LIBINTL) -lz


noinst_HEADERS =	completion_hash.h \
			my_readline.h \
			client_priv.h \
			errname.h

CLEANFILES =		$(BUILT_SOURCES)

bin_PROGRAMS =	drizzle \
				drizzleadmin \
				drizzlecheck \
				drizzledump \
				drizzleimport \
				drizzletest \
				drizzleslap

drizzle_SOURCES =		drizzle.cc readline.cc completion_hash.cc
drizzle_LDADD =			$(READLINE_LIBS) $(TERMCAP_LIBS)  \
				$(NCURSES_LIBS) \
				$(LDADD) $(CXXLDFLAGS)
drizzle_CXXFLAGS =		${AM_CXXFLAGS} ${W_EXCEPTIONS}
drizzle_CPPFLAGS = 		${AM_CPPFLAGS} ${READLINE_CPPFLAGS}
drizzleadmin_SOURCES =		drizzleadmin.cc

drizzlecheck_SOURCES =		drizzlecheck.cc
drizzledump_SOURCES=            drizzledump.cc 

drizzleimport_SOURCES=		drizzleimport.cc

drizzleslap_SOURCES=            drizzleslap.cc

drizzletest_SOURCES=		drizzletest.cc 
drizzletest_LDADD =		${LDADD} $(PCRE_LIBS)
drizzletest_CXXFLAGS = 		${AM_CXXFLAGS} $(PCRE_CFLAGS)

DEFS =	-DDEFAULT_DRIZZLE_HOME="\"$(prefix)\"" \
	-DDATADIR="\"$(localstatedir)\"" \
	-DLOCALEDIR=\"$(localedir)\" @DEFS@