~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/include.am

Fix merge issues with 1.0 CC fix.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#  Copyright (C) 2008 Sun Microsystems
2
 
 
1
# vim:ft=automake
 
2
# included from Top Level Makefile.am
 
3
# All paths should be given relative to the root
 
4
 
 
5
#  Copyright (C) 2008 Sun Microsystems, Inc.
 
6
#  Copyright (C) 2010 Monty Taylor
 
7
#
3
8
#  This program is free software; you can redistribute it and/or modify
4
9
#  it under the terms of the GNU General Public License as published by
5
10
#  the Free Software Foundation; version 2 of the License.
13
18
#  along with this program; if not, write to the Free Software
14
19
#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
15
20
 
16
 
 
17
 
sbin_PROGRAMS= drizzled
18
 
 
19
 
EXTRA_PROGRAMS= gen_lex_hash
20
 
 
21
 
bin_PROGRAMS =
22
 
 
23
 
bin_SCRIPTS =   drizzledumpslow \
24
 
                drizzled_safe 
25
 
 
26
 
DTRACE = @DTRACE@
27
 
 
28
 
DTRACEFLAGS = @DTRACEFLAGS@
29
 
 
30
 
DTRACEFILES = handler.o \
31
 
              filesort.o \
32
 
              sql_delete.o \
33
 
              sql_insert.o \
34
 
              sql_select.o \
35
 
              sql_update.o
36
 
 
37
 
drizzledincludedir = ${includedir}/drizzled
38
 
nobase_dist_drizzledinclude_HEADERS = \
39
 
                alter_column.h \
40
 
                alter_drop.h \
41
 
                authentication.h \
42
 
                base.h \
43
 
                cached_item.h \
44
 
                check_stack_overrun.h \
45
 
                client_settings.h \
46
 
                current_session.h \
47
 
                common.h \
48
 
                comp_creator.h \
49
 
                connect.h \
50
 
                cost_vect.h \
51
 
                data_home.h \
52
 
                db.h \
53
 
                definitions.h \
54
 
                dtcollation.h \
55
 
                errmsg.h \
56
 
                error.h \
57
 
                errmsg_print.h \
58
 
                error_injection.h \
59
 
                field.h \
60
 
                field_iterator.h \
61
 
                field/blob.h \
62
 
                field/date.h \
63
 
                field/datetime.h \
64
 
                field/enum.h \
65
 
                field/decimal.h \
66
 
                field/double.h \
67
 
                field/int64_t.h \
68
 
                field/long.h \
69
 
                field/longstr.h \
70
 
                field/null.h \
71
 
                field/num.h \
72
 
                field/real.h \
73
 
                field/str.h \
74
 
                field/timestamp.h \
75
 
                field/timetype.h \
76
 
                field/varstring.h \
77
 
                filesort_info.h \
78
 
                foreign_key.h \
79
 
                function/ascii.h \
80
 
                function/additive_op.h \
81
 
                function/benchmark.h \
82
 
                function/bit.h \
83
 
                function/bit_count.h \
84
 
                function/bit_length.h \
85
 
                function/char_length.h \
86
 
                function/coercibility.h \
87
 
                function/connection_id.h \
88
 
                function/field.h \
89
 
                function/find_in_set.h \
90
 
                function/found_rows.h \
91
 
                function/func.h \
92
 
                function/get_variable.h \
93
 
                function/get_system_var.h \
94
 
                function/get_user_var.h \
95
 
                function/last_insert.h \
96
 
                function/length.h \
97
 
                function/locate.h \
98
 
                function/master_pos_wait.h \
99
 
                function/min_max.h \
100
 
                function/num1.h \
101
 
                function/numhybrid.h \
102
 
                function/num_op.h \
103
 
                function/rollup_const.h \
104
 
                function/row_count.h \
105
 
                function/set_user_var.h \
106
 
                function/sign.h \
107
 
                function/signed.h \
108
 
                function/units.h \
109
 
                function/unsigned.h \
110
 
                function/update_hash.h \
111
 
                function/user_var_as_out_param.h \
112
 
                function/math/abs.h \
113
 
                function/math/acos.h \
114
 
                function/math/asin.h \
115
 
                function/math/atan.h \
116
 
                function/math/ceiling.h \
117
 
                function/math/cos.h \
118
 
                function/math/dec.h \
119
 
                function/math/decimal_typecast.h \
120
 
                function/math/divide.h \
121
 
                function/math/exp.h \
122
 
                function/math/floor.h \
123
 
                function/math/int_divide.h \
124
 
                function/math/integer.h \
125
 
                function/math/int.h \
126
 
                function/math/int_val.h \
127
 
                function/math/ln.h \
128
 
                function/math/log.h \
129
 
                function/math/minus.h \
130
 
                function/math/mod.h \
131
 
                function/math/multiply.h \
132
 
                function/math/neg.h \
133
 
                function/math/ord.h \
134
 
                function/math/plus.h \
135
 
                function/math/pow.h \
136
 
                function/math/rand.h \
137
 
                function/math/real.h \
138
 
                function/math/round.h \
139
 
                function/math/sin.h \
140
 
                function/math/sqrt.h \
141
 
                function/math/tan.h \
142
 
                function/str/alloc_buffer.h \
143
 
                function/str/binary.h \
144
 
                function/str/char.h \
145
 
                function/str/charset.h \
146
 
                function/str/collation.h \
147
 
                function/str/concat.h \
148
 
                function/str/conv.h \
149
 
                function/str/conv_charset.h \
150
 
                function/str/database.h \
151
 
                function/str/elt.h \
152
 
                function/str/export_set.h \
153
 
                function/str/format.h \
154
 
                function/str/hex.h \
155
 
                function/str/insert.h \
156
 
                function/str/left.h \
157
 
                function/str/load_file.h \
158
 
                function/str/make_set.h \
159
 
                function/str/pad.h \
160
 
                function/str/quote.h \
161
 
                function/str/repeat.h \
162
 
                function/str/replace.h \
163
 
                function/str/reverse.h \
164
 
                function/str/right.h \
165
 
                function/str/set_collation.h \
166
 
                function/str/str_conv.h \
167
 
                function/str/strfunc.h \
168
 
                function/str/substr.h \
169
 
                function/str/sysconst.h \
170
 
                function/str/trim.h \
171
 
                function/str/user.h \
172
 
                function/str/uuid.h \
173
 
                function/str/weight_string.h \
174
 
                function/time/add_time.h \
175
 
                function/time/curdate.h \
176
 
                function/time/curtime.h \
177
 
                function/time/date.h \
178
 
                function/time/date_add_interval.h \
179
 
                function/time/date_format.h \
180
 
                function/time/dayname.h \
181
 
                function/time/dayofmonth.h \
182
 
                function/time/dayofyear.h \
183
 
                function/time/extract.h \
184
 
                function/time/from_days.h \
185
 
                function/time/from_unixtime.h \
186
 
                function/time/get_format.h \
187
 
                function/time/get_interval_value.h \
188
 
                function/time/hour.h \
189
 
                function/time/last_day.h \
190
 
                function/time/makedate.h \
191
 
                function/time/make_datetime_with_warn.h \
192
 
                function/time/make_datetime.h \
193
 
                function/time/maketime.h \
194
 
                function/time/make_time_with_warn.h \
195
 
                function/time/microsecond.h \
196
 
                function/time/minute.h \
197
 
                function/time/month.h \
198
 
                function/time/now.h \
199
 
                function/time/quarter.h \
200
 
                function/time/period_add.h \
201
 
                function/time/period_diff.h \
202
 
                function/time/sec_to_time.h \
203
 
                function/time/second.h \
204
 
                function/time/str_to_date.h \
205
 
                function/time/sysdate_local.h \
206
 
                function/time/str_timefunc.h \
207
 
                function/time/timediff.h \
208
 
                function/time/timestamp_diff.h \
209
 
                function/time/time_to_sec.h \
210
 
                function/time/to_days.h \
211
 
                function/time/typecast.h \
212
 
                function/time/unix_timestamp.h \
213
 
                function/time/week.h \
214
 
                function/time/week_mode.h \
215
 
                function/time/weekday.h \
216
 
                function/time/year.h  \
217
 
                function/time/yearweek.h \
218
 
                ha_trx_info.h \
219
 
                ha_statistics.h \
220
 
                handler.h \
221
 
                handlerton.h \
222
 
                handler_structs.h \
223
 
                hybrid_type.h \
224
 
                hybrid_type_traits.h \
225
 
                hybrid_type_traits_decimal.h \
226
 
                hybrid_type_traits_integer.h \
227
 
                item.h \
228
 
                item/basic_constant.h \
229
 
                item/bin_string.h \
230
 
                item/blob.h \
231
 
                item/cache.h \
232
 
                item/cache_decimal.h \
233
 
                item/cache_int.h \
234
 
                item/cache_real.h \
235
 
                item/cache_row.h \
236
 
                item/cache_str.h \
237
 
                item/cmpfunc.h \
238
 
                item/copy_string.h \
239
 
                item/create.h \
240
 
                item/decimal.h \
241
 
                item/direct_ref.h \
242
 
                item/empty_string.h \
243
 
                item/field.h \
244
 
                item/float.h \
245
 
                item/hex_string.h \
246
 
                item/insert_value.h \
247
 
                item/int_with_ref.h \
248
 
                item/func.h \
249
 
                item/ident.h \
250
 
                item/int.h \
251
 
                item/null.h \
252
 
                item/num.h \
253
 
                item/outer_ref.h \
254
 
                item/param.h \
255
 
                item/ref.h \
256
 
                item/ref_null_helper.h \
257
 
                item/return_date_time.h \
258
 
                item/return_int.h \
259
 
                item/row.h \
260
 
                item/string.h \
261
 
                item/subselect.h \
262
 
                item/sum.h \
263
 
                item/type_holder.h \
264
 
                item/uint.h \
265
 
                key.h \
266
 
                key_map.h \
267
 
                key_part_spec.h \
268
 
                korr.h \
269
 
                lex.h \
270
 
                lex_string.h \
271
 
                lex_symbol.h \
272
 
                lock.h \
273
 
                log_event.h \
274
 
                logging.h \
275
 
                log.h \
276
 
                my_decimal.h\
277
 
                name_resolution_context.h \
278
 
                name_resolution_context_state.h \
279
 
                natural_join_column.h \
280
 
                nested_join.h \
281
 
                opt_range.h \
282
 
                order.h \
283
 
                parser.h \
284
 
                plugin.h \
285
 
                plugin_authentication.h \
286
 
                plugin_configvar.h \
287
 
                plugin_replicator.h \
288
 
                plugin_errmsg.h \
289
 
                plugin_logging.h \
290
 
                plugin_qcache.h \
291
 
                plugin_parser.h \
292
 
                plugin_scheduling.h \
293
 
                probes.h \
294
 
                protocol.h \
295
 
                qcache.h \
296
 
                query_arena.h \
297
 
                query_id.h \
298
 
                rename.h \
299
 
                replication/binlog.h \
300
 
                replication/constants.h \
301
 
                replication/mi.h \
302
 
                replication/record.h \
303
 
                replication/replication.h \
304
 
                replication/reporting.h \
305
 
                replication/rli.h \
306
 
                replication/tblmap.h \
307
 
                replication/utility.h \
308
 
                replicator.h \
309
 
                scheduler.h \
310
 
                scheduling.h \
311
 
                session.h \
312
 
                set_var.h \
313
 
                show.h \
314
 
                sj_tmp_table.h \
315
 
                slave.h \
316
 
                sql_alloc.h \
317
 
                sql_array.h \
318
 
                sql_base.h \
319
 
                sql_bitmap.h \
320
 
                sql_error.h \
321
 
                sql_lex.h \
322
 
                sql_list.h \
323
 
                sql_load.h \
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 \
335
 
                table.h \
336
 
                table_list.h \
337
 
                table_map_iterator.h \
338
 
                tableop_hooks.h \
339
 
                tmp_table.h \
340
 
                tzfile.h \
341
 
                tztime.h \
342
 
                unireg.h \
343
 
                virtual_column_info.h \
344
 
                xid.h
345
 
 
346
 
noinst_LTLIBRARIES = \
347
 
                libhandler.la \
348
 
                libitem.la \
349
 
                libutil.la \
350
 
                libfield.la \
351
 
                libfunction.la
352
 
 
353
 
LDADD = $(top_builddir)/libdrizzle/libdrizzle.la \
354
 
        $(top_builddir)/mysys/libmysys.la \
355
 
        $(top_builddir)/mystrings/libmystrings.la \
356
 
        $(LTLIBZ) $(LIBINTL)
357
 
 
358
 
drizzled_LDADD = ${noinst_LTLIBRARIES} \
359
 
                 $(top_builddir)/libdrizzle/libdrizzle.la \
360
 
                 $(top_builddir)/drizzled/serialize/libserialize.la \
361
 
                 @mysql_plugin_libs@ \
362
 
                 $(LDADD) $(LTLIBUUID) \
363
 
                 $(LIBDL_LIBS) $(LTLIBEVENT) $(LTLIBPROTOBUF) \
364
 
                 $(DRIZZLED_PLUGIN_DEP_LIBS)
365
 
drizzled_DEPENDENCIES = @mysql_plugin_libs@ ${noinst_LTLIBRARIES}
366
 
 
367
 
drizzled_LDFLAGS =
368
 
 
369
 
 
370
 
noinst_HEADERS = \
371
 
                configvar.h \
372
 
                gettext.h \
373
 
                global.h \
374
 
                server_includes.h \
375
 
                util/convert.h \
376
 
                util/math.h \
377
 
                util/test.h
378
 
 
379
 
drizzled_SOURCES = \
380
 
                authentication.cc \
381
 
                cached_item.cc \
382
 
                check_stack_overrun.cc \
383
 
                comp_creator.cc \
384
 
                configvar.cc \
385
 
                current_session.cc \
386
 
                db.cc \
387
 
                drizzled.cc \
388
 
                dtcollation.cc \
389
 
                errmsg.cc \
390
 
                error.cc \
391
 
                errmsg_print.cc \
392
 
                field.cc \
393
 
                field_conv.cc \
394
 
                field_iterator.cc \
395
 
                filesort.cc \
396
 
                ha_trx_info.cc \
397
 
                hybrid_type_traits.cc \
398
 
                hybrid_type_traits_decimal.cc \
399
 
                hybrid_type_traits_integer.cc \
400
 
                item.cc \
401
 
                key.cc \
402
 
                key_map.cc \
403
 
                lock.cc \
404
 
                log.cc \
405
 
                log_event.cc \
406
 
                logging.cc \
407
 
                mf_iocache.cc \
408
 
                my_decimal.cc \
409
 
                name_resolution_context_state.cc \
410
 
                natural_join_column.cc \
411
 
                opt_range.cc \
412
 
                opt_sum.cc \
413
 
                parser.cc \
414
 
                protocol.cc \
415
 
                qcache.cc \
416
 
                query_id.cc \
417
 
                records.cc \
418
 
                rename.cc \
419
 
                replication/binlog.cc \
420
 
                replication/mi.cc \
421
 
                replication/record.cc \
422
 
                replication/replication.cc \
423
 
                replication/reporting.cc \
424
 
                replication/rli.cc \
425
 
                replication/tblmap.cc \
426
 
                replication/utility.cc \
427
 
                replicator.cc \
428
 
                scheduler.cc \
429
 
                scheduling.cc \
430
 
                session.cc \
431
 
                set_var.cc \
432
 
                show.cc \
433
 
                sj_tmp_table.cc \
434
 
                slave.cc \
435
 
                sql_base.cc \
436
 
                sql_builtin.cc \
437
 
                sql_client.cc \
438
 
                sql_connect.cc \
439
 
                sql_delete.cc \
440
 
                sql_derived.cc \
441
 
                sql_error.cc \
442
 
                sql_handler.cc \
443
 
                sql_insert.cc \
444
 
                sql_lex.cc \
445
 
                sql_list.cc \
446
 
                sql_load.cc \
447
 
                sql_locale.cc \
448
 
                sql_olap.cc \
449
 
                sql_parse.cc \
450
 
                sql_plugin.cc \
451
 
                sql_select.cc \
452
 
                sql_state.cc \
453
 
                sql_string.cc \
454
 
                sql_table.cc \
455
 
                sql_udf.cc \
456
 
                sql_union.cc \
457
 
                sql_update.cc \
458
 
                sql_yacc.yy \
459
 
                stacktrace.cc \
460
 
                strfunc.cc \
461
 
                table.cc \
462
 
                table_map_iterator.cc \
463
 
                tableop_hooks.cc \
464
 
                thr_malloc.cc \
465
 
                time.cc \
466
 
                tmp_table.cc \
467
 
                tztime.cc \
468
 
                uniques.cc \
469
 
                unireg.cc \
470
 
                virtual_column_info.cc \
471
 
                xid.cc
472
 
 
473
 
if BUILD_DTRACE
474
 
drizzled_SOURCES += probes.d
475
 
endif
476
 
 
477
 
gen_lex_hash_SOURCES= gen_lex_hash.cc
478
 
 
479
 
gen_lex_hash_LDFLAGS= 
480
 
 
481
 
 
482
 
libhandler_la_SOURCES = handler.cc handlerton.cc
 
21
# We will be using this to build the drizzled server
 
22
drizzled_drizzled_SOURCES=
 
23
 
 
24
include drizzled/execute/include.am
 
25
 
 
26
drizzled/sql_yacc.cc: drizzled/sql_yacc.yy
 
27
        $(AM_V_YACC)$(am__skipyacc) $(YACC) $(YLFLAGS) $(AM_YFLAGS) -o $@ $<
 
28
        mv drizzled/sql_yacc.hh drizzled/sql_yacc.h
 
29
 
 
30
 
 
31
 
 
32
DTRACEFILES= \
 
33
             drizzled/cursor.o \
 
34
             drizzled/drizzled.o \
 
35
             drizzled/filesort.o \
 
36
             drizzled/join.o \
 
37
             drizzled/session.o \
 
38
             drizzled/signal_handler.o \
 
39
             drizzled/sql_delete.o \
 
40
             drizzled/sql_insert.o \
 
41
             drizzled/sql_parse.o \
 
42
             drizzled/sql_select.o \
 
43
             drizzled/sql_update.o \
 
44
             drizzled/statement/delete.o \
 
45
             drizzled/statement/insert.o \
 
46
             drizzled/statement/insert_select.o
 
47
 
 
48
nobase_dist_pkginclude_HEADERS+= \
 
49
                              drizzled/abort_exception.h \
 
50
                              drizzled/alter_column.h \
 
51
                              drizzled/alter_info.h \
 
52
                              drizzled/atomic/gcc_traits.h \
 
53
                              drizzled/atomic/pthread_traits.h \
 
54
                              drizzled/atomic/sun_studio.h \
 
55
                              drizzled/atomics.h \
 
56
                              drizzled/base.h \
 
57
                              drizzled/cached_directory.h \
 
58
                              drizzled/cached_item.h \
 
59
                              drizzled/calendar.h \
 
60
                              drizzled/catalog.h \
 
61
                              drizzled/catalog/cache.h \
 
62
                              drizzled/catalog/engine.h \
 
63
                              drizzled/catalog/instance.h \
 
64
                              drizzled/catalog/local.h \
 
65
                              drizzled/charset.h \
 
66
                              drizzled/check_stack_overrun.h \
 
67
                              drizzled/common.h \
 
68
                              drizzled/common_fwd.h \
 
69
                              drizzled/comp_creator.h \
 
70
                              drizzled/constrained_value.h \
 
71
                              drizzled/copy_field.h \
 
72
                              drizzled/copy_info.h \
 
73
                              drizzled/create_field.h \
 
74
                              drizzled/current_session.h \
 
75
                              drizzled/cursor.h \
 
76
                              drizzled/daemon.h \
 
77
                              drizzled/data_home.h \
 
78
                              drizzled/debug.h \
 
79
                              drizzled/definition/cache.h \
 
80
                              drizzled/definitions.h \
 
81
                              drizzled/diagnostics_area.h \
 
82
                              drizzled/discrete_interval.h \
 
83
                              drizzled/display.h \
 
84
                              drizzled/drizzled.h \
 
85
                              drizzled/dtcollation.h \
 
86
                              drizzled/dynamic_array.h \
 
87
                              drizzled/enum.h \
 
88
                              drizzled/enum_nested_loop_state.h \
 
89
                              drizzled/errmsg_print.h \
 
90
                              drizzled/error.h \
 
91
                              drizzled/error/priority_t.h \
 
92
                              drizzled/error/sql_state.h \
 
93
                              drizzled/error_t.h \
 
94
                              drizzled/execute.h \
 
95
                              drizzled/field.h \
 
96
                              drizzled/field/blob.h \
 
97
                              drizzled/field/boolean.h \
 
98
                              drizzled/field/date.h \
 
99
                              drizzled/field/datetime.h \
 
100
                              drizzled/field/decimal.h \
 
101
                              drizzled/field/double.h \
 
102
                              drizzled/field/enum.h \
 
103
                              drizzled/field/epoch.h \
 
104
                              drizzled/field/int32.h \
 
105
                              drizzled/field/int64.h \
 
106
                              drizzled/field/microtime.h \
 
107
                              drizzled/field/null.h \
 
108
                              drizzled/field/num.h \
 
109
                              drizzled/field/real.h \
 
110
                              drizzled/field/size.h \
 
111
                              drizzled/field/str.h \
 
112
                              drizzled/field/time.h \
 
113
                              drizzled/field/uuid.h \
 
114
                              drizzled/field/ipv6.h \
 
115
                              drizzled/field/varstring.h \
 
116
                              drizzled/field_iterator.h \
 
117
                              drizzled/file_exchange.h \
 
118
                              drizzled/filesort.h \
 
119
                              drizzled/filesort_info.h \
 
120
                              drizzled/foreign_key.h \
 
121
                              drizzled/function/additive_op.h \
 
122
                              drizzled/function/bit.h \
 
123
                              drizzled/function/bit/functions.h \
 
124
                              drizzled/function/cast/boolean.h \
 
125
                              drizzled/function/cast/signed.h \
 
126
                              drizzled/function/cast/time.h \
 
127
                              drizzled/function/cast/unsigned.h \
 
128
                              drizzled/function/field.h \
 
129
                              drizzled/function/find_in_set.h \
 
130
                              drizzled/function/found_rows.h \
 
131
                              drizzled/function/func.h \
 
132
                              drizzled/function/get_system_var.h \
 
133
                              drizzled/function/get_user_var.h \
 
134
                              drizzled/function/last_insert.h \
 
135
                              drizzled/function/locate.h \
 
136
                              drizzled/function/math/dec.h \
 
137
                              drizzled/function/math/decimal_typecast.h \
 
138
                              drizzled/function/math/divide.h \
 
139
                              drizzled/function/math/int.h \
 
140
                              drizzled/function/math/int_divide.h \
 
141
                              drizzled/function/math/int_val.h \
 
142
                              drizzled/function/math/integer.h \
 
143
                              drizzled/function/math/minus.h \
 
144
                              drizzled/function/math/mod.h \
 
145
                              drizzled/function/math/multiply.h \
 
146
                              drizzled/function/math/neg.h \
 
147
                              drizzled/function/math/plus.h \
 
148
                              drizzled/function/math/real.h \
 
149
                              drizzled/function/math/round.h \
 
150
                              drizzled/function/math/tan.h \
 
151
                              drizzled/function/min_max.h \
 
152
                              drizzled/function/num1.h \
 
153
                              drizzled/function/num_op.h \
 
154
                              drizzled/function/numhybrid.h \
 
155
                              drizzled/function/rollup_const.h \
 
156
                              drizzled/function/row_count.h \
 
157
                              drizzled/function/set_user_var.h \
 
158
                              drizzled/function/sign.h \
 
159
                              drizzled/function/str/alloc_buffer.h \
 
160
                              drizzled/function/str/binary.h \
 
161
                              drizzled/function/str/char.h \
 
162
                              drizzled/function/str/collation.h \
 
163
                              drizzled/function/str/concat.h \
 
164
                              drizzled/function/str/conv.h \
 
165
                              drizzled/function/str/conv_charset.h \
 
166
                              drizzled/function/str/export_set.h \
 
167
                              drizzled/function/str/insert.h \
 
168
                              drizzled/function/str/left.h \
 
169
                              drizzled/function/str/load_file.h \
 
170
                              drizzled/function/str/make_set.h \
 
171
                              drizzled/function/str/pad.h \
 
172
                              drizzled/function/str/repeat.h \
 
173
                              drizzled/function/str/replace.h \
 
174
                              drizzled/function/str/right.h \
 
175
                              drizzled/function/str/set_collation.h \
 
176
                              drizzled/function/str/str_conv.h \
 
177
                              drizzled/function/str/strfunc.h \
 
178
                              drizzled/function/str/trim.h \
 
179
                              drizzled/function/time/curdate.h \
 
180
                              drizzled/function/time/date.h \
 
181
                              drizzled/function/time/date_add_interval.h \
 
182
                              drizzled/function/time/date_format.h \
 
183
                              drizzled/function/time/dayname.h \
 
184
                              drizzled/function/time/dayofmonth.h \
 
185
                              drizzled/function/time/dayofyear.h \
 
186
                              drizzled/function/time/extract.h \
 
187
                              drizzled/function/time/from_days.h \
 
188
                              drizzled/function/time/from_unixtime.h \
 
189
                              drizzled/function/time/hour.h \
 
190
                              drizzled/function/time/last_day.h \
 
191
                              drizzled/function/time/makedate.h \
 
192
                              drizzled/function/time/microsecond.h \
 
193
                              drizzled/function/time/minute.h \
 
194
                              drizzled/function/time/month.h \
 
195
                              drizzled/function/time/now.h \
 
196
                              drizzled/function/time/period_add.h \
 
197
                              drizzled/function/time/period_diff.h \
 
198
                              drizzled/function/time/quarter.h \
 
199
                              drizzled/function/time/second.h \
 
200
                              drizzled/function/time/sysdate_local.h \
 
201
                              drizzled/function/time/timestamp_diff.h \
 
202
                              drizzled/function/time/to_days.h \
 
203
                              drizzled/function/time/typecast.h \
 
204
                              drizzled/function/time/unix_timestamp.h \
 
205
                              drizzled/function/time/weekday.h \
 
206
                              drizzled/function/time/year.h  \
 
207
                              drizzled/function/units.h \
 
208
                              drizzled/function/user_var_as_out_param.h \
 
209
                              drizzled/function_container.h \
 
210
                              drizzled/function_hash.h \
 
211
                              drizzled/generator.h \
 
212
                              drizzled/generator/all_fields.h \
 
213
                              drizzled/generator/all_foreign_keys.h \
 
214
                              drizzled/generator/all_indexes.h \
 
215
                              drizzled/generator/all_tables.h \
 
216
                              drizzled/generator/catalog/cache.h \
 
217
                              drizzled/generator/catalog/message.h \
 
218
                              drizzled/generator/event_observers.h \
 
219
                              drizzled/generator/functions.h \
 
220
                              drizzled/generator/schema.h \
 
221
                              drizzled/generator/session.h \
 
222
                              drizzled/generator/table.h \
 
223
                              drizzled/gettext.h \
 
224
                              drizzled/global_buffer.h \
 
225
                              drizzled/ha_data.h \
 
226
                              drizzled/ha_statistics.h \
 
227
                              drizzled/handler_structs.h \
 
228
                              drizzled/hybrid_type.h \
 
229
                              drizzled/hybrid_type_traits.h \
 
230
                              drizzled/hybrid_type_traits_decimal.h \
 
231
                              drizzled/hybrid_type_traits_integer.h \
 
232
                              drizzled/identifier.h \
 
233
                              drizzled/identifier/catalog.h \
 
234
                              drizzled/identifier/constants/user.h \
 
235
                              drizzled/identifier/constants/schema.h \
 
236
                              drizzled/identifier/constants/table.h \
 
237
                              drizzled/identifier/schema.h \
 
238
                              drizzled/identifier/table.h \
 
239
                              drizzled/identifier/user.h \
 
240
                              drizzled/index_hint.h \
 
241
                              drizzled/item.h \
 
242
                              drizzled/item/basic_constant.h \
 
243
                              drizzled/item/bin_string.h \
 
244
                              drizzled/item/boolean.h \
 
245
                              drizzled/item/cache.h \
 
246
                              drizzled/item/cache_decimal.h \
 
247
                              drizzled/item/cache_int.h \
 
248
                              drizzled/item/cache_real.h \
 
249
                              drizzled/item/cache_row.h \
 
250
                              drizzled/item/cache_str.h \
 
251
                              drizzled/item/cmpfunc.h \
 
252
                              drizzled/item/copy_string.h \
 
253
                              drizzled/item/create.h \
 
254
                              drizzled/item/decimal.h \
 
255
                              drizzled/item/default_value.h \
 
256
                              drizzled/item/direct_ref.h \
 
257
                              drizzled/item/empty_string.h \
 
258
                              drizzled/item/false.h \
 
259
                              drizzled/item/field.h \
 
260
                              drizzled/item/float.h \
 
261
                              drizzled/item/func.h \
 
262
                              drizzled/item/function/boolean.h \
 
263
                              drizzled/item/hex_string.h \
 
264
                              drizzled/item/ident.h \
 
265
                              drizzled/item/insert_value.h \
 
266
                              drizzled/item/int.h \
 
267
                              drizzled/item/int_with_ref.h \
 
268
                              drizzled/item/null.h \
 
269
                              drizzled/item/num.h \
 
270
                              drizzled/item/outer_ref.h \
 
271
                              drizzled/item/ref.h \
 
272
                              drizzled/item/ref_null_helper.h \
 
273
                              drizzled/item/return_date_time.h \
 
274
                              drizzled/item/return_int.h \
 
275
                              drizzled/item/row.h \
 
276
                              drizzled/item/string.h \
 
277
                              drizzled/item/subselect.h \
 
278
                              drizzled/item/sum.h \
 
279
                              drizzled/item/true.h \
 
280
                              drizzled/item/type_holder.h \
 
281
                              drizzled/item/uint.h \
 
282
                              drizzled/item_result.h \
 
283
                              drizzled/join.h \
 
284
                              drizzled/join_cache.h \
 
285
                              drizzled/join_table.h \
 
286
                              drizzled/key.h \
 
287
                              drizzled/key_map.h \
 
288
                              drizzled/key_part_spec.h \
 
289
                              drizzled/kill.h \
 
290
                              drizzled/korr.h \
 
291
                              drizzled/lex_column.h \
 
292
                              drizzled/lex_input_stream.h \
 
293
                              drizzled/lex_string.h \
 
294
                              drizzled/lex_symbol.h \
 
295
                              drizzled/lock.h \
 
296
                              drizzled/locking/global.h \
 
297
                              drizzled/lookup_symbol.h \
 
298
                              drizzled/memory/multi_malloc.h \
 
299
                              drizzled/memory/root.h \
 
300
                              drizzled/memory/sql_alloc.h \
 
301
                              drizzled/message.h \
 
302
                              drizzled/message/access.h \
 
303
                              drizzled/message/cache.h \
 
304
                              drizzled/message/catalog.h \
 
305
                              drizzled/message/replication_options.h \
 
306
                              drizzled/message/schema.h \
 
307
                              drizzled/message/table.h \
 
308
                              drizzled/module/context.h \
 
309
                              drizzled/module/graph.h \
 
310
                              drizzled/module/library.h \
 
311
                              drizzled/module/manifest.h \
 
312
                              drizzled/module/module.h \
 
313
                              drizzled/module/option_context.h \
 
314
                              drizzled/module/option_map.h \
 
315
                              drizzled/module/registry.h \
 
316
                              drizzled/module/vertex.h \
 
317
                              drizzled/module/vertex_handle.h \
 
318
                              drizzled/my_hash.h \
 
319
                              drizzled/name_resolution_context.h \
 
320
                              drizzled/name_resolution_context_state.h \
 
321
                              drizzled/named_savepoint.h \
 
322
                              drizzled/natural_join_column.h \
 
323
                              drizzled/nested_join.h \
 
324
                              drizzled/open_tables_state.h \
 
325
                              drizzled/optimizer/access_method.h \
 
326
                              drizzled/optimizer/access_method/const.h \
 
327
                              drizzled/optimizer/access_method/index.h \
 
328
                              drizzled/optimizer/access_method/scan.h \
 
329
                              drizzled/optimizer/access_method/system.h \
 
330
                              drizzled/optimizer/access_method/unique_index.h \
 
331
                              drizzled/optimizer/access_method_factory.h \
 
332
                              drizzled/optimizer/cost_vector.h \
 
333
                              drizzled/optimizer/explain_plan.h \
 
334
                              drizzled/optimizer/key_field.h \
 
335
                              drizzled/optimizer/key_use.h \
 
336
                              drizzled/optimizer/position.h \
 
337
                              drizzled/optimizer/quick_group_min_max_select.h \
 
338
                              drizzled/optimizer/quick_index_merge_select.h \
 
339
                              drizzled/optimizer/quick_range.h \
 
340
                              drizzled/optimizer/quick_range_select.h \
 
341
                              drizzled/optimizer/quick_ror_intersect_select.h \
 
342
                              drizzled/optimizer/quick_ror_union_select.h \
 
343
                              drizzled/optimizer/range.h \
 
344
                              drizzled/optimizer/range_param.h \
 
345
                              drizzled/optimizer/sargable_param.h \
 
346
                              drizzled/optimizer/sel_arg.h \
 
347
                              drizzled/optimizer/sel_imerge.h \
 
348
                              drizzled/optimizer/sel_tree.h \
 
349
                              drizzled/optimizer/sum.h \
 
350
                              drizzled/optimizer/table_read_plan.h \
 
351
                              drizzled/option.h \
 
352
                              drizzled/order.h \
 
353
                              drizzled/parser.h \
 
354
                              drizzled/plugin.h \
 
355
                              drizzled/plugin/authentication.h \
 
356
                              drizzled/plugin/authorization.h \
 
357
                              drizzled/plugin/catalog.h \
 
358
                              drizzled/plugin/client.h \
 
359
                              drizzled/plugin/client/cached.h \
 
360
                              drizzled/plugin/client/concurrent.h \
 
361
                              drizzled/plugin/daemon.h \
 
362
                              drizzled/plugin/error_message.h \
 
363
                              drizzled/plugin/event_observer.h \
 
364
                              drizzled/plugin/function.h \
 
365
                              drizzled/plugin/listen.h \
 
366
                              drizzled/plugin/listen_tcp.h \
 
367
                              drizzled/plugin/logging.h \
 
368
                              drizzled/plugin/monitored_in_transaction.h \
 
369
                              drizzled/plugin/null_client.h \
 
370
                              drizzled/plugin/plugin.h \
 
371
                              drizzled/plugin/query_cache.h \
 
372
                              drizzled/plugin/query_rewrite.h \
 
373
                              drizzled/plugin/replication.h \
 
374
                              drizzled/plugin/scheduler.h \
 
375
                              drizzled/plugin/storage_engine.h \
 
376
                              drizzled/plugin/table_function.h \
 
377
                              drizzled/plugin/transaction_applier.h \
 
378
                              drizzled/plugin/transaction_reader.h \
 
379
                              drizzled/plugin/transaction_replicator.h \
 
380
                              drizzled/plugin/transactional_storage_engine.h \
 
381
                              drizzled/plugin/version.h \
 
382
                              drizzled/plugin/xa_resource_manager.h \
 
383
                              drizzled/plugin/xa_storage_engine.h \
 
384
                              drizzled/probes.h \
 
385
                              drizzled/program_options/config_file.h \
 
386
                              drizzled/pthread_globals.h \
 
387
                              drizzled/qsort_cmp.h \
 
388
                              drizzled/query_id.h \
 
389
                              drizzled/records.h \
 
390
                              drizzled/replication_services.h \
 
391
                              drizzled/resource_context.h \
 
392
                              drizzled/schema.h \
 
393
                              drizzled/select_create.h \
 
394
                              drizzled/select_dump.h \
 
395
                              drizzled/select_dumpvar.h \
 
396
                              drizzled/select_exists_subselect.h \
 
397
                              drizzled/select_export.h \
 
398
                              drizzled/select_insert.h \
 
399
                              drizzled/select_max_min_finder_subselect.h \
 
400
                              drizzled/select_result.h \
 
401
                              drizzled/select_result_interceptor.h \
 
402
                              drizzled/select_send.h \
 
403
                              drizzled/select_singlerow_subselect.h \
 
404
                              drizzled/select_subselect.h \
 
405
                              drizzled/select_to_file.h \
 
406
                              drizzled/select_union.h \
 
407
                              drizzled/session.h \
 
408
                              drizzled/session/cache.h \
 
409
                              drizzled/session/state.h \
 
410
                              drizzled/session/table_messages.h \
 
411
                              drizzled/session/times.h \
 
412
                              drizzled/session/transactions.h \
 
413
                              drizzled/set_var.h \
 
414
                              drizzled/show.h \
 
415
                              drizzled/show_type.h \
 
416
                              drizzled/signal_handler.h \
 
417
                              drizzled/sql/exception.h \
 
418
                              drizzled/sql/result_set.h \
 
419
                              drizzled/sql/result_set_meta_data.h \
 
420
                              drizzled/sort_field.h \
 
421
                              drizzled/sql_base.h \
 
422
                              drizzled/sql_error.h \
 
423
                              drizzled/sql_lex.h \
 
424
                              drizzled/sql_list.h \
 
425
                              drizzled/sql_load.h \
 
426
                              drizzled/sql_locale.h \
 
427
                              drizzled/sql_parse.h \
 
428
                              drizzled/sql_select.h \
 
429
                              drizzled/sql_sort.h \
 
430
                              drizzled/sql_string.h \
 
431
                              drizzled/sql_table.h \
 
432
                              drizzled/sql_union.h \
 
433
                              drizzled/statement.h \
 
434
                              drizzled/statement/alter_schema.h \
 
435
                              drizzled/statement/alter_table.h \
 
436
                              drizzled/statement/analyze.h \
 
437
                              drizzled/statement/catalog.h \
 
438
                              drizzled/statement/catalog/create.h \
 
439
                              drizzled/statement/catalog/drop.h \
 
440
                              drizzled/statement/change_schema.h \
 
441
                              drizzled/statement/check.h \
 
442
                              drizzled/statement/commit.h \
 
443
                              drizzled/statement/create_index.h \
 
444
                              drizzled/statement/create_schema.h \
 
445
                              drizzled/statement/create_table.h \
 
446
                              drizzled/statement/delete.h \
 
447
                              drizzled/statement/drop_index.h \
 
448
                              drizzled/statement/drop_schema.h \
 
449
                              drizzled/statement/drop_table.h \
 
450
                              drizzled/statement/empty_query.h \
 
451
                              drizzled/statement/execute.h \
 
452
                              drizzled/statement/flush.h \
 
453
                              drizzled/statement/insert.h \
 
454
                              drizzled/statement/insert_select.h \
 
455
                              drizzled/statement/kill.h \
 
456
                              drizzled/statement/load.h \
 
457
                              drizzled/statement/release_savepoint.h \
 
458
                              drizzled/statement/rename_table.h \
 
459
                              drizzled/statement/replace.h \
 
460
                              drizzled/statement/replace_select.h \
 
461
                              drizzled/statement/rollback.h \
 
462
                              drizzled/statement/rollback_to_savepoint.h \
 
463
                              drizzled/statement/savepoint.h \
 
464
                              drizzled/statement/select.h \
 
465
                              drizzled/statement/set_option.h \
 
466
                              drizzled/statement/show.h \
 
467
                              drizzled/statement/show_errors.h \
 
468
                              drizzled/statement/show_warnings.h \
 
469
                              drizzled/statement/start_transaction.h \
 
470
                              drizzled/statement/truncate.h \
 
471
                              drizzled/statement/unlock_tables.h \
 
472
                              drizzled/statement/update.h \
 
473
                              drizzled/statistics_variables.h \
 
474
                              drizzled/status_helper.h \
 
475
                              drizzled/stored_key.h \
 
476
                              drizzled/structs.h \
 
477
                              drizzled/symbol_hash.h \
 
478
                              drizzled/sys_var.h \
 
479
                              drizzled/system_variables.h \
 
480
                              drizzled/table.h \
 
481
                              drizzled/table/cache.h \
 
482
                              drizzled/table/concurrent.h \
 
483
                              drizzled/table/instance.h \
 
484
                              drizzled/table/instance/base.h \
 
485
                              drizzled/table/instance/shared.h \
 
486
                              drizzled/table/instance/singular.h \
 
487
                              drizzled/table/placeholder.h \
 
488
                              drizzled/table/shell.h \
 
489
                              drizzled/table/singular.h \
 
490
                              drizzled/table/temporary.h \
 
491
                              drizzled/table/unused.h \
 
492
                              drizzled/table_function_container.h \
 
493
                              drizzled/table_ident.h \
 
494
                              drizzled/table_list.h \
 
495
                              drizzled/table_proto.h \
 
496
                              drizzled/table_reference.h \
 
497
                              drizzled/temporal.h \
 
498
                              drizzled/temporal_format.h \
 
499
                              drizzled/temporal_interval.h \
 
500
                              drizzled/thr_lock.h \
 
501
                              drizzled/time_functions.h \
 
502
                              drizzled/tmp_table_param.h \
 
503
                              drizzled/transaction_context.h \
 
504
                              drizzled/transaction_services.h \
 
505
                              drizzled/tree.h \
 
506
                              drizzled/type/boolean.h \
 
507
                              drizzled/type/decimal.h \
 
508
                              drizzled/type/time.h \
 
509
                              drizzled/type/uuid.h \
 
510
                              drizzled/type/ipv6.h \
 
511
                              drizzled/typelib.h \
 
512
                              drizzled/unique.h \
 
513
                              drizzled/unireg.h \
 
514
                              drizzled/user_var_entry.h \
 
515
                              drizzled/utf8/checked.h \
 
516
                              drizzled/utf8/core.h \
 
517
                              drizzled/utf8/unchecked.h \
 
518
                              drizzled/utf8/utf8.h \
 
519
                              drizzled/var.h \
 
520
                              drizzled/version.h \
 
521
                              drizzled/visibility.h \
 
522
                              drizzled/xid.h
 
523
 
 
524
drizzled_drizzled_LDFLAGS= -export-dynamic
 
525
drizzled_drizzled_LDADD= \
 
526
                                drizzled/algorithm/libhash.la \
 
527
                                drizzled/util/libutil.la \
 
528
                                drizzled/internal/libinternal.la \
 
529
                                drizzled/message/libdrizzledmessage.la \
 
530
                                drizzled/libtemporal.la \
 
531
                                $(LIBZ) \
 
532
                                $(LIBINTL) \
 
533
                                ${LIBC_P} \
 
534
                                $(pandora_plugin_libs) \
 
535
                                $(LDADD) \
 
536
                                $(LIBUUID) \
 
537
                                $(LIBDL_LIBS) \
 
538
                                $(LTLIBPCRE) \
 
539
                                $(LTLIBPROTOBUF) \
 
540
                                $(LIBTBB) \
 
541
                                $(BOOST_LIBS) \
 
542
                                $(LTLIBAIO) \
 
543
                                $(GCOV_LIBS)
 
544
 
 
545
drizzled_drizzled_DEPENDENCIES= \
 
546
                                      drizzled/message/libdrizzledmessage.la \
 
547
                                      ${noinst_LTLIBRARIES} \
 
548
                                      $(pandora_plugin_libs)
 
549
 
 
550
drizzled_drizzled_SOURCES+= \
 
551
                           drizzled/alter_info.cc \
 
552
                           drizzled/cached_item.cc \
 
553
                           drizzled/catalog.cc \
 
554
                           drizzled/catalog/cache.cc \
 
555
                           drizzled/catalog/local.cc \
 
556
                           drizzled/check_stack_overrun.cc \
 
557
                           drizzled/comp_creator.cc \
 
558
                           drizzled/create_field.cc \
 
559
                           drizzled/current_session.cc \
 
560
                           drizzled/cursor.cc \
 
561
                           drizzled/daemon.cc \
 
562
                           drizzled/data_home.cc \
 
563
                           drizzled/debug.cc \
 
564
                           drizzled/definition/cache.cc \
 
565
                           drizzled/diagnostics_area.cc \
 
566
                           drizzled/display.cc \
 
567
                           drizzled/drizzled.cc \
 
568
                           drizzled/dtcollation.cc \
 
569
                           drizzled/errmsg_print.cc \
 
570
                           drizzled/error/sql_state.cc \
 
571
                           drizzled/execute.cc \
 
572
                           drizzled/field.cc \
 
573
                           drizzled/field/blob.cc \
 
574
                           drizzled/field/boolean.cc \
 
575
                           drizzled/field/date.cc \
 
576
                           drizzled/field/datetime.cc \
 
577
                           drizzled/field/decimal.cc \
 
578
                           drizzled/field/double.cc \
 
579
                           drizzled/field/enum.cc \
 
580
                           drizzled/field/epoch.cc \
 
581
                           drizzled/field/int32.cc \
 
582
                           drizzled/field/int64.cc \
 
583
                           drizzled/field/microtime.cc \
 
584
                           drizzled/field/null.cc \
 
585
                           drizzled/field/num.cc \
 
586
                           drizzled/field/real.cc \
 
587
                           drizzled/field/size.cc \
 
588
                           drizzled/field/str.cc \
 
589
                           drizzled/field/time.cc \
 
590
                           drizzled/field/uuid.cc \
 
591
                           drizzled/field/ipv6.cc \
 
592
                           drizzled/field/varstring.cc \
 
593
                           drizzled/field_conv.cc \
 
594
                           drizzled/field_iterator.cc \
 
595
                           drizzled/file_exchange.cc \
 
596
                           drizzled/filesort.cc \
 
597
                           drizzled/foreign_key.cc \
 
598
                           drizzled/function/additive_op.cc \
 
599
                           drizzled/function/bit/functions.cc \
 
600
                           drizzled/function/cast/boolean.cc \
 
601
                           drizzled/function/cast/signed.cc \
 
602
                           drizzled/function/cast/time.cc \
 
603
                           drizzled/function/cast/unsigned.cc \
 
604
                           drizzled/function/field.cc \
 
605
                           drizzled/function/find_in_set.cc \
 
606
                           drizzled/function/found_rows.cc \
 
607
                           drizzled/function/func.cc \
 
608
                           drizzled/function/get_system_var.cc \
 
609
                           drizzled/function/get_user_var.cc \
 
610
                           drizzled/function/last_insert.cc \
 
611
                           drizzled/function/locate.cc \
 
612
                           drizzled/function/math/decimal_typecast.cc \
 
613
                           drizzled/function/math/divide.cc \
 
614
                           drizzled/function/math/int.cc \
 
615
                           drizzled/function/math/int_divide.cc \
 
616
                           drizzled/function/math/int_val.cc \
 
617
                           drizzled/function/math/integer.cc \
 
618
                           drizzled/function/math/minus.cc \
 
619
                           drizzled/function/math/mod.cc \
 
620
                           drizzled/function/math/multiply.cc \
 
621
                           drizzled/function/math/neg.cc \
 
622
                           drizzled/function/math/plus.cc \
 
623
                           drizzled/function/math/real.cc \
 
624
                           drizzled/function/math/round.cc \
 
625
                           drizzled/function/math/tan.cc \
 
626
                           drizzled/function/min_max.cc \
 
627
                           drizzled/function/num1.cc \
 
628
                           drizzled/function/num_op.cc \
 
629
                           drizzled/function/numhybrid.cc \
 
630
                           drizzled/function/row_count.cc \
 
631
                           drizzled/function/set_user_var.cc \
 
632
                           drizzled/function/sign.cc \
 
633
                           drizzled/function/str/alloc_buffer.cc \
 
634
                           drizzled/function/str/binary.cc \
 
635
                           drizzled/function/str/char.cc \
 
636
                           drizzled/function/str/collation.cc \
 
637
                           drizzled/function/str/concat.cc \
 
638
                           drizzled/function/str/conv.cc \
 
639
                           drizzled/function/str/conv_charset.cc \
 
640
                           drizzled/function/str/export_set.cc \
 
641
                           drizzled/function/str/insert.cc \
 
642
                           drizzled/function/str/left.cc \
 
643
                           drizzled/function/str/load_file.cc \
 
644
                           drizzled/function/str/make_set.cc \
 
645
                           drizzled/function/str/pad.cc \
 
646
                           drizzled/function/str/repeat.cc \
 
647
                           drizzled/function/str/replace.cc \
 
648
                           drizzled/function/str/right.cc \
 
649
                           drizzled/function/str/set_collation.cc \
 
650
                           drizzled/function/str/str_conv.cc \
 
651
                           drizzled/function/str/strfunc.cc \
 
652
                           drizzled/function/str/trim.cc \
 
653
                           drizzled/function/time/curdate.cc \
 
654
                           drizzled/function/time/date.cc \
 
655
                           drizzled/function/time/date_add_interval.cc \
 
656
                           drizzled/function/time/date_format.cc \
 
657
                           drizzled/function/time/dayname.cc \
 
658
                           drizzled/function/time/dayofmonth.cc \
 
659
                           drizzled/function/time/dayofyear.cc \
 
660
                           drizzled/function/time/extract.cc \
 
661
                           drizzled/function/time/from_days.cc \
 
662
                           drizzled/function/time/from_unixtime.cc \
 
663
                           drizzled/function/time/hour.cc \
 
664
                           drizzled/function/time/last_day.cc \
 
665
                           drizzled/function/time/makedate.cc \
 
666
                           drizzled/function/time/microsecond.cc \
 
667
                           drizzled/function/time/minute.cc \
 
668
                           drizzled/function/time/month.cc \
 
669
                           drizzled/function/time/now.cc \
 
670
                           drizzled/function/time/period_add.cc \
 
671
                           drizzled/function/time/period_diff.cc \
 
672
                           drizzled/function/time/quarter.cc \
 
673
                           drizzled/function/time/second.cc \
 
674
                           drizzled/function/time/sysdate_local.cc \
 
675
                           drizzled/function/time/timestamp_diff.cc \
 
676
                           drizzled/function/time/to_days.cc \
 
677
                           drizzled/function/time/typecast.cc \
 
678
                           drizzled/function/time/unix_timestamp.cc \
 
679
                           drizzled/function/time/weekday.cc \
 
680
                           drizzled/function/time/year.cc \
 
681
                           drizzled/function/units.cc \
 
682
                           drizzled/function/user_var_as_out_param.cc \
 
683
                           drizzled/function_container.cc \
 
684
                           drizzled/generator/all_fields.cc \
 
685
                           drizzled/generator/all_foreign_keys.cc \
 
686
                           drizzled/generator/all_indexes.cc \
 
687
                           drizzled/generator/all_tables.cc \
 
688
                           drizzled/generator/event_observers.cc \
 
689
                           drizzled/generator/functions.cc \
 
690
                           drizzled/generator/schema.cc \
 
691
                           drizzled/generator/table.cc \
 
692
                           drizzled/generator/table_definition_cache.h \
 
693
                           drizzled/ha_commands.cc \
 
694
                           drizzled/hybrid_type_traits.cc \
 
695
                           drizzled/hybrid_type_traits_decimal.cc \
 
696
                           drizzled/hybrid_type_traits_integer.cc \
 
697
                           drizzled/identifier.cc \
 
698
                           drizzled/identifier/catalog.cc \
 
699
                           drizzled/identifier/constants/schema.cc \
 
700
                           drizzled/identifier/constants/table.cc \
 
701
                           drizzled/identifier/constants/user.cc \
 
702
                           drizzled/identifier/schema.cc \
 
703
                           drizzled/identifier/table.cc \
 
704
                           drizzled/identifier/user.cc \
 
705
                           drizzled/index_hint.cc \
 
706
                           drizzled/item.cc \
 
707
                           drizzled/item/bin_string.cc \
 
708
                           drizzled/item/cache.cc \
 
709
                           drizzled/item/cache_decimal.cc \
 
710
                           drizzled/item/cache_int.cc \
 
711
                           drizzled/item/cache_real.cc \
 
712
                           drizzled/item/cache_row.cc \
 
713
                           drizzled/item/cache_str.cc \
 
714
                           drizzled/item/cmpfunc.cc \
 
715
                           drizzled/item/copy_string.cc \
 
716
                           drizzled/item/create.cc \
 
717
                           drizzled/item/decimal.cc \
 
718
                           drizzled/item/default_value.cc \
 
719
                           drizzled/item/direct_ref.cc \
 
720
                           drizzled/item/empty_string.cc \
 
721
                           drizzled/item/field.cc \
 
722
                           drizzled/item/float.cc \
 
723
                           drizzled/item/function/boolean.cc \
 
724
                           drizzled/item/hex_string.cc \
 
725
                           drizzled/item/ident.cc \
 
726
                           drizzled/item/insert_value.cc \
 
727
                           drizzled/item/int.cc \
 
728
                           drizzled/item/int_with_ref.cc \
 
729
                           drizzled/item/null.cc \
 
730
                           drizzled/item/num.cc \
 
731
                           drizzled/item/outer_ref.cc \
 
732
                           drizzled/item/ref.cc \
 
733
                           drizzled/item/ref_null_helper.cc \
 
734
                           drizzled/item/row.cc \
 
735
                           drizzled/item/string.cc \
 
736
                           drizzled/item/subselect.cc \
 
737
                           drizzled/item/sum.cc \
 
738
                           drizzled/item/type_holder.cc \
 
739
                           drizzled/item/uint.cc \
 
740
                           drizzled/join.cc \
 
741
                           drizzled/join_cache.cc \
 
742
                           drizzled/join_table.cc \
 
743
                           drizzled/key.cc \
 
744
                           drizzled/key_map.cc \
 
745
                           drizzled/kill.cc \
 
746
                           drizzled/lock.cc \
 
747
                           drizzled/locking/global.cc \
 
748
                           drizzled/lookup_symbol.cc \
 
749
                           drizzled/main.cc \
 
750
                           drizzled/message.cc \
 
751
                           drizzled/message/cache.cc \
 
752
                           drizzled/message/catalog.cc \
 
753
                           drizzled/message/schema.cc \
 
754
                           drizzled/message/table.cc \
 
755
                           drizzled/module/context.cc \
 
756
                           drizzled/module/library.cc \
 
757
                           drizzled/module/loader.cc \
 
758
                           drizzled/module/module.cc \
 
759
                           drizzled/module/option_context.cc \
 
760
                           drizzled/module/option_map.cc \
 
761
                           drizzled/module/registry.cc \
 
762
                           drizzled/my_hash.cc \
 
763
                           drizzled/name_resolution_context_state.cc \
 
764
                           drizzled/named_savepoint.cc \
 
765
                           drizzled/natural_join_column.cc \
 
766
                           drizzled/optimizer/access_method/const.cc \
 
767
                           drizzled/optimizer/access_method/index.cc \
 
768
                           drizzled/optimizer/access_method/scan.cc \
 
769
                           drizzled/optimizer/access_method/system.cc \
 
770
                           drizzled/optimizer/access_method/unique_index.cc \
 
771
                           drizzled/optimizer/access_method_factory.cc \
 
772
                           drizzled/optimizer/explain_plan.cc \
 
773
                           drizzled/optimizer/key_field.cc \
 
774
                           drizzled/optimizer/position.cc \
 
775
                           drizzled/optimizer/quick_group_min_max_select.cc \
 
776
                           drizzled/optimizer/quick_index_merge_select.cc \
 
777
                           drizzled/optimizer/quick_range.cc \
 
778
                           drizzled/optimizer/quick_range_select.cc \
 
779
                           drizzled/optimizer/quick_ror_intersect_select.cc \
 
780
                           drizzled/optimizer/quick_ror_union_select.cc \
 
781
                           drizzled/optimizer/range.cc \
 
782
                           drizzled/optimizer/sel_arg.cc \
 
783
                           drizzled/optimizer/sel_imerge.cc \
 
784
                           drizzled/optimizer/sel_tree.cc \
 
785
                           drizzled/optimizer/sum.cc \
 
786
                           drizzled/parser.cc \
 
787
                           drizzled/plugin/authentication.cc \
 
788
                           drizzled/plugin/authorization.cc \
 
789
                           drizzled/plugin/catalog.cc \
 
790
                           drizzled/plugin/client.cc \
 
791
                           drizzled/plugin/error_message.cc \
 
792
                           drizzled/plugin/event_observer.cc  \
 
793
                           drizzled/plugin/function.cc \
 
794
                           drizzled/plugin/listen.cc \
 
795
                           drizzled/plugin/listen_tcp.cc \
 
796
                           drizzled/plugin/logging.cc \
 
797
                           drizzled/plugin/monitored_in_transaction.cc \
 
798
                           drizzled/plugin/plugin.cc \
 
799
                           drizzled/plugin/query_cache.cc \
 
800
                           drizzled/plugin/query_rewrite.cc \
 
801
                           drizzled/plugin/scheduler.cc \
 
802
                           drizzled/plugin/schema_engine.cc \
 
803
                           drizzled/plugin/storage_engine.cc \
 
804
                           drizzled/plugin/table_function.cc \
 
805
                           drizzled/plugin/transaction_applier.cc \
 
806
                           drizzled/plugin/transaction_replicator.cc \
 
807
                           drizzled/plugin/transactional_storage_engine.cc \
 
808
                           drizzled/plugin/xa_resource_manager.cc \
 
809
                           drizzled/plugin/xa_storage_engine.cc \
 
810
                           drizzled/query_id.cc \
 
811
                           drizzled/records.cc \
 
812
                           drizzled/replication_services.cc \
 
813
                           drizzled/resource_context.cc \
 
814
                           drizzled/select_dumpvar.cc \
 
815
                           drizzled/session.cc \
 
816
                           drizzled/session/cache.cc \
 
817
                           drizzled/session/state.cc \
 
818
                           drizzled/session/table_messages.cc \
 
819
                           drizzled/session/times.cc \
 
820
                           drizzled/set_var.cc \
 
821
                           drizzled/show.cc \
 
822
                           drizzled/signal_handler.cc \
 
823
                           drizzled/sql/exception.cc \
 
824
                           drizzled/sql/result_set.cc \
 
825
                           drizzled/sql_base.cc \
 
826
                           drizzled/sql_delete.cc \
 
827
                           drizzled/sql_derived.cc \
 
828
                           drizzled/sql_error.cc \
 
829
                           drizzled/sql_insert.cc \
 
830
                           drizzled/sql_lex.cc \
 
831
                           drizzled/sql_list.cc \
 
832
                           drizzled/sql_load.cc \
 
833
                           drizzled/sql_locale.cc \
 
834
                           drizzled/sql_parse.cc \
 
835
                           drizzled/sql_select.cc \
 
836
                           drizzled/sql_string.cc \
 
837
                           drizzled/sql_table.cc \
 
838
                           drizzled/sql_union.cc \
 
839
                           drizzled/sql_update.cc \
 
840
                           drizzled/sql_yacc.yy \
 
841
                           drizzled/statement/alter_schema.cc \
 
842
                           drizzled/statement/alter_table.cc \
 
843
                           drizzled/statement/analyze.cc \
 
844
                           drizzled/statement/catalog.cc \
 
845
                           drizzled/statement/catalog/create.cc \
 
846
                           drizzled/statement/catalog/drop.cc \
 
847
                           drizzled/statement/change_schema.cc \
 
848
                           drizzled/statement/check.cc \
 
849
                           drizzled/statement/commit.cc \
 
850
                           drizzled/statement/create_index.cc \
 
851
                           drizzled/statement/create_schema.cc \
 
852
                           drizzled/statement/create_table.cc \
 
853
                           drizzled/statement/delete.cc \
 
854
                           drizzled/statement/drop_index.cc \
 
855
                           drizzled/statement/drop_schema.cc \
 
856
                           drizzled/statement/drop_table.cc \
 
857
                           drizzled/statement/empty_query.cc \
 
858
                           drizzled/statement/execute.cc \
 
859
                           drizzled/statement/flush.cc \
 
860
                           drizzled/statement/insert.cc \
 
861
                           drizzled/statement/insert_select.cc \
 
862
                           drizzled/statement/kill.cc \
 
863
                           drizzled/statement/load.cc \
 
864
                           drizzled/statement/release_savepoint.cc \
 
865
                           drizzled/statement/rename_table.cc \
 
866
                           drizzled/statement/replace.cc \
 
867
                           drizzled/statement/replace_select.cc \
 
868
                           drizzled/statement/rollback.cc \
 
869
                           drizzled/statement/rollback_to_savepoint.cc \
 
870
                           drizzled/statement/savepoint.cc \
 
871
                           drizzled/statement/select.cc \
 
872
                           drizzled/statement/set_option.cc \
 
873
                           drizzled/statement/show.cc \
 
874
                           drizzled/statement/show_errors.cc \
 
875
                           drizzled/statement/show_warnings.cc \
 
876
                           drizzled/statement/start_transaction.cc \
 
877
                           drizzled/statement/truncate.cc \
 
878
                           drizzled/statement/unlock_tables.cc \
 
879
                           drizzled/statement/update.cc \
 
880
                           drizzled/status_helper.cc \
 
881
                           drizzled/stored_key.cc \
 
882
                           drizzled/strfunc.cc \
 
883
                           drizzled/sys_var.cc \
 
884
                           drizzled/table.cc \
 
885
                           drizzled/table/cache.cc \
 
886
                           drizzled/table/concurrent.cc \
 
887
                           drizzled/table/instance/base.cc \
 
888
                           drizzled/table/instance/shared.cc \
 
889
                           drizzled/table/instance/singular.cc \
 
890
                           drizzled/table/singular.cc \
 
891
                           drizzled/table/temporary.cc \
 
892
                           drizzled/table/unused.cc \
 
893
                           drizzled/table_function_container.cc \
 
894
                           drizzled/table_list.cc \
 
895
                           drizzled/thr_lock.cc \
 
896
                           drizzled/time_functions.cc \
 
897
                           drizzled/transaction_services.cc \
 
898
                           drizzled/tree.cc \
 
899
                           drizzled/type/boolean.cc \
 
900
                           drizzled/type/decimal.cc \
 
901
                           drizzled/type/time.cc \
 
902
                           drizzled/unique.cc \
 
903
                           drizzled/user_var_entry.cc \
 
904
                           drizzled/version.cc \
 
905
                           drizzled/xid.cc
 
906
 
 
907
sbin_PROGRAMS+= drizzled/drizzled
 
908
 
 
909
noinst_LTLIBRARIES+= \
 
910
                     drizzled/libcached_directory.la \
 
911
                     drizzled/libcharset.la \
 
912
                     drizzled/libdynamic_array.la \
 
913
                     drizzled/liberror.la \
 
914
                     drizzled/libgetopt.la \
 
915
                     drizzled/libmemory.la \
 
916
                     drizzled/libserialutil.la \
 
917
                     drizzled/libtemporal.la \
 
918
                     drizzled/libtypelib.la
 
919
 
 
920
drizzled_libcharset_la_SOURCES= \
 
921
                                drizzled/charset.cc \
 
922
                                drizzled/ctype-bin.cc \
 
923
                                drizzled/ctype-mb.cc \
 
924
                                drizzled/ctype-simple.cc \
 
925
                                drizzled/ctype-uca.cc \
 
926
                                drizzled/ctype-uni.cc \
 
927
                                drizzled/ctype-utf8.cc \
 
928
                                drizzled/dtoa.cc \
 
929
                                drizzled/my_strtoll10.cc
 
930
 
 
931
drizzled_libdynamic_array_la_SOURCES = drizzled/dynamic_array.cc
 
932
drizzled_liberror_la_SOURCES = drizzled/error.cc
 
933
drizzled_libgetopt_la_SOURCES = drizzled/option.cc
 
934
drizzled_libtemporal_la_SOURCES= \
 
935
                                 drizzled/calendar.cc \
 
936
                                 drizzled/temporal.cc \
 
937
                                 drizzled/temporal_format.cc \
 
938
                                 drizzled/temporal_interval.cc
 
939
drizzled_libtypelib_la_SOURCES = drizzled/typelib.cc
 
940
drizzled_libserialutil_la_SOURCES = drizzled/schema.cc drizzled/table_proto.cc
 
941
drizzled_libserialutil_la_CXXFLAGS= ${AM_CXXFLAGS} ${PROTOSKIP_WARNINGS}
 
942
 
 
943
drizzled_libcached_directory_la_SOURCES=drizzled/cached_directory.cc
 
944
drizzled_libmemory_la_SOURCES= \
 
945
                               drizzled/memory/multi_malloc.cc \
 
946
                               drizzled/memory/root.cc \
 
947
                               drizzled/memory/sql_alloc.cc
483
948
 
484
949
AM_YFLAGS = -p DRIZZLE -d --verbose
485
950
 
486
 
# This may seem silly, but it's required to get the object files prefixed
487
 
# with libitem_ so that item/field.cc and field.cc don't conflict.
488
 
libitem_la_CXXFLAGS = ${AM_CXXFLAGS}
489
 
libitem_la_SOURCES= \
490
 
                item/bin_string.cc \
491
 
                item/cache.cc \
492
 
                item/cache_decimal.cc \
493
 
                item/cache_int.cc \
494
 
                item/cache_real.cc \
495
 
                item/cache_row.cc \
496
 
                item/cache_str.cc \
497
 
                item/cmpfunc.cc \
498
 
                item/copy_string.cc \
499
 
                item/create.cc \
500
 
                item/decimal.cc \
501
 
                item/direct_ref.cc \
502
 
                item/empty_string.cc \
503
 
                item/field.cc \
504
 
                item/float.cc \
505
 
                item/hex_string.cc \
506
 
                item/insert_value.cc \
507
 
                item/int_with_ref.cc \
508
 
                item/ident.cc \
509
 
                item/int.cc \
510
 
                item/null.cc \
511
 
                item/num.cc \
512
 
                item/outer_ref.cc \
513
 
                item/param.cc \
514
 
                item/ref.cc \
515
 
                item/ref_null_helper.cc \
516
 
                item/row.cc \
517
 
                item/string.cc \
518
 
                item/subselect.cc \
519
 
                item/sum.cc \
520
 
                item/type_holder.cc \
521
 
                item/uint.cc
522
 
 
523
 
 
524
 
libutil_la_CXXFLAGS = ${AM_CXXFLAGS}
525
 
libutil_la_SOURCES = \
526
 
                util/math.cc
527
 
 
528
 
 
529
 
libfield_la_CXXFLAGS = ${AM_CXXFLAGS}
530
 
libfield_la_LIBADD= libutil.la
531
 
libfield_la_SOURCES = \
532
 
                field/blob.cc \
533
 
                field/date.cc \
534
 
                field/datetime.cc \
535
 
                field/enum.cc \
536
 
                field/decimal.cc \
537
 
                field/double.cc \
538
 
                field/int64_t.cc \
539
 
                field/long.cc \
540
 
                field/longstr.cc \
541
 
                field/null.cc \
542
 
                field/num.cc \
543
 
                field/real.cc \
544
 
                field/str.cc \
545
 
                field/timestamp.cc \
546
 
                field/timetype.cc \
547
 
                field/varstring.cc
548
 
 
549
 
 
550
 
libfunction_la_CPPFLAGS = ${GLOBAL_CPPFLAGS} ${PROTOBUF_CFLAGS}
551
 
libfunction_la_LIBADD= libutil.la
552
 
libfunction_la_SOURCES = \
553
 
                function/ascii.cc \
554
 
                function/additive_op.cc \
555
 
                function/benchmark.cc \
556
 
                function/bit.cc \
557
 
                function/bit_count.cc \
558
 
                function/char_length.cc \
559
 
                function/check_reserved_words.cc \
560
 
                function/connection_id.cc \
561
 
                function/coercibility.cc \
562
 
                function/get_user_var.cc \
563
 
                function/get_variable.cc \
564
 
                function/field.cc \
565
 
                function/find_in_set.cc \
566
 
                function/found_rows.cc \
567
 
                function/func.cc \
568
 
                function/get_system_var.cc \
569
 
                function/get_variable.cc \
570
 
                function/last_insert.cc \
571
 
                function/length.cc \
572
 
                function/locate.cc \
573
 
                function/master_pos_wait.cc \
574
 
                function/min_max.cc \
575
 
                function/num1.cc \
576
 
                function/numhybrid.cc \
577
 
                function/num_op.cc \
578
 
                function/row_count.cc \
579
 
                function/set_user_var.cc \
580
 
                function/shift.cc \
581
 
                function/sign.cc \
582
 
                function/signed.cc \
583
 
                function/update_hash.cc \
584
 
                function/units.cc \
585
 
                function/unsigned.cc \
586
 
                function/user_var_as_out_param.cc \
587
 
                function/user_var_entry.cc \
588
 
                function/math/abs.cc \
589
 
                function/math/acos.cc \
590
 
                function/math/asin.cc \
591
 
                function/math/atan.cc \
592
 
                function/math/ceiling.cc \
593
 
                function/math/cos.cc \
594
 
                function/math/decimal_typecast.cc \
595
 
                function/math/divide.cc \
596
 
                function/math/exp.cc \
597
 
                function/math/floor.cc \
598
 
                function/math/int_divide.cc \
599
 
                function/math/integer.cc \
600
 
                function/math/int.cc \
601
 
                function/math/int_val.cc \
602
 
                function/math/ln.cc \
603
 
                function/math/log.cc \
604
 
                function/math/minus.cc \
605
 
                function/math/mod.cc \
606
 
                function/math/multiply.cc \
607
 
                function/math/neg.cc \
608
 
                function/math/ord.cc \
609
 
                function/math/plus.cc \
610
 
                function/math/pow.cc \
611
 
                function/math/rand.cc \
612
 
                function/math/real.cc \
613
 
                function/math/round.cc \
614
 
                function/math/sin.cc \
615
 
                function/math/sqrt.cc \
616
 
                function/math/tan.cc \
617
 
                function/str/alloc_buffer.cc \
618
 
                function/str/binary.cc \
619
 
                function/str/char.cc \
620
 
                function/str/charset.cc \
621
 
                function/str/collation.cc \
622
 
                function/str/concat.cc \
623
 
                function/str/conv.cc \
624
 
                function/str/conv_charset.cc \
625
 
                function/str/database.cc \
626
 
                function/str/elt.cc \
627
 
                function/str/export_set.cc \
628
 
                function/str/format.cc \
629
 
                function/str/hex.cc \
630
 
                function/str/insert.cc \
631
 
                function/str/left.cc \
632
 
                function/str/load_file.cc \
633
 
                function/str/make_set.cc \
634
 
                function/str/pad.cc \
635
 
                function/str/quote.cc \
636
 
                function/str/repeat.cc \
637
 
                function/str/replace.cc \
638
 
                function/str/reverse.cc \
639
 
                function/str/right.cc \
640
 
                function/str/set_collation.cc \
641
 
                function/str/str_conv.cc \
642
 
                function/str/strfunc.cc \
643
 
                function/str/substr.cc \
644
 
                function/str/sysconst.cc \
645
 
                function/str/trim.cc \
646
 
                function/str/user.cc \
647
 
                function/str/uuid.cc \
648
 
                function/str/weight_string.cc \
649
 
                function/time/add_time.cc \
650
 
                function/time/curdate.cc \
651
 
                function/time/curtime.cc \
652
 
                function/time/date.cc \
653
 
                function/time/date_add_interval.cc \
654
 
                function/time/date_format.cc \
655
 
                function/time/dayname.cc \
656
 
                function/time/dayofmonth.cc \
657
 
                function/time/extract.cc \
658
 
                function/time/dayofyear.cc \
659
 
                function/time/from_days.cc \
660
 
                function/time/from_unixtime.cc \
661
 
                function/time/get_format.cc \
662
 
                function/time/get_interval_value.cc \
663
 
                function/time/hour.cc \
664
 
                function/time/last_day.cc \
665
 
                function/time/makedate.cc \
666
 
                function/time/make_datetime_with_warn.cc \
667
 
                function/time/make_datetime.cc \
668
 
                function/time/maketime.cc \
669
 
                function/time/make_time_with_warn.cc \
670
 
                function/time/microsecond.cc \
671
 
                function/time/minute.cc \
672
 
                function/time/month.cc \
673
 
                function/time/now.cc \
674
 
                function/time/quarter.cc \
675
 
                function/time/period_add.cc \
676
 
                function/time/period_diff.cc \
677
 
                function/time/sec_to_time.cc \
678
 
                function/time/second.cc \
679
 
                function/time/str_to_date.cc \
680
 
                function/time/sysdate_local.cc \
681
 
                function/time/timediff.cc \
682
 
                function/time/timestamp_diff.cc \
683
 
                function/time/time_to_sec.cc \
684
 
                function/time/to_days.cc \
685
 
                function/time/typecast.cc \
686
 
                function/time/unix_timestamp.cc \
687
 
                function/time/week.cc \
688
 
                function/time/week_mode.cc \
689
 
                function/time/weekday.cc \
690
 
                function/time/year.cc \
691
 
                function/time/yearweek.cc
692
 
 
693
 
 
694
951
if BUILD_GCC_PCH
695
 
PCHHEADERS = \
696
 
                definitions.h.gch \
697
 
                handlerton.h.gch  \
698
 
                sql_base.h.gch \
699
 
                sql_parse.h.gch \
700
 
                sql_plugin.h.gch \
701
 
                util/convert.h.gch \
702
 
                util/test.h.gch
 
952
PCHHEADERS= config.h.gch
703
953
else
704
 
PCHHEADERS = 
 
954
PCHHEADERS =
705
955
endif
706
956
 
707
 
BUILT_MAINT_SRC = sql_yacc.cc \
708
 
                  sql_yacc.h
 
957
BUILT_MAINT_SRC+= \
 
958
                 drizzled/sql_yacc.cc \
 
959
                 drizzled/sql_yacc.h
709
960
 
710
 
BUILT_SOURCES = $(BUILT_MAINT_SRC) \
711
 
                lex_hash.h \
 
961
BUILT_SOURCES+= \
 
962
                $(BUILT_MAINT_SRC) \
 
963
                drizzled/function_hash.h \
 
964
                drizzled/sql_reserved_words.h \
 
965
                drizzled/symbol_hash.h \
712
966
                $(PCHHEADERS)
713
967
 
714
 
EXTRA_DIST = \
715
 
                $(BUILT_MAINT_SRC) \
716
 
                drizzledumpslow \
717
 
                message.mc \
718
 
                probes.d
719
 
 
720
 
CLEANFILES = \
721
 
                configmake.h \
722
 
                lex_hash.h \
723
 
                sql_yacc.output \
724
 
                $(PCHHEADERS) \
725
 
                $(nodist_drizzled_SOURCES)
726
 
 
727
 
DISTCLEANFILES = $(EXTRA_PROGRAMS) \
 
968
EXTRA_DIST+= \
 
969
             $(BUILT_MAINT_SRC) \
 
970
             drizzled/function_hash.gperf \
 
971
             drizzled/message.mc \
 
972
             drizzled/probes.d \
 
973
             drizzled/sql_non_reserved_words.gperf \
 
974
             drizzled/sql_reserved_words.gperf \
 
975
             drizzled/symbol_hash.gperf
 
976
 
 
977
CLEANFILES+= \
 
978
             drizzled/configmake.h \
 
979
             drizzled/function_hash.h \
 
980
             drizzled/function_hash.stamp-h \
 
981
             drizzled/sql_yacc.output \
 
982
             drizzled/sql_non_reserved_words.h \
 
983
             drizzled/sql_non_reserved_words.stamp-h \
 
984
             drizzled/sql_reserved_words.h \
 
985
             drizzled/sql_reserved_words.stamp-h \
 
986
             drizzled/symbol_hash.h \
 
987
             drizzled/symbol_hash.stamp-h \
 
988
             drizzled/plugin/config.h \
 
989
             $(PCHHEADERS) \
 
990
             $(nodist_drizzled_SOURCES)
 
991
 
 
992
if DTRACE_NEEDS_OBJECTS
 
993
drizzled_drizzled_SOURCES+= drizzled/probes.d
 
994
endif
 
995
 
 
996
if HAVE_DTRACE
 
997
BUILT_SOURCES+= drizzled/generated_probes.h
 
998
CLEANFILES+= drizzled/generated_probes.h
 
999
endif
 
1000
 
 
1001
 
 
1002
DISTCLEANFILES+= \
 
1003
                 $(EXTRA_PROGRAMS) \
728
1004
                 $(BUILT_MAINT_SRC)
729
1005
 
730
 
MAINTAINERCLEANFILES = $(BUILT_MAINT_SRC)
731
 
 
732
 
# This generates lex_hash.h
733
 
# NOTE Built sources should depend on their sources not the tool
734
 
# this avoid the rebuild of the built files in a source dist
735
 
lex_hash.h: gen_lex_hash$(EXEEXT) \
736
 
        $(srcdir)/lex.h
737
 
        $(top_builddir)/drizzled/gen_lex_hash$(EXEEXT) > $@
738
 
 
739
 
probes.h: probes.d
740
 
        $(DTRACE) $(DTRACEFLAGS) -h -s probes.d
741
 
        mv probes.h probes.h.bak
742
 
        sed "s/#include <unistd.h>//g" probes.h.bak > probes.h
743
 
        rm probes.h.bak
744
 
 
745
 
 
746
 
SUFFIXES = .d .gch
747
 
 
748
 
if BUILD_GCC_PCH
749
 
.h.gch:
750
 
        $(CXXCOMPILE) -include config.h ${NO_UNUSED_MACROS} -c $<
751
 
endif
752
 
 
753
 
.d.o : $(DTRACEFILES)
754
 
        $(DTRACE) $(DTRACEFLAGS) -G -s $< $(DTRACEFILES)
 
1006
MAINTAINERCLEANFILES+= $(BUILT_MAINT_SRC)
 
1007
 
 
1008
drizzled/generated_probes.h : drizzled/probes.d
 
1009
        $(DTRACE) $(DTRACEFLAGS) -h -s ${top_srcdir}/drizzled/probes.d -o drizzled/generated_probes.h
 
1010
        mv drizzled/generated_probes.h drizzled/generated_probes.h.bak
 
1011
        sed "s/#include <unistd.h>//g" drizzled/generated_probes.h.bak > drizzled/generated_probes.h
 
1012
        rm drizzled/generated_probes.h.bak
 
1013
        sed -e 's,void \*,const void \*,g' drizzled/generated_probes.h | \
 
1014
                sed -e 's,char \*,const char \*,g' | sed -e 's,const const ,const ,g' | tr '\t' ' ' > dtrace_probes.tmp
 
1015
        mv dtrace_probes.tmp drizzled/generated_probes.h
 
1016
 
 
1017
 
 
1018
SUFFIXES+= .d .gperf .stamp-h
 
1019
 
 
1020
config.h.gch: config.h
 
1021
        ${CXXCOMPILE} $<
 
1022
 
 
1023
drizzled/probes.o :  drizzled/probes.d $(DTRACEFILES) config.h
 
1024
 
 
1025
.d.o:
 
1026
        $(DTRACE) $(DTRACEFLAGS) -o $@ -G -s $< $(DTRACEFILES)
 
1027
 
 
1028
drizzled/function_hash.h: drizzled/function_hash.stamp-h
 
1029
drizzled/symbol_hash.h: drizzled/symbol_hash.stamp-h
 
1030
drizzled/sql_reserved_words.h: drizzled/sql_reserved_words.stamp-h
 
1031
 
 
1032
.gperf.stamp-h:
 
1033
        $(GPERF) -D --initializer-suffix=,0 --struct-type --enum \
 
1034
                --omit-struct-type --readonly-tables --language=C++ \
 
1035
                --class-name=$(*F) $<  > $@
 
1036
        @if ! test $$? ; then rm $@ ; fi
 
1037
        @if test -f $@ ; then \
 
1038
                if ! diff $@ \
 
1039
                           ${top_builddir}/$*.h >/dev/null 2>&1 ; \
 
1040
                then \
 
1041
                        cp $@ ${top_builddir}/$*.h ; \
 
1042
                fi \
 
1043
        fi
 
1044