~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/Makefile.am

Cleanup around SAFEMALLOC

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
 
 
18
LDADD=                  $(top_builddir)/libdrizzle/libdrizzle.la \
 
19
                        $(LIBINTL) -lz
 
20
 
 
21
 
 
22
noinst_HEADERS =        completion_hash.h \
 
23
                        my_readline.h \
 
24
                        client_priv.h \
 
25
                        errname.h
 
26
 
 
27
CLEANFILES =            $(BUILT_SOURCES)
 
28
 
 
29
bin_PROGRAMS =  drizzle \
 
30
                                drizzleadmin \
 
31
                                drizzlebinlog \
 
32
                                drizzlecheck \
 
33
                                drizzledump \
 
34
                                drizzleimport \
 
35
                                drizzletest \
 
36
                                drizzleslap
 
37
 
 
38
drizzle_SOURCES =               drizzle.cc readline.cc completion_hash.cc
 
39
drizzle_LDADD =                 $(READLINE_LIBS) $(TERMCAP_LIBS) \
 
40
                                $(LDADD) $(CXXLDFLAGS)
 
41
drizzle_CXXFLAGS =              ${AM_CXXFLAGS} -fexceptions
 
42
drizzleadmin_SOURCES =          drizzleadmin.cc
 
43
 
 
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
 
 
50
drizzlecheck_SOURCES =          drizzlecheck.cc
 
51
drizzledump_SOURCES=            drizzledump.cc 
 
52
 
 
53
drizzleimport_SOURCES=          drizzleimport.cc
 
54
 
 
55
drizzleslap_SOURCES=            drizzleslap.cc
 
56
 
 
57
drizzletest_SOURCES=            drizzletest.cc 
 
58
drizzletest_LDADD =             ${LDADD} $(PCRE_LIBS)
 
59
drizzletest_CXXFLAGS =          ${AM_CXXFLAGS} $(PCRE_CFLAGS)
 
60
 
 
61
DEFS =  -DDEFAULT_DRIZZLE_HOME="\"$(prefix)\"" \
 
62
        -DDATADIR="\"$(localstatedir)\"" \
 
63
        -DLOCALEDIR=\"$(localedir)\" @DEFS@