~drizzle-trunk/drizzle/development

492.1.7 by Monty Taylor
Moved test() to its own file.
1
#  Copyright (C) 2008 Sun Microsystems
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., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
1 by brian
clean slate
15
187 by Brian Aker
Fixed tab issue
16
670.4.1 by Monty Taylor
Removed recursive subdirs in drizzled/, which allowed the renaming of ifloat and istring. It's also faster.
17
sbin_PROGRAMS= drizzled
18
202.1.6 by Monty Taylor
Added Makefile.am to server/field and build as libtool noinst lib.
19
bin_SCRIPTS = 	drizzledumpslow \
20
		drizzled_safe 
187 by Brian Aker
Fixed tab issue
21
22
DTRACEFILES = handler.o \
23
	      filesort.o \
539 by Monty Taylor
Sorted file lists for headers and sources.
24
	      sql_delete.o \
187 by Brian Aker
Fixed tab issue
25
	      sql_insert.o \
26
	      sql_select.o \
27
	      sql_update.o
28
236.1.38 by Monty Taylor
Fixed header install problem. The now install to the right places.
29
drizzledincludedir = ${includedir}/drizzled
612.2.14 by Monty
Fixed Makefiles to install headers.
30
nobase_dist_drizzledinclude_HEADERS = \
584.1.15 by Monty Taylor
The mega-patch from hell. Renamed sql_class to session (since that's what it is) and removed it and field and table from common_includes.
31
		alter_column.h \
32
		alter_drop.h \
539 by Monty Taylor
Sorted file lists for headers and sources.
33
		authentication.h \
34
		base.h \
584.4.10 by Monty Taylor
Broke out cached_item.
35
		cached_item.h \
813.1.2 by Jay Pipes
First function cleanup for temporal handling: YEAR()
36
		calendar.h \
670.2.4 by Monty Taylor
Removed more stuff from the headers.
37
		check_stack_overrun.h \
612.2.14 by Monty
Fixed Makefiles to install headers.
38
		common.h \
584.4.7 by Monty Taylor
Removed a big bank of includes from item.h.
39
		comp_creator.h \
539 by Monty Taylor
Sorted file lists for headers and sources.
40
		connect.h \
575.1.3 by Monty Taylor
Moved some stuff out of handler.h.
41
		cost_vect.h \
840.1.7 by Monty Taylor
Merged trunk
42
		current_session.h \
520.6.7 by Monty Taylor
Moved a bunch of crap out of common_includes.
43
		data_home.h \
575.4.6 by Monty Taylor
Removed my_getwd.
44
		db.h \
539 by Monty Taylor
Sorted file lists for headers and sources.
45
		definitions.h \
840.1.7 by Monty Taylor
Merged trunk
46
		diagnostics_area.h \
844 by Brian Aker
Added drizzled/discrete_interval.h
47
		discrete_interval.h \
584.4.1 by Monty Taylor
Split out DTCollation.
48
		dtcollation.h \
539 by Monty Taylor
Sorted file lists for headers and sources.
49
		errmsg.h \
840.1.7 by Monty Taylor
Merged trunk
50
		errmsg_print.h \
612.2.14 by Monty
Fixed Makefiles to install headers.
51
		error.h \
539 by Monty Taylor
Sorted file lists for headers and sources.
52
		error_injection.h \
53
		field.h \
670.4.1 by Monty Taylor
Removed recursive subdirs in drizzled/, which allowed the renaming of ifloat and istring. It's also faster.
54
		field/blob.h \
55
		field/date.h \
56
		field/datetime.h \
57
		field/decimal.h \
58
		field/double.h \
840.1.7 by Monty Taylor
Merged trunk
59
		field/enum.h \
670.4.1 by Monty Taylor
Removed recursive subdirs in drizzled/, which allowed the renaming of ifloat and istring. It's also faster.
60
		field/int64_t.h \
61
		field/long.h \
62
		field/longstr.h \
63
		field/null.h \
64
		field/num.h \
65
		field/real.h \
66
		field/str.h \
67
		field/timestamp.h \
68
		field/timetype.h \
69
		field/varstring.h \
840.1.7 by Monty Taylor
Merged trunk
70
		field_iterator.h \
831.1.3 by Brian Aker
Moved over file_exchange class.
71
		file_exchange.h \
539 by Monty Taylor
Sorted file lists for headers and sources.
72
		filesort_info.h \
584.1.15 by Monty Taylor
The mega-patch from hell. Renamed sql_class to session (since that's what it is) and removed it and field and table from common_includes.
73
		foreign_key.h \
840.1.7 by Monty Taylor
Merged trunk
74
		function/additive_op.h \
670.1.20 by Monty Taylor
Renamed functions to function... everything else is singular.
75
		function/ascii.h \
76
		function/benchmark.h \
77
		function/bit.h \
78
		function/bit_count.h \
79
		function/bit_length.h \
80
		function/char_length.h \
81
		function/coercibility.h \
82
		function/connection_id.h \
83
		function/field.h \
84
		function/find_in_set.h \
85
		function/found_rows.h \
86
		function/func.h \
87
		function/get_system_var.h \
88
		function/get_user_var.h \
840.1.7 by Monty Taylor
Merged trunk
89
		function/get_variable.h \
670.1.20 by Monty Taylor
Renamed functions to function... everything else is singular.
90
		function/last_insert.h \
91
		function/length.h \
92
		function/locate.h \
642.1.30 by Lee
move math functions to drizzled/function/math directory
93
		function/math/abs.h \
94
		function/math/acos.h \
95
		function/math/asin.h \
96
		function/math/atan.h \
97
		function/math/ceiling.h \
98
		function/math/cos.h \
99
		function/math/dec.h \
100
		function/math/decimal_typecast.h \
101
		function/math/divide.h \
102
		function/math/exp.h \
103
		function/math/floor.h \
840.1.7 by Monty Taylor
Merged trunk
104
		function/math/int.h \
642.1.35 by Lee
merge with latest from the trunk
105
		function/math/int_divide.h \
840.1.7 by Monty Taylor
Merged trunk
106
		function/math/int_val.h \
642.1.30 by Lee
move math functions to drizzled/function/math directory
107
		function/math/integer.h \
108
		function/math/ln.h \
109
		function/math/log.h \
110
		function/math/minus.h \
111
		function/math/mod.h \
112
		function/math/multiply.h \
113
		function/math/neg.h \
114
		function/math/ord.h \
115
		function/math/plus.h \
116
		function/math/pow.h \
117
		function/math/rand.h \
118
		function/math/real.h \
119
		function/math/round.h \
120
		function/math/sin.h \
121
		function/math/sqrt.h \
122
		function/math/tan.h \
840.1.7 by Monty Taylor
Merged trunk
123
		function/min_max.h \
124
		function/num1.h \
125
		function/num_op.h \
126
		function/numhybrid.h \
127
		function/rollup_const.h \
128
		function/row_count.h \
129
		function/set_user_var.h \
130
		function/sign.h \
131
		function/signed.h \
670.1.20 by Monty Taylor
Renamed functions to function... everything else is singular.
132
		function/str/alloc_buffer.h \
133
		function/str/binary.h \
134
		function/str/char.h \
135
		function/str/charset.h \
136
		function/str/collation.h \
137
		function/str/concat.h \
138
		function/str/conv.h \
139
		function/str/conv_charset.h \
140
		function/str/database.h \
141
		function/str/elt.h \
142
		function/str/export_set.h \
143
		function/str/format.h \
144
		function/str/hex.h \
145
		function/str/insert.h \
146
		function/str/left.h \
147
		function/str/load_file.h \
148
		function/str/make_set.h \
149
		function/str/pad.h \
150
		function/str/quote.h \
151
		function/str/repeat.h \
152
		function/str/replace.h \
153
		function/str/reverse.h \
154
		function/str/right.h \
155
		function/str/set_collation.h \
156
		function/str/str_conv.h \
157
		function/str/strfunc.h \
158
		function/str/substr.h \
159
		function/str/sysconst.h \
160
		function/str/trim.h \
161
		function/str/user.h \
162
		function/str/uuid.h \
722.1.10 by Monty Taylor
Fixed a distcheck bug.
163
		function/str/weight_string.h \
670.1.20 by Monty Taylor
Renamed functions to function... everything else is singular.
164
		function/time/add_time.h \
165
		function/time/curdate.h \
166
		function/time/curtime.h \
167
		function/time/date.h \
168
		function/time/date_add_interval.h \
169
		function/time/date_format.h \
170
		function/time/dayname.h \
171
		function/time/dayofmonth.h \
172
		function/time/dayofyear.h \
173
		function/time/extract.h \
174
		function/time/from_days.h \
175
		function/time/from_unixtime.h \
176
		function/time/get_format.h \
177
		function/time/get_interval_value.h \
178
		function/time/hour.h \
179
		function/time/last_day.h \
840.1.7 by Monty Taylor
Merged trunk
180
		function/time/make_datetime.h \
181
		function/time/make_datetime_with_warn.h \
182
		function/time/make_time_with_warn.h \
670.1.20 by Monty Taylor
Renamed functions to function... everything else is singular.
183
		function/time/makedate.h \
184
		function/time/maketime.h \
185
		function/time/microsecond.h \
186
		function/time/minute.h \
187
		function/time/month.h \
188
		function/time/now.h \
189
		function/time/period_add.h \
190
		function/time/period_diff.h \
840.1.7 by Monty Taylor
Merged trunk
191
		function/time/quarter.h \
670.1.20 by Monty Taylor
Renamed functions to function... everything else is singular.
192
		function/time/sec_to_time.h \
193
		function/time/second.h \
840.1.7 by Monty Taylor
Merged trunk
194
		function/time/str_timefunc.h \
670.1.20 by Monty Taylor
Renamed functions to function... everything else is singular.
195
		function/time/str_to_date.h \
196
		function/time/sysdate_local.h \
840.1.7 by Monty Taylor
Merged trunk
197
		function/time/time_to_sec.h \
670.1.20 by Monty Taylor
Renamed functions to function... everything else is singular.
198
		function/time/timediff.h \
199
		function/time/timestamp_diff.h \
200
		function/time/to_days.h \
201
		function/time/typecast.h \
202
		function/time/unix_timestamp.h \
203
		function/time/weekday.h \
204
		function/time/year.h  \
840.1.7 by Monty Taylor
Merged trunk
205
		function/units.h \
206
		function/unsigned.h \
207
		function/update_hash.h \
208
		function/user_var_as_out_param.h \
209
		function_hash.h \
210
		ha_statistics.h \
575.1.3 by Monty Taylor
Moved some stuff out of handler.h.
211
		ha_trx_info.h \
539 by Monty Taylor
Sorted file lists for headers and sources.
212
		handler.h \
840.1.7 by Monty Taylor
Merged trunk
213
		handler_structs.h \
722.2.4 by Monty Taylor
Fixed some distcheck build issues.
214
		handlerton.h \
584.4.2 by Monty Taylor
Split out hybrid_type_traits.
215
		hybrid_type.h \
216
		hybrid_type_traits.h \
217
		hybrid_type_traits_decimal.h \
218
		hybrid_type_traits_integer.h \
840.1.7 by Monty Taylor
Merged trunk
219
		internal_error_handler.h \
220
		item.h \
670.4.1 by Monty Taylor
Removed recursive subdirs in drizzled/, which allowed the renaming of ifloat and istring. It's also faster.
221
		item/basic_constant.h \
222
		item/bin_string.h \
223
		item/blob.h \
224
		item/cache.h \
225
		item/cache_decimal.h \
226
		item/cache_int.h \
227
		item/cache_real.h \
228
		item/cache_row.h \
229
		item/cache_str.h \
230
		item/cmpfunc.h \
231
		item/copy_string.h \
232
		item/create.h \
233
		item/decimal.h \
234
		item/direct_ref.h \
235
		item/empty_string.h \
236
		item/field.h \
237
		item/float.h \
840.1.7 by Monty Taylor
Merged trunk
238
		item/func.h \
670.4.1 by Monty Taylor
Removed recursive subdirs in drizzled/, which allowed the renaming of ifloat and istring. It's also faster.
239
		item/hex_string.h \
840.1.7 by Monty Taylor
Merged trunk
240
		item/ident.h \
670.4.1 by Monty Taylor
Removed recursive subdirs in drizzled/, which allowed the renaming of ifloat and istring. It's also faster.
241
		item/insert_value.h \
840.1.7 by Monty Taylor
Merged trunk
242
		item/int.h \
670.4.1 by Monty Taylor
Removed recursive subdirs in drizzled/, which allowed the renaming of ifloat and istring. It's also faster.
243
		item/int_with_ref.h \
244
		item/null.h \
245
		item/num.h \
246
		item/outer_ref.h \
247
		item/param.h \
248
		item/ref.h \
249
		item/ref_null_helper.h \
250
		item/return_date_time.h \
251
		item/return_int.h \
252
		item/row.h \
253
		item/string.h \
254
		item/subselect.h \
255
		item/sum.h \
256
		item/type_holder.h \
257
		item/uint.h \
584.1.15 by Monty Taylor
The mega-patch from hell. Renamed sql_class to session (since that's what it is) and removed it and field and table from common_includes.
258
		key.h \
840.1.7 by Monty Taylor
Merged trunk
259
		key_map.h \
584.1.15 by Monty Taylor
The mega-patch from hell. Renamed sql_class to session (since that's what it is) and removed it and field and table from common_includes.
260
		key_part_spec.h \
612.2.14 by Monty
Fixed Makefiles to install headers.
261
		korr.h \
840.1.7 by Monty Taylor
Merged trunk
262
		lex_column.h \
612.2.14 by Monty
Fixed Makefiles to install headers.
263
		lex_string.h \
539 by Monty Taylor
Sorted file lists for headers and sources.
264
		lex_symbol.h \
670.2.4 by Monty Taylor
Removed more stuff from the headers.
265
		lock.h \
539 by Monty Taylor
Sorted file lists for headers and sources.
266
		logging.h \
873.2.23 by Monty Taylor
Fixed a failure during gperf failure.
267
		lookup_symbol.h \
840.1.7 by Monty Taylor
Merged trunk
268
		multi_delete.h \
269
		multi_update.h \
539 by Monty Taylor
Sorted file lists for headers and sources.
270
		my_decimal.h\
840.1.7 by Monty Taylor
Merged trunk
271
		my_var.h \
584.4.4 by Monty Taylor
Split out Name_resolution_context.
272
		name_resolution_context.h \
273
		name_resolution_context_state.h \
722.2.4 by Monty Taylor
Fixed some distcheck build issues.
274
		natural_join_column.h \
275
		nested_join.h \
840.1.7 by Monty Taylor
Merged trunk
276
		open_tables_state.h \
539 by Monty Taylor
Sorted file lists for headers and sources.
277
		opt_range.h \
278
		order.h \
279
		parser.h \
612.2.14 by Monty
Fixed Makefiles to install headers.
280
		plugin.h \
281
		plugin_authentication.h \
282
		plugin_configvar.h \
283
		plugin_errmsg.h \
284
		plugin_logging.h \
840.1.7 by Monty Taylor
Merged trunk
285
		plugin_parser.h \
612.2.14 by Monty
Fixed Makefiles to install headers.
286
		plugin_qcache.h \
840.1.7 by Monty Taylor
Merged trunk
287
		plugin_replicator.h \
288
		plugin_scheduling.h \
539 by Monty Taylor
Sorted file lists for headers and sources.
289
		probes.h \
290
		protocol.h \
291
		qcache.h \
722.1.5 by Monty Taylor
Split out query_arena.
292
		query_arena.h \
561.1.3 by Monty Taylor
Split some more things out of common_includes.h.
293
		query_id.h \
575.4.7 by Monty Taylor
More header cleanup.
294
		rename.h \
636.1.1 by Mark Atwood
add replicator plugin type
295
		replicator.h \
539 by Monty Taylor
Sorted file lists for headers and sources.
296
		scheduling.h \
840.1.7 by Monty Taylor
Merged trunk
297
		security_context.h \
298
		select_create.h \
299
		select_dump.h \
300
		select_dumpvar.h \
301
		select_exists_subselect.h \
302
		select_export.h \
303
		select_insert.h \
304
		select_max_min_finder_subselect.h \
837 by Brian Aker
Reworked some classes out of session.h
305
		select_result.h \
306
		select_result_interceptor.h \
307
		select_send.h \
840.1.7 by Monty Taylor
Merged trunk
308
		select_singlerow_subselect.h \
309
		select_subselect.h \
310
		select_to_file.h \
311
		select_union.h \
584.1.15 by Monty Taylor
The mega-patch from hell. Renamed sql_class to session (since that's what it is) and removed it and field and table from common_includes.
312
		session.h \
539 by Monty Taylor
Sorted file lists for headers and sources.
313
		set_var.h \
314
		show.h \
315
		sj_tmp_table.h \
316
		sql_alloc.h \
317
		sql_array.h \
575.4.7 by Monty Taylor
More header cleanup.
318
		sql_base.h \
539 by Monty Taylor
Sorted file lists for headers and sources.
319
		sql_bitmap.h \
320
		sql_error.h \
321
		sql_lex.h \
322
		sql_list.h \
584.1.15 by Monty Taylor
The mega-patch from hell. Renamed sql_class to session (since that's what it is) and removed it and field and table from common_includes.
323
		sql_load.h \
539 by Monty Taylor
Sorted file lists for headers and sources.
324
		sql_locale.h \
325
		sql_parse.h \
326
		sql_plugin.h \
327
		sql_select.h \
328
		sql_sort.h \
329
		sql_state.h \
330
		sql_string.h \
331
		sql_table.h \
332
		sql_udf.h \
333
		stacktrace.h \
334
		structs.h \
779.3.43 by Monty Taylor
Fixed a couple of distcheck related things.
335
		symbol_hash.h \
539 by Monty Taylor
Sorted file lists for headers and sources.
336
		table.h \
840.1.7 by Monty Taylor
Merged trunk
337
		table_ident.h \
539 by Monty Taylor
Sorted file lists for headers and sources.
338
		table_list.h \
339
		table_map_iterator.h \
798 by Brian Aker
Updated table_share tto its own file (yess, it will eventually go away).
340
		table_share.h \
813.1.2 by Jay Pipes
First function cleanup for temporal handling: YEAR()
341
		temporal.h \
342
		temporal_format.h \
539 by Monty Taylor
Sorted file lists for headers and sources.
343
		tmp_table.h \
840.1.7 by Monty Taylor
Merged trunk
344
		tmp_table_param.h \
539 by Monty Taylor
Sorted file lists for headers and sources.
345
		tzfile.h \
584.1.13 by Monty Taylor
Split out a little more code. Removed table_list.h from common_includes.
346
		tztime.h \
840.1.7 by Monty Taylor
Merged trunk
347
		unique.h \
722.2.4 by Monty Taylor
Fixed some distcheck build issues.
348
		unireg.h \
873.2.27 by Monty Taylor
Added in utf8cpp. We want this to be an external lib, but it needs packaged.
349
		utf8.h \
350
		utf8/checked.h \
351
		utf8/core.h \
352
		utf8/unchecked.h \
840.1.7 by Monty Taylor
Merged trunk
353
		user_var_entry.h \
612.2.14 by Monty
Fixed Makefiles to install headers.
354
		virtual_column_info.h \
355
		xid.h
356
670.4.1 by Monty Taylor
Removed recursive subdirs in drizzled/, which allowed the renaming of ifloat and istring. It's also faster.
357
noinst_LTLIBRARIES = \
358
		libhandler.la \
779.4.10 by Monty Taylor
Cleaned up a few build things. Thank me... builds should be quicker now. :)
359
		libserialutil.la
612.2.14 by Monty
Fixed Makefiles to install headers.
360
779.3.37 by Monty Taylor
Renmaed libdrizzle in the tree to libdrizzleclient to avoid namespace clashes
361
LDADD = $(top_builddir)/libdrizzleclient/libdrizzleclient.la \
612.2.14 by Monty
Fixed Makefiles to install headers.
362
	$(top_builddir)/mysys/libmysys.la \
363
	$(top_builddir)/mystrings/libmystrings.la \
873.2.37 by Monty Taylor
Added support for profiling version of libc.
364
	$(LIBZ) $(LIBINTL) ${LIBC_P}
612.2.14 by Monty
Fixed Makefiles to install headers.
365
670.4.1 by Monty Taylor
Removed recursive subdirs in drizzled/, which allowed the renaming of ifloat and istring. It's also faster.
366
drizzled_LDADD = ${noinst_LTLIBRARIES} \
612.2.14 by Monty
Fixed Makefiles to install headers.
367
		 $(top_builddir)/drizzled/serialize/libserialize.la \
368
		 @mysql_plugin_libs@ \
840.2.1 by Monty Taylor
Use LIB* instead of LTLIB*.
369
		 $(LDADD) $(LIBUUID) ${top_builddir}/gnulib/libgnu.la \
873.2.41 by Monty Taylor
Fixed the ol build for ol Solaris.
370
		 $(LIBDL_LIBS) $(LIBEVENT) $(LIBPROTOBUF) $(LIBPCRE) \
722.2.7 by Monty Taylor
Fixed the stupid build problem
371
		 $(DRIZZLED_PLUGIN_DEP_LIBS)
670.4.1 by Monty Taylor
Removed recursive subdirs in drizzled/, which allowed the renaming of ifloat and istring. It's also faster.
372
drizzled_DEPENDENCIES = @mysql_plugin_libs@ ${noinst_LTLIBRARIES}
612.2.14 by Monty
Fixed Makefiles to install headers.
373
374
drizzled_LDFLAGS =
375
670.4.1 by Monty Taylor
Removed recursive subdirs in drizzled/, which allowed the renaming of ifloat and istring. It's also faster.
376
612.2.14 by Monty
Fixed Makefiles to install headers.
377
noinst_HEADERS = \
670.1.15 by Monty Taylor
Added configmake.h - possible step in removing -DEFS
378
		configvar.h \
612.2.14 by Monty
Fixed Makefiles to install headers.
379
		gettext.h \
380
		global.h \
670.4.1 by Monty Taylor
Removed recursive subdirs in drizzled/, which allowed the renaming of ifloat and istring. It's also faster.
381
		server_includes.h \
382
		util/convert.h \
383
		util/math.h \
384
		util/test.h
187 by Brian Aker
Fixed tab issue
385
319 by Brian Aker
Fix (yuck!) for OSX/Google bug.
386
drizzled_SOURCES = \
539 by Monty Taylor
Sorted file lists for headers and sources.
387
		authentication.cc \
584.4.10 by Monty Taylor
Broke out cached_item.
388
		cached_item.cc \
813.1.2 by Jay Pipes
First function cleanup for temporal handling: YEAR()
389
		calendar.cc \
670.2.4 by Monty Taylor
Removed more stuff from the headers.
390
		check_stack_overrun.cc \
584.1.15 by Monty Taylor
The mega-patch from hell. Renamed sql_class to session (since that's what it is) and removed it and field and table from common_includes.
391
		comp_creator.cc \
539 by Monty Taylor
Sorted file lists for headers and sources.
392
		configvar.cc \
670.2.1 by Monty Taylor
Moved pthread keys
393
		current_session.cc \
539 by Monty Taylor
Sorted file lists for headers and sources.
394
		drizzled.cc \
584.4.1 by Monty Taylor
Split out DTCollation.
395
		dtcollation.cc \
539 by Monty Taylor
Sorted file lists for headers and sources.
396
		errmsg.cc \
549 by Monty Taylor
Took gettext.h out of header files.
397
		error.cc \
722.4.1 by Mark Atwood
integrate errmsg plugin into sql_print_* functions
398
		errmsg_print.cc \
670.4.1 by Monty Taylor
Removed recursive subdirs in drizzled/, which allowed the renaming of ifloat and istring. It's also faster.
399
		field/blob.cc \
400
		field/date.cc \
401
		field/datetime.cc \
402
		field/enum.cc \
403
		field/decimal.cc \
404
		field/double.cc \
405
		field/int64_t.cc \
406
		field/long.cc \
407
		field/longstr.cc \
408
		field/null.cc \
409
		field/num.cc \
410
		field/real.cc \
411
		field/str.cc \
412
		field/timestamp.cc \
413
		field/timetype.cc \
779.4.10 by Monty Taylor
Cleaned up a few build things. Thank me... builds should be quicker now. :)
414
		field/varstring.cc \
415
		field.cc \
416
		field_conv.cc \
417
		field_iterator.cc \
418
		filesort.cc \
670.1.20 by Monty Taylor
Renamed functions to function... everything else is singular.
419
		function/ascii.cc \
420
		function/additive_op.cc \
421
		function/benchmark.cc \
422
		function/bit.cc \
423
		function/bit_count.cc \
424
		function/char_length.cc \
425
		function/check_reserved_words.cc \
426
		function/connection_id.cc \
427
		function/coercibility.cc \
428
		function/field.cc \
429
		function/find_in_set.cc \
430
		function/found_rows.cc \
431
		function/func.cc \
432
		function/get_system_var.cc \
779.4.10 by Monty Taylor
Cleaned up a few build things. Thank me... builds should be quicker now. :)
433
		function/get_user_var.cc \
670.1.20 by Monty Taylor
Renamed functions to function... everything else is singular.
434
		function/get_variable.cc \
435
		function/last_insert.cc \
436
		function/length.cc \
437
		function/locate.cc \
438
		function/min_max.cc \
439
		function/num1.cc \
440
		function/numhybrid.cc \
441
		function/num_op.cc \
442
		function/row_count.cc \
443
		function/set_user_var.cc \
444
		function/shift.cc \
445
		function/sign.cc \
446
		function/signed.cc \
447
		function/update_hash.cc \
448
		function/units.cc \
449
		function/unsigned.cc \
450
		function/user_var_as_out_param.cc \
451
		function/user_var_entry.cc \
642.1.30 by Lee
move math functions to drizzled/function/math directory
452
		function/math/abs.cc \
453
		function/math/acos.cc \
454
		function/math/asin.cc \
455
		function/math/atan.cc \
456
		function/math/ceiling.cc \
457
		function/math/cos.cc \
458
		function/math/decimal_typecast.cc \
459
		function/math/divide.cc \
460
		function/math/exp.cc \
461
		function/math/floor.cc \
462
		function/math/int_divide.cc \
463
		function/math/integer.cc \
464
		function/math/int.cc \
465
		function/math/int_val.cc \
466
		function/math/ln.cc \
467
		function/math/log.cc \
468
		function/math/minus.cc \
469
		function/math/mod.cc \
470
		function/math/multiply.cc \
471
		function/math/neg.cc \
472
		function/math/ord.cc \
473
		function/math/plus.cc \
474
		function/math/pow.cc \
475
		function/math/rand.cc \
476
		function/math/real.cc \
477
		function/math/round.cc \
478
		function/math/sin.cc \
479
		function/math/sqrt.cc \
480
		function/math/tan.cc \
670.1.20 by Monty Taylor
Renamed functions to function... everything else is singular.
481
		function/str/alloc_buffer.cc \
482
		function/str/binary.cc \
483
		function/str/char.cc \
484
		function/str/charset.cc \
485
		function/str/collation.cc \
486
		function/str/concat.cc \
487
		function/str/conv.cc \
488
		function/str/conv_charset.cc \
489
		function/str/database.cc \
490
		function/str/elt.cc \
491
		function/str/export_set.cc \
492
		function/str/format.cc \
493
		function/str/hex.cc \
494
		function/str/insert.cc \
495
		function/str/left.cc \
496
		function/str/load_file.cc \
497
		function/str/make_set.cc \
498
		function/str/pad.cc \
499
		function/str/quote.cc \
500
		function/str/repeat.cc \
501
		function/str/replace.cc \
502
		function/str/reverse.cc \
503
		function/str/right.cc \
504
		function/str/set_collation.cc \
505
		function/str/str_conv.cc \
506
		function/str/strfunc.cc \
507
		function/str/substr.cc \
508
		function/str/sysconst.cc \
509
		function/str/trim.cc \
510
		function/str/user.cc \
511
		function/str/uuid.cc \
512
		function/str/weight_string.cc \
513
		function/time/add_time.cc \
514
		function/time/curdate.cc \
515
		function/time/curtime.cc \
516
		function/time/date.cc \
517
		function/time/date_add_interval.cc \
518
		function/time/date_format.cc \
519
		function/time/dayname.cc \
520
		function/time/dayofmonth.cc \
521
		function/time/extract.cc \
522
		function/time/dayofyear.cc \
523
		function/time/from_days.cc \
524
		function/time/from_unixtime.cc \
525
		function/time/get_format.cc \
526
		function/time/get_interval_value.cc \
527
		function/time/hour.cc \
528
		function/time/last_day.cc \
529
		function/time/makedate.cc \
530
		function/time/make_datetime_with_warn.cc \
531
		function/time/make_datetime.cc \
532
		function/time/maketime.cc \
533
		function/time/make_time_with_warn.cc \
534
		function/time/microsecond.cc \
535
		function/time/minute.cc \
536
		function/time/month.cc \
537
		function/time/now.cc \
538
		function/time/quarter.cc \
539
		function/time/period_add.cc \
540
		function/time/period_diff.cc \
541
		function/time/sec_to_time.cc \
542
		function/time/second.cc \
543
		function/time/str_to_date.cc \
544
		function/time/sysdate_local.cc \
545
		function/time/timediff.cc \
546
		function/time/timestamp_diff.cc \
547
		function/time/time_to_sec.cc \
548
		function/time/to_days.cc \
549
		function/time/typecast.cc \
550
		function/time/unix_timestamp.cc \
551
		function/time/weekday.cc \
552
		function/time/year.cc \
779.4.10 by Monty Taylor
Cleaned up a few build things. Thank me... builds should be quicker now. :)
553
		ha_trx_info.cc \
554
		hybrid_type_traits.cc \
555
		hybrid_type_traits_decimal.cc \
556
		hybrid_type_traits_integer.cc \
557
		item/bin_string.cc \
558
		item/cache.cc \
559
		item/cache_decimal.cc \
560
		item/cache_int.cc \
561
		item/cache_real.cc \
562
		item/cache_row.cc \
563
		item/cache_str.cc \
564
		item/cmpfunc.cc \
565
		item/copy_string.cc \
566
		item/create.cc \
567
		item/decimal.cc \
568
		item/direct_ref.cc \
569
		item/empty_string.cc \
570
		item/field.cc \
571
		item/float.cc \
572
		item/hex_string.cc \
573
		item/insert_value.cc \
574
		item/int_with_ref.cc \
575
		item/ident.cc \
576
		item/int.cc \
577
		item/null.cc \
578
		item/num.cc \
579
		item/outer_ref.cc \
580
		item/param.cc \
581
		item/ref.cc \
582
		item/ref_null_helper.cc \
583
		item/row.cc \
584
		item/string.cc \
585
		item/subselect.cc \
586
		item/sum.cc \
587
		item/type_holder.cc \
588
		item/uint.cc \
589
		item.cc \
590
		key.cc \
591
                key_map.cc \
592
		lock.cc \
593
		log.cc \
594
		logging.cc \
873.2.23 by Monty Taylor
Fixed a failure during gperf failure.
595
		lookup_symbol.cc \
779.4.10 by Monty Taylor
Cleaned up a few build things. Thank me... builds should be quicker now. :)
596
		mf_iocache.cc \
597
		my_decimal.cc \
598
		name_resolution_context_state.cc \
599
		natural_join_column.cc \
600
		opt_range.cc \
601
		opt_sum.cc \
602
		parser.cc \
603
		protocol.cc \
604
		qcache.cc \
605
		query_id.cc \
606
		records.cc \
607
		rename.cc \
608
		replicator.cc \
609
                scheduling.cc \
610
		session.cc \
611
		set_var.cc \
612
		show.cc \
613
		sj_tmp_table.cc \
614
		sql_base.cc \
615
		sql_builtin.cc \
616
		sql_client.cc \
617
		sql_connect.cc \
618
		sql_delete.cc \
619
		sql_derived.cc \
620
		sql_error.cc \
621
		sql_handler.cc \
622
		sql_insert.cc \
623
		sql_lex.cc \
624
		sql_list.cc \
625
		sql_load.cc \
626
		sql_locale.cc \
627
		sql_olap.cc \
628
		sql_parse.cc \
629
		sql_plugin.cc \
630
		sql_select.cc \
631
		sql_state.cc \
632
		sql_string.cc \
633
		sql_table.cc \
634
		sql_udf.cc \
635
		sql_union.cc \
636
		sql_update.cc \
637
		sql_yacc.yy \
638
		stacktrace.cc \
639
		strfunc.cc \
640
		table.cc \
641
                table_map_iterator.cc \
642
		temporal.cc \
643
		temporal_format.cc \
644
		thr_malloc.cc \
645
		time.cc \
646
		tmp_table.cc \
647
		tztime.cc \
648
		uniques.cc \
649
		util/math.cc \
650
		virtual_column_info.cc \
651
		xid.cc
652
653
if BUILD_DTRACE
654
drizzled_SOURCES += probes.d
655
endif
656
657
libserialutil_la_SOURCES = db.cc unireg.cc
779.3.19 by Monty Taylor
Merged from me.
658
libserialutil_la_CXXFLAGS= ${AM_CXXFLAGS} ${PROTOSKIP_WARNINGS}
779.4.10 by Monty Taylor
Cleaned up a few build things. Thank me... builds should be quicker now. :)
659
660
libhandler_la_SOURCES = handler.cc handlerton.cc
661
662
AM_YFLAGS = -p DRIZZLE -d --verbose
670.4.1 by Monty Taylor
Removed recursive subdirs in drizzled/, which allowed the renaming of ifloat and istring. It's also faster.
663
664
632.1.25 by Monty Taylor
Removed AM_CONDITIONAL from SEARCH_FOR_LIB. Aligned naming of AM_CONDITIONALS.
665
if BUILD_GCC_PCH
575.1.6 by Monty Taylor
Cleaned up some headers for PCH.
666
PCHHEADERS = \
667
		definitions.h.gch \
668
		handlerton.h.gch  \
575.4.7 by Monty Taylor
More header cleanup.
669
		sql_base.h.gch \
670
		sql_parse.h.gch \
670.4.1 by Monty Taylor
Removed recursive subdirs in drizzled/, which allowed the renaming of ifloat and istring. It's also faster.
671
		sql_plugin.h.gch \
672
		util/convert.h.gch \
673
		util/test.h.gch
492.1.7 by Monty Taylor
Moved test() to its own file.
674
else
575.1.6 by Monty Taylor
Cleaned up some headers for PCH.
675
PCHHEADERS = 
492.1.7 by Monty Taylor
Moved test() to its own file.
676
endif
677
187 by Brian Aker
Fixed tab issue
678
BUILT_MAINT_SRC = sql_yacc.cc \
679
		  sql_yacc.h
680
681
BUILT_SOURCES = $(BUILT_MAINT_SRC) \
779.4.5 by Monty Taylor
Replaced gen_lex_hash with gperf. Yay for no more building tools to build source!!!
682
		symbol_hash.h \
683
		function_hash.h \
492.1.7 by Monty Taylor
Moved test() to its own file.
684
		$(PCHHEADERS)
187 by Brian Aker
Fixed tab issue
685
670.1.15 by Monty Taylor
Added configmake.h - possible step in removing -DEFS
686
EXTRA_DIST = \
687
		$(BUILT_MAINT_SRC) \
779.4.5 by Monty Taylor
Replaced gen_lex_hash with gperf. Yay for no more building tools to build source!!!
688
		symbol_hash.gperf \
689
		function_hash.gperf \
670.1.15 by Monty Taylor
Added configmake.h - possible step in removing -DEFS
690
		drizzledumpslow \
691
		message.mc \
692
		probes.d
187 by Brian Aker
Fixed tab issue
693
670.1.15 by Monty Taylor
Added configmake.h - possible step in removing -DEFS
694
CLEANFILES = \
695
		configmake.h \
779.7.10 by Monty Taylor
make distcheck cleanups.
696
		function_hash.h \
697
		function_hash.stamp-h \
670.1.15 by Monty Taylor
Added configmake.h - possible step in removing -DEFS
698
		sql_yacc.output \
779.7.10 by Monty Taylor
make distcheck cleanups.
699
		symbol_hash.h \
700
		symbol_hash.stamp-h \
670.1.15 by Monty Taylor
Added configmake.h - possible step in removing -DEFS
701
		$(PCHHEADERS) \
702
		$(nodist_drizzled_SOURCES)
187 by Brian Aker
Fixed tab issue
703
704
DISTCLEANFILES = $(EXTRA_PROGRAMS) \
705
		 $(BUILT_MAINT_SRC)
706
707
MAINTAINERCLEANFILES = $(BUILT_MAINT_SRC)
708
709
probes.h: probes.d
710
	$(DTRACE) $(DTRACEFLAGS) -h -s probes.d
711
	mv probes.h probes.h.bak
712
	sed "s/#include <unistd.h>//g" probes.h.bak > probes.h
713
	rm probes.h.bak
714
670.1.15 by Monty Taylor
Added configmake.h - possible step in removing -DEFS
715
779.7.6 by Monty Taylor
Generalized gperf building. Feel free to just add .gperf files now.
716
SUFFIXES = .d .gch .gperf .stamp-h
722.1.1 by Monty Taylor
Removed Gnu-Make-isms, since there were only two and we really don't need them and I'm sick of having make break when I accidentally type "make" (silly me) on Solaris.
717
632.1.25 by Monty Taylor
Removed AM_CONDITIONAL from SEARCH_FOR_LIB. Aligned naming of AM_CONDITIONALS.
718
if BUILD_GCC_PCH
722.1.1 by Monty Taylor
Removed Gnu-Make-isms, since there were only two and we really don't need them and I'm sick of having make break when I accidentally type "make" (silly me) on Solaris.
719
.h.gch:
670.4.1 by Monty Taylor
Removed recursive subdirs in drizzled/, which allowed the renaming of ifloat and istring. It's also faster.
720
	$(CXXCOMPILE) -include config.h ${NO_UNUSED_MACROS} -c $<
492.1.7 by Monty Taylor
Moved test() to its own file.
721
endif
722
187 by Brian Aker
Fixed tab issue
723
.d.o : $(DTRACEFILES)
724
	$(DTRACE) $(DTRACEFLAGS) -G -s $< $(DTRACEFILES)
779.4.5 by Monty Taylor
Replaced gen_lex_hash with gperf. Yay for no more building tools to build source!!!
725
779.7.6 by Monty Taylor
Generalized gperf building. Feel free to just add .gperf files now.
726
function_hash.h: function_hash.stamp-h
727
symbol_hash.h: symbol_hash.stamp-h
779.4.5 by Monty Taylor
Replaced gen_lex_hash with gperf. Yay for no more building tools to build source!!!
728
779.7.6 by Monty Taylor
Generalized gperf building. Feel free to just add .gperf files now.
729
.gperf.stamp-h:
779.4.5 by Monty Taylor
Replaced gen_lex_hash with gperf. Yay for no more building tools to build source!!!
730
	$(GPERF) --initializer-suffix=,0 --struct-type --enum \
731
		--omit-struct-type --readonly-tables --language=C++ \
779.7.6 by Monty Taylor
Generalized gperf building. Feel free to just add .gperf files now.
732
		--class-name=$* $<  > $@
873.2.23 by Monty Taylor
Fixed a failure during gperf failure.
733
	@if ! test $$? ; then rm $@ ; fi
734
	@if test -f $@ ; then \
735
		if ! diff $@ \
736
			   ${top_builddir}/drizzled/$*.h >/dev/null 2>&1 ; \
737
		then \
738
			cp $@ ${top_builddir}/drizzled/$*.h ; \
739
		fi \
779.4.5 by Monty Taylor
Replaced gen_lex_hash with gperf. Yay for no more building tools to build source!!!
740
	fi
741