~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/serialize/Makefile.am

  • Committer: Jim Winstead
  • Date: 2008-07-19 02:56:45 UTC
  • mto: (202.1.8 codestyle)
  • mto: This revision was merged to the branch mainline in revision 207.
  • Revision ID: jimw@mysql.com-20080719025645-w2pwytebgzusjzjb
Various fixes to enable compilation on Mac OS X, and remove the glib dependency.
Temporarily disables tab-completion in the drizzle client until an appropriate
autoconf check can be added/enabled.

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
 
#called from the top level Makefile
17
 
 
18
 
LDADD = libserialize.la -lprotobuf
19
 
 
20
 
libserialize_la_CXXFLAGS =
21
 
 
22
 
TESTS_ENVIRONMENT = sh
23
 
TESTS = check_length.sh
24
 
 
25
 
PROTOC = protoc
26
 
 
27
 
%.pb.h %.pb.cc : %.proto
28
 
        $(PROTOC) --cpp_out=${top_builddir}/drizzled/serialize $<
29
 
 
30
 
bin_PROGRAMS = \
31
 
               table_reader \
32
 
               table_writer \
33
 
               master_list_reader \
34
 
               master_list_writer \
35
 
               binlog_reader \
36
 
               binlog_writer \
37
 
               schema_reader
38
 
 
39
 
check_PROGRAMS = length
40
 
 
41
 
noinst_LTLIBRARIES = libserialize.la
42
 
 
43
 
libserialize_la_SOURCES = \
44
 
                          table.pb.cc \
45
 
                          master_list.pb.cc \
46
 
                          binary_log.pb.cc \
47
 
                          schema.pb.cc
48
 
 
49
 
noinst_HEADERS = table.pb.h \
50
 
                 master_list.pb.h \
51
 
                 schema.pb.h \
52
 
                 binary_log.pb.h \
53
 
                 binlog_encoding.h \
54
 
                 serialize.h
55
 
 
56
 
DEFS= @DEFS@
57
 
 
58
 
binlog_reader_SOURCES = binlog_reader.cc binary_log.cc
59
 
binlog_reader_CXXFLAGS = 
60
 
 
61
 
binlog_writer_SOURCES = binlog_writer.cc binary_log.cc
62
 
binlog_writer_CXXFLAGS = 
63
 
 
64
 
schema_reader_SOURCES =  schema_reader.cc
65
 
schema_reader_CXXFLAGS =
66
 
 
67
 
table_reader_SOURCES =  table_reader.cc
68
 
table_reader_CXXFLAGS =
69
 
 
70
 
table_writer_SOURCES =  table_writer.cc
71
 
table_writer_CXXFLAGS =
72
 
 
73
 
master_list_writer_SOURCES =  master_list_writer.cc
74
 
master_list_writer_CXXFLAGS =
75
 
 
76
 
master_list_reader_SOURCES =  master_list_reader.cc
77
 
master_list_reader_CXXFLAGS =
78
 
 
79
 
length_SOURCES = length.cc
80
 
length_CXXFLAGS = -fexceptions
81
 
 
82
 
EXTRA_DIST = schema.proto table.proto binary_log.proto master_list.proto
83
 
BUILT_SOURCES = schema.pb.h \
84
 
                table.pb.h \
85
 
                binary_log.pb.h \
86
 
                master_list.pb.h
87
 
 
88
 
CLEANFILES =  binary_log.pb.h \
89
 
              binary_log.pb.cc \
90
 
              schema.pb.h \
91
 
              schema.pb.cc \
92
 
              table.pb.h \
93
 
              table.pb.cc \
94
 
              master_list.pb.h \
95
 
              master_list.pb.cc