1
# Copyright (C) 2008 Sun Microsystems
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.
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.
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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
1
# Copyright (C) 2000-2006 MySQL AB
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.
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.
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
16
#called from the top level Makefile
16
18
MYSQLDATAdir =$(localstatedir)
43
45
DTRACEFILES = handler.o \
50
52
drizzledincludedir = ${includedir}/drizzled
51
dist_drizzledinclude_HEADERS = common.h \
53
dist_drizzledinclude_HEADERS = error.h \
56
plugin_authentication.h \
65
noinst_LTLIBRARIES = libhandler.la libyacc.la
67
LDADD = $(top_builddir)/libdrizzle/libdrizzle.la \
55
plugin_authentication.h
57
noinst_LTLIBRARIES = libhandler.la
59
LDADD = $(top_builddir)/vio/libviolt.la \
60
$(top_builddir)/libdrizzle/libsqlcommon.la \
68
61
$(top_builddir)/mysys/libmysys.la \
69
62
$(top_builddir)/mystrings/libmystrings.la \
70
63
$(ZLIB_LIBS) $(LIBINTL)
72
drizzled_LDADD = libhandler.la libyacc.la \
65
drizzled_LDADD = libhandler.la \
73
66
$(top_builddir)/libdrizzle/libdrizzle.la \
74
67
$(top_builddir)/drizzled/field/libfield.la \
75
68
$(top_builddir)/drizzled/serialize/libserialize.la \
76
$(top_builddir)/drizzled/functions/libfunctions.la \
77
$(top_builddir)/drizzled/util/libutil.la \
79
70
@mysql_plugin_libs@ \
83
$(LIBDL_LIBS) $(LIBEVENT_LIBS) $(PROTOBUF_LIBS)
84
drizzled_DEPENDENCIES = @mysql_plugin_libs@
165
table_map_iterator.h \
74
$(LIBDL_LIBS) $(LIBEVENT_LIBS)
76
noinst_HEADERS = item.h \
142
drizzled_error_messages.h \
170
148
drizzled_SOURCES = \
200
natural_join_column.cc \
252
table_map_iterator.cc \
153
natural_join_column.cc \
261
232
libhandler_la_SOURCES = handler.cc
262
libyacc_la_SOURCES = sql_yacc.yy
263
# Code output from YACC contains GOBS of unused macros, and I can't
264
# figure out how to turn it off.
265
libyacc_la_CXXFLAGS = ${AM_CXXFLAGS} -Wno-unused-macros
269
235
drizzled_SOURCES += probes.d
311
271
AM_YFLAGS = -d --verbose
274
# These files should not be included in distributions since they are
275
# generated by configure from the .h.in files
277
$(RM) -f $(distdir)/drizzle_version.h
314
279
# This generates lex_hash.h
315
280
# NOTE Built sources should depend on their sources not the tool
316
281
# this avoid the rebuild of the built files in a source dist