-
Notifications
You must be signed in to change notification settings - Fork 166
/
Makefile.am
1450 lines (1300 loc) · 67.9 KB
/
Makefile.am
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
## Copyright (c) 2012-2015, Cornell University
## All rights reserved.
##
## Redistribution and use in source and binary forms, with or without
## modification, are permitted provided that the following conditions are met:
##
## * Redistributions of source code must retain the above copyright notice,
## this list of conditions and the following disclaimer.
## * Redistributions in binary form must reproduce the above copyright
## notice, this list of conditions and the following disclaimer in the
## documentation and/or other materials provided with the distribution.
## * Neither the name of HyperDex nor the names of its contributors may be
## used to endorse or promote products derived from this software without
## specific prior written permission.
##
## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
## AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
## IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
## ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
## LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
## CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
## SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
## INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
## CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
## ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
## POSSIBILITY OF SUCH DAMAGE.
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
AM_CPPFLAGS = -I${abs_top_srcdir}/include $(PO6_CFLAGS) $(E_CFLAGS) $(BUSYBEE_CFLAGS) $(HYPERLEVELDB_CFLAGS) $(REPLICANT_CFLAGS) $(MACAROONS_CFLAGS) $(TREADSTONE_CFLAGS)
AM_CFLAGS = -fvisibility=hidden $(WANAL_CFLAGS)
AM_CXXFLAGS = -fvisibility=hidden -fvisibility-inlines-hidden $(PO6_CFLAGS) $(E_CFLAGS) $(BUSYBEE_CFLAGS) $(HYPERLEVELDB_CFLAGS) $(REPLICANT_CFLAGS) $(MACAROONS_CFLAGS) $(TREADSTONE_CFLAGS) $(WANAL_CXXFLAGS)
AM_MAKEFLAGS = --no-print-directory
AM_YFLAGS = -d
HELP2MAN_FLAGS = --no-discard-stderr --libtool --no-info --version-string=$(VERSION) --manual="HyperDex User Manual"
TESTS_ENVIRONMENT = . $(abs_top_srcdir)/test/env.sh "${abs_top_srcdir}" "${abs_top_builddir}" "${VERSION}";
AM_DISTCHECK_CONFIGURE_FLAGS = --enable-python-bindings
hyperdexexecdir = $(libexecdir)/$(PACKAGE)-$(VERSION)
hyperdexheaderdir = $(includedir)/hyperdex
pkgconfigdir = $(libdir)/pkgconfig
BUILT_SOURCES =
EXTRA_DIST =
EXTRA_DIST += THIRD-PARTY
CLEANFILES =
noinst_HEADERS =
hyperdexheader_HEADERS =
lib_LTLIBRARIES =
bin_PROGRAMS =
noinst_PROGRAMS =
check_PROGRAMS =
hyperdexexec_SCRIPTS =
hyperdexexec_PROGRAMS =
hyperdexexec_LTLIBRARIES =
dist_man_MANS =
pkgconfig_DATA =
jardir = $(datadir)/java
jar_DATA =
pkgpyexecdir = $(pyexecdir)/hyperdex
pkgpyexec_DATA =
pkgpyexec_LTLIBRARIES =
rubyexecdir = $(RUBY_EXT_LIB)
rubyexec_LTLIBRARIES =
TESTS =
################################################################################
#################################### Common ####################################
################################################################################
%.h2m: %.md
$(pandoc_verbose)pandoc -s -w man -o $@ $<
$(sed_verbose)sed -e 's/^\.SH \(.*\)$$/[\1]/' -e 's/^.PP$$//' $@ > [email protected]
@mv [email protected] $@
gperf_verbose = $(gperf_verbose_$(V))
gperf_verbose_ = $(gperf_verbose_$(AM_DEFAULT_VERBOSITY))
gperf_verbose_0 = @echo " GPERF " $@;
help2man_verbose = $(help2man_verbose_$(V))
help2man_verbose_ = $(help2man_verbose_$(AM_DEFAULT_VERBOSITY))
help2man_verbose_0 = @echo " MAN " $@;
pandoc_verbose = $(pandoc_verbose_$(V))
pandoc_verbose_ = $(pandoc_verbose_$(AM_DEFAULT_VERBOSITY))
pandoc_verbose_0 = @echo " PANDOC " $@;
pyx_verbose = $(pyx_verbose_$(V))
pyx_verbose_ = $(pyx_verbose_$(AM_DEFAULT_VERBOSITY))
pyx_verbose_0 = @echo " PYX " $@;
sed_verbose = $(sed_verbose_$(V))
sed_verbose_ = $(sed_verbose_$(AM_DEFAULT_VERBOSITY))
sed_verbose_0 = @echo " SED " $@;
th_sources = test/th_main.cc test/th.cc test/th.h
EXTRA_DIST += LICENSE
EXTRA_DIST += SIGNED-OFF-BY
include_HEADERS = include/hyperdex.h
noinst_HEADERS += include/hyperdex.h
noinst_HEADERS += namespace.h
noinst_HEADERS += visibility.h
noinst_HEADERS += common/attribute_check.h
noinst_HEADERS += common/attribute.h
noinst_HEADERS += common/auth_wallet.h
noinst_HEADERS += common/configuration_flags.h
noinst_HEADERS += common/configuration.h
noinst_HEADERS += common/coordinator_returncode.h
noinst_HEADERS += common/datatype_document.h
noinst_HEADERS += common/datatype_float.h
noinst_HEADERS += common/datatype_info.h
noinst_HEADERS += common/datatype_int64.h
noinst_HEADERS += common/datatype_list.h
noinst_HEADERS += common/datatype_macaroon_secret.h
noinst_HEADERS += common/datatype_map.h
noinst_HEADERS += common/datatype_set.h
noinst_HEADERS += common/datatype_string.h
noinst_HEADERS += common/datatype_timestamp.h
noinst_HEADERS += common/documents.h
noinst_HEADERS += common/funcall.h
noinst_HEADERS += common/hash.h
noinst_HEADERS += common/hyperspace.h
noinst_HEADERS += common/ids.h
noinst_HEADERS += common/ieee.h
noinst_HEADERS += common/index.h
noinst_HEADERS += common/json_path.h
noinst_HEADERS += common/key_change.h
noinst_HEADERS += common/macros.h
noinst_HEADERS += common/mapper.h
noinst_HEADERS += common/network_msgtype.h
noinst_HEADERS += common/network_returncode.h
noinst_HEADERS += common/ordered_encoding.h
noinst_HEADERS += common/range.h
noinst_HEADERS += common/range_searches.h
noinst_HEADERS += common/regex_match.h
noinst_HEADERS += common/schema.h
noinst_HEADERS += common/serialization.h
noinst_HEADERS += common/server.h
noinst_HEADERS += common/transfer.h
noinst_HEADERS += tools/common.h
noinst_HEADERS += osx/ieee754.h
check_PROGRAMS += common/test/ordered_encoding
TESTS += common/test/ordered_encoding
common_test_ordered_encoding_SOURCES = common/test/ordered_encoding.cc common/ordered_encoding.cc $(th_sources)
common_test_ordered_encoding_CXXFLAGS = $(AM_CXXFLAGS) $(CXXFLAGS)
################################################################################
################################### City Hash ##################################
################################################################################
EXTRA_DIST += cityhash/COPYING
noinst_HEADERS += cityhash/city.h
check_PROGRAMS += cityhash/test/city
TESTS += cityhash/test/city
cityhash_test_city_SOURCES = cityhash/test/city.cc cityhash/city.cc
cityhash_test_city_CXXFLAGS = $(AM_CXXFLAGS) $(CXXFLAGS)
################################################################################
#################################### Daemon ####################################
################################################################################
if ENABLE_DAEMON
hyperdexexec_PROGRAMS += hyperdex-daemon
dist_man_MANS += man/hyperdex-daemon.1
endif
EXTRA_DIST += initscripts/sysv/default/hyperdex-daemon
EXTRA_DIST += initscripts/sysv/init.d/hyperdex-daemon
noinst_HEADERS += daemon/auth.h
noinst_HEADERS += daemon/background_thread.h
noinst_HEADERS += daemon/communication.h
noinst_HEADERS += daemon/coordinator_link.h
noinst_HEADERS += daemon/daemon.h
noinst_HEADERS += daemon/datalayer_checkpointer_thread.h
noinst_HEADERS += daemon/datalayer_encodings.h
noinst_HEADERS += daemon/datalayer.h
noinst_HEADERS += daemon/datalayer_indexer_thread.h
noinst_HEADERS += daemon/datalayer_index_state.h
noinst_HEADERS += daemon/datalayer_iterator.h
noinst_HEADERS += daemon/datalayer_wiper_indexer_mediator.h
noinst_HEADERS += daemon/datalayer_wiper_thread.h
noinst_HEADERS += daemon/identifier_collector.h
noinst_HEADERS += daemon/identifier_generator.h
noinst_HEADERS += daemon/index_container.h
noinst_HEADERS += daemon/index_document.h
noinst_HEADERS += daemon/index_float.h
noinst_HEADERS += daemon/index_info.h
noinst_HEADERS += daemon/index_int64.h
noinst_HEADERS += daemon/index_list.h
noinst_HEADERS += daemon/index_map.h
noinst_HEADERS += daemon/index_primitive.h
noinst_HEADERS += daemon/index_set.h
noinst_HEADERS += daemon/index_string.h
noinst_HEADERS += daemon/index_timestamp.h
noinst_HEADERS += daemon/key_operation.h
noinst_HEADERS += daemon/key_region.h
noinst_HEADERS += daemon/key_state.h
noinst_HEADERS += daemon/leveldb.h
noinst_HEADERS += daemon/performance_counter.h
noinst_HEADERS += daemon/reconfigure_returncode.h
noinst_HEADERS += daemon/region_timestamp.h
noinst_HEADERS += daemon/replication_manager.h
noinst_HEADERS += daemon/search_manager.h
noinst_HEADERS += daemon/state_hash_table.h
noinst_HEADERS += daemon/state_transfer_manager.h
noinst_HEADERS += daemon/state_transfer_manager_pending.h
noinst_HEADERS += daemon/state_transfer_manager_transfer_in_state.h
noinst_HEADERS += daemon/state_transfer_manager_transfer_out_state.h
EXTRA_DIST += man/hyperdex-daemon.1.md
EXTRA_DIST += man/hyperdex-daemon.1.h2m
hyperdex_daemon_SOURCES =
hyperdex_daemon_SOURCES += common/attribute.cc
hyperdex_daemon_SOURCES += common/attribute_check.cc
hyperdex_daemon_SOURCES += common/auth_wallet.cc
hyperdex_daemon_SOURCES += common/configuration.cc
hyperdex_daemon_SOURCES += common/coordinator_returncode.cc
hyperdex_daemon_SOURCES += common/datatype_document.cc
hyperdex_daemon_SOURCES += common/datatype_float.cc
hyperdex_daemon_SOURCES += common/datatype_info.cc
hyperdex_daemon_SOURCES += common/datatype_int64.cc
hyperdex_daemon_SOURCES += common/datatype_list.cc
hyperdex_daemon_SOURCES += common/datatype_timestamp.cc
hyperdex_daemon_SOURCES += common/datatype_macaroon_secret.cc
hyperdex_daemon_SOURCES += common/datatype_map.cc
hyperdex_daemon_SOURCES += common/datatype_set.cc
hyperdex_daemon_SOURCES += common/datatype_string.cc
hyperdex_daemon_SOURCES += common/documents.cc
hyperdex_daemon_SOURCES += common/funcall.cc
hyperdex_daemon_SOURCES += common/hash.cc
hyperdex_daemon_SOURCES += common/hyperdex.cc
hyperdex_daemon_SOURCES += common/hyperspace.cc
hyperdex_daemon_SOURCES += common/ids.cc
hyperdex_daemon_SOURCES += common/index.cc
hyperdex_daemon_SOURCES += common/key_change.cc
hyperdex_daemon_SOURCES += common/mapper.cc
hyperdex_daemon_SOURCES += common/network_msgtype.cc
hyperdex_daemon_SOURCES += common/ordered_encoding.cc
hyperdex_daemon_SOURCES += common/range.cc
hyperdex_daemon_SOURCES += common/range_searches.cc
hyperdex_daemon_SOURCES += common/regex_match.cc
hyperdex_daemon_SOURCES += common/schema.cc
hyperdex_daemon_SOURCES += common/serialization.cc
hyperdex_daemon_SOURCES += common/server.cc
hyperdex_daemon_SOURCES += common/transfer.cc
hyperdex_daemon_SOURCES += cityhash/city.cc
hyperdex_daemon_SOURCES += daemon/auth.cc
hyperdex_daemon_SOURCES += daemon/background_thread.cc
hyperdex_daemon_SOURCES += daemon/communication.cc
hyperdex_daemon_SOURCES += daemon/coordinator_link.cc
hyperdex_daemon_SOURCES += daemon/daemon.cc
hyperdex_daemon_SOURCES += daemon/datalayer.cc
hyperdex_daemon_SOURCES += daemon/datalayer_checkpointer_thread.cc
hyperdex_daemon_SOURCES += daemon/datalayer_encodings.cc
hyperdex_daemon_SOURCES += daemon/datalayer_indexer_thread.cc
hyperdex_daemon_SOURCES += daemon/datalayer_iterator.cc
hyperdex_daemon_SOURCES += daemon/datalayer_wiper_thread.cc
hyperdex_daemon_SOURCES += daemon/identifier_collector.cc
hyperdex_daemon_SOURCES += daemon/identifier_generator.cc
hyperdex_daemon_SOURCES += daemon/index_container.cc
hyperdex_daemon_SOURCES += daemon/index_document.cc
hyperdex_daemon_SOURCES += daemon/index_float.cc
hyperdex_daemon_SOURCES += daemon/index_info.cc
hyperdex_daemon_SOURCES += daemon/index_int64.cc
hyperdex_daemon_SOURCES += daemon/index_list.cc
hyperdex_daemon_SOURCES += daemon/index_timestamp.cc
hyperdex_daemon_SOURCES += daemon/index_map.cc
hyperdex_daemon_SOURCES += daemon/index_primitive.cc
hyperdex_daemon_SOURCES += daemon/index_set.cc
hyperdex_daemon_SOURCES += daemon/index_string.cc
hyperdex_daemon_SOURCES += daemon/key_operation.cc
hyperdex_daemon_SOURCES += daemon/key_region.cc
hyperdex_daemon_SOURCES += daemon/key_state.cc
hyperdex_daemon_SOURCES += daemon/main.cc
hyperdex_daemon_SOURCES += daemon/replication_manager.cc
hyperdex_daemon_SOURCES += daemon/search_manager.cc
hyperdex_daemon_SOURCES += daemon/state_transfer_manager.cc
hyperdex_daemon_SOURCES += daemon/state_transfer_manager_pending.cc
hyperdex_daemon_SOURCES += daemon/state_transfer_manager_transfer_in_state.cc
hyperdex_daemon_SOURCES += daemon/state_transfer_manager_transfer_out_state.cc
hyperdex_daemon_CXXFLAGS = $(AM_CXXFLAGS) $(CXXFLAGS)
hyperdex_daemon_LDADD =
hyperdex_daemon_LDADD += $(TREADSTONE_LIBS)
hyperdex_daemon_LDADD += $(MACAROONS_LIBS)
hyperdex_daemon_LDADD += $(REPLICANT_LIBS)
hyperdex_daemon_LDADD += $(HYPERLEVELDB_LIBS)
hyperdex_daemon_LDADD += $(BUSYBEE_LIBS)
hyperdex_daemon_LDADD += $(E_LIBS)
hyperdex_daemon_LDADD += $(PO6_LIBS)
hyperdex_daemon_LDADD += $(POPT_LIBS) ${GLOG_LIBS} -lpthread
man/hyperdex-daemon.1: man/hyperdex-daemon.1.h2m daemon/main.cc | hyperdex-daemon$(EXEEXT)
$(help2man_verbose)help2man $(HELP2MAN_FLAGS) --section 1 --output $@ --include $< ${abs_top_builddir}/hyperdex-daemon$(EXEEXT)
check_PROGRAMS += daemon/test/identifier_collector
check_PROGRAMS += daemon/test/identifier_generator
TESTS += daemon/test/identifier_collector
TESTS += daemon/test/identifier_generator
daemon_test_identifier_collector_SOURCES = daemon/test/identifier_collector.cc daemon/identifier_collector.cc $(th_sources)
daemon_test_identifier_collector_CXXFLAGS = $(AM_CXXFLAGS) $(CXXFLAGS)
daemon_test_identifier_collector_LDFLAGS = $(E_LIBS)
daemon_test_identifier_generator_SOURCES = daemon/test/identifier_generator.cc daemon/identifier_generator.cc $(th_sources)
daemon_test_identifier_generator_CXXFLAGS = $(AM_CXXFLAGS) $(CXXFLAGS)
daemon_test_identifier_generator_LDFLAGS = $(E_LIBS)
################################################################################
################################## Coordinator #################################
################################################################################
if ENABLE_COORDINATOR
hyperdexexec_LTLIBRARIES += libhyperdex-coordinator.la
hyperdexexec_PROGRAMS += hyperdex-coordinator
dist_man_MANS += man/hyperdex-coordinator.1
endif
EXTRA_DIST += initscripts/sysv/default/hyperdex-coordinator
EXTRA_DIST += initscripts/sysv/init.d/hyperdex-coordinator
noinst_HEADERS += coordinator/coordinator.h
noinst_HEADERS += coordinator/offline_server.h
noinst_HEADERS += coordinator/region_intent.h
noinst_HEADERS += coordinator/replica_sets.h
noinst_HEADERS += coordinator/server_barrier.h
noinst_HEADERS += coordinator/transitions.h
noinst_HEADERS += coordinator/util.h
libhyperdex_coordinator_la_SOURCES =
libhyperdex_coordinator_la_SOURCES += common/attribute.cc
libhyperdex_coordinator_la_SOURCES += common/hyperspace.cc
libhyperdex_coordinator_la_SOURCES += common/ids.cc
libhyperdex_coordinator_la_SOURCES += common/index.cc
libhyperdex_coordinator_la_SOURCES += common/schema.cc
libhyperdex_coordinator_la_SOURCES += common/serialization.cc
libhyperdex_coordinator_la_SOURCES += common/server.cc
libhyperdex_coordinator_la_SOURCES += common/transfer.cc
libhyperdex_coordinator_la_SOURCES += coordinator/coordinator.cc
libhyperdex_coordinator_la_SOURCES += coordinator/replica_sets.cc
libhyperdex_coordinator_la_SOURCES += coordinator/server_barrier.cc
libhyperdex_coordinator_la_SOURCES += coordinator/symtable.c
libhyperdex_coordinator_la_SOURCES += coordinator/transitions.cc
libhyperdex_coordinator_la_LIBADD =
libhyperdex_coordinator_la_LIBADD += $(E_LIBS)
EXTRA_DIST += man/hyperdex-coordinator.1.md
EXTRA_DIST += man/hyperdex-coordinator.1.h2m
hyperdex_coordinator_SOURCES = tools/coordinator.cc
hyperdex_coordinator_CPPFLAGS = -DHYPERDEX_EXEC_DIR=\""$(hyperdexexecdir)\"" $(AM_CPPFLAGS) $(CPPFLAGS)
hyperdex_coordinator_LDADD =
hyperdex_coordinator_LDADD += $(BUSYBEE_LIBS)
hyperdex_coordinator_LDADD += $(E_LIBS)
hyperdex_coordinator_LDADD += $(POPT_LIBS)
man/hyperdex-coordinator.1: man/hyperdex-coordinator.1.h2m | hyperdex-coordinator${EXEEXT}
$(help2man_verbose)help2man $(HELP2MAN_FLAGS) --section 1 --output $@ --include $< ${abs_top_builddir}/hyperdex-coordinator$(EXEEXT)
################################################################################
#################################### Client ####################################
################################################################################
if ENABLE_CLIENT
lib_LTLIBRARIES += libhyperdex-client.la
BUILT_SOURCES += client/keyop_info.cc
hyperdexheader_HEADERS += include/hyperdex/client.h
hyperdexheader_HEADERS += include/hyperdex/client.hpp
hyperdexheader_HEADERS += include/hyperdex/datastructures.h
pkgconfig_DATA += hyperdex-client.pc
endif
EXTRA_DIST += client/keyop_info.gperf
noinst_HEADERS += include/hyperdex/client.h
noinst_HEADERS += include/hyperdex/client.hpp
noinst_HEADERS += include/hyperdex/datastructures.h
noinst_HEADERS += client/client.h
noinst_HEADERS += client/constants.h
noinst_HEADERS += client/keyop_info.h
noinst_HEADERS += client/pending_aggregation.h
noinst_HEADERS += client/pending_atomic.h
noinst_HEADERS += client/pending_count.h
noinst_HEADERS += client/pending_get.h
noinst_HEADERS += client/pending_get_partial.h
noinst_HEADERS += client/pending_group_atomic.h
noinst_HEADERS += client/pending.h
noinst_HEADERS += client/pending_search_describe.h
noinst_HEADERS += client/pending_search.h
noinst_HEADERS += client/pending_sorted_search.h
noinst_HEADERS += client/util.h
libhyperdex_client_la_SOURCES =
libhyperdex_client_la_SOURCES += common/attribute.cc
libhyperdex_client_la_SOURCES += common/attribute_check.cc
libhyperdex_client_la_SOURCES += common/auth_wallet.cc
libhyperdex_client_la_SOURCES += common/configuration.cc
libhyperdex_client_la_SOURCES += common/datatype_document.cc
libhyperdex_client_la_SOURCES += common/datatype_float.cc
libhyperdex_client_la_SOURCES += common/datatype_info.cc
libhyperdex_client_la_SOURCES += common/datatype_int64.cc
libhyperdex_client_la_SOURCES += common/datatype_list.cc
libhyperdex_client_la_SOURCES += common/datatype_macaroon_secret.cc
libhyperdex_client_la_SOURCES += common/datatype_map.cc
libhyperdex_client_la_SOURCES += common/datatype_set.cc
libhyperdex_client_la_SOURCES += common/datatype_timestamp.cc
libhyperdex_client_la_SOURCES += common/datatype_string.cc
libhyperdex_client_la_SOURCES += common/documents.cc
libhyperdex_client_la_SOURCES += common/funcall.cc
libhyperdex_client_la_SOURCES += common/hash.cc
libhyperdex_client_la_SOURCES += common/hyperdex.cc
libhyperdex_client_la_SOURCES += common/hyperspace.cc
libhyperdex_client_la_SOURCES += common/ids.cc
libhyperdex_client_la_SOURCES += common/index.cc
libhyperdex_client_la_SOURCES += common/mapper.cc
libhyperdex_client_la_SOURCES += common/network_msgtype.cc
libhyperdex_client_la_SOURCES += common/ordered_encoding.cc
libhyperdex_client_la_SOURCES += common/range.cc
libhyperdex_client_la_SOURCES += common/range_searches.cc
libhyperdex_client_la_SOURCES += common/regex_match.cc
libhyperdex_client_la_SOURCES += common/schema.cc
libhyperdex_client_la_SOURCES += common/server.cc
libhyperdex_client_la_SOURCES += common/serialization.cc
libhyperdex_client_la_SOURCES += common/transfer.cc
libhyperdex_client_la_SOURCES += cityhash/city.cc
libhyperdex_client_la_SOURCES += client/c.cc
libhyperdex_client_la_SOURCES += client/client.cc
libhyperdex_client_la_SOURCES += client/datastructures.cc
libhyperdex_client_la_SOURCES += client/keyop_info.cc
libhyperdex_client_la_SOURCES += client/pending_aggregation.cc
libhyperdex_client_la_SOURCES += client/pending_atomic.cc
libhyperdex_client_la_SOURCES += client/pending_group_atomic.cc
libhyperdex_client_la_SOURCES += client/pending.cc
libhyperdex_client_la_SOURCES += client/pending_count.cc
libhyperdex_client_la_SOURCES += client/pending_get.cc
libhyperdex_client_la_SOURCES += client/pending_get_partial.cc
libhyperdex_client_la_SOURCES += client/pending_search.cc
libhyperdex_client_la_SOURCES += client/pending_search_describe.cc
libhyperdex_client_la_SOURCES += client/pending_sorted_search.cc
libhyperdex_client_la_SOURCES += client/util.cc
libhyperdex_client_la_LIBADD =
libhyperdex_client_la_LIBADD += $(TREADSTONE_LIBS)
libhyperdex_client_la_LIBADD += $(MACAROONS_LIBS)
libhyperdex_client_la_LIBADD += $(REPLICANT_LIBS)
libhyperdex_client_la_LIBADD += $(BUSYBEE_LIBS)
libhyperdex_client_la_LIBADD += $(E_LIBS)
libhyperdex_client_la_LIBADD += -lrt -lpthread
libhyperdex_client_la_LDFLAGS = -version-info 1:0:0
client/keyop_info.cc: client/keyop_info.gperf client/keyop_info.h
$(gperf_verbose)gperf -m 100 $(abs_top_srcdir)/client/keyop_info.gperf --output-file=$(abs_top_builddir)/client/keyop_info.cc
check_PROGRAMS += client/test/datastructures
TESTS += client/test/datastructures
client_test_datastructures_SOURCES = client/test/datastructures.cc $(th_sources)
client_test_datastructures_LDADD = libhyperdex-client.la
################################################################################
##################################### Admin ####################################
################################################################################
if ENABLE_ADMIN
lib_LTLIBRARIES += libhyperdex-admin.la
BUILT_SOURCES += admin/parse_space_y.h
hyperdexheader_HEADERS += include/hyperdex/admin.h
hyperdexheader_HEADERS += include/hyperdex/admin.hpp
hyperdexheader_HEADERS += include/hyperdex/hyperspace_builder.h
pkgconfig_DATA += hyperdex-admin.pc
endif
noinst_HEADERS += include/hyperdex/admin.h
noinst_HEADERS += include/hyperdex/admin.hpp
noinst_HEADERS += include/hyperdex/hyperspace_builder.h
noinst_HEADERS += admin/admin.h
noinst_HEADERS += admin/backup_state_machine.h
noinst_HEADERS += admin/constants.h
noinst_HEADERS += admin/coord_rpc.h
noinst_HEADERS += admin/coord_rpc_backup.h
noinst_HEADERS += admin/coord_rpc_generic.h
noinst_HEADERS += admin/hyperspace_builder_internal.h
noinst_HEADERS += admin/multi_yieldable.h
noinst_HEADERS += admin/partition.h
noinst_HEADERS += admin/pending.h
noinst_HEADERS += admin/pending_perf_counters.h
noinst_HEADERS += admin/pending_raw_backup.h
noinst_HEADERS += admin/pending_string.h
noinst_HEADERS += admin/yieldable.h
libhyperdex_admin_la_SOURCES =
libhyperdex_admin_la_SOURCES += common/attribute.cc
libhyperdex_admin_la_SOURCES += common/attribute_check.cc
libhyperdex_admin_la_SOURCES += common/configuration.cc
libhyperdex_admin_la_SOURCES += common/datatype_document.cc
libhyperdex_admin_la_SOURCES += common/datatype_float.cc
libhyperdex_admin_la_SOURCES += common/datatype_info.cc
libhyperdex_admin_la_SOURCES += common/datatype_int64.cc
libhyperdex_admin_la_SOURCES += common/datatype_list.cc
libhyperdex_admin_la_SOURCES += common/datatype_macaroon_secret.cc
libhyperdex_admin_la_SOURCES += common/datatype_map.cc
libhyperdex_admin_la_SOURCES += common/datatype_set.cc
libhyperdex_admin_la_SOURCES += common/datatype_timestamp.cc
libhyperdex_admin_la_SOURCES += common/datatype_string.cc
libhyperdex_admin_la_SOURCES += common/documents.cc
libhyperdex_admin_la_SOURCES += common/hash.cc
libhyperdex_admin_la_SOURCES += common/hyperdex.cc
libhyperdex_admin_la_SOURCES += common/hyperspace.cc
libhyperdex_admin_la_SOURCES += common/ids.cc
libhyperdex_admin_la_SOURCES += common/index.cc
libhyperdex_admin_la_SOURCES += common/mapper.cc
libhyperdex_admin_la_SOURCES += common/network_msgtype.cc
libhyperdex_admin_la_SOURCES += common/ordered_encoding.cc
libhyperdex_admin_la_SOURCES += common/range.cc
libhyperdex_admin_la_SOURCES += common/range_searches.cc
libhyperdex_admin_la_SOURCES += common/regex_match.cc
libhyperdex_admin_la_SOURCES += common/schema.cc
libhyperdex_admin_la_SOURCES += common/serialization.cc
libhyperdex_admin_la_SOURCES += common/server.cc
libhyperdex_admin_la_SOURCES += common/transfer.cc
libhyperdex_admin_la_SOURCES += cityhash/city.cc
libhyperdex_admin_la_SOURCES += admin/admin.cc
libhyperdex_admin_la_SOURCES += admin/backup_state_machine.cc
libhyperdex_admin_la_SOURCES += admin/c.cc
libhyperdex_admin_la_SOURCES += admin/coord_rpc.cc
libhyperdex_admin_la_SOURCES += admin/coord_rpc_backup.cc
libhyperdex_admin_la_SOURCES += admin/coord_rpc_generic.cc
libhyperdex_admin_la_SOURCES += admin/hyperspace_builder.cc
libhyperdex_admin_la_SOURCES += admin/multi_yieldable.cc
libhyperdex_admin_la_SOURCES += admin/parse_space_l.l
libhyperdex_admin_la_SOURCES += admin/parse_space_y.y
libhyperdex_admin_la_SOURCES += admin/partition.cc
libhyperdex_admin_la_SOURCES += admin/pending.cc
libhyperdex_admin_la_SOURCES += admin/pending_perf_counters.cc
libhyperdex_admin_la_SOURCES += admin/pending_raw_backup.cc
libhyperdex_admin_la_SOURCES += admin/pending_string.cc
libhyperdex_admin_la_SOURCES += admin/raw_backup.cc
libhyperdex_admin_la_SOURCES += admin/yieldable.cc
libhyperdex_admin_la_LIBADD =
libhyperdex_admin_la_LIBADD += $(TREADSTONE_LIBS)
libhyperdex_admin_la_LIBADD += $(MACAROONS_LIBS)
libhyperdex_admin_la_LIBADD += $(REPLICANT_LIBS)
libhyperdex_admin_la_LIBADD += $(BUSYBEE_LIBS)
libhyperdex_admin_la_LIBADD += $(E_LIBS)
libhyperdex_admin_la_LIBADD += $(PO6_LIBS)
libhyperdex_admin_la_LIBADD += -lrt -lpthread
libhyperdex_admin_la_LDFLAGS = -version-info 1:0:0
################################################################################
################################### Bindings ###################################
################################################################################
####################################### C ######################################
if ENABLE_CLIENT
noinst_PROGRAMS += bindings/c/client_testcompile
endif
if ENABLE_ADMIN
noinst_PROGRAMS += bindings/c/admin_testcompile
endif
EXTRA_DIST += bindings/c.py
bindings_c_client_testcompile_SOURCES = bindings/c/client-testcompile.c
bindings_c_client_testcompile_LDADD = libhyperdex-client.la
bindings_c_admin_testcompile_SOURCES = bindings/c/admin-testcompile.c
bindings_c_admin_testcompile_LDADD = libhyperdex-admin.la
###################################### C++ #####################################
if ENABLE_CLIENT
noinst_PROGRAMS += bindings/cc/client_testcompile
endif
if ENABLE_ADMIN
noinst_PROGRAMS += bindings/cc/admin_testcompile
endif
bindings_cc_client_testcompile_SOURCES = bindings/cc/client-testcompile.cc
bindings_cc_client_testcompile_LDADD = libhyperdex-client.la
bindings_cc_admin_testcompile_SOURCES = bindings/cc/admin-testcompile.cc
bindings_cc_admin_testcompile_LDADD = libhyperdex-admin.la
###################################### Go ######################################
EXTRA_DIST += bindings/go/admin_api.go
EXTRA_DIST += bindings/go/admin_test.go
EXTRA_DIST += bindings/go/client
EXTRA_DIST += bindings/go/client/client.go
EXTRA_DIST += bindings/go/hypergo.go
##################################### Java #####################################
hyperdex_client_jarfile = bindings/java/org.hyperdex.client-$(VERSION).jar
hyperdex_ycsb_jarfile = bindings/java/org.hyperdex.ycsb-$(VERSION).jar
if ENABLE_JAVA_BINDINGS
if ENABLE_CLIENT
lib_LTLIBRARIES += libhyperdex-client-java.la
jar_DATA += $(hyperdex_client_jarfile)
endif
if ENABLE_YCSB
jar_DATA += $(hyperdex_ycsb_jarfile)
endif
endif
CLEANFILES += $(hyperdex_client_jarfile)
CLEANFILES += $(hyperdex_ycsb_jarfile)
CLEANFILES += bindings/java/org/hyperdex/client/*.class
CLEANFILES += test/java/*.class
EXTRA_DIST += bindings/java.py
EXTRA_DIST += bindings/java/org/hyperdex/client/ByteString.java
EXTRA_DIST += bindings/java/org_hyperdex_client_Client.definitions.c
EXTRA_DIST += bindings/java/org/hyperdex/client/Client.java
EXTRA_DIST += bindings/java/org/hyperdex/client/Document.java
EXTRA_DIST += bindings/java/org/hyperdex/client/Deferred.java
EXTRA_DIST += bindings/java/org/hyperdex/client/GreaterEqual.java
EXTRA_DIST += bindings/java/org/hyperdex/client/GreaterThan.java
EXTRA_DIST += bindings/java/org/hyperdex/client/HyperDexClientException.java
EXTRA_DIST += bindings/java/org/hyperdex/client/Iterator.java
EXTRA_DIST += bindings/java/org/hyperdex/client/LengthEquals.java
EXTRA_DIST += bindings/java/org/hyperdex/client/LengthGreaterEqual.java
EXTRA_DIST += bindings/java/org/hyperdex/client/LengthLessEqual.java
EXTRA_DIST += bindings/java/org/hyperdex/client/LessEqual.java
EXTRA_DIST += bindings/java/org/hyperdex/client/LessThan.java
#EXTRA_DIST += bindings/java/org/hyperdex/client/Microtransaction.java
#EXTRA_DIST += bindings/java/org_hyperdex_client_Microtransaction.definitions.c
EXTRA_DIST += bindings/java/org/hyperdex/client/Operation.java
EXTRA_DIST += bindings/java/org/hyperdex/client/Predicate.java
EXTRA_DIST += bindings/java/org/hyperdex/client/Range.java
EXTRA_DIST += bindings/java/org/hyperdex/client/Regex.java
EXTRA_DIST += bindings/java/org/hyperdex/ycsb/HyperDex.java
EXTRA_DIST += test/java/.exists
# Client
noinst_HEADERS += bindings/java/client-util.h
noinst_HEADERS += bindings/java/org_hyperdex_client_Client.h
noinst_HEADERS += bindings/java/org_hyperdex_client_Deferred.h
noinst_HEADERS += bindings/java/org_hyperdex_client_GreaterEqual.h
noinst_HEADERS += bindings/java/org_hyperdex_client_GreaterThan.h
noinst_HEADERS += bindings/java/org_hyperdex_client_Iterator.h
noinst_HEADERS += bindings/java/org_hyperdex_client_LengthEquals.h
noinst_HEADERS += bindings/java/org_hyperdex_client_LengthGreaterEqual.h
noinst_HEADERS += bindings/java/org_hyperdex_client_LengthLessEqual.h
noinst_HEADERS += bindings/java/org_hyperdex_client_LessEqual.h
noinst_HEADERS += bindings/java/org_hyperdex_client_LessThan.h
#noinst_HEADERS += bindings/java/org_hyperdex_client_Microtransaction.h
noinst_HEADERS += bindings/java/org_hyperdex_client_Range.h
noinst_HEADERS += bindings/java/org_hyperdex_client_Regex.h
libhyperdex_client_java_la_SOURCES =
#libhyperdex_client_java_la_SOURCES += bindings/java/org_hyperdex_client_Microtransaction.c
libhyperdex_client_java_la_SOURCES += bindings/java/org_hyperdex_client_Client.c
libhyperdex_client_java_la_CPPFLAGS = $(JNI_CPPFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS)
libhyperdex_client_java_la_CFLAGS = $(AM_CFLAGS) $(CFLAGS) -Wmissing-prototypes
libhyperdex_client_java_la_LIBADD = libhyperdex-client.la
JAVA_SRC_BASE=${abs_top_srcdir}/bindings/java
JAVA_BUILD_BASE=${abs_top_builddir}/bindings/java
JAVA_SRC_PKG=${JAVA_SRC_BASE}/org/hyperdex
JAVA_BUILD_PKG=${JAVA_BUILD_BASE}/org/hyperdex
$(hyperdex_client_jarfile): $(wildcard ${JAVA_SRC_PKG}/client/*.java)
javac -d ${JAVA_BUILD_BASE} ${JAVA_SRC_PKG}/client/*.java
cd ${JAVA_BUILD_BASE} && $(JAR) cvf $(JARFLAGS) ${abs_top_builddir}/${hyperdex_client_jarfile} org/hyperdex/client/*.class
# YCSB
$(hyperdex_ycsb_jarfile): ${JAVA_SRC_PKG}/ycsb/HyperDex.java $(hyperdex_client_jarfile)
javac -d ${JAVA_BUILD_BASE} ${JAVA_SRC_PKG}/client/*.java
javac -cp $(abs_top_builddir)/$(hyperdex_client_jarfile):$(CLASSPATH) -d ${JAVA_BUILD_BASE} ${JAVA_SRC_PKG}/ycsb/*.java
cd ${JAVA_BUILD_BASE} && $(JAR) cvf $(JARFLAGS) ${abs_top_builddir}/${hyperdex_ycsb_jarfile} org/hyperdex/ycsb/*.class
#################################### node.js ###################################
EXTRA_DIST += bindings/nodejs.py
EXTRA_DIST += bindings/node.js/binding.gyp
EXTRA_DIST += bindings/node.js/client.cc
EXTRA_DIST += bindings/node.js/client.declarations.cc
EXTRA_DIST += bindings/node.js/client.definitions.cc
EXTRA_DIST += bindings/node.js/client.prototypes.cc
#################################### Python ####################################
if ENABLE_PYTHON_BINDINGS
pkgpyexec_DATA += bindings/python/hyperdex/__init__.py
pkgpyexec_DATA += bindings/python/hyperdex/mongo.py
if ENABLE_CLIENT
pkgpyexec_LTLIBRARIES += bindings/python/hyperdex/client.la
endif
if ENABLE_ADMIN
pkgpyexec_LTLIBRARIES += bindings/python/hyperdex/admin.la
endif
endif
CLEANFILES += bindings/python/hyperdex/admin.so
CLEANFILES += bindings/python/hyperdex/client.so
CLEANFILES += bindings/python/hyperdex/*.pyc
EXTRA_DIST += bindings/python.py
EXTRA_DIST += bindings/python/hyperdex/__init__.py
EXTRA_DIST += bindings/python/hyperdex/mongo.py
EXTRA_DIST += bindings/python/hyperdex/client.pyx
bindings_python_hyperdex_client_la_SOURCES = bindings/python/hyperdex/client.c
bindings_python_hyperdex_client_la_CPPFLAGS =
bindings_python_hyperdex_client_la_CPPFLAGS += $(PYTHON_CPPFLAGS)
bindings_python_hyperdex_client_la_CPPFLAGS += $(AM_CPPFLAGS)
bindings_python_hyperdex_client_la_CPPFLAGS += $(CPPFLAGS)
bindings_python_hyperdex_client_la_CFLAGS =
bindings_python_hyperdex_client_la_CFLAGS += -fvisibility=default
bindings_python_hyperdex_client_la_CFLAGS += $(CFLAGS)
bindings_python_hyperdex_client_la_LIBADD =
bindings_python_hyperdex_client_la_LIBADD += libhyperdex-client.la
bindings_python_hyperdex_client_la_LIBADD += $(PYTHON_LDFLAGS)
bindings_python_hyperdex_client_la_LDFLAGS = -module -avoid-version -export-symbols-regex $(PYTHON_SYMBOL)client $(AM_LDFLAGS) $(LDFLAGS)
bindings/python/hyperdex/client.c: bindings/python/hyperdex/client.pyx
$(pyx_verbose)cython bindings/python/hyperdex/client.pyx
bindings/python/hyperdex/client.so: bindings/python/hyperdex/client.la
$(LN_S) -f ${abs_top_builddir}/bindings/python/hyperdex/.libs/client.so $@
EXTRA_DIST += bindings/python/hyperdex/admin.pyx
bindings_python_hyperdex_admin_la_SOURCES = bindings/python/hyperdex/admin.c
bindings_python_hyperdex_admin_la_CPPFLAGS =
bindings_python_hyperdex_admin_la_CPPFLAGS += $(PYTHON_CPPFLAGS)
bindings_python_hyperdex_admin_la_CPPFLAGS += $(AM_CPPFLAGS)
bindings_python_hyperdex_admin_la_CPPFLAGS += $(CPPFLAGS)
bindings_python_hyperdex_admin_la_CFLAGS =
bindings_python_hyperdex_admin_la_CFLAGS += -fvisibility=default
bindings_python_hyperdex_admin_la_CFLAGS += $(CFLAGS)
bindings_python_hyperdex_admin_la_LIBADD =
bindings_python_hyperdex_admin_la_LIBADD += libhyperdex-admin.la
bindings_python_hyperdex_admin_la_LIBADD += $(PYTHON_LDFLAGS)
bindings_python_hyperdex_admin_la_LDFLAGS = -module -avoid-version -export-symbols-regex $(PYTHON_SYMBOL)admin $(AM_LDFLAGS) $(LDFLAGS)
bindings/python/hyperdex/admin.c: bindings/python/hyperdex/admin.pyx
$(pyx_verbose)cython bindings/python/hyperdex/admin.pyx
bindings/python/hyperdex/admin.so: bindings/python/hyperdex/admin.la
$(LN_S) -f ${abs_top_builddir}/bindings/python/hyperdex/.libs/admin.so $@
link-python: bindings/python/hyperdex/client.so bindings/python/hyperdex/admin.so
##################################### Ruby #####################################
if ENABLE_RUBY_BINDINGS
rubyexec_LTLIBRARIES += bindings/ruby/hyperdex.la
endif
EXTRA_DIST += bindings/ruby.py
EXTRA_DIST += bindings/ruby/definitions.c
EXTRA_DIST += bindings/ruby/prototypes.c
bindings_ruby_hyperdex_la_SOURCES = bindings/ruby/hyperdex.c
bindings_ruby_hyperdex_la_CPPFLAGS =
bindings_ruby_hyperdex_la_CPPFLAGS += -I$(RUBY_EXT_INC)
bindings_ruby_hyperdex_la_CPPFLAGS += -I$(RUBY_EXT_INC)/ruby
bindings_ruby_hyperdex_la_CPPFLAGS += -I$(RUBY_EXT_ARCHINC)
bindings_ruby_hyperdex_la_CPPFLAGS += -I$(RUBY_EXT_ARCHINC)/ruby
bindings_ruby_hyperdex_la_CPPFLAGS += $(RUBY_EXT_CPPFLAGS)
bindings_ruby_hyperdex_la_CPPFLAGS += $(AM_CPPFLAGS)
bindings_ruby_hyperdex_la_CPPFLAGS += $(CPPFLAGS)
bindings_ruby_hyperdex_la_CFLAGS =
bindings_ruby_hyperdex_la_CFLAGS += $(AM_CFLAGS)
bindings_ruby_hyperdex_la_CFLAGS += $(CFLAGS)
bindings_ruby_hyperdex_la_LDFLAGS = -module -avoid-version $(AM_LDFLAGS) $(LDFLAGS)
bindings_ruby_hyperdex_la_LIBADD = $(RUBY_EXT_LDFLAGS)
if ENABLE_CLIENT
bindings_ruby_hyperdex_la_SOURCES += bindings/ruby/client.c
bindings_ruby_hyperdex_la_CFLAGS += -DHYPERDEX_CLIENT
bindings_ruby_hyperdex_la_LIBADD += libhyperdex-client.la
endif
if ENABLE_ADMIN
bindings_ruby_hyperdex_la_SOURCES += bindings/ruby/admin.c
bindings_ruby_hyperdex_la_CFLAGS += -DHYPERDEX_ADMIN
bindings_ruby_hyperdex_la_LIBADD += libhyperdex-admin.la
endif
################################################################################
##################################### Tests ####################################
################################################################################
check_PROGRAMS += test/replication-stress-test
check_PROGRAMS += test/search-stress-test
check_PROGRAMS += test/simple-consistency-stress-test
EXTRA_DIST += test/env.sh
EXTRA_DIST += test/runner.py
EXTRA_DIST += test/add-space
EXTRA_DIST += test/gremlin/1-node-cluster
EXTRA_DIST += test/gremlin/1-node-cluster-no-mt
EXTRA_DIST += test/gremlin/4-node-cluster
EXTRA_DIST += test/gremlin/4-node-cluster-no-mt
EXTRA_DIST += test/gremlin/5-node-cluster
EXTRA_DIST += test/gremlin/5-node-cluster-no-mt
doctest_gremlins =
doctest_gremlins += test/gremlin/doc.quick-start
doctest_gremlins += test/gremlin/doc.data-types
doctest_gremlins += test/gremlin/doc.async-ops
doctest_gremlins += test/gremlin/doc.atomic-ops
doctest_gremlins += test/gremlin/doc.documents
doctest_gremlins += test/gremlin/doc.authorization
EXTRA_DIST += $(doctest_gremlins)
EXTRA_DIST += test/doc.async-ops.py
EXTRA_DIST += test/doc.atomic-ops.py
EXTRA_DIST += test/doc.authorization.py
EXTRA_DIST += test/doc.data-types.py
EXTRA_DIST += test/doc.documents.py
EXTRA_DIST += test/doc-extract.py
EXTRA_DIST += test/doc.mongo.py
EXTRA_DIST += test/doc.quick-start.py
EXTRA_DIST += test/doctest-runner.py
# Begin Automatically Generated Gremlins
python_gremlins =
python_gremlins += test/gremlin/bindings.python.Basic
python_gremlins += test/gremlin/bindings.python.CondPut
python_gremlins += test/gremlin/bindings.python.MultiAttribute
python_gremlins += test/gremlin/bindings.python.DataTypeString
python_gremlins += test/gremlin/bindings.python.DataTypeInt
python_gremlins += test/gremlin/bindings.python.DataTypeFloat
python_gremlins += test/gremlin/bindings.python.DataTypeListString
python_gremlins += test/gremlin/bindings.python.DataTypeListInt
python_gremlins += test/gremlin/bindings.python.DataTypeListFloat
python_gremlins += test/gremlin/bindings.python.DataTypeSetString
python_gremlins += test/gremlin/bindings.python.DataTypeSetInt
python_gremlins += test/gremlin/bindings.python.DataTypeSetFloat
python_gremlins += test/gremlin/bindings.python.DataTypeMapStringString
python_gremlins += test/gremlin/bindings.python.DataTypeMapStringInt
python_gremlins += test/gremlin/bindings.python.DataTypeMapStringFloat
python_gremlins += test/gremlin/bindings.python.DataTypeMapIntString
python_gremlins += test/gremlin/bindings.python.DataTypeMapIntInt
python_gremlins += test/gremlin/bindings.python.DataTypeMapIntFloat
python_gremlins += test/gremlin/bindings.python.DataTypeMapFloatString
python_gremlins += test/gremlin/bindings.python.DataTypeMapFloatInt
python_gremlins += test/gremlin/bindings.python.DataTypeMapFloatFloat
python_gremlins += test/gremlin/bindings.python.BasicSearch
python_gremlins += test/gremlin/bindings.python.RangeSearchString
python_gremlins += test/gremlin/bindings.python.RangeSearchInt
python_gremlins += test/gremlin/bindings.python.RegexSearch
python_gremlins += test/gremlin/bindings.python.LengthString
EXTRA_DIST += $(python_gremlins)
EXTRA_DIST += test/python/Basic.py
EXTRA_DIST += test/python/CondPut.py
EXTRA_DIST += test/python/MultiAttribute.py
EXTRA_DIST += test/python/DataTypeString.py
EXTRA_DIST += test/python/DataTypeInt.py
EXTRA_DIST += test/python/DataTypeFloat.py
EXTRA_DIST += test/python/DataTypeListString.py
EXTRA_DIST += test/python/DataTypeListInt.py
EXTRA_DIST += test/python/DataTypeListFloat.py
EXTRA_DIST += test/python/DataTypeSetString.py
EXTRA_DIST += test/python/DataTypeSetInt.py
EXTRA_DIST += test/python/DataTypeSetFloat.py
EXTRA_DIST += test/python/DataTypeMapStringString.py
EXTRA_DIST += test/python/DataTypeMapStringInt.py
EXTRA_DIST += test/python/DataTypeMapStringFloat.py
EXTRA_DIST += test/python/DataTypeMapIntString.py
EXTRA_DIST += test/python/DataTypeMapIntInt.py
EXTRA_DIST += test/python/DataTypeMapIntFloat.py
EXTRA_DIST += test/python/DataTypeMapFloatString.py
EXTRA_DIST += test/python/DataTypeMapFloatInt.py
EXTRA_DIST += test/python/DataTypeMapFloatFloat.py
EXTRA_DIST += test/python/BasicSearch.py
EXTRA_DIST += test/python/RangeSearchString.py
EXTRA_DIST += test/python/RangeSearchInt.py
EXTRA_DIST += test/python/RegexSearch.py
EXTRA_DIST += test/python/LengthString.py
ruby_gremlins =
ruby_gremlins += test/gremlin/bindings.ruby.Basic
ruby_gremlins += test/gremlin/bindings.ruby.CondPut
ruby_gremlins += test/gremlin/bindings.ruby.MultiAttribute
ruby_gremlins += test/gremlin/bindings.ruby.DataTypeString
ruby_gremlins += test/gremlin/bindings.ruby.DataTypeInt
ruby_gremlins += test/gremlin/bindings.ruby.DataTypeFloat
ruby_gremlins += test/gremlin/bindings.ruby.DataTypeListString
ruby_gremlins += test/gremlin/bindings.ruby.DataTypeListInt
ruby_gremlins += test/gremlin/bindings.ruby.DataTypeListFloat
ruby_gremlins += test/gremlin/bindings.ruby.DataTypeSetString
ruby_gremlins += test/gremlin/bindings.ruby.DataTypeSetInt
ruby_gremlins += test/gremlin/bindings.ruby.DataTypeSetFloat
ruby_gremlins += test/gremlin/bindings.ruby.DataTypeMapStringString
ruby_gremlins += test/gremlin/bindings.ruby.DataTypeMapStringInt
ruby_gremlins += test/gremlin/bindings.ruby.DataTypeMapStringFloat
ruby_gremlins += test/gremlin/bindings.ruby.DataTypeMapIntString
ruby_gremlins += test/gremlin/bindings.ruby.DataTypeMapIntInt
ruby_gremlins += test/gremlin/bindings.ruby.DataTypeMapIntFloat
ruby_gremlins += test/gremlin/bindings.ruby.DataTypeMapFloatString
ruby_gremlins += test/gremlin/bindings.ruby.DataTypeMapFloatInt
ruby_gremlins += test/gremlin/bindings.ruby.DataTypeMapFloatFloat
ruby_gremlins += test/gremlin/bindings.ruby.BasicSearch
ruby_gremlins += test/gremlin/bindings.ruby.RangeSearchString
ruby_gremlins += test/gremlin/bindings.ruby.RangeSearchInt
ruby_gremlins += test/gremlin/bindings.ruby.RegexSearch
ruby_gremlins += test/gremlin/bindings.ruby.LengthString
EXTRA_DIST += $(ruby_gremlins)
EXTRA_DIST += test/ruby/Basic.rb
EXTRA_DIST += test/ruby/CondPut.rb
EXTRA_DIST += test/ruby/MultiAttribute.rb
EXTRA_DIST += test/ruby/DataTypeString.rb
EXTRA_DIST += test/ruby/DataTypeInt.rb
EXTRA_DIST += test/ruby/DataTypeFloat.rb
EXTRA_DIST += test/ruby/DataTypeListString.rb
EXTRA_DIST += test/ruby/DataTypeListInt.rb
EXTRA_DIST += test/ruby/DataTypeListFloat.rb
EXTRA_DIST += test/ruby/DataTypeSetString.rb
EXTRA_DIST += test/ruby/DataTypeSetInt.rb
EXTRA_DIST += test/ruby/DataTypeSetFloat.rb
EXTRA_DIST += test/ruby/DataTypeMapStringString.rb
EXTRA_DIST += test/ruby/DataTypeMapStringInt.rb
EXTRA_DIST += test/ruby/DataTypeMapStringFloat.rb
EXTRA_DIST += test/ruby/DataTypeMapIntString.rb
EXTRA_DIST += test/ruby/DataTypeMapIntInt.rb
EXTRA_DIST += test/ruby/DataTypeMapIntFloat.rb
EXTRA_DIST += test/ruby/DataTypeMapFloatString.rb
EXTRA_DIST += test/ruby/DataTypeMapFloatInt.rb
EXTRA_DIST += test/ruby/DataTypeMapFloatFloat.rb
EXTRA_DIST += test/ruby/BasicSearch.rb
EXTRA_DIST += test/ruby/RangeSearchString.rb
EXTRA_DIST += test/ruby/RangeSearchInt.rb
EXTRA_DIST += test/ruby/RegexSearch.rb
EXTRA_DIST += test/ruby/LengthString.rb
java_gremlins =
java_gremlins += test/gremlin/bindings.java.Basic
java_gremlins += test/gremlin/bindings.java.CondPut
java_gremlins += test/gremlin/bindings.java.MultiAttribute
java_gremlins += test/gremlin/bindings.java.DataTypeString
java_gremlins += test/gremlin/bindings.java.DataTypeInt
java_gremlins += test/gremlin/bindings.java.DataTypeFloat
java_gremlins += test/gremlin/bindings.java.DataTypeListString
java_gremlins += test/gremlin/bindings.java.DataTypeListInt
java_gremlins += test/gremlin/bindings.java.DataTypeListFloat
java_gremlins += test/gremlin/bindings.java.DataTypeSetString
java_gremlins += test/gremlin/bindings.java.DataTypeSetInt
java_gremlins += test/gremlin/bindings.java.DataTypeSetFloat
java_gremlins += test/gremlin/bindings.java.DataTypeMapStringString
java_gremlins += test/gremlin/bindings.java.DataTypeMapStringInt
java_gremlins += test/gremlin/bindings.java.DataTypeMapStringFloat
java_gremlins += test/gremlin/bindings.java.DataTypeMapIntString
java_gremlins += test/gremlin/bindings.java.DataTypeMapIntInt
java_gremlins += test/gremlin/bindings.java.DataTypeMapIntFloat
java_gremlins += test/gremlin/bindings.java.DataTypeMapFloatString
java_gremlins += test/gremlin/bindings.java.DataTypeMapFloatInt
java_gremlins += test/gremlin/bindings.java.DataTypeMapFloatFloat
java_gremlins += test/gremlin/bindings.java.BasicSearch
java_gremlins += test/gremlin/bindings.java.RangeSearchString
java_gremlins += test/gremlin/bindings.java.RangeSearchInt
java_gremlins += test/gremlin/bindings.java.RegexSearch
java_gremlins += test/gremlin/bindings.java.LengthString
EXTRA_DIST += $(java_gremlins)
EXTRA_DIST += test/java/Basic.java
EXTRA_DIST += test/java/CondPut.java
EXTRA_DIST += test/java/MultiAttribute.java
EXTRA_DIST += test/java/DataTypeString.java
EXTRA_DIST += test/java/DataTypeInt.java
EXTRA_DIST += test/java/DataTypeFloat.java
EXTRA_DIST += test/java/DataTypeListString.java
EXTRA_DIST += test/java/DataTypeListInt.java
EXTRA_DIST += test/java/DataTypeListFloat.java
EXTRA_DIST += test/java/DataTypeSetString.java
EXTRA_DIST += test/java/DataTypeSetInt.java
EXTRA_DIST += test/java/DataTypeSetFloat.java
EXTRA_DIST += test/java/DataTypeMapStringString.java
EXTRA_DIST += test/java/DataTypeMapStringInt.java
EXTRA_DIST += test/java/DataTypeMapStringFloat.java
EXTRA_DIST += test/java/DataTypeMapIntString.java
EXTRA_DIST += test/java/DataTypeMapIntInt.java
EXTRA_DIST += test/java/DataTypeMapIntFloat.java
EXTRA_DIST += test/java/DataTypeMapFloatString.java
EXTRA_DIST += test/java/DataTypeMapFloatInt.java
EXTRA_DIST += test/java/DataTypeMapFloatFloat.java
EXTRA_DIST += test/java/BasicSearch.java
EXTRA_DIST += test/java/RangeSearchString.java
EXTRA_DIST += test/java/RangeSearchInt.java
EXTRA_DIST += test/java/RegexSearch.java
EXTRA_DIST += test/java/LengthString.java
go_gremlins =
go_gremlins += test/gremlin/bindings.go.Basic
go_gremlins += test/gremlin/bindings.go.CondPut