1
# Copyright (C) 2001, 2004, 2006 MySQL AB & Innobase Oy
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
# Process this file with automake to create Makefile.in
18
MYSQLDATAdir= $(localstatedir)
19
MYSQLSHAREdir= $(pkgdatadir)
20
MYSQLBASEdir= $(prefix)
21
MYSQLLIBdir= $(pkglibdir)
22
pkgplugindir= $(pkglibdir)/plugin
23
AM_CPPFLAGS= -I$(top_srcdir) -I$(top_builddir) \
24
-I$(top_srcdir)/include -I$(top_builddir)/include \
25
-I$(top_srcdir)/regex \
26
-I$(top_srcdir)/storage/innobase/include \
30
EXTRA_DEFS="-DBUILD_DRIZZLE"
31
DYNAMIC_PLUGIN="-DDRIZZLE_DYNAMIC_PLUGIN"
34
DYNAMIC_PLUGIN="-DMYSQL_DYNAMIC_PLUGIN"
39
DEFS= @DEFS@ ${EXTRA_DEFS}
42
noinst_HEADERS= include/btr0btr.h include/btr0btr.ic \
43
include/btr0cur.h include/btr0cur.ic \
44
include/btr0pcur.h include/btr0pcur.ic \
45
include/btr0sea.h include/btr0sea.ic \
46
include/btr0types.h include/buf0buddy.h \
47
include/buf0buddy.ic include/buf0buf.h \
48
include/buf0buf.ic include/buf0flu.h \
49
include/buf0flu.ic include/buf0lru.h \
50
include/buf0lru.ic include/buf0rea.h \
51
include/buf0types.h include/data0data.h \
52
include/data0data.ic include/data0type.h \
53
include/data0type.ic include/data0types.h \
54
include/db0err.h include/dict0boot.h \
55
include/dict0boot.ic include/dict0crea.h \
56
include/dict0crea.ic include/dict0dict.h \
57
include/dict0dict.ic include/dict0load.h \
58
include/dict0load.ic include/dict0mem.h \
59
include/dict0mem.ic include/dict0types.h \
60
include/dyn0dyn.h include/dyn0dyn.ic \
61
include/eval0eval.h include/eval0eval.ic \
62
include/eval0proc.h include/eval0proc.ic \
63
include/fil0fil.h include/fsp0fsp.h \
64
include/fsp0fsp.ic include/fut0fut.h \
65
include/fut0fut.ic include/fut0lst.h \
66
include/fut0lst.ic include/ha0ha.h \
68
include/ha0storage.h \
69
include/ha0storage.ic \
71
include/hash0hash.ic include/ibuf0ibuf.h \
72
include/ibuf0ibuf.ic include/ibuf0types.h \
74
include/lock0lock.h include/lock0lock.ic \
75
include/lock0priv.h include/lock0priv.ic \
76
include/lock0types.h include/log0log.h \
77
include/log0log.ic include/log0recv.h \
78
include/log0recv.ic include/mach0data.h \
79
include/mach0data.ic include/mem0dbg.h \
80
include/mem0dbg.ic mem/mem0dbg.c \
81
include/mem0mem.h include/mem0mem.ic \
82
include/mem0pool.h include/mem0pool.ic \
83
include/mtr0log.h include/mtr0log.ic \
84
include/mtr0mtr.h include/mtr0mtr.ic \
86
include/mysql_addons.h \
88
include/os0proc.h include/os0proc.ic \
89
include/os0sync.h include/os0sync.ic \
90
include/os0thread.h include/os0thread.ic \
91
include/page0cur.h include/page0cur.ic \
92
include/page0page.h include/page0page.ic \
93
include/page0zip.h include/page0zip.ic \
94
include/page0types.h include/pars0grm.h \
95
include/pars0opt.h include/pars0opt.ic \
96
include/pars0pars.h include/pars0pars.ic \
97
include/pars0sym.h include/pars0sym.ic \
98
include/pars0types.h include/que0que.h \
99
include/que0que.ic include/que0types.h \
100
include/read0read.h include/read0read.ic \
101
include/read0types.h include/rem0cmp.h \
102
include/rem0cmp.ic include/rem0rec.h \
103
include/rem0rec.ic include/rem0types.h \
104
include/row0ext.h include/row0ext.ic \
105
include/row0ins.h include/row0ins.ic \
106
include/row0merge.h \
107
include/row0mysql.h include/row0mysql.ic \
108
include/row0purge.h include/row0purge.ic \
109
include/row0row.h include/row0row.ic \
110
include/row0sel.h include/row0sel.ic \
111
include/row0types.h include/row0uins.h \
112
include/row0uins.ic include/row0umod.h \
113
include/row0umod.ic include/row0undo.h \
114
include/row0undo.ic include/row0upd.h \
115
include/row0upd.ic include/row0vers.h \
116
include/row0vers.ic include/srv0que.h \
117
include/srv0srv.h include/srv0srv.ic \
118
include/srv0start.h include/sync0arr.h \
119
include/sync0arr.ic include/sync0rw.h \
120
include/sync0rw.ic include/sync0sync.h \
121
include/sync0sync.ic include/sync0types.h \
122
include/thr0loc.h include/thr0loc.ic \
124
include/trx0purge.h include/trx0purge.ic \
125
include/trx0rec.h include/trx0rec.ic \
126
include/trx0roll.h include/trx0roll.ic \
127
include/trx0rseg.h include/trx0rseg.ic \
128
include/trx0sys.h include/trx0sys.ic \
129
include/trx0trx.h include/trx0trx.ic \
130
include/trx0types.h include/trx0undo.h \
131
include/trx0undo.ic include/trx0xa.h \
132
include/univ.i include/usr0sess.h \
133
include/usr0sess.ic include/usr0types.h \
134
include/ut0byte.h include/ut0byte.ic \
135
include/ut0dbg.h include/ut0lst.h \
136
include/ut0mem.h include/ut0mem.ic \
137
include/ut0rnd.h include/ut0rnd.ic \
138
include/ut0sort.h include/ut0ut.h \
139
include/ut0ut.ic include/ut0vec.h \
140
include/ut0vec.ic include/ut0list.h \
141
include/ut0list.ic include/ut0wqueue.h \
142
include/ha_prototypes.h \
143
$(HANDLER_DIR)/ha_innodb.h \
144
include/handler0alter.h \
147
noinst_LTLIBRARIES= libinnobase.la libpars.la
148
libinnobase_la_SOURCES= btr/btr0btr.c btr/btr0cur.c btr/btr0pcur.c \
149
btr/btr0sea.c buf/buf0buddy.c \
150
buf/buf0buf.c buf/buf0flu.c \
151
buf/buf0lru.c buf/buf0rea.c data/data0data.c \
152
data/data0type.c dict/dict0boot.c \
153
dict/dict0crea.c dict/dict0dict.c \
154
dict/dict0load.c dict/dict0mem.c dyn/dyn0dyn.c \
155
eval/eval0eval.c eval/eval0proc.c \
156
fil/fil0fil.c fsp/fsp0fsp.c fut/fut0fut.c \
157
fut/fut0lst.c ha/ha0ha.c \
160
ibuf/ibuf0ibuf.c lock/lock0iter.c \
162
log/log0log.c log/log0recv.c mach/mach0data.c \
163
mem/mem0mem.c mem/mem0pool.c mtr/mtr0log.c \
164
mtr/mtr0mtr.c os/os0file.c os/os0proc.c \
165
os/os0sync.c os/os0thread.c page/page0cur.c \
166
page/page0page.c page/page0zip.c \
167
pars/pars0opt.c pars/pars0pars.c \
168
pars/pars0sym.c que/que0que.c read/read0read.c \
169
rem/rem0cmp.c rem/rem0rec.c row/row0ext.c \
170
row/row0ins.c row/row0merge.c \
171
row/row0mysql.c row/row0purge.c row/row0row.c \
172
row/row0sel.c row/row0uins.c row/row0umod.c \
173
row/row0undo.c row/row0upd.c row/row0vers.c \
174
srv/srv0que.c srv/srv0srv.c srv/srv0start.c \
175
sync/sync0arr.c sync/sync0rw.c \
176
sync/sync0sync.c thr/thr0loc.c \
179
trx/trx0rec.c trx/trx0roll.c trx/trx0rseg.c \
180
trx/trx0sys.c trx/trx0trx.c trx/trx0undo.c \
181
usr/usr0sess.c ut/ut0byte.c ut/ut0dbg.c \
182
ut/ut0list.c ut/ut0mem.c ut/ut0rnd.c \
183
ut/ut0ut.c ut/ut0vec.c ut/ut0wqueue.c \
184
$(HANDLER_DIR)/ha_innodb.cc \
185
$(HANDLER_DIR)/handler0alter.cc \
186
$(HANDLER_DIR)/i_s.cc \
187
$(HANDLER_DIR)/mysql_addons.cc
189
# lexyy.c has lots of redundant decls, but it's generated anyway
190
libpars_la_CFLAGS= ${AM_CFLAGS} \
191
${NO_REDUNDANT_DECLS} \
193
libpars_la_SOURCES= pars/lexyy.c pars/pars0grm.c
195
libinnobase_la_CFLAGS= $(AM_CFLAGS) \
197
libinnobase_la_LIBADD= libpars.la
200
EXTRA_LTLIBRARIES= ha_innodb.la
201
pkgplugin_LTLIBRARIES= @plugin_innobase_shared_target@
203
ha_innodb_la_LDFLAGS= -module -rpath $(pkgplugindir)
204
ha_innodb_la_CFLAGS= ${AM_CFLAGS} ${DYNAMIC_PLUGIN}
205
ha_innodb_la_CXXFLAGS= ${AM_CXXFLAGS} ${DYNAMIC_PLUGIN}
206
ha_innodb_la_LIBADD= @plugin_innobase_shared_target@ \
209
EXTRA_DIST= CMakeLists.txt plug.in \
210
pars/make_bison.sh pars/make_flex.sh \
211
pars/pars0grm.y pars/pars0lex.l
213
# Don't update the files from bitkeeper