~ubuntu-branches/ubuntu/saucy/drizzle/saucy-proposed

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
# always the current list, generated every build so keep this lean.
# pandora-plugin.list: datestamp preserved list
${srcdir}/config/pandora-plugin.list: .plugin.scan
.plugin.scan:
	@cd ${top_srcdir} && python config/pandora-plugin plugin-list

# Plugins affect configure; so to prevent configure running twice in a tarball
# build (once up front, once with the right list of plugins, we ship the
# generated list of plugins and the housekeeping material for that list so it
# is likewise not updated.
EXTRA_DIST += 	config/pandora-plugin.am 	config/pandora-plugin.ac 	config/pandora-plugin


# Seed the list of plugin LDADDS which plugins may extend.
PANDORA_DYNAMIC_LDADDS=

# plugin.stamp: graph dominator for creating all per pandora-plugin.ac/am
# files. This is invoked when the code to generate such files has altered.
${top_srcdir}/config/pandora-plugin.am: ${top_srcdir}/config/pandora-plugin.list ${top_srcdir}/config/pandora-plugin \
	./plugin/archive/plugin.ini \
	./plugin/ascii/plugin.ini \
	./plugin/auth_http/plugin.ini \
	./plugin/auth_pam/plugin.ini \
	./plugin/benchmark/plugin.ini \
	./plugin/blackhole/plugin.ini \
	./plugin/charlength/plugin.ini \
	./plugin/collation_dictionary/plugin.ini \
	./plugin/compression/plugin.ini \
	./plugin/connection_id/plugin.ini \
	./plugin/console/plugin.ini \
	./plugin/crc32/plugin.ini \
	./plugin/csv/plugin.ini \
	./plugin/database_function/plugin.ini \
	./plugin/default_replicator/plugin.ini \
	./plugin/drizzle_protocol/plugin.ini \
	./plugin/errmsg_notify/plugin.ini \
	./plugin/errmsg_stderr/plugin.ini \
	./plugin/filtered_replicator/plugin.ini \
	./plugin/function_engine/plugin.ini \
	./plugin/gearman_udf/plugin.ini \
	./plugin/heap/plugin.ini \
	./plugin/hello_world/plugin.ini \
	./plugin/hex_functions/plugin.ini \
	./plugin/innobase/plugin.ini \
	./plugin/length/plugin.ini \
	./plugin/logging_gearman/plugin.ini \
	./plugin/logging_query/plugin.ini \
	./plugin/logging_syslog/plugin.ini \
	./plugin/md5/plugin.ini \
	./plugin/memcached_functions/plugin.ini \
	./plugin/memcached_stats/plugin.ini \
	./plugin/multi_thread/plugin.ini \
	./plugin/myisam/plugin.ini \
	./plugin/mysql_protocol/plugin.ini \
	./plugin/pool_of_threads/plugin.ini \
	./plugin/registry_dictionary/plugin.ini \
	./plugin/reverse_function/plugin.ini \
	./plugin/rot13/plugin.ini \
	./plugin/schema_dictionary/plugin.ini \
	./plugin/schema_engine/plugin.ini \
	./plugin/session_dictionary/plugin.ini \
	./plugin/show_schema_proto/plugin.ini \
	./plugin/signal_handler/plugin.ini \
	./plugin/single_thread/plugin.ini \
	./plugin/sleep/plugin.ini \
	./plugin/status_dictionary/plugin.ini \
	./plugin/substr_functions/plugin.ini \
	./plugin/table_cache_dictionary/plugin.ini \
	./plugin/tableprototester/plugin.ini \
	./plugin/test_authz/plugin.ini \
	./plugin/transaction_log/plugin.ini \
	./plugin/uuid_function/plugin.ini \
	./plugin/version/plugin.ini 
	cd ${top_srcdir} && python config/pandora-plugin write

EXTRA_DIST += plugin/archive/plugin.ini

# Prevent errors when a plugin dir is removed
plugin/archive/plugin.ini:

noinst_HEADERS +=  plugin/archive/ha_archive.h plugin/archive/archive_engine.h
EXTRA_DIST += plugin/archive/tests

plugin_libarchive_dir=${top_srcdir}/plugin/archive
EXTRA_DIST += plugin/archive/plugin.ini
if BUILD_ARCHIVE_PLUGIN
  pkgplugin_LTLIBRARIES+=plugin/libarchive_plugin.la
  plugin_libarchive_plugin_la_LDFLAGS=-module -avoid-version -rpath $(pkgplugindir) $(AM_LDFLAGS)  $(GCOV_LIBS)
  plugin_libarchive_plugin_la_LIBADD=plugin/archive/libazio.la
  plugin_libarchive_plugin_la_DEPENDENCIES=plugin/archive/libazio.la
  plugin_libarchive_plugin_la_CPPFLAGS=$(AM_CPPFLAGS) -DPANDORA_DYNAMIC_PLUGIN -DPANDORA_MODULE_NAME=archive -DPANDORA_MODULE_AUTHOR="" -DPANDORA_MODULE_TITLE="Archive Storage Engine" -DPANDORA_MODULE_VERSION="2010-03-16" -DPANDORA_MODULE_LICENSE=PLUGIN_LICENSE_GPL 
  plugin_libarchive_plugin_la_CXXFLAGS=$(AM_CXXFLAGS) 
  plugin_libarchive_plugin_la_CFLAGS=$(AM_CFLAGS) 

  plugin_libarchive_plugin_la_SOURCES= plugin/archive/ha_archive.cc plugin/archive/plugin.cc
endif
include plugin/archive/plugin.am

EXTRA_DIST += plugin/ascii/plugin.ini

# Prevent errors when a plugin dir is removed
plugin/ascii/plugin.ini:


plugin_libascii_dir=${top_srcdir}/plugin/ascii
EXTRA_DIST += plugin/ascii/plugin.ini
if BUILD_ASCII_PLUGIN
  pkgplugin_LTLIBRARIES+=plugin/libascii_plugin.la
  plugin_libascii_plugin_la_LDFLAGS=-module -avoid-version -rpath $(pkgplugindir) $(AM_LDFLAGS)  $(GCOV_LIBS)
  plugin_libascii_plugin_la_LIBADD=
  plugin_libascii_plugin_la_DEPENDENCIES=
  plugin_libascii_plugin_la_CPPFLAGS=$(AM_CPPFLAGS) -DPANDORA_DYNAMIC_PLUGIN -DPANDORA_MODULE_NAME=ascii -DPANDORA_MODULE_AUTHOR="" -DPANDORA_MODULE_TITLE="UDF Plugin for ASCII" -DPANDORA_MODULE_VERSION="2010-03-16" -DPANDORA_MODULE_LICENSE=PLUGIN_LICENSE_GPL 
  plugin_libascii_plugin_la_CXXFLAGS=$(AM_CXXFLAGS) 
  plugin_libascii_plugin_la_CFLAGS=$(AM_CFLAGS) 

  plugin_libascii_plugin_la_SOURCES= plugin/ascii/ascii.cc
endif

EXTRA_DIST += plugin/auth_http/plugin.ini

# Prevent errors when a plugin dir is removed
plugin/auth_http/plugin.ini:


plugin_libauth_http_dir=${top_srcdir}/plugin/auth_http
EXTRA_DIST += plugin/auth_http/plugin.ini
if BUILD_AUTH_HTTP_PLUGIN
  pkgplugin_LTLIBRARIES+=plugin/libauth_http_plugin.la
  plugin_libauth_http_plugin_la_LDFLAGS=-module -avoid-version -rpath $(pkgplugindir) $(AM_LDFLAGS) ${LTLIBCURL} $(GCOV_LIBS)
  plugin_libauth_http_plugin_la_LIBADD=
  plugin_libauth_http_plugin_la_DEPENDENCIES=
  plugin_libauth_http_plugin_la_CPPFLAGS=$(AM_CPPFLAGS) -DPANDORA_DYNAMIC_PLUGIN -DPANDORA_MODULE_NAME=auth_http -DPANDORA_MODULE_AUTHOR="" -DPANDORA_MODULE_TITLE="HTTP Authentication Plugin" -DPANDORA_MODULE_VERSION="2010-03-16" -DPANDORA_MODULE_LICENSE=PLUGIN_LICENSE_GPL 
  plugin_libauth_http_plugin_la_CXXFLAGS=$(AM_CXXFLAGS) 
  plugin_libauth_http_plugin_la_CFLAGS=$(AM_CFLAGS) 

  plugin_libauth_http_plugin_la_SOURCES= plugin/auth_http/auth_http.cc
endif

EXTRA_DIST += plugin/auth_pam/plugin.ini

# Prevent errors when a plugin dir is removed
plugin/auth_pam/plugin.ini:


plugin_libauth_pam_dir=${top_srcdir}/plugin/auth_pam
EXTRA_DIST += plugin/auth_pam/plugin.ini
if BUILD_AUTH_PAM_PLUGIN
  pkgplugin_LTLIBRARIES+=plugin/libauth_pam_plugin.la
  plugin_libauth_pam_plugin_la_LDFLAGS=-module -avoid-version -rpath $(pkgplugindir) $(AM_LDFLAGS) ${LTLIBPAM} $(GCOV_LIBS)
  plugin_libauth_pam_plugin_la_LIBADD=
  plugin_libauth_pam_plugin_la_DEPENDENCIES=
  plugin_libauth_pam_plugin_la_CPPFLAGS=$(AM_CPPFLAGS) -DPANDORA_DYNAMIC_PLUGIN -DPANDORA_MODULE_NAME=auth_pam -DPANDORA_MODULE_AUTHOR="" -DPANDORA_MODULE_TITLE="PAM Authenication Plugin" -DPANDORA_MODULE_VERSION="2010-03-16" -DPANDORA_MODULE_LICENSE=PLUGIN_LICENSE_GPL 
  plugin_libauth_pam_plugin_la_CXXFLAGS=$(AM_CXXFLAGS) 
  plugin_libauth_pam_plugin_la_CFLAGS=$(AM_CFLAGS) 

  plugin_libauth_pam_plugin_la_SOURCES= plugin/auth_pam/auth_pam.cc
endif

EXTRA_DIST += plugin/benchmark/plugin.ini

# Prevent errors when a plugin dir is removed
plugin/benchmark/plugin.ini:


plugin_libbenchmark_dir=${top_srcdir}/plugin/benchmark
EXTRA_DIST += plugin/benchmark/plugin.ini
if BUILD_BENCHMARK_PLUGIN
  pkgplugin_LTLIBRARIES+=plugin/libbenchmark_plugin.la
  plugin_libbenchmark_plugin_la_LDFLAGS=-module -avoid-version -rpath $(pkgplugindir) $(AM_LDFLAGS)  $(GCOV_LIBS)
  plugin_libbenchmark_plugin_la_LIBADD=
  plugin_libbenchmark_plugin_la_DEPENDENCIES=
  plugin_libbenchmark_plugin_la_CPPFLAGS=$(AM_CPPFLAGS) -DPANDORA_DYNAMIC_PLUGIN -DPANDORA_MODULE_NAME=benchmark -DPANDORA_MODULE_AUTHOR="" -DPANDORA_MODULE_TITLE="UDF Plugin for Benchmark" -DPANDORA_MODULE_VERSION="2010-03-16" -DPANDORA_MODULE_LICENSE=PLUGIN_LICENSE_GPL 
  plugin_libbenchmark_plugin_la_CXXFLAGS=$(AM_CXXFLAGS) 
  plugin_libbenchmark_plugin_la_CFLAGS=$(AM_CFLAGS) 

  plugin_libbenchmark_plugin_la_SOURCES= plugin/benchmark/benchmarkudf.cc
endif

EXTRA_DIST += plugin/blackhole/plugin.ini

# Prevent errors when a plugin dir is removed
plugin/blackhole/plugin.ini:

noinst_HEADERS +=  plugin/blackhole/ha_blackhole.h
EXTRA_DIST += plugin/blackhole/tests

plugin_libblackhole_dir=${top_srcdir}/plugin/blackhole
EXTRA_DIST += plugin/blackhole/plugin.ini
if BUILD_BLACKHOLE_PLUGIN
  pkgplugin_LTLIBRARIES+=plugin/libblackhole_plugin.la
  plugin_libblackhole_plugin_la_LDFLAGS=-module -avoid-version -rpath $(pkgplugindir) $(AM_LDFLAGS)  $(GCOV_LIBS)
  plugin_libblackhole_plugin_la_LIBADD=
  plugin_libblackhole_plugin_la_DEPENDENCIES=
  plugin_libblackhole_plugin_la_CPPFLAGS=$(AM_CPPFLAGS) -DPANDORA_DYNAMIC_PLUGIN -DPANDORA_MODULE_NAME=blackhole -DPANDORA_MODULE_AUTHOR="" -DPANDORA_MODULE_TITLE="Blackhole Storage Engine" -DPANDORA_MODULE_VERSION="2010-03-16" -DPANDORA_MODULE_LICENSE=PLUGIN_LICENSE_GPL 
  plugin_libblackhole_plugin_la_CXXFLAGS=$(AM_CXXFLAGS) 
  plugin_libblackhole_plugin_la_CFLAGS=$(AM_CFLAGS) 

  plugin_libblackhole_plugin_la_SOURCES= plugin/blackhole/ha_blackhole.cc
endif

EXTRA_DIST += plugin/charlength/plugin.ini

# Prevent errors when a plugin dir is removed
plugin/charlength/plugin.ini:


plugin_libcharlength_dir=${top_srcdir}/plugin/charlength
EXTRA_DIST += plugin/charlength/plugin.ini
if BUILD_CHARLENGTH_PLUGIN
  pkgplugin_LTLIBRARIES+=plugin/libcharlength_plugin.la
  plugin_libcharlength_plugin_la_LDFLAGS=-module -avoid-version -rpath $(pkgplugindir) $(AM_LDFLAGS)  $(GCOV_LIBS)
  plugin_libcharlength_plugin_la_LIBADD=
  plugin_libcharlength_plugin_la_DEPENDENCIES=
  plugin_libcharlength_plugin_la_CPPFLAGS=$(AM_CPPFLAGS) -DPANDORA_DYNAMIC_PLUGIN -DPANDORA_MODULE_NAME=charlength -DPANDORA_MODULE_AUTHOR="" -DPANDORA_MODULE_TITLE="UDF Plugin for CharLength" -DPANDORA_MODULE_VERSION="2010-03-16" -DPANDORA_MODULE_LICENSE=PLUGIN_LICENSE_GPL 
  plugin_libcharlength_plugin_la_CXXFLAGS=$(AM_CXXFLAGS) 
  plugin_libcharlength_plugin_la_CFLAGS=$(AM_CFLAGS) 

  plugin_libcharlength_plugin_la_SOURCES= plugin/charlength/charlength.cc
endif

EXTRA_DIST += plugin/collation_dictionary/plugin.ini

# Prevent errors when a plugin dir is removed
plugin/collation_dictionary/plugin.ini:

noinst_HEADERS +=  plugin/collation_dictionary/character_sets.h plugin/collation_dictionary/collations.h plugin/collation_dictionary/dictionary.h
EXTRA_DIST += plugin/collation_dictionary/tests

plugin_libcollation_dictionary_dir=${top_srcdir}/plugin/collation_dictionary
EXTRA_DIST += plugin/collation_dictionary/plugin.ini
if BUILD_COLLATION_DICTIONARY_PLUGIN
  pkgplugin_LTLIBRARIES+=plugin/libcollation_dictionary_plugin.la
  plugin_libcollation_dictionary_plugin_la_LDFLAGS=-module -avoid-version -rpath $(pkgplugindir) $(AM_LDFLAGS)  $(GCOV_LIBS)
  plugin_libcollation_dictionary_plugin_la_LIBADD=
  plugin_libcollation_dictionary_plugin_la_DEPENDENCIES=
  plugin_libcollation_dictionary_plugin_la_CPPFLAGS=$(AM_CPPFLAGS) -DPANDORA_DYNAMIC_PLUGIN -DPANDORA_MODULE_NAME=collation_dictionary -DPANDORA_MODULE_AUTHOR="" -DPANDORA_MODULE_TITLE="Character And Collation Dictionary" -DPANDORA_MODULE_VERSION="2010-03-16" -DPANDORA_MODULE_LICENSE=PLUGIN_LICENSE_GPL 
  plugin_libcollation_dictionary_plugin_la_CXXFLAGS=$(AM_CXXFLAGS) 
  plugin_libcollation_dictionary_plugin_la_CFLAGS=$(AM_CFLAGS) 

  plugin_libcollation_dictionary_plugin_la_SOURCES= plugin/collation_dictionary/character_sets.cc plugin/collation_dictionary/collations.cc plugin/collation_dictionary/dictionary.cc
endif

EXTRA_DIST += plugin/compression/plugin.ini

# Prevent errors when a plugin dir is removed
plugin/compression/plugin.ini:

noinst_HEADERS +=  plugin/compression/compress.h plugin/compression/uncompress.h plugin/compression/uncompressed_length.h

plugin_libcompression_dir=${top_srcdir}/plugin/compression
EXTRA_DIST += plugin/compression/plugin.ini
if BUILD_COMPRESSION_PLUGIN
  pkgplugin_LTLIBRARIES+=plugin/libcompression_plugin.la
  plugin_libcompression_plugin_la_LDFLAGS=-module -avoid-version -rpath $(pkgplugindir) $(AM_LDFLAGS)  $(GCOV_LIBS)
  plugin_libcompression_plugin_la_LIBADD=
  plugin_libcompression_plugin_la_DEPENDENCIES=
  plugin_libcompression_plugin_la_CPPFLAGS=$(AM_CPPFLAGS) -DPANDORA_DYNAMIC_PLUGIN -DPANDORA_MODULE_NAME=compression -DPANDORA_MODULE_AUTHOR="" -DPANDORA_MODULE_TITLE="compression UDFs" -DPANDORA_MODULE_VERSION="2010-03-16" -DPANDORA_MODULE_LICENSE=PLUGIN_LICENSE_GPL 
  plugin_libcompression_plugin_la_CXXFLAGS=$(AM_CXXFLAGS) 
  plugin_libcompression_plugin_la_CFLAGS=$(AM_CFLAGS) 

  plugin_libcompression_plugin_la_SOURCES= plugin/compression/compress.cc plugin/compression/compressionudf.cc plugin/compression/uncompress.cc plugin/compression/uncompressed_length.cc
endif

EXTRA_DIST += plugin/connection_id/plugin.ini

# Prevent errors when a plugin dir is removed
plugin/connection_id/plugin.ini:


plugin_libconnection_id_dir=${top_srcdir}/plugin/connection_id
EXTRA_DIST += plugin/connection_id/plugin.ini
if BUILD_CONNECTION_ID_PLUGIN
  pkgplugin_LTLIBRARIES+=plugin/libconnection_id_plugin.la
  plugin_libconnection_id_plugin_la_LDFLAGS=-module -avoid-version -rpath $(pkgplugindir) $(AM_LDFLAGS)  $(GCOV_LIBS)
  plugin_libconnection_id_plugin_la_LIBADD=
  plugin_libconnection_id_plugin_la_DEPENDENCIES=
  plugin_libconnection_id_plugin_la_CPPFLAGS=$(AM_CPPFLAGS) -DPANDORA_DYNAMIC_PLUGIN -DPANDORA_MODULE_NAME=connection_id -DPANDORA_MODULE_AUTHOR="" -DPANDORA_MODULE_TITLE="Connection ID UDF" -DPANDORA_MODULE_VERSION="2010-03-16" -DPANDORA_MODULE_LICENSE=PLUGIN_LICENSE_GPL 
  plugin_libconnection_id_plugin_la_CXXFLAGS=$(AM_CXXFLAGS) 
  plugin_libconnection_id_plugin_la_CFLAGS=$(AM_CFLAGS) 

  plugin_libconnection_id_plugin_la_SOURCES= plugin/connection_id/connection_id.cc
endif

EXTRA_DIST += plugin/console/plugin.ini

# Prevent errors when a plugin dir is removed
plugin/console/plugin.ini:


plugin_libconsole_dir=${top_srcdir}/plugin/console
EXTRA_DIST += plugin/console/plugin.ini
if BUILD_CONSOLE_PLUGIN
  pkgplugin_LTLIBRARIES+=plugin/libconsole_plugin.la
  plugin_libconsole_plugin_la_LDFLAGS=-module -avoid-version -rpath $(pkgplugindir) $(AM_LDFLAGS)  $(GCOV_LIBS)
  plugin_libconsole_plugin_la_LIBADD=
  plugin_libconsole_plugin_la_DEPENDENCIES=
  plugin_libconsole_plugin_la_CPPFLAGS=$(AM_CPPFLAGS) -DPANDORA_DYNAMIC_PLUGIN -DPANDORA_MODULE_NAME=console -DPANDORA_MODULE_AUTHOR="" -DPANDORA_MODULE_TITLE="Console Client" -DPANDORA_MODULE_VERSION="2010-03-16" -DPANDORA_MODULE_LICENSE=PLUGIN_LICENSE_GPL 
  plugin_libconsole_plugin_la_CXXFLAGS=$(AM_CXXFLAGS) 
  plugin_libconsole_plugin_la_CFLAGS=$(AM_CFLAGS) 

  plugin_libconsole_plugin_la_SOURCES= plugin/console/console.cc
endif

EXTRA_DIST += plugin/crc32/plugin.ini

# Prevent errors when a plugin dir is removed
plugin/crc32/plugin.ini:

EXTRA_DIST += plugin/crc32/tests

plugin_libcrc32_dir=${top_srcdir}/plugin/crc32
EXTRA_DIST += plugin/crc32/plugin.ini
if BUILD_CRC32_PLUGIN
  pkgplugin_LTLIBRARIES+=plugin/libcrc32_plugin.la
  plugin_libcrc32_plugin_la_LDFLAGS=-module -avoid-version -rpath $(pkgplugindir) $(AM_LDFLAGS)  $(GCOV_LIBS)
  plugin_libcrc32_plugin_la_LIBADD=
  plugin_libcrc32_plugin_la_DEPENDENCIES=
  plugin_libcrc32_plugin_la_CPPFLAGS=$(AM_CPPFLAGS) -DPANDORA_DYNAMIC_PLUGIN -DPANDORA_MODULE_NAME=crc32 -DPANDORA_MODULE_AUTHOR="Stewart Smith" -DPANDORA_MODULE_TITLE="crc32 UDF" -DPANDORA_MODULE_VERSION="1.0" -DPANDORA_MODULE_LICENSE=PLUGIN_LICENSE_GPL 
  plugin_libcrc32_plugin_la_CXXFLAGS=$(AM_CXXFLAGS) 
  plugin_libcrc32_plugin_la_CFLAGS=$(AM_CFLAGS) 

  plugin_libcrc32_plugin_la_SOURCES= plugin/crc32/crc32udf.cc
endif

EXTRA_DIST += plugin/csv/plugin.ini

# Prevent errors when a plugin dir is removed
plugin/csv/plugin.ini:

noinst_HEADERS +=  plugin/csv/ha_tina.h plugin/csv/transparent_file.h
EXTRA_DIST += plugin/csv/tests

plugin_libcsv_dir=${top_srcdir}/plugin/csv
EXTRA_DIST += plugin/csv/plugin.ini
if BUILD_CSV_PLUGIN
  pkgplugin_LTLIBRARIES+=plugin/libcsv_plugin.la
  plugin_libcsv_plugin_la_LDFLAGS=-module -avoid-version -rpath $(pkgplugindir) $(AM_LDFLAGS)  $(GCOV_LIBS)
  plugin_libcsv_plugin_la_LIBADD=
  plugin_libcsv_plugin_la_DEPENDENCIES=
  plugin_libcsv_plugin_la_CPPFLAGS=$(AM_CPPFLAGS) -DPANDORA_DYNAMIC_PLUGIN -DPANDORA_MODULE_NAME=csv -DPANDORA_MODULE_AUTHOR="" -DPANDORA_MODULE_TITLE="CSV Storage Engine" -DPANDORA_MODULE_VERSION="2010-03-16" -DPANDORA_MODULE_LICENSE=PLUGIN_LICENSE_GPL 
  plugin_libcsv_plugin_la_CXXFLAGS=$(AM_CXXFLAGS) 
  plugin_libcsv_plugin_la_CFLAGS=$(AM_CFLAGS) 

  plugin_libcsv_plugin_la_SOURCES= plugin/csv/ha_tina.cc plugin/csv/transparent_file.cc
endif

EXTRA_DIST += plugin/database_function/plugin.ini

# Prevent errors when a plugin dir is removed
plugin/database_function/plugin.ini:


plugin_libdatabase_function_dir=${top_srcdir}/plugin/database_function
EXTRA_DIST += plugin/database_function/plugin.ini
if BUILD_DATABASE_FUNCTION_PLUGIN
  pkgplugin_LTLIBRARIES+=plugin/libdatabase_function_plugin.la
  plugin_libdatabase_function_plugin_la_LDFLAGS=-module -avoid-version -rpath $(pkgplugindir) $(AM_LDFLAGS)  $(GCOV_LIBS)
  plugin_libdatabase_function_plugin_la_LIBADD=
  plugin_libdatabase_function_plugin_la_DEPENDENCIES=
  plugin_libdatabase_function_plugin_la_CPPFLAGS=$(AM_CPPFLAGS) -DPANDORA_DYNAMIC_PLUGIN -DPANDORA_MODULE_NAME=database_function -DPANDORA_MODULE_AUTHOR="" -DPANDORA_MODULE_TITLE="DATABASE function" -DPANDORA_MODULE_VERSION="2010-03-16" -DPANDORA_MODULE_LICENSE=PLUGIN_LICENSE_GPL 
  plugin_libdatabase_function_plugin_la_CXXFLAGS=$(AM_CXXFLAGS) 
  plugin_libdatabase_function_plugin_la_CFLAGS=$(AM_CFLAGS) 

  plugin_libdatabase_function_plugin_la_SOURCES= plugin/database_function/database_function.cc
endif

EXTRA_DIST += plugin/default_replicator/plugin.ini

# Prevent errors when a plugin dir is removed
plugin/default_replicator/plugin.ini:

noinst_HEADERS +=  plugin/default_replicator/default_replicator.h

plugin_libdefault_replicator_dir=${top_srcdir}/plugin/default_replicator
EXTRA_DIST += plugin/default_replicator/plugin.ini
if BUILD_DEFAULT_REPLICATOR_PLUGIN
  pkgplugin_LTLIBRARIES+=plugin/libdefault_replicator_plugin.la
  plugin_libdefault_replicator_plugin_la_LDFLAGS=-module -avoid-version -rpath $(pkgplugindir) $(AM_LDFLAGS)  $(GCOV_LIBS)
  plugin_libdefault_replicator_plugin_la_LIBADD=
  plugin_libdefault_replicator_plugin_la_DEPENDENCIES=
  plugin_libdefault_replicator_plugin_la_CPPFLAGS=$(AM_CPPFLAGS) -DPANDORA_DYNAMIC_PLUGIN -DPANDORA_MODULE_NAME=default_replicator -DPANDORA_MODULE_AUTHOR="" -DPANDORA_MODULE_TITLE="Default Replicator" -DPANDORA_MODULE_VERSION="2010-03-16" -DPANDORA_MODULE_LICENSE=PLUGIN_LICENSE_GPL 
  plugin_libdefault_replicator_plugin_la_CXXFLAGS=$(AM_CXXFLAGS) 
  plugin_libdefault_replicator_plugin_la_CFLAGS=$(AM_CFLAGS) 

  plugin_libdefault_replicator_plugin_la_SOURCES= plugin/default_replicator/default_replicator.cc
endif

EXTRA_DIST += plugin/drizzle_protocol/plugin.ini

# Prevent errors when a plugin dir is removed
plugin/drizzle_protocol/plugin.ini:

noinst_HEADERS +=  plugin/drizzle_protocol/drizzle_protocol.h plugin/drizzle_protocol/errmsg.h plugin/drizzle_protocol/net_serv.h plugin/drizzle_protocol/options.h plugin/drizzle_protocol/pack.h plugin/drizzle_protocol/vio.h

plugin_libdrizzle_protocol_dir=${top_srcdir}/plugin/drizzle_protocol
EXTRA_DIST += plugin/drizzle_protocol/plugin.ini
if BUILD_DRIZZLE_PROTOCOL_PLUGIN
  noinst_LTLIBRARIES+=plugin/libdrizzle_protocol_plugin.la
  plugin_libdrizzle_protocol_plugin_la_LIBADD=
  plugin_libdrizzle_protocol_plugin_la_DEPENDENCIES=
  plugin_libdrizzle_protocol_plugin_la_LDFLAGS=$(AM_LDFLAGS)  $(GCOV_LIBS)  
  plugin_libdrizzle_protocol_plugin_la_CPPFLAGS=$(AM_CPPFLAGS) -DPANDORA_MODULE_NAME=drizzle_protocol -DPANDORA_MODULE_AUTHOR="Eric Day" -DPANDORA_MODULE_TITLE="Drizzle Protocol Module" -DPANDORA_MODULE_VERSION="0.2" -DPANDORA_MODULE_LICENSE=PLUGIN_LICENSE_GPL 
  plugin_libdrizzle_protocol_plugin_la_CXXFLAGS=$(AM_CXXFLAGS) 
  plugin_libdrizzle_protocol_plugin_la_CFLAGS=$(AM_CFLAGS) 

  plugin_libdrizzle_protocol_plugin_la_SOURCES= plugin/drizzle_protocol/drizzle_protocol.cc plugin/drizzle_protocol/errmsg.cc plugin/drizzle_protocol/net_serv.cc plugin/drizzle_protocol/pack.cc plugin/drizzle_protocol/vio.cc plugin/drizzle_protocol/viosocket.cc
  PANDORA_DYNAMIC_LDADDS+=${top_builddir}/plugin/libdrizzle_protocol_plugin.la
endif

EXTRA_DIST += plugin/errmsg_notify/plugin.ini

# Prevent errors when a plugin dir is removed
plugin/errmsg_notify/plugin.ini:

EXTRA_DIST += plugin/errmsg_notify/tests

plugin_liberrmsg_notify_dir=${top_srcdir}/plugin/errmsg_notify
EXTRA_DIST += plugin/errmsg_notify/plugin.ini
if BUILD_ERRMSG_NOTIFY_PLUGIN
  pkgplugin_LTLIBRARIES+=plugin/liberrmsg_notify_plugin.la
  plugin_liberrmsg_notify_plugin_la_LDFLAGS=-module -avoid-version -rpath $(pkgplugindir) $(AM_LDFLAGS) ${libnotifymm_LIBS} ${gtkmm_LIBS} $(GCOV_LIBS)
  plugin_liberrmsg_notify_plugin_la_LIBADD=
  plugin_liberrmsg_notify_plugin_la_DEPENDENCIES=
  plugin_liberrmsg_notify_plugin_la_CPPFLAGS=$(AM_CPPFLAGS) -DPANDORA_DYNAMIC_PLUGIN -DPANDORA_MODULE_NAME=errmsg_notify -DPANDORA_MODULE_AUTHOR="Monty Taylor" -DPANDORA_MODULE_TITLE="libnotify Error Message Plugin" -DPANDORA_MODULE_VERSION="1.0" -DPANDORA_MODULE_LICENSE=PLUGIN_LICENSE_GPL 
  plugin_liberrmsg_notify_plugin_la_CXXFLAGS=$(AM_CXXFLAGS) ${NO_WERROR} ${libnotifymm_CFLAGS} ${gtkmm_CFLAGS}
  plugin_liberrmsg_notify_plugin_la_CFLAGS=$(AM_CFLAGS) 

  plugin_liberrmsg_notify_plugin_la_SOURCES= plugin/errmsg_notify/errmsg_notify.cc
endif

EXTRA_DIST += plugin/errmsg_stderr/plugin.ini

# Prevent errors when a plugin dir is removed
plugin/errmsg_stderr/plugin.ini:

EXTRA_DIST += plugin/errmsg_stderr/tests

plugin_liberrmsg_stderr_dir=${top_srcdir}/plugin/errmsg_stderr
EXTRA_DIST += plugin/errmsg_stderr/plugin.ini
if BUILD_ERRMSG_STDERR_PLUGIN
  pkgplugin_LTLIBRARIES+=plugin/liberrmsg_stderr_plugin.la
  plugin_liberrmsg_stderr_plugin_la_LDFLAGS=-module -avoid-version -rpath $(pkgplugindir) $(AM_LDFLAGS)  $(GCOV_LIBS)
  plugin_liberrmsg_stderr_plugin_la_LIBADD=
  plugin_liberrmsg_stderr_plugin_la_DEPENDENCIES=
  plugin_liberrmsg_stderr_plugin_la_CPPFLAGS=$(AM_CPPFLAGS) -DPANDORA_DYNAMIC_PLUGIN -DPANDORA_MODULE_NAME=errmsg_stderr -DPANDORA_MODULE_AUTHOR="" -DPANDORA_MODULE_TITLE="Error Message Plugin" -DPANDORA_MODULE_VERSION="2010-03-16" -DPANDORA_MODULE_LICENSE=PLUGIN_LICENSE_GPL 
  plugin_liberrmsg_stderr_plugin_la_CXXFLAGS=$(AM_CXXFLAGS) 
  plugin_liberrmsg_stderr_plugin_la_CFLAGS=$(AM_CFLAGS) 

  plugin_liberrmsg_stderr_plugin_la_SOURCES= plugin/errmsg_stderr/errmsg_stderr.cc
endif

EXTRA_DIST += plugin/filtered_replicator/plugin.ini

# Prevent errors when a plugin dir is removed
plugin/filtered_replicator/plugin.ini:

noinst_HEADERS +=  plugin/filtered_replicator/filtered_replicator.h

plugin_libfiltered_replicator_dir=${top_srcdir}/plugin/filtered_replicator
EXTRA_DIST += plugin/filtered_replicator/plugin.ini
if BUILD_FILTERED_REPLICATOR_PLUGIN
  pkgplugin_LTLIBRARIES+=plugin/libfiltered_replicator_plugin.la
  plugin_libfiltered_replicator_plugin_la_LDFLAGS=-module -avoid-version -rpath $(pkgplugindir) $(AM_LDFLAGS)  $(GCOV_LIBS)
  plugin_libfiltered_replicator_plugin_la_LIBADD=
  plugin_libfiltered_replicator_plugin_la_DEPENDENCIES=
  plugin_libfiltered_replicator_plugin_la_CPPFLAGS=$(AM_CPPFLAGS) -DPANDORA_DYNAMIC_PLUGIN -DPANDORA_MODULE_NAME=filtered_replicator -DPANDORA_MODULE_AUTHOR="" -DPANDORA_MODULE_TITLE="Filtered Replicator" -DPANDORA_MODULE_VERSION="2010-03-16" -DPANDORA_MODULE_LICENSE=PLUGIN_LICENSE_GPL 
  plugin_libfiltered_replicator_plugin_la_CXXFLAGS=$(AM_CXXFLAGS) 
  plugin_libfiltered_replicator_plugin_la_CFLAGS=$(AM_CFLAGS) 

  plugin_libfiltered_replicator_plugin_la_SOURCES= plugin/filtered_replicator/filtered_replicator.cc
endif

EXTRA_DIST += plugin/function_engine/plugin.ini

# Prevent errors when a plugin dir is removed
plugin/function_engine/plugin.ini:

noinst_HEADERS +=  plugin/function_engine/cursor.h plugin/function_engine/function.h

plugin_libfunction_engine_dir=${top_srcdir}/plugin/function_engine
EXTRA_DIST += plugin/function_engine/plugin.ini
if BUILD_FUNCTION_ENGINE_PLUGIN
  pkgplugin_LTLIBRARIES+=plugin/libfunction_engine_plugin.la
  plugin_libfunction_engine_plugin_la_LDFLAGS=-module -avoid-version -rpath $(pkgplugindir) $(AM_LDFLAGS)  $(GCOV_LIBS)
  plugin_libfunction_engine_plugin_la_LIBADD=
  plugin_libfunction_engine_plugin_la_DEPENDENCIES=
  plugin_libfunction_engine_plugin_la_CPPFLAGS=$(AM_CPPFLAGS) -DPANDORA_DYNAMIC_PLUGIN -DPANDORA_MODULE_NAME=function_engine -DPANDORA_MODULE_AUTHOR="" -DPANDORA_MODULE_TITLE="Data Engine" -DPANDORA_MODULE_VERSION="2010-03-16" -DPANDORA_MODULE_LICENSE=PLUGIN_LICENSE_GPL 
  plugin_libfunction_engine_plugin_la_CXXFLAGS=$(AM_CXXFLAGS) 
  plugin_libfunction_engine_plugin_la_CFLAGS=$(AM_CFLAGS) 

  plugin_libfunction_engine_plugin_la_SOURCES= plugin/function_engine/cursor.cc plugin/function_engine/function.cc
endif

EXTRA_DIST += plugin/gearman_udf/plugin.ini

# Prevent errors when a plugin dir is removed
plugin/gearman_udf/plugin.ini:

noinst_HEADERS +=  plugin/gearman_udf/function_map.h plugin/gearman_udf/gman_servers_set.h plugin/gearman_udf/gman_do.h

plugin_libgearman_udf_dir=${top_srcdir}/plugin/gearman_udf
EXTRA_DIST += plugin/gearman_udf/plugin.ini
if BUILD_GEARMAN_UDF_PLUGIN
  pkgplugin_LTLIBRARIES+=plugin/libgearman_udf_plugin.la
  plugin_libgearman_udf_plugin_la_LDFLAGS=-module -avoid-version -rpath $(pkgplugindir) $(AM_LDFLAGS) ${LTLIBGEARMAN} $(GCOV_LIBS)
  plugin_libgearman_udf_plugin_la_LIBADD=
  plugin_libgearman_udf_plugin_la_DEPENDENCIES=
  plugin_libgearman_udf_plugin_la_CPPFLAGS=$(AM_CPPFLAGS) -DPANDORA_DYNAMIC_PLUGIN -DPANDORA_MODULE_NAME=gearman_udf -DPANDORA_MODULE_AUTHOR="" -DPANDORA_MODULE_TITLE="Gearman Client UDFs" -DPANDORA_MODULE_VERSION="2010-03-16" -DPANDORA_MODULE_LICENSE=PLUGIN_LICENSE_GPL 
  plugin_libgearman_udf_plugin_la_CXXFLAGS=$(AM_CXXFLAGS) 
  plugin_libgearman_udf_plugin_la_CFLAGS=$(AM_CFLAGS) 

  plugin_libgearman_udf_plugin_la_SOURCES= plugin/gearman_udf/gearman_udf.cc plugin/gearman_udf/function_map.cc plugin/gearman_udf/gman_servers_set.cc plugin/gearman_udf/gman_do.cc
endif

EXTRA_DIST += plugin/heap/plugin.ini

# Prevent errors when a plugin dir is removed
plugin/heap/plugin.ini:


plugin_libmemory_dir=${top_srcdir}/plugin/heap
EXTRA_DIST += plugin/heap/plugin.ini
if BUILD_MEMORY_PLUGIN
  noinst_LTLIBRARIES+=plugin/libmemory_plugin.la
  plugin_libmemory_plugin_la_LIBADD=plugin/heap/libheap.la
  plugin_libmemory_plugin_la_DEPENDENCIES=plugin/heap/libheap.la
  plugin_libmemory_plugin_la_LDFLAGS=$(AM_LDFLAGS)  $(GCOV_LIBS)  
  plugin_libmemory_plugin_la_CPPFLAGS=$(AM_CPPFLAGS) -DPANDORA_MODULE_NAME=memory -DPANDORA_MODULE_AUTHOR="" -DPANDORA_MODULE_TITLE="Memory Storage Engine" -DPANDORA_MODULE_VERSION="2010-03-16" -DPANDORA_MODULE_LICENSE=PLUGIN_LICENSE_GPL 
  plugin_libmemory_plugin_la_CXXFLAGS=$(AM_CXXFLAGS) 
  plugin_libmemory_plugin_la_CFLAGS=$(AM_CFLAGS) 

  plugin_libmemory_plugin_la_SOURCES= plugin/heap/ha_heap.cc
  PANDORA_DYNAMIC_LDADDS+=${top_builddir}/plugin/libmemory_plugin.la
endif
include plugin/heap/plugin.am

EXTRA_DIST += plugin/hello_world/plugin.ini

# Prevent errors when a plugin dir is removed
plugin/hello_world/plugin.ini:

EXTRA_DIST += plugin/hello_world/tests

plugin_libhello_world_dir=${top_srcdir}/plugin/hello_world
EXTRA_DIST += plugin/hello_world/plugin.ini
if BUILD_HELLO_WORLD_PLUGIN
  pkgplugin_LTLIBRARIES+=plugin/libhello_world_plugin.la
  plugin_libhello_world_plugin_la_LDFLAGS=-module -avoid-version -rpath $(pkgplugindir) $(AM_LDFLAGS)  $(GCOV_LIBS)
  plugin_libhello_world_plugin_la_LIBADD=
  plugin_libhello_world_plugin_la_DEPENDENCIES=
  plugin_libhello_world_plugin_la_CPPFLAGS=$(AM_CPPFLAGS) -DPANDORA_DYNAMIC_PLUGIN -DPANDORA_MODULE_NAME=hello_world -DPANDORA_MODULE_AUTHOR="" -DPANDORA_MODULE_TITLE="Example Plugin" -DPANDORA_MODULE_VERSION="2010-03-16" -DPANDORA_MODULE_LICENSE=PLUGIN_LICENSE_GPL 
  plugin_libhello_world_plugin_la_CXXFLAGS=$(AM_CXXFLAGS) 
  plugin_libhello_world_plugin_la_CFLAGS=$(AM_CFLAGS) 

  plugin_libhello_world_plugin_la_SOURCES= plugin/hello_world/hello_world.cc
endif

EXTRA_DIST += plugin/hex_functions/plugin.ini

# Prevent errors when a plugin dir is removed
plugin/hex_functions/plugin.ini:


plugin_libhex_functions_dir=${top_srcdir}/plugin/hex_functions
EXTRA_DIST += plugin/hex_functions/plugin.ini
if BUILD_HEX_FUNCTIONS_PLUGIN
  pkgplugin_LTLIBRARIES+=plugin/libhex_functions_plugin.la
  plugin_libhex_functions_plugin_la_LDFLAGS=-module -avoid-version -rpath $(pkgplugindir) $(AM_LDFLAGS)  $(GCOV_LIBS)
  plugin_libhex_functions_plugin_la_LIBADD=
  plugin_libhex_functions_plugin_la_DEPENDENCIES=
  plugin_libhex_functions_plugin_la_CPPFLAGS=$(AM_CPPFLAGS) -DPANDORA_DYNAMIC_PLUGIN -DPANDORA_MODULE_NAME=hex_functions -DPANDORA_MODULE_AUTHOR="" -DPANDORA_MODULE_TITLE="HEX() and UNHEX() functions" -DPANDORA_MODULE_VERSION="2010-03-16" -DPANDORA_MODULE_LICENSE=PLUGIN_LICENSE_GPL 
  plugin_libhex_functions_plugin_la_CXXFLAGS=$(AM_CXXFLAGS) 
  plugin_libhex_functions_plugin_la_CFLAGS=$(AM_CFLAGS) 

  plugin_libhex_functions_plugin_la_SOURCES= plugin/hex_functions/hex_functions.cc
endif

EXTRA_DIST += plugin/innobase/plugin.ini

# Prevent errors when a plugin dir is removed
plugin/innobase/plugin.ini:

EXTRA_DIST += plugin/innobase/tests

plugin_libinnobase_dir=${top_srcdir}/plugin/innobase
EXTRA_DIST += plugin/innobase/plugin.ini
if BUILD_INNOBASE_PLUGIN
  noinst_LTLIBRARIES+=plugin/libinnobase_plugin.la
  plugin_libinnobase_plugin_la_LIBADD=plugin/innobase/libinnobase.la
  plugin_libinnobase_plugin_la_DEPENDENCIES=plugin/innobase/libinnobase.la
  plugin_libinnobase_plugin_la_LDFLAGS=$(AM_LDFLAGS)  $(GCOV_LIBS)  
  plugin_libinnobase_plugin_la_CPPFLAGS=$(AM_CPPFLAGS) -DPANDORA_MODULE_NAME=innobase -DPANDORA_MODULE_AUTHOR="" -DPANDORA_MODULE_TITLE="InnoDB Storage Engine" -DPANDORA_MODULE_VERSION="2010-03-16" -DPANDORA_MODULE_LICENSE=PLUGIN_LICENSE_GPL 
  plugin_libinnobase_plugin_la_CXXFLAGS=$(AM_CXXFLAGS) ${NO_SHADOW} -I$(top_srcdir)/plugin/innobase/include -DBUILD_DRIZZLE
  plugin_libinnobase_plugin_la_CFLAGS=$(AM_CFLAGS) ${NO_SHADOW} -I$(top_srcdir)/plugin/innobase/include -DBUILD_DRIZZLE

  plugin_libinnobase_plugin_la_SOURCES= plugin/innobase/handler/ha_innodb.cc plugin/innobase/handler/handler0alter.cc plugin/innobase/handler/data_dictionary.cc plugin/innobase/handler/mysql_addons.cc
  PANDORA_DYNAMIC_LDADDS+=${top_builddir}/plugin/libinnobase_plugin.la
endif
include plugin/innobase/plugin.am

EXTRA_DIST += plugin/length/plugin.ini

# Prevent errors when a plugin dir is removed
plugin/length/plugin.ini:


plugin_liblength_dir=${top_srcdir}/plugin/length
EXTRA_DIST += plugin/length/plugin.ini
if BUILD_LENGTH_PLUGIN
  pkgplugin_LTLIBRARIES+=plugin/liblength_plugin.la
  plugin_liblength_plugin_la_LDFLAGS=-module -avoid-version -rpath $(pkgplugindir) $(AM_LDFLAGS)  $(GCOV_LIBS)
  plugin_liblength_plugin_la_LIBADD=
  plugin_liblength_plugin_la_DEPENDENCIES=
  plugin_liblength_plugin_la_CPPFLAGS=$(AM_CPPFLAGS) -DPANDORA_DYNAMIC_PLUGIN -DPANDORA_MODULE_NAME=length -DPANDORA_MODULE_AUTHOR="" -DPANDORA_MODULE_TITLE="UDF Plugin for Length" -DPANDORA_MODULE_VERSION="2010-03-16" -DPANDORA_MODULE_LICENSE=PLUGIN_LICENSE_GPL 
  plugin_liblength_plugin_la_CXXFLAGS=$(AM_CXXFLAGS) 
  plugin_liblength_plugin_la_CFLAGS=$(AM_CFLAGS) 

  plugin_liblength_plugin_la_SOURCES= plugin/length/length.cc
endif

EXTRA_DIST += plugin/logging_gearman/plugin.ini

# Prevent errors when a plugin dir is removed
plugin/logging_gearman/plugin.ini:


plugin_liblogging_gearman_dir=${top_srcdir}/plugin/logging_gearman
EXTRA_DIST += plugin/logging_gearman/plugin.ini
if BUILD_LOGGING_GEARMAN_PLUGIN
  pkgplugin_LTLIBRARIES+=plugin/liblogging_gearman_plugin.la
  plugin_liblogging_gearman_plugin_la_LDFLAGS=-module -avoid-version -rpath $(pkgplugindir) $(AM_LDFLAGS) ${LTLIBGEARMAN} $(GCOV_LIBS)
  plugin_liblogging_gearman_plugin_la_LIBADD=
  plugin_liblogging_gearman_plugin_la_DEPENDENCIES=
  plugin_liblogging_gearman_plugin_la_CPPFLAGS=$(AM_CPPFLAGS) -DPANDORA_DYNAMIC_PLUGIN -DPANDORA_MODULE_NAME=logging_gearman -DPANDORA_MODULE_AUTHOR="" -DPANDORA_MODULE_TITLE="Gearman Logging Plugin" -DPANDORA_MODULE_VERSION="2010-03-16" -DPANDORA_MODULE_LICENSE=PLUGIN_LICENSE_GPL 
  plugin_liblogging_gearman_plugin_la_CXXFLAGS=$(AM_CXXFLAGS) 
  plugin_liblogging_gearman_plugin_la_CFLAGS=$(AM_CFLAGS) 

  plugin_liblogging_gearman_plugin_la_SOURCES= plugin/logging_gearman/logging_gearman.cc
endif

EXTRA_DIST += plugin/logging_query/plugin.ini

# Prevent errors when a plugin dir is removed
plugin/logging_query/plugin.ini:


plugin_liblogging_query_dir=${top_srcdir}/plugin/logging_query
EXTRA_DIST += plugin/logging_query/plugin.ini
if BUILD_LOGGING_QUERY_PLUGIN
  pkgplugin_LTLIBRARIES+=plugin/liblogging_query_plugin.la
  plugin_liblogging_query_plugin_la_LDFLAGS=-module -avoid-version -rpath $(pkgplugindir) $(AM_LDFLAGS)  $(GCOV_LIBS)
  plugin_liblogging_query_plugin_la_LIBADD=
  plugin_liblogging_query_plugin_la_DEPENDENCIES=
  plugin_liblogging_query_plugin_la_CPPFLAGS=$(AM_CPPFLAGS) -DPANDORA_DYNAMIC_PLUGIN -DPANDORA_MODULE_NAME=logging_query -DPANDORA_MODULE_AUTHOR="" -DPANDORA_MODULE_TITLE="Query Logging Plugin" -DPANDORA_MODULE_VERSION="2010-03-16" -DPANDORA_MODULE_LICENSE=PLUGIN_LICENSE_GPL 
  plugin_liblogging_query_plugin_la_CXXFLAGS=$(AM_CXXFLAGS) 
  plugin_liblogging_query_plugin_la_CFLAGS=$(AM_CFLAGS) 

  plugin_liblogging_query_plugin_la_SOURCES= plugin/logging_query/logging_query.cc
endif

EXTRA_DIST += plugin/logging_syslog/plugin.ini

# Prevent errors when a plugin dir is removed
plugin/logging_syslog/plugin.ini:

noinst_HEADERS +=  plugin/logging_syslog/names.h

plugin_liblogging_syslog_dir=${top_srcdir}/plugin/logging_syslog
EXTRA_DIST += plugin/logging_syslog/plugin.ini
if BUILD_LOGGING_SYSLOG_PLUGIN
  pkgplugin_LTLIBRARIES+=plugin/liblogging_syslog_plugin.la
  plugin_liblogging_syslog_plugin_la_LDFLAGS=-module -avoid-version -rpath $(pkgplugindir) $(AM_LDFLAGS)  $(GCOV_LIBS)
  plugin_liblogging_syslog_plugin_la_LIBADD=
  plugin_liblogging_syslog_plugin_la_DEPENDENCIES=
  plugin_liblogging_syslog_plugin_la_CPPFLAGS=$(AM_CPPFLAGS) -DPANDORA_DYNAMIC_PLUGIN -DPANDORA_MODULE_NAME=logging_syslog -DPANDORA_MODULE_AUTHOR="" -DPANDORA_MODULE_TITLE="Syslog Logging Plugin" -DPANDORA_MODULE_VERSION="2010-03-16" -DPANDORA_MODULE_LICENSE=PLUGIN_LICENSE_GPL 
  plugin_liblogging_syslog_plugin_la_CXXFLAGS=$(AM_CXXFLAGS) 
  plugin_liblogging_syslog_plugin_la_CFLAGS=$(AM_CFLAGS) 

  plugin_liblogging_syslog_plugin_la_SOURCES= plugin/logging_syslog/logging_syslog.cc
endif

EXTRA_DIST += plugin/md5/plugin.ini

# Prevent errors when a plugin dir is removed
plugin/md5/plugin.ini:

EXTRA_DIST += plugin/md5/tests

plugin_libmd5_dir=${top_srcdir}/plugin/md5
EXTRA_DIST += plugin/md5/plugin.ini
if BUILD_MD5_PLUGIN
  pkgplugin_LTLIBRARIES+=plugin/libmd5_plugin.la
  plugin_libmd5_plugin_la_LDFLAGS=-module -avoid-version -rpath $(pkgplugindir) $(AM_LDFLAGS) ${LTMD5PLUGINDEP} $(GCOV_LIBS)
  plugin_libmd5_plugin_la_LIBADD=
  plugin_libmd5_plugin_la_DEPENDENCIES=
  plugin_libmd5_plugin_la_CPPFLAGS=$(AM_CPPFLAGS) -DPANDORA_DYNAMIC_PLUGIN -DPANDORA_MODULE_NAME=md5 -DPANDORA_MODULE_AUTHOR="" -DPANDORA_MODULE_TITLE="UDF Plugin for MD5" -DPANDORA_MODULE_VERSION="2010-03-16" -DPANDORA_MODULE_LICENSE=PLUGIN_LICENSE_GPL 
  plugin_libmd5_plugin_la_CXXFLAGS=$(AM_CXXFLAGS) 
  plugin_libmd5_plugin_la_CFLAGS=$(AM_CFLAGS) 

  plugin_libmd5_plugin_la_SOURCES= plugin/md5/md5.cc
endif

EXTRA_DIST += plugin/memcached_functions/plugin.ini

# Prevent errors when a plugin dir is removed
plugin/memcached_functions/plugin.ini:

noinst_HEADERS +=  plugin/memcached_functions/memcached_functions.h plugin/memcached_functions/memc_get.h plugin/memcached_functions/memc_get_by_key.h plugin/memcached_functions/memc_set.h plugin/memcached_functions/memc_set_by_key.h plugin/memcached_functions/memc_add.h plugin/memcached_functions/memc_add_by_key.h plugin/memcached_functions/memc_replace.h plugin/memcached_functions/memc_replace_by_key.h plugin/memcached_functions/memc_delete.h plugin/memcached_functions/memc_delete_by_key.h plugin/memcached_functions/memc_append.h plugin/memcached_functions/memc_append_by_key.h plugin/memcached_functions/memc_prepend.h plugin/memcached_functions/memc_prepend_by_key.h plugin/memcached_functions/memc_cas.h plugin/memcached_functions/memc_cas_by_key.h plugin/memcached_functions/memc_misc.h plugin/memcached_functions/memc_stats.h plugin/memcached_functions/memc_servers_set.h plugin/memcached_functions/memc_behavior_set.h plugin/memcached_functions/memc_behavior_get.h plugin/memcached_functions/memc_increment.h plugin/memcached_functions/memc_decrement.h
EXTRA_DIST += plugin/memcached_functions/tests

plugin_libmemcached_functions_dir=${top_srcdir}/plugin/memcached_functions
EXTRA_DIST += plugin/memcached_functions/plugin.ini
if BUILD_MEMCACHED_FUNCTIONS_PLUGIN
  pkgplugin_LTLIBRARIES+=plugin/libmemcached_functions_plugin.la
  plugin_libmemcached_functions_plugin_la_LDFLAGS=-module -avoid-version -rpath $(pkgplugindir) $(AM_LDFLAGS) ${LTLIBMEMCACHED} $(GCOV_LIBS)
  plugin_libmemcached_functions_plugin_la_LIBADD=
  plugin_libmemcached_functions_plugin_la_DEPENDENCIES=
  plugin_libmemcached_functions_plugin_la_CPPFLAGS=$(AM_CPPFLAGS) -DPANDORA_DYNAMIC_PLUGIN -DPANDORA_MODULE_NAME=memcached_functions -DPANDORA_MODULE_AUTHOR="" -DPANDORA_MODULE_TITLE="Memcached Client UDFs" -DPANDORA_MODULE_VERSION="2010-03-16" -DPANDORA_MODULE_LICENSE=PLUGIN_LICENSE_GPL 
  plugin_libmemcached_functions_plugin_la_CXXFLAGS=$(AM_CXXFLAGS) 
  plugin_libmemcached_functions_plugin_la_CFLAGS=$(AM_CFLAGS) 

  plugin_libmemcached_functions_plugin_la_SOURCES= plugin/memcached_functions/memcached_functions.cc plugin/memcached_functions/memc_get.cc plugin/memcached_functions/memc_get_by_key.cc plugin/memcached_functions/memc_set.cc plugin/memcached_functions/memc_set_by_key.cc plugin/memcached_functions/memc_add.cc plugin/memcached_functions/memc_add_by_key.cc plugin/memcached_functions/memc_replace.cc plugin/memcached_functions/memc_replace_by_key.cc plugin/memcached_functions/memc_delete.cc plugin/memcached_functions/memc_delete_by_key.cc plugin/memcached_functions/memc_append.cc plugin/memcached_functions/memc_append_by_key.cc plugin/memcached_functions/memc_prepend.cc plugin/memcached_functions/memc_prepend_by_key.cc plugin/memcached_functions/memc_cas.cc plugin/memcached_functions/memc_cas_by_key.cc plugin/memcached_functions/memc_misc.cc plugin/memcached_functions/memc_servers_set.cc plugin/memcached_functions/memc_behavior_set.cc plugin/memcached_functions/memc_behavior_get.cc plugin/memcached_functions/memc_increment.cc plugin/memcached_functions/memc_decrement.cc plugin/memcached_functions/memc_stats.cc
endif

EXTRA_DIST += plugin/memcached_stats/plugin.ini

# Prevent errors when a plugin dir is removed
plugin/memcached_stats/plugin.ini:

noinst_HEADERS +=  plugin/memcached_stats/stats_table.h plugin/memcached_stats/analysis_table.h plugin/memcached_stats/sysvar_holder.h
EXTRA_DIST += plugin/memcached_stats/tests

plugin_libmemcached_stats_dir=${top_srcdir}/plugin/memcached_stats
EXTRA_DIST += plugin/memcached_stats/plugin.ini
if BUILD_MEMCACHED_STATS_PLUGIN
  pkgplugin_LTLIBRARIES+=plugin/libmemcached_stats_plugin.la
  plugin_libmemcached_stats_plugin_la_LDFLAGS=-module -avoid-version -rpath $(pkgplugindir) $(AM_LDFLAGS) ${LTLIBMEMCACHED} $(GCOV_LIBS)
  plugin_libmemcached_stats_plugin_la_LIBADD=
  plugin_libmemcached_stats_plugin_la_DEPENDENCIES=
  plugin_libmemcached_stats_plugin_la_CPPFLAGS=$(AM_CPPFLAGS) -DPANDORA_DYNAMIC_PLUGIN -DPANDORA_MODULE_NAME=memcached_stats -DPANDORA_MODULE_AUTHOR="" -DPANDORA_MODULE_TITLE="Memcached Stats in DATA_DICTIONARY tables" -DPANDORA_MODULE_VERSION="2010-03-16" -DPANDORA_MODULE_LICENSE=PLUGIN_LICENSE_GPL 
  plugin_libmemcached_stats_plugin_la_CXXFLAGS=$(AM_CXXFLAGS) 
  plugin_libmemcached_stats_plugin_la_CFLAGS=$(AM_CFLAGS) 

  plugin_libmemcached_stats_plugin_la_SOURCES= plugin/memcached_stats/memcached_stats.cc plugin/memcached_stats/stats_table.cc plugin/memcached_stats/analysis_table.cc
endif

EXTRA_DIST += plugin/multi_thread/plugin.ini

# Prevent errors when a plugin dir is removed
plugin/multi_thread/plugin.ini:

noinst_HEADERS +=  plugin/multi_thread/multi_thread.h

plugin_libmulti_thread_dir=${top_srcdir}/plugin/multi_thread
EXTRA_DIST += plugin/multi_thread/plugin.ini
if BUILD_MULTI_THREAD_PLUGIN
  pkgplugin_LTLIBRARIES+=plugin/libmulti_thread_plugin.la
  plugin_libmulti_thread_plugin_la_LDFLAGS=-module -avoid-version -rpath $(pkgplugindir) $(AM_LDFLAGS)  $(GCOV_LIBS)
  plugin_libmulti_thread_plugin_la_LIBADD=
  plugin_libmulti_thread_plugin_la_DEPENDENCIES=
  plugin_libmulti_thread_plugin_la_CPPFLAGS=$(AM_CPPFLAGS) -DPANDORA_DYNAMIC_PLUGIN -DPANDORA_MODULE_NAME=multi_thread -DPANDORA_MODULE_AUTHOR="" -DPANDORA_MODULE_TITLE="Multi-Thread Scheduler" -DPANDORA_MODULE_VERSION="2010-03-16" -DPANDORA_MODULE_LICENSE=PLUGIN_LICENSE_GPL 
  plugin_libmulti_thread_plugin_la_CXXFLAGS=$(AM_CXXFLAGS) 
  plugin_libmulti_thread_plugin_la_CFLAGS=$(AM_CFLAGS) 

  plugin_libmulti_thread_plugin_la_SOURCES= plugin/multi_thread/multi_thread.cc
endif

EXTRA_DIST += plugin/myisam/plugin.ini

# Prevent errors when a plugin dir is removed
plugin/myisam/plugin.ini:


plugin_libmyisam_dir=${top_srcdir}/plugin/myisam
EXTRA_DIST += plugin/myisam/plugin.ini
if BUILD_MYISAM_PLUGIN
  noinst_LTLIBRARIES+=plugin/libmyisam_plugin.la
  plugin_libmyisam_plugin_la_LIBADD=plugin/myisam/libmyisam.la drizzled/internal/libinternal.la
  plugin_libmyisam_plugin_la_DEPENDENCIES=plugin/myisam/libmyisam.la drizzled/internal/libinternal.la
  plugin_libmyisam_plugin_la_LDFLAGS=$(AM_LDFLAGS) $(LIBZ) $(LIBINTL) $(GCOV_LIBS)  
  plugin_libmyisam_plugin_la_CPPFLAGS=$(AM_CPPFLAGS) -DPANDORA_MODULE_NAME=myisam -DPANDORA_MODULE_AUTHOR="" -DPANDORA_MODULE_TITLE="MyISAM Storage Engine" -DPANDORA_MODULE_VERSION="2010-03-16" -DPANDORA_MODULE_LICENSE=PLUGIN_LICENSE_GPL 
  plugin_libmyisam_plugin_la_CXXFLAGS=$(AM_CXXFLAGS) 
  plugin_libmyisam_plugin_la_CFLAGS=$(AM_CFLAGS) 

  plugin_libmyisam_plugin_la_SOURCES= plugin/myisam/ha_myisam.cc
  PANDORA_DYNAMIC_LDADDS+=${top_builddir}/plugin/libmyisam_plugin.la
endif
include plugin/myisam/plugin.am

EXTRA_DIST += plugin/mysql_protocol/plugin.ini

# Prevent errors when a plugin dir is removed
plugin/mysql_protocol/plugin.ini:

noinst_HEADERS +=  plugin/mysql_protocol/oldlibdrizzle.h plugin/mysql_protocol/errmsg.h plugin/mysql_protocol/net_serv.h plugin/mysql_protocol/options.h plugin/mysql_protocol/pack.h plugin/mysql_protocol/vio.h

plugin_libmysql_protocol_dir=${top_srcdir}/plugin/mysql_protocol
EXTRA_DIST += plugin/mysql_protocol/plugin.ini
if BUILD_MYSQL_PROTOCOL_PLUGIN
  noinst_LTLIBRARIES+=plugin/libmysql_protocol_plugin.la
  plugin_libmysql_protocol_plugin_la_LIBADD=
  plugin_libmysql_protocol_plugin_la_DEPENDENCIES=
  plugin_libmysql_protocol_plugin_la_LDFLAGS=$(AM_LDFLAGS)  $(GCOV_LIBS)  
  plugin_libmysql_protocol_plugin_la_CPPFLAGS=$(AM_CPPFLAGS) -DPANDORA_MODULE_NAME=mysql_protocol -DPANDORA_MODULE_AUTHOR="" -DPANDORA_MODULE_TITLE="MySQL Protocol Module" -DPANDORA_MODULE_VERSION="2010-03-16" -DPANDORA_MODULE_LICENSE=PLUGIN_LICENSE_GPL 
  plugin_libmysql_protocol_plugin_la_CXXFLAGS=$(AM_CXXFLAGS) 
  plugin_libmysql_protocol_plugin_la_CFLAGS=$(AM_CFLAGS) 

  plugin_libmysql_protocol_plugin_la_SOURCES= plugin/mysql_protocol/oldlibdrizzle.cc plugin/mysql_protocol/errmsg.cc plugin/mysql_protocol/net_serv.cc plugin/mysql_protocol/pack.cc plugin/mysql_protocol/vio.cc plugin/mysql_protocol/viosocket.cc
  PANDORA_DYNAMIC_LDADDS+=${top_builddir}/plugin/libmysql_protocol_plugin.la
endif

EXTRA_DIST += plugin/pool_of_threads/plugin.ini

# Prevent errors when a plugin dir is removed
plugin/pool_of_threads/plugin.ini:

noinst_HEADERS +=  plugin/pool_of_threads/pool_of_threads.h plugin/pool_of_threads/session_scheduler.h

plugin_libpool_of_threads_dir=${top_srcdir}/plugin/pool_of_threads
EXTRA_DIST += plugin/pool_of_threads/plugin.ini
if BUILD_POOL_OF_THREADS_PLUGIN
  pkgplugin_LTLIBRARIES+=plugin/libpool_of_threads_plugin.la
  plugin_libpool_of_threads_plugin_la_LDFLAGS=-module -avoid-version -rpath $(pkgplugindir) $(AM_LDFLAGS) ${LTLIBEVENT} $(GCOV_LIBS)
  plugin_libpool_of_threads_plugin_la_LIBADD=
  plugin_libpool_of_threads_plugin_la_DEPENDENCIES=
  plugin_libpool_of_threads_plugin_la_CPPFLAGS=$(AM_CPPFLAGS) -DPANDORA_DYNAMIC_PLUGIN -DPANDORA_MODULE_NAME=pool_of_threads -DPANDORA_MODULE_AUTHOR="" -DPANDORA_MODULE_TITLE="Pool of Threads Scheduler" -DPANDORA_MODULE_VERSION="2010-03-16" -DPANDORA_MODULE_LICENSE=PLUGIN_LICENSE_GPL 
  plugin_libpool_of_threads_plugin_la_CXXFLAGS=$(AM_CXXFLAGS) ${PROTOSKIP_WARNINGS}
  plugin_libpool_of_threads_plugin_la_CFLAGS=$(AM_CFLAGS) 

  plugin_libpool_of_threads_plugin_la_SOURCES= plugin/pool_of_threads/pool_of_threads.cc plugin/pool_of_threads/session_scheduler.cc
endif

EXTRA_DIST += plugin/registry_dictionary/plugin.ini

# Prevent errors when a plugin dir is removed
plugin/registry_dictionary/plugin.ini:

noinst_HEADERS +=  plugin/registry_dictionary/dictionary.h plugin/registry_dictionary/modules.h plugin/registry_dictionary/plugins.h
EXTRA_DIST += plugin/registry_dictionary/tests

plugin_libregistry_dictionary_dir=${top_srcdir}/plugin/registry_dictionary
EXTRA_DIST += plugin/registry_dictionary/plugin.ini
if BUILD_REGISTRY_DICTIONARY_PLUGIN
  pkgplugin_LTLIBRARIES+=plugin/libregistry_dictionary_plugin.la
  plugin_libregistry_dictionary_plugin_la_LDFLAGS=-module -avoid-version -rpath $(pkgplugindir) $(AM_LDFLAGS)  $(GCOV_LIBS)
  plugin_libregistry_dictionary_plugin_la_LIBADD=
  plugin_libregistry_dictionary_plugin_la_DEPENDENCIES=
  plugin_libregistry_dictionary_plugin_la_CPPFLAGS=$(AM_CPPFLAGS) -DPANDORA_DYNAMIC_PLUGIN -DPANDORA_MODULE_NAME=registry_dictionary -DPANDORA_MODULE_AUTHOR="" -DPANDORA_MODULE_TITLE="Registry Dictionary" -DPANDORA_MODULE_VERSION="2010-03-16" -DPANDORA_MODULE_LICENSE=PLUGIN_LICENSE_GPL 
  plugin_libregistry_dictionary_plugin_la_CXXFLAGS=$(AM_CXXFLAGS) 
  plugin_libregistry_dictionary_plugin_la_CFLAGS=$(AM_CFLAGS) 

  plugin_libregistry_dictionary_plugin_la_SOURCES= plugin/registry_dictionary/dictionary.cc plugin/registry_dictionary/modules.cc plugin/registry_dictionary/plugins.cc
endif

EXTRA_DIST += plugin/reverse_function/plugin.ini

# Prevent errors when a plugin dir is removed
plugin/reverse_function/plugin.ini:


plugin_libreverse_function_dir=${top_srcdir}/plugin/reverse_function
EXTRA_DIST += plugin/reverse_function/plugin.ini
if BUILD_REVERSE_FUNCTION_PLUGIN
  pkgplugin_LTLIBRARIES+=plugin/libreverse_function_plugin.la
  plugin_libreverse_function_plugin_la_LDFLAGS=-module -avoid-version -rpath $(pkgplugindir) $(AM_LDFLAGS)  $(GCOV_LIBS)
  plugin_libreverse_function_plugin_la_LIBADD=
  plugin_libreverse_function_plugin_la_DEPENDENCIES=
  plugin_libreverse_function_plugin_la_CPPFLAGS=$(AM_CPPFLAGS) -DPANDORA_DYNAMIC_PLUGIN -DPANDORA_MODULE_NAME=reverse_function -DPANDORA_MODULE_AUTHOR="" -DPANDORA_MODULE_TITLE="REVERSE function" -DPANDORA_MODULE_VERSION="2010-03-16" -DPANDORA_MODULE_LICENSE=PLUGIN_LICENSE_GPL 
  plugin_libreverse_function_plugin_la_CXXFLAGS=$(AM_CXXFLAGS) 
  plugin_libreverse_function_plugin_la_CFLAGS=$(AM_CFLAGS) 

  plugin_libreverse_function_plugin_la_SOURCES= plugin/reverse_function/reverse_function.cc
endif

EXTRA_DIST += plugin/rot13/plugin.ini

# Prevent errors when a plugin dir is removed
plugin/rot13/plugin.ini:

EXTRA_DIST += plugin/rot13/tests

plugin_librot13_dir=${top_srcdir}/plugin/rot13
EXTRA_DIST += plugin/rot13/plugin.ini
if BUILD_ROT13_PLUGIN
  pkgplugin_LTLIBRARIES+=plugin/librot13_plugin.la
  plugin_librot13_plugin_la_LDFLAGS=-module -avoid-version -rpath $(pkgplugindir) $(AM_LDFLAGS)  $(GCOV_LIBS)
  plugin_librot13_plugin_la_LIBADD=
  plugin_librot13_plugin_la_DEPENDENCIES=
  plugin_librot13_plugin_la_CPPFLAGS=$(AM_CPPFLAGS) -DPANDORA_DYNAMIC_PLUGIN -DPANDORA_MODULE_NAME=rot13 -DPANDORA_MODULE_AUTHOR="Tim Penhey <tim@penhey.net>" -DPANDORA_MODULE_TITLE="ROT 13" -DPANDORA_MODULE_VERSION="1.0" -DPANDORA_MODULE_LICENSE=PLUGIN_LICENSE_GPL 
  plugin_librot13_plugin_la_CXXFLAGS=$(AM_CXXFLAGS) 
  plugin_librot13_plugin_la_CFLAGS=$(AM_CFLAGS) 

  plugin_librot13_plugin_la_SOURCES= plugin/rot13/rot13.cc
endif

EXTRA_DIST += plugin/schema_dictionary/plugin.ini

# Prevent errors when a plugin dir is removed
plugin/schema_dictionary/plugin.ini:

noinst_HEADERS +=  plugin/schema_dictionary/columns.h plugin/schema_dictionary/dictionary.h plugin/schema_dictionary/index_parts.h plugin/schema_dictionary/indexes.h plugin/schema_dictionary/referential_constraints.h plugin/schema_dictionary/schemas.h plugin/schema_dictionary/show_columns.h plugin/schema_dictionary/show_indexes.h plugin/schema_dictionary/show_table_status.h plugin/schema_dictionary/show_tables.h plugin/schema_dictionary/show_temporary_tables.h plugin/schema_dictionary/table_constraints.h plugin/schema_dictionary/tables.h
EXTRA_DIST += plugin/schema_dictionary/tests

plugin_libschema_dictionary_dir=${top_srcdir}/plugin/schema_dictionary
EXTRA_DIST += plugin/schema_dictionary/plugin.ini
if BUILD_SCHEMA_DICTIONARY_PLUGIN
  pkgplugin_LTLIBRARIES+=plugin/libschema_dictionary_plugin.la
  plugin_libschema_dictionary_plugin_la_LDFLAGS=-module -avoid-version -rpath $(pkgplugindir) $(AM_LDFLAGS)  $(GCOV_LIBS)
  plugin_libschema_dictionary_plugin_la_LIBADD=
  plugin_libschema_dictionary_plugin_la_DEPENDENCIES=
  plugin_libschema_dictionary_plugin_la_CPPFLAGS=$(AM_CPPFLAGS) -DPANDORA_DYNAMIC_PLUGIN -DPANDORA_MODULE_NAME=schema_dictionary -DPANDORA_MODULE_AUTHOR="" -DPANDORA_MODULE_TITLE="Schema Dictionary" -DPANDORA_MODULE_VERSION="2010-03-16" -DPANDORA_MODULE_LICENSE=PLUGIN_LICENSE_GPL 
  plugin_libschema_dictionary_plugin_la_CXXFLAGS=$(AM_CXXFLAGS) 
  plugin_libschema_dictionary_plugin_la_CFLAGS=$(AM_CFLAGS) 

  plugin_libschema_dictionary_plugin_la_SOURCES= plugin/schema_dictionary/columns.cc plugin/schema_dictionary/dictionary.cc plugin/schema_dictionary/index_parts.cc plugin/schema_dictionary/indexes.cc plugin/schema_dictionary/referential_constraints.cc plugin/schema_dictionary/schemas.cc plugin/schema_dictionary/show_columns.cc plugin/schema_dictionary/show_indexes.cc plugin/schema_dictionary/show_table_status.cc plugin/schema_dictionary/show_temporary_tables.cc plugin/schema_dictionary/table_constraints.cc plugin/schema_dictionary/tables.cc
endif

EXTRA_DIST += plugin/schema_engine/plugin.ini

# Prevent errors when a plugin dir is removed
plugin/schema_engine/plugin.ini:

noinst_HEADERS +=  plugin/schema_engine/schema.h
EXTRA_DIST += plugin/schema_engine/tests

plugin_libschema_engine_dir=${top_srcdir}/plugin/schema_engine
EXTRA_DIST += plugin/schema_engine/plugin.ini
if BUILD_SCHEMA_ENGINE_PLUGIN
  pkgplugin_LTLIBRARIES+=plugin/libschema_engine_plugin.la
  plugin_libschema_engine_plugin_la_LDFLAGS=-module -avoid-version -rpath $(pkgplugindir) $(AM_LDFLAGS)  $(GCOV_LIBS)
  plugin_libschema_engine_plugin_la_LIBADD=
  plugin_libschema_engine_plugin_la_DEPENDENCIES=
  plugin_libschema_engine_plugin_la_CPPFLAGS=$(AM_CPPFLAGS) -DPANDORA_DYNAMIC_PLUGIN -DPANDORA_MODULE_NAME=schema_engine -DPANDORA_MODULE_AUTHOR="" -DPANDORA_MODULE_TITLE="Schema Engine" -DPANDORA_MODULE_VERSION="2010-03-16" -DPANDORA_MODULE_LICENSE=PLUGIN_LICENSE_GPL 
  plugin_libschema_engine_plugin_la_CXXFLAGS=$(AM_CXXFLAGS) 
  plugin_libschema_engine_plugin_la_CFLAGS=$(AM_CFLAGS) 

  plugin_libschema_engine_plugin_la_SOURCES= plugin/schema_engine/schema.cc plugin/schema_engine/plugin.cc
endif

EXTRA_DIST += plugin/session_dictionary/plugin.ini

# Prevent errors when a plugin dir is removed
plugin/session_dictionary/plugin.ini:

noinst_HEADERS +=  plugin/session_dictionary/processlist.h plugin/session_dictionary/dictionary.h
EXTRA_DIST += plugin/session_dictionary/tests

plugin_libsession_dictionary_dir=${top_srcdir}/plugin/session_dictionary
EXTRA_DIST += plugin/session_dictionary/plugin.ini
if BUILD_SESSION_DICTIONARY_PLUGIN
  pkgplugin_LTLIBRARIES+=plugin/libsession_dictionary_plugin.la
  plugin_libsession_dictionary_plugin_la_LDFLAGS=-module -avoid-version -rpath $(pkgplugindir) $(AM_LDFLAGS)  $(GCOV_LIBS)
  plugin_libsession_dictionary_plugin_la_LIBADD=
  plugin_libsession_dictionary_plugin_la_DEPENDENCIES=
  plugin_libsession_dictionary_plugin_la_CPPFLAGS=$(AM_CPPFLAGS) -DPANDORA_DYNAMIC_PLUGIN -DPANDORA_MODULE_NAME=session_dictionary -DPANDORA_MODULE_AUTHOR="" -DPANDORA_MODULE_TITLE="Session Dictionary" -DPANDORA_MODULE_VERSION="2010-03-16" -DPANDORA_MODULE_LICENSE=PLUGIN_LICENSE_GPL 
  plugin_libsession_dictionary_plugin_la_CXXFLAGS=$(AM_CXXFLAGS) 
  plugin_libsession_dictionary_plugin_la_CFLAGS=$(AM_CFLAGS) 

  plugin_libsession_dictionary_plugin_la_SOURCES= plugin/session_dictionary/processlist.cc plugin/session_dictionary/dictionary.cc
endif

EXTRA_DIST += plugin/show_schema_proto/plugin.ini

# Prevent errors when a plugin dir is removed
plugin/show_schema_proto/plugin.ini:

EXTRA_DIST += plugin/show_schema_proto/tests

plugin_libshow_schema_proto_dir=${top_srcdir}/plugin/show_schema_proto
EXTRA_DIST += plugin/show_schema_proto/plugin.ini
if BUILD_SHOW_SCHEMA_PROTO_PLUGIN
  pkgplugin_LTLIBRARIES+=plugin/libshow_schema_proto_plugin.la
  plugin_libshow_schema_proto_plugin_la_LDFLAGS=-module -avoid-version -rpath $(pkgplugindir) $(AM_LDFLAGS)  $(GCOV_LIBS)
  plugin_libshow_schema_proto_plugin_la_LIBADD=
  plugin_libshow_schema_proto_plugin_la_DEPENDENCIES=
  plugin_libshow_schema_proto_plugin_la_CPPFLAGS=$(AM_CPPFLAGS) -DPANDORA_DYNAMIC_PLUGIN -DPANDORA_MODULE_NAME=show_schema_proto -DPANDORA_MODULE_AUTHOR="" -DPANDORA_MODULE_TITLE="SHOW_SCHEMA_PROTO(db) Function" -DPANDORA_MODULE_VERSION="2010-03-16" -DPANDORA_MODULE_LICENSE=PLUGIN_LICENSE_GPL 
  plugin_libshow_schema_proto_plugin_la_CXXFLAGS=$(AM_CXXFLAGS) ${PROTOSKIP_WARNINGS}
  plugin_libshow_schema_proto_plugin_la_CFLAGS=$(AM_CFLAGS) 

  plugin_libshow_schema_proto_plugin_la_SOURCES= plugin/show_schema_proto/show_schema_proto.cc
endif

EXTRA_DIST += plugin/signal_handler/plugin.ini

# Prevent errors when a plugin dir is removed
plugin/signal_handler/plugin.ini:


plugin_libsignal_handler_dir=${top_srcdir}/plugin/signal_handler
EXTRA_DIST += plugin/signal_handler/plugin.ini
if BUILD_SIGNAL_HANDLER_PLUGIN
  noinst_LTLIBRARIES+=plugin/libsignal_handler_plugin.la
  plugin_libsignal_handler_plugin_la_LIBADD=
  plugin_libsignal_handler_plugin_la_DEPENDENCIES=
  plugin_libsignal_handler_plugin_la_LDFLAGS=$(AM_LDFLAGS)  $(GCOV_LIBS)  
  plugin_libsignal_handler_plugin_la_CPPFLAGS=$(AM_CPPFLAGS) -DPANDORA_MODULE_NAME=signal_handler -DPANDORA_MODULE_AUTHOR="" -DPANDORA_MODULE_TITLE="Default Signal Handler" -DPANDORA_MODULE_VERSION="2010-03-16" -DPANDORA_MODULE_LICENSE=PLUGIN_LICENSE_GPL 
  plugin_libsignal_handler_plugin_la_CXXFLAGS=$(AM_CXXFLAGS) 
  plugin_libsignal_handler_plugin_la_CFLAGS=$(AM_CFLAGS) 

  plugin_libsignal_handler_plugin_la_SOURCES= plugin/signal_handler/signal_handler.cc
  PANDORA_DYNAMIC_LDADDS+=${top_builddir}/plugin/libsignal_handler_plugin.la
endif

EXTRA_DIST += plugin/single_thread/plugin.ini

# Prevent errors when a plugin dir is removed
plugin/single_thread/plugin.ini:

noinst_HEADERS +=  plugin/single_thread/single_thread.h

plugin_libsingle_thread_dir=${top_srcdir}/plugin/single_thread
EXTRA_DIST += plugin/single_thread/plugin.ini
if BUILD_SINGLE_THREAD_PLUGIN
  pkgplugin_LTLIBRARIES+=plugin/libsingle_thread_plugin.la
  plugin_libsingle_thread_plugin_la_LDFLAGS=-module -avoid-version -rpath $(pkgplugindir) $(AM_LDFLAGS)  $(GCOV_LIBS)
  plugin_libsingle_thread_plugin_la_LIBADD=
  plugin_libsingle_thread_plugin_la_DEPENDENCIES=
  plugin_libsingle_thread_plugin_la_CPPFLAGS=$(AM_CPPFLAGS) -DPANDORA_DYNAMIC_PLUGIN -DPANDORA_MODULE_NAME=single_thread -DPANDORA_MODULE_AUTHOR="" -DPANDORA_MODULE_TITLE="Single Thread Scheduler" -DPANDORA_MODULE_VERSION="2010-03-16" -DPANDORA_MODULE_LICENSE=PLUGIN_LICENSE_GPL 
  plugin_libsingle_thread_plugin_la_CXXFLAGS=$(AM_CXXFLAGS) 
  plugin_libsingle_thread_plugin_la_CFLAGS=$(AM_CFLAGS) 

  plugin_libsingle_thread_plugin_la_SOURCES= plugin/single_thread/single_thread.cc
endif

EXTRA_DIST += plugin/sleep/plugin.ini

# Prevent errors when a plugin dir is removed
plugin/sleep/plugin.ini:

EXTRA_DIST += plugin/sleep/tests

plugin_libsleep_dir=${top_srcdir}/plugin/sleep
EXTRA_DIST += plugin/sleep/plugin.ini
if BUILD_SLEEP_PLUGIN
  pkgplugin_LTLIBRARIES+=plugin/libsleep_plugin.la
  plugin_libsleep_plugin_la_LDFLAGS=-module -avoid-version -rpath $(pkgplugindir) $(AM_LDFLAGS)  $(GCOV_LIBS)
  plugin_libsleep_plugin_la_LIBADD=
  plugin_libsleep_plugin_la_DEPENDENCIES=
  plugin_libsleep_plugin_la_CPPFLAGS=$(AM_CPPFLAGS) -DPANDORA_DYNAMIC_PLUGIN -DPANDORA_MODULE_NAME=sleep -DPANDORA_MODULE_AUTHOR="Patrick Galbraith" -DPANDORA_MODULE_TITLE="Sleep UDF Plugin" -DPANDORA_MODULE_VERSION="1.0" -DPANDORA_MODULE_LICENSE=PLUGIN_LICENSE_GPL 
  plugin_libsleep_plugin_la_CXXFLAGS=$(AM_CXXFLAGS) 
  plugin_libsleep_plugin_la_CFLAGS=$(AM_CFLAGS) 

  plugin_libsleep_plugin_la_SOURCES= plugin/sleep/sleep.cc
endif

EXTRA_DIST += plugin/status_dictionary/plugin.ini

# Prevent errors when a plugin dir is removed
plugin/status_dictionary/plugin.ini:

noinst_HEADERS +=  plugin/status_dictionary/dictionary.h plugin/status_dictionary/state_tool.h plugin/status_dictionary/status.h plugin/status_dictionary/variables.h
EXTRA_DIST += plugin/status_dictionary/tests

plugin_libstatus_dictionary_dir=${top_srcdir}/plugin/status_dictionary
EXTRA_DIST += plugin/status_dictionary/plugin.ini
if BUILD_STATUS_DICTIONARY_PLUGIN
  pkgplugin_LTLIBRARIES+=plugin/libstatus_dictionary_plugin.la
  plugin_libstatus_dictionary_plugin_la_LDFLAGS=-module -avoid-version -rpath $(pkgplugindir) $(AM_LDFLAGS)  $(GCOV_LIBS)
  plugin_libstatus_dictionary_plugin_la_LIBADD=
  plugin_libstatus_dictionary_plugin_la_DEPENDENCIES=
  plugin_libstatus_dictionary_plugin_la_CPPFLAGS=$(AM_CPPFLAGS) -DPANDORA_DYNAMIC_PLUGIN -DPANDORA_MODULE_NAME=status_dictionary -DPANDORA_MODULE_AUTHOR="" -DPANDORA_MODULE_TITLE="Status Dictionary" -DPANDORA_MODULE_VERSION="2010-03-16" -DPANDORA_MODULE_LICENSE=PLUGIN_LICENSE_GPL 
  plugin_libstatus_dictionary_plugin_la_CXXFLAGS=$(AM_CXXFLAGS) 
  plugin_libstatus_dictionary_plugin_la_CFLAGS=$(AM_CFLAGS) 

  plugin_libstatus_dictionary_plugin_la_SOURCES= plugin/status_dictionary/status.cc plugin/status_dictionary/dictionary.cc
endif

EXTRA_DIST += plugin/substr_functions/plugin.ini

# Prevent errors when a plugin dir is removed
plugin/substr_functions/plugin.ini:


plugin_libsubstr_functions_dir=${top_srcdir}/plugin/substr_functions
EXTRA_DIST += plugin/substr_functions/plugin.ini
if BUILD_SUBSTR_FUNCTIONS_PLUGIN
  pkgplugin_LTLIBRARIES+=plugin/libsubstr_functions_plugin.la
  plugin_libsubstr_functions_plugin_la_LDFLAGS=-module -avoid-version -rpath $(pkgplugindir) $(AM_LDFLAGS)  $(GCOV_LIBS)
  plugin_libsubstr_functions_plugin_la_LIBADD=
  plugin_libsubstr_functions_plugin_la_DEPENDENCIES=
  plugin_libsubstr_functions_plugin_la_CPPFLAGS=$(AM_CPPFLAGS) -DPANDORA_DYNAMIC_PLUGIN -DPANDORA_MODULE_NAME=substr_functions -DPANDORA_MODULE_AUTHOR="" -DPANDORA_MODULE_TITLE="SUBSTRING() and SUBSTRING_INDEX() functions" -DPANDORA_MODULE_VERSION="2010-03-16" -DPANDORA_MODULE_LICENSE=PLUGIN_LICENSE_GPL 
  plugin_libsubstr_functions_plugin_la_CXXFLAGS=$(AM_CXXFLAGS) 
  plugin_libsubstr_functions_plugin_la_CFLAGS=$(AM_CFLAGS) 

  plugin_libsubstr_functions_plugin_la_SOURCES= plugin/substr_functions/substr_functions.cc
endif

EXTRA_DIST += plugin/table_cache_dictionary/plugin.ini

# Prevent errors when a plugin dir is removed
plugin/table_cache_dictionary/plugin.ini:

noinst_HEADERS +=  plugin/table_cache_dictionary/dictionary.h plugin/table_cache_dictionary/table_cache.h plugin/table_cache_dictionary/table_definition_cache.h
EXTRA_DIST += plugin/table_cache_dictionary/tests

plugin_libtable_cache_dictionary_dir=${top_srcdir}/plugin/table_cache_dictionary
EXTRA_DIST += plugin/table_cache_dictionary/plugin.ini
if BUILD_TABLE_CACHE_DICTIONARY_PLUGIN
  pkgplugin_LTLIBRARIES+=plugin/libtable_cache_dictionary_plugin.la
  plugin_libtable_cache_dictionary_plugin_la_LDFLAGS=-module -avoid-version -rpath $(pkgplugindir) $(AM_LDFLAGS)  $(GCOV_LIBS)
  plugin_libtable_cache_dictionary_plugin_la_LIBADD=
  plugin_libtable_cache_dictionary_plugin_la_DEPENDENCIES=
  plugin_libtable_cache_dictionary_plugin_la_CPPFLAGS=$(AM_CPPFLAGS) -DPANDORA_DYNAMIC_PLUGIN -DPANDORA_MODULE_NAME=table_cache_dictionary -DPANDORA_MODULE_AUTHOR="" -DPANDORA_MODULE_TITLE="Table Cached and Table Definition Dictionary" -DPANDORA_MODULE_VERSION="2010-03-16" -DPANDORA_MODULE_LICENSE=PLUGIN_LICENSE_GPL 
  plugin_libtable_cache_dictionary_plugin_la_CXXFLAGS=$(AM_CXXFLAGS) 
  plugin_libtable_cache_dictionary_plugin_la_CFLAGS=$(AM_CFLAGS) 

  plugin_libtable_cache_dictionary_plugin_la_SOURCES= plugin/table_cache_dictionary/dictionary.cc plugin/table_cache_dictionary/table_cache.cc plugin/table_cache_dictionary/table_definition_cache.cc
endif

EXTRA_DIST += plugin/tableprototester/plugin.ini

# Prevent errors when a plugin dir is removed
plugin/tableprototester/plugin.ini:

noinst_HEADERS +=  plugin/tableprototester/tableprototester.h
EXTRA_DIST += plugin/tableprototester/tests

plugin_libtableprototester_dir=${top_srcdir}/plugin/tableprototester
EXTRA_DIST += plugin/tableprototester/plugin.ini
if BUILD_TABLEPROTOTESTER_PLUGIN
  pkgplugin_LTLIBRARIES+=plugin/libtableprototester_plugin.la
  plugin_libtableprototester_plugin_la_LDFLAGS=-module -avoid-version -rpath $(pkgplugindir) $(AM_LDFLAGS)  $(GCOV_LIBS)
  plugin_libtableprototester_plugin_la_LIBADD=
  plugin_libtableprototester_plugin_la_DEPENDENCIES=
  plugin_libtableprototester_plugin_la_CPPFLAGS=$(AM_CPPFLAGS) -DPANDORA_DYNAMIC_PLUGIN -DPANDORA_MODULE_NAME=tableprototester -DPANDORA_MODULE_AUTHOR="" -DPANDORA_MODULE_TITLE="Table Proto Message Tester" -DPANDORA_MODULE_VERSION="2010-03-16" -DPANDORA_MODULE_LICENSE=PLUGIN_LICENSE_GPL 
  plugin_libtableprototester_plugin_la_CXXFLAGS=$(AM_CXXFLAGS) 
  plugin_libtableprototester_plugin_la_CFLAGS=$(AM_CFLAGS) 

  plugin_libtableprototester_plugin_la_SOURCES= plugin/tableprototester/tableprototester.cc
endif

EXTRA_DIST += plugin/test_authz/plugin.ini

# Prevent errors when a plugin dir is removed
plugin/test_authz/plugin.ini:

EXTRA_DIST += plugin/test_authz/tests

plugin_libtest_authz_dir=${top_srcdir}/plugin/test_authz
EXTRA_DIST += plugin/test_authz/plugin.ini
if BUILD_TEST_AUTHZ_PLUGIN
  pkgplugin_LTLIBRARIES+=plugin/libtest_authz_plugin.la
  plugin_libtest_authz_plugin_la_LDFLAGS=-module -avoid-version -rpath $(pkgplugindir) $(AM_LDFLAGS)  $(GCOV_LIBS)
  plugin_libtest_authz_plugin_la_LIBADD=
  plugin_libtest_authz_plugin_la_DEPENDENCIES=
  plugin_libtest_authz_plugin_la_CPPFLAGS=$(AM_CPPFLAGS) -DPANDORA_DYNAMIC_PLUGIN -DPANDORA_MODULE_NAME=test_authz -DPANDORA_MODULE_AUTHOR="Monty Taylor <mordred@inaugust.com>" -DPANDORA_MODULE_TITLE="Test Authorization" -DPANDORA_MODULE_VERSION="1.0" -DPANDORA_MODULE_LICENSE=PLUGIN_LICENSE_GPL 
  plugin_libtest_authz_plugin_la_CXXFLAGS=$(AM_CXXFLAGS) 
  plugin_libtest_authz_plugin_la_CFLAGS=$(AM_CFLAGS) 

  plugin_libtest_authz_plugin_la_SOURCES= plugin/test_authz/test_authz.cc
endif

EXTRA_DIST += plugin/transaction_log/plugin.ini

# Prevent errors when a plugin dir is removed
plugin/transaction_log/plugin.ini:

noinst_HEADERS +=  plugin/transaction_log/background_worker.h plugin/transaction_log/hexdump_transaction_message.h plugin/transaction_log/print_transaction_message.h plugin/transaction_log/transaction_log.h plugin/transaction_log/transaction_log_applier.h plugin/transaction_log/transaction_log_entry.h plugin/transaction_log/transaction_log_index.h plugin/transaction_log/transaction_log_reader.h plugin/transaction_log/data_dictionary_schema.h
EXTRA_DIST += plugin/transaction_log/tests

plugin_libtransaction_log_dir=${top_srcdir}/plugin/transaction_log
EXTRA_DIST += plugin/transaction_log/plugin.ini
if BUILD_TRANSACTION_LOG_PLUGIN
  pkgplugin_LTLIBRARIES+=plugin/libtransaction_log_plugin.la
  plugin_libtransaction_log_plugin_la_LDFLAGS=-module -avoid-version -rpath $(pkgplugindir) $(AM_LDFLAGS)  $(GCOV_LIBS)
  plugin_libtransaction_log_plugin_la_LIBADD=${top_builddir}/drizzled/algorithm/libhash.la
  plugin_libtransaction_log_plugin_la_DEPENDENCIES=${top_builddir}/drizzled/algorithm/libhash.la
  plugin_libtransaction_log_plugin_la_CPPFLAGS=$(AM_CPPFLAGS) -DPANDORA_DYNAMIC_PLUGIN -DPANDORA_MODULE_NAME=transaction_log -DPANDORA_MODULE_AUTHOR="Jay Pipes" -DPANDORA_MODULE_TITLE="Transaction Log" -DPANDORA_MODULE_VERSION="0.1.1" -DPANDORA_MODULE_LICENSE=PLUGIN_LICENSE_GPL 
  plugin_libtransaction_log_plugin_la_CXXFLAGS=$(AM_CXXFLAGS) ${PROTOSKIP_WARNINGS}
  plugin_libtransaction_log_plugin_la_CFLAGS=$(AM_CFLAGS) 

  plugin_libtransaction_log_plugin_la_SOURCES= plugin/transaction_log/background_worker.cc plugin/transaction_log/hexdump_transaction_message.cc plugin/transaction_log/module.cc plugin/transaction_log/print_transaction_message.cc plugin/transaction_log/transaction_log.cc plugin/transaction_log/transaction_log_applier.cc plugin/transaction_log/transaction_log_entry.cc plugin/transaction_log/transaction_log_index.cc plugin/transaction_log/transaction_log_reader.cc plugin/transaction_log/data_dictionary_schema.cc
endif

EXTRA_DIST += plugin/uuid_function/plugin.ini

# Prevent errors when a plugin dir is removed
plugin/uuid_function/plugin.ini:


plugin_libuuid_function_dir=${top_srcdir}/plugin/uuid_function
EXTRA_DIST += plugin/uuid_function/plugin.ini
if BUILD_UUID_FUNCTION_PLUGIN
  pkgplugin_LTLIBRARIES+=plugin/libuuid_function_plugin.la
  plugin_libuuid_function_plugin_la_LDFLAGS=-module -avoid-version -rpath $(pkgplugindir) $(AM_LDFLAGS) ${LTLIBUUID} $(GCOV_LIBS)
  plugin_libuuid_function_plugin_la_LIBADD=
  plugin_libuuid_function_plugin_la_DEPENDENCIES=
  plugin_libuuid_function_plugin_la_CPPFLAGS=$(AM_CPPFLAGS) -DPANDORA_DYNAMIC_PLUGIN -DPANDORA_MODULE_NAME=uuid_function -DPANDORA_MODULE_AUTHOR="" -DPANDORA_MODULE_TITLE="UUID() plugin" -DPANDORA_MODULE_VERSION="2010-03-16" -DPANDORA_MODULE_LICENSE=PLUGIN_LICENSE_GPL 
  plugin_libuuid_function_plugin_la_CXXFLAGS=$(AM_CXXFLAGS) 
  plugin_libuuid_function_plugin_la_CFLAGS=$(AM_CFLAGS) 

  plugin_libuuid_function_plugin_la_SOURCES= plugin/uuid_function/uuid_function.cc
endif

EXTRA_DIST += plugin/version/plugin.ini

# Prevent errors when a plugin dir is removed
plugin/version/plugin.ini:


plugin_libversion_dir=${top_srcdir}/plugin/version
EXTRA_DIST += plugin/version/plugin.ini
if BUILD_VERSION_PLUGIN
  pkgplugin_LTLIBRARIES+=plugin/libversion_plugin.la
  plugin_libversion_plugin_la_LDFLAGS=-module -avoid-version -rpath $(pkgplugindir) $(AM_LDFLAGS)  $(GCOV_LIBS)
  plugin_libversion_plugin_la_LIBADD=
  plugin_libversion_plugin_la_DEPENDENCIES=
  plugin_libversion_plugin_la_CPPFLAGS=$(AM_CPPFLAGS) -DPANDORA_DYNAMIC_PLUGIN -DPANDORA_MODULE_NAME=version -DPANDORA_MODULE_AUTHOR="Devananda van der Veen" -DPANDORA_MODULE_TITLE="version UDF" -DPANDORA_MODULE_VERSION="1.0" -DPANDORA_MODULE_LICENSE=PLUGIN_LICENSE_GPL 
  plugin_libversion_plugin_la_CXXFLAGS=$(AM_CXXFLAGS) 
  plugin_libversion_plugin_la_CFLAGS=$(AM_CFLAGS) 

  plugin_libversion_plugin_la_SOURCES= plugin/version/versionudf.cc
endif