~drizzle-trunk/drizzle/development

641.1.2 by Monty Taylor
Imported 1.0.1 with clean - with no changes.
1
# Copyright (C) 2001, 2004, 2006 MySQL AB & Innobase Oy
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
641.1.4 by Monty Taylor
Merged in InnoDB changes.
17
AM_CPPFLAGS=		-I$(top_srcdir) -I$(top_builddir) \
18
			-I$(top_srcdir)/include -I$(top_builddir)/include \
641.1.2 by Monty Taylor
Imported 1.0.1 with clean - with no changes.
19
			-I$(top_srcdir)/regex \
20
			-I$(top_srcdir)/storage/innobase/include \
641.1.4 by Monty Taylor
Merged in InnoDB changes.
21
			-I$(top_srcdir)/sql
22
23
if BUILD_DRIZZLE
24
EXTRA_DEFS="-DBUILD_DRIZZLE"
25
DYNAMIC_PLUGIN="-DDRIZZLE_DYNAMIC_PLUGIN"
26
else
27
DYNAMIC_PLUGIN="-DMYSQL_DYNAMIC_PLUGIN"
28
endif
29
30
31
DEFS=			@DEFS@ ${EXTRA_DEFS}
641.1.2 by Monty Taylor
Imported 1.0.1 with clean - with no changes.
32
33
34
noinst_HEADERS=		include/btr0btr.h include/btr0btr.ic		\
35
			include/btr0cur.h include/btr0cur.ic		\
36
			include/btr0pcur.h include/btr0pcur.ic		\
37
			include/btr0sea.h include/btr0sea.ic		\
38
			include/btr0types.h include/buf0buddy.h		\
39
			include/buf0buddy.ic include/buf0buf.h		\
40
			include/buf0buf.ic include/buf0flu.h		\
41
			include/buf0flu.ic include/buf0lru.h		\
42
			include/buf0lru.ic include/buf0rea.h		\
43
			include/buf0types.h include/data0data.h		\
44
			include/data0data.ic include/data0type.h	\
45
			include/data0type.ic include/data0types.h	\
46
			include/db0err.h include/dict0boot.h		\
47
			include/dict0boot.ic include/dict0crea.h	\
48
			include/dict0crea.ic include/dict0dict.h	\
49
			include/dict0dict.ic include/dict0load.h	\
50
			include/dict0load.ic include/dict0mem.h		\
51
			include/dict0mem.ic include/dict0types.h	\
52
			include/dyn0dyn.h include/dyn0dyn.ic		\
53
			include/eval0eval.h include/eval0eval.ic	\
54
			include/eval0proc.h include/eval0proc.ic	\
55
			include/fil0fil.h include/fsp0fsp.h		\
56
			include/fsp0fsp.ic include/fut0fut.h		\
57
			include/fut0fut.ic include/fut0lst.h		\
58
			include/fut0lst.ic include/ha0ha.h		\
59
			include/ha0ha.ic				\
60
			include/ha0storage.h				\
61
			include/ha0storage.ic				\
62
			include/hash0hash.h				\
63
			include/hash0hash.ic include/ibuf0ibuf.h	\
64
			include/ibuf0ibuf.ic include/ibuf0types.h	\
65
			include/lock0iter.h				\
66
			include/lock0lock.h include/lock0lock.ic	\
67
			include/lock0priv.h include/lock0priv.ic	\
68
			include/lock0types.h include/log0log.h		\
69
			include/log0log.ic include/log0recv.h		\
70
			include/log0recv.ic include/mach0data.h		\
71
			include/mach0data.ic include/mem0dbg.h		\
72
			include/mem0dbg.ic mem/mem0dbg.c		\
73
			include/mem0mem.h include/mem0mem.ic		\
74
			include/mem0pool.h include/mem0pool.ic		\
75
			include/mtr0log.h include/mtr0log.ic		\
76
			include/mtr0mtr.h include/mtr0mtr.ic		\
77
			include/mtr0types.h				\
78
			include/mysql_addons.h				\
79
			include/os0file.h				\
80
			include/os0proc.h include/os0proc.ic		\
81
			include/os0sync.h include/os0sync.ic		\
82
			include/os0thread.h include/os0thread.ic	\
83
			include/page0cur.h include/page0cur.ic		\
84
			include/page0page.h include/page0page.ic	\
85
			include/page0zip.h include/page0zip.ic		\
86
			include/page0types.h include/pars0grm.h		\
87
			include/pars0opt.h include/pars0opt.ic		\
88
			include/pars0pars.h include/pars0pars.ic	\
89
			include/pars0sym.h include/pars0sym.ic		\
90
			include/pars0types.h include/que0que.h		\
91
			include/que0que.ic include/que0types.h		\
92
			include/read0read.h include/read0read.ic	\
93
			include/read0types.h include/rem0cmp.h		\
94
			include/rem0cmp.ic include/rem0rec.h		\
95
			include/rem0rec.ic include/rem0types.h		\
96
			include/row0ext.h include/row0ext.ic		\
97
			include/row0ins.h include/row0ins.ic		\
98
			include/row0merge.h				\
99
			include/row0mysql.h include/row0mysql.ic	\
100
			include/row0purge.h include/row0purge.ic	\
101
			include/row0row.h include/row0row.ic		\
102
			include/row0sel.h include/row0sel.ic		\
103
			include/row0types.h include/row0uins.h		\
104
			include/row0uins.ic include/row0umod.h		\
105
			include/row0umod.ic include/row0undo.h		\
106
			include/row0undo.ic include/row0upd.h		\
107
			include/row0upd.ic include/row0vers.h		\
108
			include/row0vers.ic include/srv0que.h		\
109
			include/srv0srv.h include/srv0srv.ic		\
110
			include/srv0start.h include/sync0arr.h		\
111
			include/sync0arr.ic include/sync0rw.h		\
112
			include/sync0rw.ic include/sync0sync.h		\
113
			include/sync0sync.ic include/sync0types.h	\
114
			include/thr0loc.h include/thr0loc.ic		\
115
			include/trx0i_s.h				\
116
			include/trx0purge.h include/trx0purge.ic	\
117
			include/trx0rec.h include/trx0rec.ic		\
118
			include/trx0roll.h include/trx0roll.ic		\
119
			include/trx0rseg.h include/trx0rseg.ic		\
120
			include/trx0sys.h include/trx0sys.ic		\
121
			include/trx0trx.h include/trx0trx.ic		\
122
			include/trx0types.h include/trx0undo.h		\
123
			include/trx0undo.ic include/trx0xa.h		\
124
			include/univ.i include/usr0sess.h		\
125
			include/usr0sess.ic include/usr0types.h		\
126
			include/ut0byte.h include/ut0byte.ic		\
127
			include/ut0dbg.h include/ut0lst.h		\
128
			include/ut0mem.h include/ut0mem.ic		\
129
			include/ut0rnd.h include/ut0rnd.ic		\
130
			include/ut0sort.h include/ut0ut.h		\
131
			include/ut0ut.ic include/ut0vec.h		\
132
			include/ut0vec.ic include/ut0list.h		\
133
			include/ut0list.ic include/ut0wqueue.h		\
641.1.4 by Monty Taylor
Merged in InnoDB changes.
134
			include/ha_prototypes.h				\
779.4.10 by Monty Taylor
Cleaned up a few build things. Thank me... builds should be quicker now. :)
135
			drizzle/ha_innodb.h				\
641.1.2 by Monty Taylor
Imported 1.0.1 with clean - with no changes.
136
			include/handler0alter.h				\
779.4.10 by Monty Taylor
Cleaned up a few build things. Thank me... builds should be quicker now. :)
137
			drizzle/handler0vars.h				\
138
			drizzle/i_s.h
641.1.2 by Monty Taylor
Imported 1.0.1 with clean - with no changes.
139
641.1.4 by Monty Taylor
Merged in InnoDB changes.
140
noinst_LTLIBRARIES=	libinnobase.la libpars.la
779.3.10 by Monty Taylor
Turned on -Wshadow.
141
libinnobase_la_CFLAGS=	${AM_CFLAGS} ${NO_SHADOW}
641.1.4 by Monty Taylor
Merged in InnoDB changes.
142
libinnobase_la_SOURCES=	btr/btr0btr.c btr/btr0cur.c btr/btr0pcur.c	\
641.1.2 by Monty Taylor
Imported 1.0.1 with clean - with no changes.
143
			btr/btr0sea.c buf/buf0buddy.c			\
144
			buf/buf0buf.c buf/buf0flu.c			\
145
			buf/buf0lru.c buf/buf0rea.c data/data0data.c	\
146
			data/data0type.c dict/dict0boot.c		\
147
			dict/dict0crea.c dict/dict0dict.c		\
148
			dict/dict0load.c dict/dict0mem.c dyn/dyn0dyn.c	\
149
			eval/eval0eval.c eval/eval0proc.c		\
150
			fil/fil0fil.c fsp/fsp0fsp.c fut/fut0fut.c	\
151
			fut/fut0lst.c ha/ha0ha.c			\
152
			ha/ha0storage.c					\
153
			ha/hash0hash.c					\
154
			ibuf/ibuf0ibuf.c lock/lock0iter.c		\
155
			lock/lock0lock.c				\
156
			log/log0log.c log/log0recv.c mach/mach0data.c	\
157
			mem/mem0mem.c mem/mem0pool.c mtr/mtr0log.c	\
158
			mtr/mtr0mtr.c os/os0file.c os/os0proc.c		\
159
			os/os0sync.c os/os0thread.c page/page0cur.c	\
160
			page/page0page.c page/page0zip.c		\
161
			pars/pars0opt.c pars/pars0pars.c		\
162
			pars/pars0sym.c que/que0que.c read/read0read.c	\
163
			rem/rem0cmp.c rem/rem0rec.c row/row0ext.c	\
164
			row/row0ins.c row/row0merge.c			\
165
			row/row0mysql.c row/row0purge.c row/row0row.c	\
166
			row/row0sel.c row/row0uins.c row/row0umod.c	\
167
			row/row0undo.c row/row0upd.c row/row0vers.c	\
168
			srv/srv0que.c srv/srv0srv.c srv/srv0start.c	\
169
			sync/sync0arr.c sync/sync0rw.c			\
170
			sync/sync0sync.c thr/thr0loc.c			\
171
			trx/trx0i_s.c					\
172
			trx/trx0purge.c					\
173
			trx/trx0rec.c trx/trx0roll.c trx/trx0rseg.c	\
174
			trx/trx0sys.c trx/trx0trx.c trx/trx0undo.c	\
175
			usr/usr0sess.c ut/ut0byte.c ut/ut0dbg.c		\
176
			ut/ut0list.c ut/ut0mem.c ut/ut0rnd.c		\
177
			ut/ut0ut.c ut/ut0vec.c ut/ut0wqueue.c		\
779.4.10 by Monty Taylor
Cleaned up a few build things. Thank me... builds should be quicker now. :)
178
			drizzle/ha_innodb.cc				\
179
			drizzle/handler0alter.cc			\
180
			drizzle/i_s.cc					\
181
			drizzle/mysql_addons.cc
641.1.4 by Monty Taylor
Merged in InnoDB changes.
182
183
# lexyy.c has lots of redundant decls, but it's generated anyway 
779.3.18 by Monty Taylor
Cleaned up warnings up through innodb.
184
libpars_la_CFLAGS=	${AM_CFLAGS} ${NO_UNREACHED} \
779.3.10 by Monty Taylor
Turned on -Wshadow.
185
			${NO_REDUNDANT_DECLS} ${NO_SHADOW}
641.1.4 by Monty Taylor
Merged in InnoDB changes.
186
libpars_la_SOURCES= 	pars/lexyy.c pars/pars0grm.c
187
188
libinnobase_la_LIBADD= libpars.la
189
641.1.2 by Monty Taylor
Imported 1.0.1 with clean - with no changes.
190
191
EXTRA_LTLIBRARIES=	ha_innodb.la
192
pkgplugin_LTLIBRARIES=	@plugin_innobase_shared_target@
193
685.1.8 by Monty Taylor
Added missing things to Makefiles for distcheck.
194
ha_innodb_la_SOURCES=
635.1.9 by Elan Ruusamäe
- no need to version dlopened plugins (add -avoid-version in am)
195
ha_innodb_la_LDFLAGS=	-module -avoid-version -rpath $(pkgplugindir)
779.3.10 by Monty Taylor
Turned on -Wshadow.
196
ha_innodb_la_CFLAGS=    ${AM_CFLAGS} ${DYNAMIC_PLUGIN} ${NO_SHADOW}
197
ha_innodb_la_CXXFLAGS=  ${AM_CXXFLAGS} ${DYNAMIC_PLUGIN} ${NO_SHADOW}
641.1.4 by Monty Taylor
Merged in InnoDB changes.
198
ha_innodb_la_LIBADD=	@plugin_innobase_shared_target@ \
199
			libinnobase.la
641.1.2 by Monty Taylor
Imported 1.0.1 with clean - with no changes.
200
201
EXTRA_DIST=		CMakeLists.txt plug.in \
202
			pars/make_bison.sh pars/make_flex.sh \
203
			pars/pars0grm.y pars/pars0lex.l
204