1
# Copyright (C) 2008 Sun Microsystems
3
# This program is free software; you can redistribute it and/or modify
4
# it under the terms of the GNU General Public License as published by
5
# the Free Software Foundation; version 2 of the License.
7
# This program is distributed in the hope that it will be useful,
8
# but WITHOUT ANY WARRANTY; without even the implied warranty of
9
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10
# GNU General Public License for more details.
12
# You should have received a copy of the GNU General Public License
13
# along with this program; if not, write to the Free Software
14
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17
sbin_PROGRAMS= drizzled
19
bin_SCRIPTS = drizzledumpslow \
22
DTRACEFILES = handler.o \
29
drizzledincludedir = ${includedir}/drizzled
30
nobase_dist_drizzledinclude_HEADERS = \
34
atomic/pthread_traits.h \
41
check_stack_overrun.h \
77
function/additive_op.h \
79
function/benchmark.h \
81
function/bit_count.h \
82
function/bit_length.h \
83
function/char_length.h \
84
function/coercibility.h \
85
function/connection_id.h \
88
function/find_in_set.h \
89
function/found_rows.h \
91
function/get_system_var.h \
92
function/get_user_var.h \
93
function/last_insert.h \
97
function/math/acos.h \
98
function/math/asin.h \
99
function/math/atan.h \
100
function/math/ceiling.h \
101
function/math/cos.h \
102
function/math/dec.h \
103
function/math/decimal_typecast.h \
104
function/math/divide.h \
105
function/math/exp.h \
106
function/math/floor.h \
107
function/math/int.h \
108
function/math/int_divide.h \
109
function/math/int_val.h \
110
function/math/integer.h \
112
function/math/log.h \
113
function/math/minus.h \
114
function/math/mod.h \
115
function/math/multiply.h \
116
function/math/neg.h \
117
function/math/ord.h \
118
function/math/plus.h \
119
function/math/pow.h \
120
function/math/rand.h \
121
function/math/real.h \
122
function/math/round.h \
123
function/math/sin.h \
124
function/math/sqrt.h \
125
function/math/tan.h \
129
function/numhybrid.h \
130
function/rollup_const.h \
131
function/row_count.h \
132
function/set_user_var.h \
135
function/str/alloc_buffer.h \
136
function/str/binary.h \
137
function/str/char.h \
138
function/str/charset.h \
139
function/str/collation.h \
140
function/str/concat.h \
141
function/str/conv.h \
142
function/str/conv_charset.h \
143
function/str/database.h \
145
function/str/export_set.h \
146
function/str/format.h \
148
function/str/insert.h \
149
function/str/left.h \
150
function/str/load_file.h \
151
function/str/make_set.h \
153
function/str/quote.h \
154
function/str/repeat.h \
155
function/str/replace.h \
156
function/str/reverse.h \
157
function/str/right.h \
158
function/str/set_collation.h \
159
function/str/str_conv.h \
160
function/str/strfunc.h \
161
function/str/substr.h \
162
function/str/sysconst.h \
163
function/str/trim.h \
164
function/str/user.h \
165
function/str/uuid.h \
166
function/str/weight_string.h \
167
function/time/curdate.h \
168
function/time/date.h \
169
function/time/date_add_interval.h \
170
function/time/date_format.h \
171
function/time/dayname.h \
172
function/time/dayofmonth.h \
173
function/time/dayofyear.h \
174
function/time/extract.h \
175
function/time/from_days.h \
176
function/time/from_unixtime.h \
177
function/time/get_interval_value.h \
178
function/time/hour.h \
179
function/time/last_day.h \
180
function/time/makedate.h \
181
function/time/microsecond.h \
182
function/time/minute.h \
183
function/time/month.h \
184
function/time/now.h \
185
function/time/period_add.h \
186
function/time/period_diff.h \
187
function/time/quarter.h \
188
function/time/second.h \
189
function/time/sysdate_local.h \
190
function/time/timestamp_diff.h \
191
function/time/to_days.h \
192
function/time/typecast.h \
193
function/time/unix_timestamp.h \
194
function/time/weekday.h \
195
function/time/year.h \
197
function/unsigned.h \
198
function/update_hash.h \
199
function/user_var_as_out_param.h \
206
hybrid_type_traits.h \
207
hybrid_type_traits_decimal.h \
208
hybrid_type_traits_integer.h \
210
internal_error_handler.h \
212
item/basic_constant.h \
216
item/cache_decimal.h \
226
item/empty_string.h \
232
item/insert_value.h \
234
item/int_with_ref.h \
240
item/ref_null_helper.h \
241
item/return_date_time.h \
263
name_resolution_context.h \
264
name_resolution_context_state.h \
265
natural_join_column.h \
267
open_tables_state.h \
273
plugin/authentication.h \
274
plugin/error_message_handler.h \
275
plugin/logging_handler.h \
278
plugin/replicator.h \
280
plugin/storage_engine.h \
288
transaction_services.h \
294
select_exists_subselect.h \
297
select_max_min_finder_subselect.h \
299
select_result_interceptor.h \
301
select_singlerow_subselect.h \
332
table_map_iterator.h \
346
virtual_column_info.h \
349
noinst_LTLIBRARIES = \
353
LDADD = $(top_builddir)/mysys/libmysys.la \
354
$(top_builddir)/mystrings/libmystrings.la \
355
$(LTLIBDRIZZLE) $(LIBZ) $(LIBINTL) ${LIBC_P}
357
drizzled_LDADD = ${noinst_LTLIBRARIES} \
358
$(top_builddir)/drizzled/message/libdrizzledmessage.la \
359
$(drizzled_plugin_libs) \
360
$(LDADD) $(LIBUUID) ${top_builddir}/gnulib/libgnu.la \
361
$(LIBDL_LIBS) $(LIBPROTOBUF) $(LIBPCRE) $(LIBTBB) \
362
$(DRIZZLED_PLUGIN_DEP_LIBS)
363
drizzled_DEPENDENCIES= ${noinst_LTLIBRARIES} $(DRIZZLED_PLUGIN_DEP_LIBS)
379
check_stack_overrun.cc \
382
diagnostics_area.cc \
409
function/additive_op.cc \
410
function/benchmark.cc \
412
function/bit_count.cc \
413
function/char_length.cc \
414
function/check_reserved_words.cc \
415
function/connection_id.cc \
416
function/coercibility.cc \
418
function/find_in_set.cc \
419
function/found_rows.cc \
421
function/get_system_var.cc \
422
function/get_user_var.cc \
423
function/last_insert.cc \
426
function/min_max.cc \
428
function/numhybrid.cc \
430
function/row_count.cc \
431
function/set_user_var.cc \
435
function/update_hash.cc \
437
function/unsigned.cc \
438
function/user_var_as_out_param.cc \
439
function/user_var_entry.cc \
440
function/math/abs.cc \
441
function/math/acos.cc \
442
function/math/asin.cc \
443
function/math/atan.cc \
444
function/math/ceiling.cc \
445
function/math/cos.cc \
446
function/math/decimal_typecast.cc \
447
function/math/divide.cc \
448
function/math/exp.cc \
449
function/math/floor.cc \
450
function/math/int_divide.cc \
451
function/math/integer.cc \
452
function/math/int.cc \
453
function/math/int_val.cc \
454
function/math/ln.cc \
455
function/math/log.cc \
456
function/math/minus.cc \
457
function/math/mod.cc \
458
function/math/multiply.cc \
459
function/math/neg.cc \
460
function/math/ord.cc \
461
function/math/plus.cc \
462
function/math/pow.cc \
463
function/math/rand.cc \
464
function/math/real.cc \
465
function/math/round.cc \
466
function/math/sin.cc \
467
function/math/sqrt.cc \
468
function/math/tan.cc \
469
function/str/alloc_buffer.cc \
470
function/str/binary.cc \
471
function/str/char.cc \
472
function/str/charset.cc \
473
function/str/collation.cc \
474
function/str/concat.cc \
475
function/str/conv.cc \
476
function/str/conv_charset.cc \
477
function/str/database.cc \
478
function/str/elt.cc \
479
function/str/export_set.cc \
480
function/str/format.cc \
481
function/str/hex.cc \
482
function/str/insert.cc \
483
function/str/left.cc \
484
function/str/load_file.cc \
485
function/str/make_set.cc \
486
function/str/pad.cc \
487
function/str/quote.cc \
488
function/str/repeat.cc \
489
function/str/replace.cc \
490
function/str/reverse.cc \
491
function/str/right.cc \
492
function/str/set_collation.cc \
493
function/str/str_conv.cc \
494
function/str/strfunc.cc \
495
function/str/substr.cc \
496
function/str/sysconst.cc \
497
function/str/trim.cc \
498
function/str/user.cc \
499
function/str/uuid.cc \
500
function/str/weight_string.cc \
501
function/time/curdate.cc \
502
function/time/date.cc \
503
function/time/date_add_interval.cc \
504
function/time/date_format.cc \
505
function/time/dayname.cc \
506
function/time/dayofmonth.cc \
507
function/time/extract.cc \
508
function/time/dayofyear.cc \
509
function/time/from_days.cc \
510
function/time/from_unixtime.cc \
511
function/time/get_interval_value.cc \
512
function/time/hour.cc \
513
function/time/last_day.cc \
514
function/time/makedate.cc \
515
function/time/microsecond.cc \
516
function/time/minute.cc \
517
function/time/month.cc \
518
function/time/now.cc \
519
function/time/quarter.cc \
520
function/time/period_add.cc \
521
function/time/period_diff.cc \
522
function/time/second.cc \
523
function/time/sysdate_local.cc \
524
function/time/timestamp_diff.cc \
525
function/time/to_days.cc \
526
function/time/typecast.cc \
527
function/time/unix_timestamp.cc \
528
function/time/weekday.cc \
529
function/time/year.cc \
531
hybrid_type_traits.cc \
532
hybrid_type_traits_decimal.cc \
533
hybrid_type_traits_integer.cc \
537
item/cache_decimal.cc \
543
item/copy_string.cc \
547
item/empty_string.cc \
551
item/insert_value.cc \
552
item/int_with_ref.cc \
560
item/ref_null_helper.cc \
565
item/type_holder.cc \
574
name_resolution_context_state.cc \
575
natural_join_column.cc \
584
transaction_services.cc \
615
table_map_iterator.cc \
623
virtual_column_info.cc \
627
drizzled_SOURCES += probes.d
630
libserialutil_la_SOURCES = db.cc table_proto_write.cc
631
libserialutil_la_CXXFLAGS= ${AM_CXXFLAGS} ${PROTOSKIP_WARNINGS}
633
libhandler_la_SOURCES = handler.cc plugin/storage_engine.cc
635
AM_YFLAGS = -p DRIZZLE -d --verbose
641
plugin/storage_engine.h.gch \
651
BUILT_MAINT_SRC = sql_yacc.cc \
654
BUILT_SOURCES = $(BUILT_MAINT_SRC) \
662
function_hash.gperf \
670
function_hash.stamp-h \
673
symbol_hash.stamp-h \
675
$(nodist_drizzled_SOURCES)
677
DISTCLEANFILES = $(EXTRA_PROGRAMS) \
680
MAINTAINERCLEANFILES = $(BUILT_MAINT_SRC)
683
$(DTRACE) $(DTRACEFLAGS) -h -s probes.d
684
mv probes.h probes.h.bak
685
sed "s/#include <unistd.h>//g" probes.h.bak > probes.h
689
SUFFIXES = .d .gch .gperf .stamp-h
693
$(CXXCOMPILE) -include config.h ${NO_UNUSED_MACROS} -c $<
696
.d.o : $(DTRACEFILES)
697
$(DTRACE) $(DTRACEFLAGS) -G -s $< $(DTRACEFILES)
699
function_hash.h: function_hash.stamp-h
700
symbol_hash.h: symbol_hash.stamp-h
703
$(GPERF) --initializer-suffix=,0 --struct-type --enum \
704
--omit-struct-type --readonly-tables --language=C++ \
705
--class-name=$* $< > $@
706
@if ! test $$? ; then rm $@ ; fi
707
@if test -f $@ ; then \
709
${top_builddir}/drizzled/$*.h >/dev/null 2>&1 ; \
711
cp $@ ${top_builddir}/drizzled/$*.h ; \