mySQL 5.0.11 sources for tomato
[tomato.git] / release / src / router / mysql / storage / innodb_plugin / Makefile.am
blobd8cd8dafe48fc833d873ed2d0071498519ca8580
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.
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., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, 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 INCLUDES=               -I$(top_srcdir)/include -I$(top_builddir)/include \
24                         -I$(top_srcdir)/regex \
25                         -I$(srcdir)/include \
26                         -I$(top_srcdir)/sql \
27                         -I$(srcdir) @ZLIB_INCLUDES@
29 DEFS=                   @DEFS@
32 noinst_HEADERS=         \
33                         handler/ha_innodb.h     \
34                         handler/i_s.h           \
35                         include/btr0btr.h       \
36                         include/btr0btr.ic      \
37                         include/btr0cur.h       \
38                         include/btr0cur.ic      \
39                         include/btr0pcur.h      \
40                         include/btr0pcur.ic     \
41                         include/btr0sea.h       \
42                         include/btr0sea.ic      \
43                         include/btr0types.h     \
44                         include/buf0buddy.h     \
45                         include/buf0buddy.ic    \
46                         include/buf0buf.h       \
47                         include/buf0buf.ic      \
48                         include/buf0flu.h       \
49                         include/buf0flu.ic      \
50                         include/buf0lru.h       \
51                         include/buf0lru.ic      \
52                         include/buf0rea.h       \
53                         include/buf0types.h     \
54                         include/data0data.h     \
55                         include/data0data.ic    \
56                         include/data0type.h     \
57                         include/data0type.ic    \
58                         include/data0types.h    \
59                         include/db0err.h        \
60                         include/dict0boot.h     \
61                         include/dict0boot.ic    \
62                         include/dict0crea.h     \
63                         include/dict0crea.ic    \
64                         include/dict0dict.h     \
65                         include/dict0dict.ic    \
66                         include/dict0load.h     \
67                         include/dict0load.ic    \
68                         include/dict0mem.h      \
69                         include/dict0mem.ic     \
70                         include/dict0types.h    \
71                         include/dyn0dyn.h       \
72                         include/dyn0dyn.ic      \
73                         include/eval0eval.h     \
74                         include/eval0eval.ic    \
75                         include/eval0proc.h     \
76                         include/eval0proc.ic    \
77                         include/fil0fil.h       \
78                         include/fsp0fsp.h       \
79                         include/fsp0fsp.ic      \
80                         include/fsp0types.h     \
81                         include/fut0fut.h       \
82                         include/fut0fut.ic      \
83                         include/fut0lst.h       \
84                         include/fut0lst.ic      \
85                         include/ha0ha.h         \
86                         include/ha0ha.ic        \
87                         include/ha0storage.h    \
88                         include/ha0storage.ic   \
89                         include/ha_prototypes.h \
90                         include/handler0alter.h \
91                         include/hash0hash.h     \
92                         include/hash0hash.ic    \
93                         include/ibuf0ibuf.h     \
94                         include/ibuf0ibuf.ic    \
95                         include/ibuf0types.h    \
96                         include/lock0iter.h     \
97                         include/lock0lock.h     \
98                         include/lock0lock.ic    \
99                         include/lock0priv.h     \
100                         include/lock0priv.ic    \
101                         include/lock0types.h    \
102                         include/log0log.h       \
103                         include/log0log.ic      \
104                         include/log0recv.h      \
105                         include/log0recv.ic     \
106                         include/mach0data.h     \
107                         include/mach0data.ic    \
108                         include/mem0dbg.h       \
109                         include/mem0dbg.ic      \
110                         include/mem0mem.h       \
111                         include/mem0mem.ic      \
112                         include/mem0pool.h      \
113                         include/mem0pool.ic     \
114                         include/mtr0log.h       \
115                         include/mtr0log.ic      \
116                         include/mtr0mtr.h       \
117                         include/mtr0mtr.ic      \
118                         include/mtr0types.h     \
119                         include/mysql_addons.h  \
120                         include/os0file.h       \
121                         include/os0proc.h       \
122                         include/os0proc.ic      \
123                         include/os0sync.h       \
124                         include/os0sync.ic      \
125                         include/os0thread.h     \
126                         include/os0thread.ic    \
127                         include/page0cur.h      \
128                         include/page0cur.ic     \
129                         include/page0page.h     \
130                         include/page0page.ic    \
131                         include/page0types.h    \
132                         include/page0zip.h      \
133                         include/page0zip.ic     \
134                         include/pars0grm.h      \
135                         include/pars0opt.h      \
136                         include/pars0opt.ic     \
137                         include/pars0pars.h     \
138                         include/pars0pars.ic    \
139                         include/pars0sym.h      \
140                         include/pars0sym.ic     \
141                         include/pars0types.h    \
142                         include/que0que.h       \
143                         include/que0que.ic      \
144                         include/que0types.h     \
145                         include/read0read.h     \
146                         include/read0read.ic    \
147                         include/read0types.h    \
148                         include/rem0cmp.h       \
149                         include/rem0cmp.ic      \
150                         include/rem0rec.h       \
151                         include/rem0rec.ic      \
152                         include/rem0types.h     \
153                         include/row0ext.h       \
154                         include/row0ext.ic      \
155                         include/row0ins.h       \
156                         include/row0ins.ic      \
157                         include/row0merge.h     \
158                         include/row0mysql.h     \
159                         include/row0mysql.ic    \
160                         include/row0purge.h     \
161                         include/row0purge.ic    \
162                         include/row0row.h       \
163                         include/row0row.ic      \
164                         include/row0sel.h       \
165                         include/row0sel.ic      \
166                         include/row0types.h     \
167                         include/row0uins.h      \
168                         include/row0uins.ic     \
169                         include/row0umod.h      \
170                         include/row0umod.ic     \
171                         include/row0undo.h      \
172                         include/row0undo.ic     \
173                         include/row0upd.h       \
174                         include/row0upd.ic      \
175                         include/row0vers.h      \
176                         include/row0vers.ic     \
177                         include/srv0que.h       \
178                         include/srv0srv.h       \
179                         include/srv0srv.ic      \
180                         include/srv0start.h     \
181                         include/sync0arr.h      \
182                         include/sync0arr.ic     \
183                         include/sync0rw.h       \
184                         include/sync0rw.ic      \
185                         include/sync0sync.h     \
186                         include/sync0sync.ic    \
187                         include/sync0types.h    \
188                         include/thr0loc.h       \
189                         include/thr0loc.ic      \
190                         include/trx0i_s.h       \
191                         include/trx0purge.h     \
192                         include/trx0purge.ic    \
193                         include/trx0rec.h       \
194                         include/trx0rec.ic      \
195                         include/trx0roll.h      \
196                         include/trx0roll.ic     \
197                         include/trx0rseg.h      \
198                         include/trx0rseg.ic     \
199                         include/trx0sys.h       \
200                         include/trx0sys.ic      \
201                         include/trx0trx.h       \
202                         include/trx0trx.ic      \
203                         include/trx0types.h     \
204                         include/trx0undo.h      \
205                         include/trx0undo.ic     \
206                         include/trx0xa.h        \
207                         include/univ.i          \
208                         include/usr0sess.h      \
209                         include/usr0sess.ic     \
210                         include/usr0types.h     \
211                         include/ut0auxconf.h    \
212                         include/ut0byte.h       \
213                         include/ut0byte.ic      \
214                         include/ut0dbg.h        \
215                         include/ut0list.h       \
216                         include/ut0list.ic      \
217                         include/ut0lst.h        \
218                         include/ut0mem.h        \
219                         include/ut0mem.ic       \
220                         include/ut0rbt.h        \
221                         include/ut0rnd.h        \
222                         include/ut0rnd.ic       \
223                         include/ut0sort.h       \
224                         include/ut0ut.h         \
225                         include/ut0ut.ic        \
226                         include/ut0vec.h        \
227                         include/ut0vec.ic       \
228                         include/ut0wqueue.h     \
229                         mem/mem0dbg.c
231 EXTRA_LIBRARIES=        libinnobase.a
232 noinst_LIBRARIES=       @plugin_innodb_plugin_static_target@
233 libinnobase_a_SOURCES=  \
234                         btr/btr0btr.c                   \
235                         btr/btr0cur.c                   \
236                         btr/btr0pcur.c                  \
237                         btr/btr0sea.c                   \
238                         buf/buf0buddy.c                 \
239                         buf/buf0buf.c                   \
240                         buf/buf0flu.c                   \
241                         buf/buf0lru.c                   \
242                         buf/buf0rea.c                   \
243                         data/data0data.c                \
244                         data/data0type.c                \
245                         dict/dict0boot.c                \
246                         dict/dict0crea.c                \
247                         dict/dict0dict.c                \
248                         dict/dict0load.c                \
249                         dict/dict0mem.c                 \
250                         dyn/dyn0dyn.c                   \
251                         eval/eval0eval.c                \
252                         eval/eval0proc.c                \
253                         fil/fil0fil.c                   \
254                         fsp/fsp0fsp.c                   \
255                         fut/fut0fut.c                   \
256                         fut/fut0lst.c                   \
257                         ha/ha0ha.c                      \
258                         ha/ha0storage.c                 \
259                         ha/hash0hash.c                  \
260                         handler/ha_innodb.cc            \
261                         handler/handler0alter.cc        \
262                         handler/i_s.cc                  \
263                         handler/mysql_addons.cc         \
264                         ibuf/ibuf0ibuf.c                \
265                         lock/lock0iter.c                \
266                         lock/lock0lock.c                \
267                         log/log0log.c                   \
268                         log/log0recv.c                  \
269                         mach/mach0data.c                \
270                         mem/mem0mem.c                   \
271                         mem/mem0pool.c                  \
272                         mtr/mtr0log.c                   \
273                         mtr/mtr0mtr.c                   \
274                         os/os0file.c                    \
275                         os/os0proc.c                    \
276                         os/os0sync.c                    \
277                         os/os0thread.c                  \
278                         page/page0cur.c                 \
279                         page/page0page.c                \
280                         page/page0zip.c                 \
281                         pars/lexyy.c                    \
282                         pars/pars0grm.c                 \
283                         pars/pars0opt.c                 \
284                         pars/pars0pars.c                \
285                         pars/pars0sym.c                 \
286                         que/que0que.c                   \
287                         read/read0read.c                \
288                         rem/rem0cmp.c                   \
289                         rem/rem0rec.c                   \
290                         row/row0ext.c                   \
291                         row/row0ins.c                   \
292                         row/row0merge.c                 \
293                         row/row0mysql.c                 \
294                         row/row0purge.c                 \
295                         row/row0row.c                   \
296                         row/row0sel.c                   \
297                         row/row0uins.c                  \
298                         row/row0umod.c                  \
299                         row/row0undo.c                  \
300                         row/row0upd.c                   \
301                         row/row0vers.c                  \
302                         srv/srv0que.c                   \
303                         srv/srv0srv.c                   \
304                         srv/srv0start.c                 \
305                         sync/sync0arr.c                 \
306                         sync/sync0rw.c                  \
307                         sync/sync0sync.c                \
308                         thr/thr0loc.c                   \
309                         trx/trx0i_s.c                   \
310                         trx/trx0purge.c                 \
311                         trx/trx0rec.c                   \
312                         trx/trx0roll.c                  \
313                         trx/trx0rseg.c                  \
314                         trx/trx0sys.c                   \
315                         trx/trx0trx.c                   \
316                         trx/trx0undo.c                  \
317                         usr/usr0sess.c                  \
318                         ut/ut0byte.c                    \
319                         ut/ut0dbg.c                     \
320                         ut/ut0list.c                    \
321                         ut/ut0mem.c                     \
322                         ut/ut0rbt.c                     \
323                         ut/ut0rnd.c                     \
324                         ut/ut0ut.c                      \
325                         ut/ut0vec.c                     \
326                         ut/ut0wqueue.c
328 libinnobase_a_CXXFLAGS= $(AM_CXXFLAGS)
329 libinnobase_a_CFLAGS=   $(AM_CFLAGS)
331 EXTRA_LTLIBRARIES=      ha_innodb_plugin.la
332 pkgplugin_LTLIBRARIES=  @plugin_innodb_plugin_shared_target@
334 ha_innodb_plugin_la_LDFLAGS=    -module -rpath $(pkgplugindir)
335 ha_innodb_plugin_la_CXXFLAGS=   $(AM_CXXFLAGS) $(INNODB_DYNAMIC_CFLAGS)
336 ha_innodb_plugin_la_CFLAGS=     $(AM_CFLAGS) $(INNODB_DYNAMIC_CFLAGS)
337 ha_innodb_plugin_la_SOURCES=    $(libinnobase_a_SOURCES)
339 EXTRA_DIST=             CMakeLists.txt plug.in \
340                         pars/make_bison.sh pars/make_flex.sh \
341                         pars/pars0grm.y pars/pars0lex.l
343 # Don't update the files from bitkeeper
344 %::SCCS/s.%