forked from estraier/tkrzw
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.in
1000 lines (899 loc) · 52.1 KB
/
Makefile.in
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
# Makefile for Tkrzw
#================================================================
# Setting Variables
#================================================================
# Generic settings
SHELL := @SHELL@
# Package information
PACKAGE := @PACKAGE_NAME@
PACKAGE_TARNAME := @PACKAGE_TARNAME@
VERSION := @PACKAGE_VERSION@
PACKAGEDIR := $(PACKAGE)-$(VERSION)
PACKAGETGZ := $(PACKAGE)-$(VERSION).tar.gz
LIBVER := @MYLIBVER@
LIBREV := @MYLIBREV@
LIBFMT := @MYLIBFMT@
# Targets
VPATH := .:..
HEADERFILES := @MYHEADERFILES@
LIBRARYFILES := @MYLIBRARYFILES@
LIBOBJFILES := @MYLIBOBJFILES@
COMMANDFILES := @MYCOMMANDFILES@
TESTFILES := @MYTESTFILES@
PCFILES := @MYPCFILES@
# Install destinations
prefix := @prefix@
exec_prefix := @exec_prefix@
datarootdir := @datarootdir@
INCLUDEDIR := @includedir@
LIBDIR := @libdir@
BINDIR := @bindir@
LIBEXECDIR := @libexecdir@
PCDIR := @libdir@/pkgconfig
DESTDIR :=
# Building configuration
CC := @CC@
CXX := @CXX@
CPPFLAGS := @MYCPPFLAGS@ \
-D_TKRZW_PREFIX="\"$(prefix)\"" -D_TKRZW_INCLUDEDIR="\"$(INCLUDEDIR)\"" \
-D_TKRZW_LIBDIR="\"$(LIBDIR)\"" -D_TKRZW_BINDIR="\"$(BINDIR)\"" \
-D_TKRZW_LIBEXECDIR="\"$(LIBEXECDIR)\"" \
-D_TKRZW_APPINC="\"-I$(INCLUDEDIR)\"" -D_TKRZW_APPLIBS="\"-L$(LIBDIR) @MYCMDLIBS@ @LIBS@\"" \
-D_TKRZW_PKG_VERSION="\"$(VERSION)\"" -D_TKRZW_LIB_VERSION="\"$(LIBVER).$(LIBREV).$(LIBFMT)\""
CFLAGS := @MYCFLAGS@
CXXFLAGS := @MYCXXFLAGS@
LDSOFLAGS := @MYLDSOFLAGS@
LDFLAGS := @MYLDFLAGS@
CMDLDFLAGS := @MYCMDLDFLAGS@
CMDLIBS := @MYCMDLIBS@
TESTLIBS := @MYTESTLIBS@
LIBS := @LIBS@
RUNENV := @MYLDLIBPATHENV@=@MYLDLIBPATH@
FILEPERFDIRECTIOFLAGS=@MYFILEPERFDIRECTIOFLAGS@
DBMPERFDIRECTIOFLAGS=@MYDBMPERFDIRECTIOFLAGS@
FILEPERFMEMLOCKFLAGS=@MYFILEPERFMEMLOCKFLAGS@
DBMPERFMEMLOCKFLAGS=@MYDBMPERFMEMLOCKFLAGS@
DBMPERFRECCOMPFLAGS=@MYDBMPERFRECCOMPFLAGS@
DBMTRANRECCOMPPARAMS=@MYDBMTRANRECCOMPPARAMS@
POSTCMD := @MYPOSTCMD@
#================================================================
# Actions
#================================================================
all : $(LIBRARYFILES) $(COMMANDFILES)
@$(POSTCMD)
@printf '\n'
@printf '#================================================================\n'
@printf '# Ready to install.\n'
@printf '#================================================================\n'
clean :
rm -f $(LIBRARYFILES) $(LIBOBJFILES) $(COMMANDFILES) $(TESTFILES)
rm -f *.o *.d *.gch a.out check.in check.out gmon.out *.log *.vlog \
*.tkh *.tkt *.tks *.flat *~ hoge moge tako ika uni doc/*~
rm -Rf casket*
untabify :
ls *.cc *.h *.c *.idl | while read name ; \
do \
sed -e 's/\t/ /g' -e 's/ *$$//' $$name > $$name~; \
[ -f $$name~ ] && mv -f $$name~ $$name ; \
done
setversion :
ls VCMakefile | while read name ; \
do \
sed -e "s/^PKG_VERSION = .*/PKG_VERSION = $(VERSION)/" \
-e "s/^LIB_VERSION = .*/LIB_VERSION = $(LIBVER).$(LIBREV).$(LIBFMT)/" $$name > $$name~ ; \
[ -f $$name~ ] && mv -f $$name~ $$name ; \
done
install :
mkdir -p $(DESTDIR)$(INCLUDEDIR)
[ ! -f tkrzw_lib_commons.h -a -f ../tkrzw_lib_common.h ] && cd .. ; \
cp -Rf $(HEADERFILES) $(DESTDIR)$(INCLUDEDIR)
mkdir -p $(DESTDIR)$(LIBDIR)
cp -Rf $(LIBRARYFILES) $(DESTDIR)$(LIBDIR)
mkdir -p $(DESTDIR)$(BINDIR)
cp -Rf $(COMMANDFILES) $(DESTDIR)$(BINDIR)
mkdir -p $(DESTDIR)$(PCDIR)
cp -Rf $(PCFILES) $(DESTDIR)$(PCDIR)
@printf '\n'
@printf '#================================================================\n'
@printf '# Thanks for using Tkrzw.\n'
@printf '#================================================================\n'
install-strip :
$(MAKE) DESTDIR=$(DESTDIR) install
cd $(DESTDIR)$(BINDIR) && strip $(COMMANDFILES)
uninstall :
-cd $(DESTDIR)$(INCLUDEDIR) && rm -f $(HEADERFILES)
-cd $(DESTDIR)$(LIBDIR) && rm -f $(LIBRARYFILES)
-cd $(DESTDIR)$(BINDIR) && rm -f $(COMMANDFILES)
-cd $(DESTDIR)$(PCDIR) && rm -f $(PCFILES)
dist :
$(MAKE) untabify
$(MAKE) setversion
$(MAKE) distclean
rm -Rf "../$(PACKAGEDIR)" "../$(PACKAGETGZ)"
cd .. && cp -R tkrzw $(PACKAGEDIR) && \
tar --exclude=".*" -cvf - $(PACKAGEDIR) | gzip -c > $(PACKAGETGZ)
rm -Rf "../$(PACKAGEDIR)"
sync ; sync
distclean : clean apidocclean
[ ! -f example/Makefile ] || cd example && $(MAKE) clean
rm -Rf Makefile tkrzw.pc \
config.cache config.log config.status config.tmp autom4te.cache build
check :
$(MAKE) check-build-util
$(MAKE) check-str-perf
$(MAKE) check-file-perf
$(MAKE) check-hashdbm-perf
$(MAKE) check-hashdbm-util
$(MAKE) check-treedbm-perf
$(MAKE) check-treedbm-util
$(MAKE) check-skipdbm-perf
$(MAKE) check-skipdbm-util
$(MAKE) check-tinydbm-perf
$(MAKE) check-babydbm-perf
$(MAKE) check-cachedbm-perf
$(MAKE) check-stddbm-perf
$(MAKE) check-polydbm-perf
$(MAKE) check-polydbm-util
$(MAKE) check-sharddbm-perf
$(MAKE) check-sharddbm-util
$(MAKE) check-index-perf
$(MAKE) check-tran
$(MAKE) check-langc
rm -Rf casket*
@printf '\n'
@printf '#================================================================\n'
@printf '# Checking completed.\n'
@printf '#================================================================\n'
check-build-util :
rm -Rf casket*
$(RUNENV) $(RUNCMD) ./tkrzw_build_util version
$(RUNENV) $(RUNCMD) ./tkrzw_build_util config
$(RUNENV) $(RUNCMD) ./tkrzw_build_util config -v
$(RUNENV) $(RUNCMD) ./tkrzw_build_util config -i
$(RUNENV) $(RUNCMD) ./tkrzw_build_util config -l
$(RUNENV) $(RUNCMD) ./tkrzw_build_util config -p
check-str-perf :
$(RUNENV) $(RUNCMD) ./tkrzw_str_perf search \
--iter 1000 --text 2000 --pattern 5 --chars 10
$(RUNENV) $(RUNCMD) ./tkrzw_str_perf search \
--iter 1000 --text 2000 --pattern 5 --chars 10 --whole 3
$(RUNENV) $(RUNCMD) ./tkrzw_str_perf search \
--iter 1000 --text 2000 --pattern 5 --chars 10 --batch 3
$(RUNENV) $(RUNCMD) ./tkrzw_str_perf hash --iter 1000 --text 10000
$(RUNENV) $(RUNCMD) ./tkrzw_str_perf hash --iter 100 --text 1000 --error_type random
$(RUNENV) $(RUNCMD) ./tkrzw_str_perf compress --iter 200 --text 500
check-file-perf :
rm -Rf casket*
$(RUNENV) $(RUNCMD) ./tkrzw_file_perf sequence --file std \
--iter 50000 --threads 5 --size 20 casket
$(RUNENV) $(RUNCMD) ./tkrzw_file_perf sequence --file std \
--iter 50000 --threads 5 --size 20 --random casket
$(RUNENV) $(RUNCMD) ./tkrzw_file_perf sequence --file mmap-para \
--iter 50000 --threads 5 --size 20 --append casket
$(RUNENV) $(RUNCMD) ./tkrzw_file_perf wicked --file mmap-para \
--iter 50000 --threads 5 --size 20 casket
$(RUNENV) $(RUNCMD) ./tkrzw_file_perf sequence --file mmap-atom \
--iter 50000 --threads 5 --size 20 casket
$(RUNENV) $(RUNCMD) ./tkrzw_file_perf sequence --file mmap-para \
--iter 50000 --threads 5 --size 20 --alloc_init 1 --alloc_inc 1.2 \
$(FILEPERFMEMLOCKFLAGS) casket
$(RUNENV) $(RUNCMD) ./tkrzw_file_perf sequence --file mmap-para \
--iter 50000 --threads 5 --size 20 --alloc_init 1 --alloc_inc 1.2 --random casket
$(RUNENV) $(RUNCMD) ./tkrzw_file_perf sequence --file mmap-para \
--iter 50000 --threads 5 --size 20 --alloc_init 1 --alloc_inc 1.2 --append casket
$(RUNENV) $(RUNCMD) ./tkrzw_file_perf wicked --file mmap-para \
--iter 50000 --threads 5 --size 20 --alloc_init 1 --alloc_inc 1.2 casket
$(RUNENV) $(RUNCMD) ./tkrzw_file_perf sequence --file mmap-atom \
--iter 50000 --threads 5 --size 20 --alloc_init 1 --alloc_inc 1.2 \
$(FILEPERFMEMLOCKFLAGS) casket
$(RUNENV) $(RUNCMD) ./tkrzw_file_perf sequence --file mmap-atom \
--iter 50000 --threads 5 --size 20 --alloc_init 1 --alloc_inc 1.2 --random casket
$(RUNENV) $(RUNCMD) ./tkrzw_file_perf sequence --file mmap-atom \
--iter 50000 --threads 5 --size 20 --alloc_init 1 --alloc_inc 1.2 --append casket
$(RUNENV) $(RUNCMD) ./tkrzw_file_perf wicked --file mmap-atom \
--iter 50000 --threads 5 --size 20 --alloc_init 1 --alloc_inc 1.2 casket
$(RUNENV) $(RUNCMD) ./tkrzw_file_perf sequence --file pos-para \
--iter 50000 --threads 5 --size 20 --alloc_init 1 --alloc_inc 1.2 casket
$(RUNENV) $(RUNCMD) ./tkrzw_file_perf sequence --file pos-para \
--iter 50000 --threads 5 --size 20 --alloc_init 1 --alloc_inc 1.2 --random casket
$(RUNENV) $(RUNCMD) ./tkrzw_file_perf sequence --file pos-para \
--iter 50000 --threads 5 --size 20 --alloc_init 1 --alloc_inc 1.2 --append casket
$(RUNENV) $(RUNCMD) ./tkrzw_file_perf wicked --file pos-para \
--iter 50000 --threads 5 --size 20 --alloc_init 1 --alloc_inc 1.2 casket
$(RUNENV) $(RUNCMD) ./tkrzw_file_perf sequence --file pos-para \
--iter 5000 --threads 4 --size 512 --block_size 512 $(FILEPERFDIRECTIOFLAGS) \
--padding casket
$(RUNENV) $(RUNCMD) ./tkrzw_file_perf sequence --file pos-para \
--iter 5000 --threads 4 --size 512 --block_size 512 $(FILEPERFDIRECTIOFLAGS) \
--pagecache --padding casket
$(RUNENV) $(RUNCMD) ./tkrzw_file_perf sequence --file pos-para \
--iter 50000 --threads 5 --size 5 --block_size 32 --head_buffer 1000 --random casket
$(RUNENV) $(RUNCMD) ./tkrzw_file_perf sequence --file pos-para \
--iter 50000 --threads 5 --size 5 --block_size 32 --head_buffer 1000 --append casket
$(RUNENV) $(RUNCMD) ./tkrzw_file_perf wicked --file pos-para \
--iter 50000 --threads 5 --size 128 --block_size 128 --head_buffer 8192 casket
$(RUNENV) $(RUNCMD) ./tkrzw_file_perf wicked --file pos-para \
--iter 50000 --threads 5 --size 128 --block_size 128 --pagecache --head_buffer 8192 casket
$(RUNENV) $(RUNCMD) ./tkrzw_file_perf sequence --file pos-atom \
--iter 50000 --threads 5 --size 20 --alloc_init 1 --alloc_inc 1.2 casket
$(RUNENV) $(RUNCMD) ./tkrzw_file_perf sequence --file pos-atom \
--iter 50000 --threads 5 --size 20 --alloc_init 1 --alloc_inc 1.2 --random casket
$(RUNENV) $(RUNCMD) ./tkrzw_file_perf sequence --file pos-atom \
--iter 50000 --threads 5 --size 20 --alloc_init 1 --alloc_inc 1.2 --append casket
$(RUNENV) $(RUNCMD) ./tkrzw_file_perf wicked --file pos-atom \
--iter 50000 --threads 5 --size 20 --alloc_init 1 --alloc_inc 1.2 casket
$(RUNENV) $(RUNCMD) ./tkrzw_file_perf sequence --file pos-atom \
--iter 5000 --threads 4 --size 512 --block_size 512 $(FILEPERFDIRECTIOFLAGS) \
--padding casket
$(RUNENV) $(RUNCMD) ./tkrzw_file_perf sequence --file pos-atom \
--iter 5000 --threads 4 --size 512 --block_size 512 $(FILEPERFDIRECTIOFLAGS) \
--pagecache --padding casket
$(RUNENV) $(RUNCMD) ./tkrzw_file_perf sequence --file pos-atom \
--iter 50000 --threads 5 --size 5 --block_size 32 --head_buffer 1000 --random casket
$(RUNENV) $(RUNCMD) ./tkrzw_file_perf sequence --file pos-atom \
--iter 50000 --threads 5 --size 5 --block_size 32 --head_buffer 1000 --append casket
$(RUNENV) $(RUNCMD) ./tkrzw_file_perf wicked --file pos-atom \
--iter 50000 --threads 5 --size 128 --block_size 128 --head_buffer 8192 casket
$(RUNENV) $(RUNCMD) ./tkrzw_file_perf wicked --file pos-atom \
--iter 50000 --threads 5 --size 128 --block_size 128 --pagecache --head_buffer 8192 casket
check-hashdbm-perf :
rm -Rf casket*
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf sequence --dbm hash --file mmap-para --path casket.tkh \
--iter 20000 --threads 5 --size 8 --buckets 100000 \
$(DBMPERFMEMLOCKFLAGS) $(DBMPERFRECCOMPFLAGS)
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf sequence --dbm hash --file mmap-para --path casket.tkh \
--iter 20000 --threads 5 --size 8 --buckets 100000 \
$(DBMPERFMEMLOCKFLAGS) $(DBMPERFRECCOMPFLAGS) --append --record_crc 8 --validate
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf sequence --dbm hash --file mmap-para --path casket.tkh \
--iter 20000 --threads 5 --size 8 --buckets 100000 --random_key --random_value
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf sequence --dbm hash --file mmap-para --path casket.tkh \
--iter 20000 --threads 5 --size 8 --buckets 100000 --random_key --random_value --append
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf parallel --dbm hash --file mmap-para --path casket.tkh \
--iter 20000 --threads 5 --size 8 --buckets 100000 --random_key --random_value
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf parallel --dbm hash --file mmap-para --path casket.tkh \
--iter 20000 --threads 5 --size 8 --buckets 100000 --random_key --random_value --append
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf parallel --dbm hash --file mmap-para --path casket.tkh \
--iter 100000 --threads 1 --size 8 --buckets 10000 --random_key --random_value --rebuild
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf parallel --dbm hash --file mmap-para --path casket.tkh \
--iter 100000 --threads 1 --size 8 --buckets 10000 \
$(DBMPERFMEMLOCKFLAGS) $(DBMPERFRECCOMPFLAGS) \
--random_key --random_value --keys 10000 --rebuild --append --record_crc 8 --validate
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf parallel --dbm hash --file mmap-para --path casket.tkh \
--iter 10000 --threads 5 --size 8 --buckets 1000 \
$(DBMPERFMEMLOCKFLAGS) $(DBMPERFRECCOMPFLAGS) \
--random_key --random_value --keys 5000 --rebuild --append --record_crc 16 --sleep 0.0001
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf wicked --dbm hash --file mmap-para --path casket.tkh \
--iter 20000 --threads 5 --size 8 --buckets 100000 \
$(DBMPERFMEMLOCKFLAGS) $(DBMPERFRECCOMPFLAGS) \
--iterator --clear --rebuild
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf wicked --dbm hash --file mmap-para --path casket.tkh \
--iter 20000 --threads 5 --size 8 --buckets 100000 \
$(DBMPERFMEMLOCKFLAGS) $(DBMPERFRECCOMPFLAGS) \
--append --record_crc 32 --iterator --clear --rebuild
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf wicked --dbm hash --file pos-para --path casket.tkh \
--block_size 512 $(DBMPERFDIRECTIOFLAGS) --padding \
--iter 5000 --threads 1 --size 100 --buckets 100000 --iterator --clear --rebuild
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf wicked --dbm hash --file pos-atom --path casket.tkh \
--block_size 512 $(DBMPERFDIRECTIOFLAGS) --padding \
--iter 5000 --threads 2 --size 100 --buckets 100000 --iterator --clear --rebuild
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf wicked --dbm hash --file pos-atom --path casket.tkh \
--block_size 512 $(DBMPERFDIRECTIOFLAGS) --padding --pagecache \
--iter 10000 --threads 4 --size 100 --buckets 100000 --iterator --clear --rebuild --validate
check-hashdbm-util :
rm -Rf casket*
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util create --dbm hash --record_crc 8 --buckets 10 casket.tkh
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util set --dbm hash casket.tkh one first
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util set --dbm hash casket.tkh two second
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util set --dbm hash casket.tkh three third
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util set --dbm hash casket.tkh four fourth
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util remove --dbm hash casket.tkh four
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util set --dbm hash casket.tkh five fifth
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util get --dbm hash casket.tkh two
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util export --dbm hash casket.tkh casket.flat
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util create --dbm hash --record_crc 8 --buckets 10 casket-2.tkh
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util import --dbm hash casket-2.tkh casket.flat
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util list --dbm hash casket-2.tkh
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util list --dbm hash --jump three --items 2 casket-2.tkh
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util export --dbm hash --tsv casket.tkh casket.tsv
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util create --dbm hash --record_crc 8 --buckets 10 casket-3.tkh
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util import --dbm hash --tsv casket-3.tkh casket.tsv
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util get --dbm hash casket-3.tkh three
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util rebuild --dbm hash casket.tkh
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util inspect --dbm hash --validate casket.tkh
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util restore --dbm hash casket.tkh casket-new.tkh
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util set --dbm hash casket-new.tkh four fourth
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util get --dbm hash casket-new.tkh one
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util list --dbm hash casket-new.tkh
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util restore --dbm hash casket-new.tkh
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util get --dbm hash casket-new.tkh one
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util inspect --dbm hash --validate casket-new.tkh
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util merge --dbm hash casket-new.tkh casket.tkh
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util create --dbm hash --file pos-para \
--alloc_init 1 --alloc_inc 1.2 --buckets 10 --block_size 8192 --padding \
--truncate casket.tkh
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util set --dbm hash --file pos-para \
--no_wait --alloc_init 1 --alloc_inc 1.2 --block_size 8192 --padding \
casket.tkh tokyo shinjuku
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util rebuild --dbm hash --file pos-para \
--no_lock --alloc_init 1 --alloc_inc 1.2 --block_size 8192 --padding casket.tkh
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util set --dbm hash --file pos-para \
--block_size 8192 --padding casket.tkh saitama tokorozawa
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util set --dbm hash --file pos-para \
--block_size 8192 --padding casket.tkh kanagawa yokohama
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util get --dbm hash --file pos-para \
--block_size 8192 --padding casket.tkh saitama
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util remove --dbm hash --file pos-para \
--block_size 8192 --padding casket.tkh saitama
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util list --dbm hash --file pos-para \
--no_lock --alloc_init 1 --alloc_inc 1.2 --block_size 8192 --padding casket.tkh
check-treedbm-perf :
rm -Rf casket*
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf sequence --dbm tree --file mmap-para --path casket.tkt \
--iter 20000 --threads 5 --size 8 --max_page_size 200 --max_branches 8
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf sequence --dbm tree --file mmap-para --path casket.tkt \
--iter 20000 --threads 5 --size 8 --max_page_size 200 --max_branches 8 --append
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf sequence --dbm tree --file mmap-para --path casket.tkt \
--iter 20000 --threads 5 --size 8 --max_page_size 200 --max_branches 8 \
--random_key --random_value
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf sequence --dbm tree --file mmap-para --path casket.tkt \
--iter 20000 --threads 5 --size 8 --max_page_size 200 --max_branches 8 \
--random_key --random_value --append
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf parallel --dbm tree --file mmap-para --path casket.tkt \
--iter 20000 --threads 5 --size 8 --max_page_size 200 --max_branches 8 \
--random_key --random_value
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf parallel --dbm tree --file mmap-para --path casket.tkt \
--iter 20000 --threads 5 --size 8 --max_page_size 200 --max_branches 8 \
--random_key --random_value --append
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf parallel --dbm tree --file mmap-para --path casket.tkt \
--iter 100000 --threads 1 --size 8 --max_page_size 200 --max_branches 8 \
--random_key --random_value --rebuild
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf parallel --dbm tree --file mmap-para --path casket.tkt \
--iter 100000 --threads 1 --size 8 --max_page_size 200 --max_branches 8 \
--max_cached_pages 256 --random_key --random_value --keys 10000 --rebuild \
--append --record_crc 8 --validate
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf parallel --dbm tree --file mmap-para --path casket.tkt \
--iter 10000 --threads 5 --size 8 --buckets 1000 \
$(DBMPERFMEMLOCKFLAGS) $(DBMPERFRECCOMPFLAGS) \
--max_page_size 200 --max_branches 8 \
--random_key --random_value --keys 5000 --rebuild --append --record_crc 16 --sleep 0.0001
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf wicked --dbm tree --file mmap-para --path casket.tkt \
--iter 20000 --threads 5 --size 8 --max_page_size 200 --max_branches 8 \
--iterator --clear --rebuild
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf wicked --dbm tree --file mmap-para --path casket.tkt \
--iter 20000 --threads 5 --size 8 --max_page_size 200 --max_branches 8 \
--append --iterator --clear --rebuild
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf wicked --dbm tree --file pos-para --path casket.tkt \
--block_size 512 $(DBMPERFDIRECTIOFLAGS) --padding \
--iter 80000 --threads 1 --size 8 --max_page_size 1024 --max_branches 8 \
--append --record_crc 16 --iterator --clear --rebuild
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf wicked --dbm tree --file pos-para --path casket.tkt \
--block_size 512 $(DBMPERFDIRECTIOFLAGS) --padding --pagecache --align_pow 9 \
--iter 40000 --threads 5 --size 8 --max_page_size 1024 --max_branches 8 \
--append --record_crc 32 --iterator --clear --rebuild --validate
check-treedbm-util :
rm -Rf casket*
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util create --dbm tree --record_crc 16 --buckets 10 casket.tkt
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util set --dbm tree casket.tkt one first
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util set --dbm tree casket.tkt two second
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util set --dbm tree casket.tkt three third
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util set --dbm tree casket.tkt four fourth
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util remove --dbm tree casket.tkt four
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util set --dbm tree casket.tkt five fifth
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util get --dbm tree casket.tkt two
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util export --dbm tree casket.tkt casket.flat
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util create --dbm tree --buckets 10 casket-2.tkt
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util import --dbm tree casket-2.tkt casket.flat
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util list --dbm tree casket-2.tkt
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util list --dbm tree --jump three --items 2 casket-2.tkt
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util export --dbm tree --tsv casket.tkt casket.tsv
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util create --dbm tree --buckets 10 casket-3.tkt
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util import --dbm tree --tsv casket-3.tkt casket.tsv
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util get --dbm tree casket-3.tkt three
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util rebuild --dbm tree casket.tkt
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util inspect --dbm tree --validate casket.tkt
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util restore --dbm tree casket.tkt casket-new.tkt
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util set --dbm tree casket-new.tkt four fourth
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util get --dbm tree casket-new.tkt one
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util list --dbm tree casket-new.tkt
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util restore --dbm tree casket-new.tkt
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util get --dbm tree casket-new.tkt one
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util inspect --dbm tree --validate casket-new.tkt
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util merge --dbm tree casket-new.tkt casket.tkt
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util create --dbm tree --file pos-atom \
--alloc_init 1 --alloc_inc 1.2 --buckets 10 --block_size 8192 --padding \
--truncate casket.tkt
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util set --dbm tree --file pos-atom \
--no_wait --alloc_init 1 --alloc_inc 1.2 --block_size 8192 --padding \
casket.tkt tokyo shinjuku
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util rebuild --dbm tree --file pos-atom \
--no_lock --alloc_init 1 --alloc_inc 1.2 --block_size 8192 --padding casket.tkt
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util set --dbm tree --file pos-atom \
--block_size 8192 --padding casket.tkt saitama tokorozawa
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util set --dbm tree --file pos-atom \
--block_size 8192 --padding casket.tkt kanagawa yokohama
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util get --dbm tree --file pos-atom \
--block_size 8192 --padding casket.tkt saitama
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util remove --dbm tree --file pos-atom \
--block_size 8192 --padding casket.tkt saitama
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util list --dbm tree --file pos-atom \
--no_lock --alloc_init 1 --alloc_inc 1.2 --block_size 8192 --padding casket.tkt
check-skipdbm-perf :
rm -Rf casket*
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf sequence --dbm skip --file mmap-para --path casket.tks \
--iter 20000 --threads 5 --size 8 --step_unit 4 --max_level 10
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf sequence --dbm skip --file mmap-atom --path casket.tks \
--block_size 512 $(DBMPERFDIRECTIOFLAGS) --padding --pagecache \
--iter 20000 --threads 5 --size 8 --step_unit 4 --max_level 10
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf sequence --dbm skip --file mmap-para --path casket.tks \
--iter 20000 --threads 5 --size 8 --step_unit 2 --max_level 20 \
--random_key --random_value --validate
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf sequence --dbm skip --file pos-para --path casket.tks \
--iter 100000 --size 8 --step_unit 8 --max_level 8 --insert_in_order
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf parallel --dbm skip --file pos-para --path casket.tks \
--iter 20000 --threads 5 --size 8 --step_unit 3 --max_level 13
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf wicked --dbm skip --file pos-para --path casket.tks \
--iter 20000 --threads 5 --size 8 --step_unit 5 --max_level 9
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf wicked --dbm skip --file pos-atom --path casket.tks \
--block_size 512 $(DBMPERFDIRECTIOFLAGS) --padding --pagecache \
--iter 20000 --threads 5 --size 8 --step_unit 5 --max_level 9 --validate
check-skipdbm-util :
rm -Rf casket*
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util create --dbm skip --buckets 10 casket.tks
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util set --dbm skip casket.tks one first
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util set --dbm skip casket.tks two second
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util set --dbm skip casket.tks three third
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util set --dbm skip casket.tks four fourth
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util remove --dbm skip casket.tks four
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util set --dbm skip casket.tks five fifth
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util get --dbm skip casket.tks two
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util export --dbm skip casket.tks casket.flat
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util create --dbm skip --buckets 10 casket-2.tks
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util import --dbm skip casket-2.tks casket.flat
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util list --dbm skip casket-2.tks
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util list --dbm skip --jump one --items 2 casket-2.tks
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util export --dbm skip --tsv casket.tks casket.tsv
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util create --dbm skip --buckets 10 casket-3.tks
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util import --dbm skip --tsv casket-3.tks casket.tsv
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util get --dbm skip casket-3.tks three
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util rebuild --dbm skip casket.tks
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util inspect --dbm skip --validate casket.tks
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util restore --dbm skip casket.tks casket-new.tks
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util set --dbm skip casket-new.tks four fourth
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util get --dbm skip casket-new.tks one
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util list --dbm skip casket-new.tks
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util restore --dbm skip casket-new.tks
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util get --dbm skip casket-new.tks one
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util inspect --dbm skip --validate casket-new.tks
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util merge --dbm skip --reducer last casket-new.tks casket.tks
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util create --dbm skip --file pos-atom \
--alloc_init 1 --alloc_inc 1.2 --buckets 10 --block_size 8192 --padding \
--truncate casket.tks
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util set --dbm skip --file pos-atom \
--no_wait --alloc_init 1 --alloc_inc 1.2 --block_size 8192 --padding \
casket.tks tokyo shinjuku
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util rebuild --dbm skip --file pos-atom \
--no_lock --alloc_init 1 --alloc_inc 1.2 --block_size 8192 --padding casket.tks
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util set --dbm skip --file pos-atom \
--block_size 8192 --padding casket.tks saitama tokorozawa
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util set --dbm skip --file pos-atom \
--block_size 8192 --padding casket.tks kanagawa yokohama
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util get --dbm skip --file pos-atom \
--block_size 8192 --padding casket.tks saitama
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util remove --dbm skip --file pos-atom \
--block_size 8192 --padding casket.tks saitama
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util list --dbm skip --file pos-atom \
--no_lock --alloc_init 1 --alloc_inc 1.2 --block_size 8192 --padding casket.tks
check-tinydbm-perf :
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf sequence --dbm tiny \
--iter 20000 --threads 5 --size 8
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf sequence --dbm tiny \
--iter 20000 --threads 5 --size 8 --random_key --random_value
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf parallel --dbm tiny \
--iter 20000 --threads 5 --size 8 --random_key --random_value
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf wicked --dbm tiny \
--iter 20000 --threads 5 --size 8 --iterator --clear --rebuild
check-babydbm-perf :
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf sequence --dbm baby \
--iter 20000 --threads 5 --size 8
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf sequence --dbm baby \
--iter 20000 --threads 5 --size 8 --random_key --random_value
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf parallel --dbm baby \
--iter 20000 --threads 5 --size 8 --random_key --random_value
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf wicked --dbm baby \
--iter 20000 --threads 5 --size 8 --iterator --clear --rebuild
check-cachedbm-perf :
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf sequence --dbm cache \
--iter 20000 --threads 5 --size 8
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf sequence --dbm cache \
--iter 20000 --threads 5 --size 8 --random_key --random_value
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf parallel --dbm cache \
--iter 20000 --threads 5 --size 8 --random_key --random_value
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf wicked --dbm cache \
--iter 20000 --threads 5 --size 8 --iterator --clear --rebuild --cap_rec_num 4000
check-stddbm-perf :
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf sequence --dbm stdhash \
--iter 20000 --threads 5 --size 8
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf sequence --dbm stdhash \
--iter 20000 --threads 5 --size 8 --random_key --random_value
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf parallel --dbm stdhash \
--iter 20000 --threads 5 --size 8 --random_key --random_value
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf wicked --dbm stdhash \
--iter 20000 --threads 5 --size 8 --iterator --clear --rebuild
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf sequence --dbm stdtree \
--iter 20000 --threads 5 --size 8
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf sequence --dbm stdtree \
--iter 20000 --threads 5 --size 8 --random_key --random_value
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf parallel --dbm stdtree \
--iter 20000 --threads 5 --size 8 --random_key --random_value
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf wicked --dbm stdtree \
--iter 20000 --threads 5 --size 8 --iterator --clear --rebuild
check-polydbm-perf :
rm -Rf casket*
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf sequence --dbm poly --path casket \
--iter 10000 --threads 5 --size 8 \
--params "dbm=hash,file=std,num_buckets=100000,offset_width=3,align_pow=0"
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf sequence --dbm poly --path casket \
--iter 20000 --threads 5 --size 8 \
--params "dbm=hash,file=mmap-para,update_mode=in_place,num_buckets=100000"
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf sequence --dbm poly --path casket \
--iter 20000 --threads 5 --size 8 --random_key --random_value \
--params "dbm=hash,file=mmap-atom,update_mode=appending,num_buckets=100000"
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf parallel --dbm poly --path casket \
--iter 20000 --threads 5 --size 8 --random_key --random_value \
--params "dbm=hash,file=pos-para,num_buckets=100000,offset_width=3,align_pow=1"
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf wicked --dbm poly --path casket \
--iter 20000 --threads 5 --size 8 --iterator --clear --rebuild \
--params "dbm=hash,file=pos-atom,num_buckets=100000,fbp_capacity=0,lock_mem_buckets=false"
check-polydbm-util :
rm -Rf casket*
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util create --dbm poly --buckets 10 casket.tkh
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util set --dbm poly casket.tkh one first
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util set --dbm poly casket.tkh two second
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util set --dbm poly casket.tkh three third
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util set --dbm poly casket.tkh four fourth
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util remove --dbm poly casket.tkh four
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util set --dbm poly casket.tkh five fifth
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util get --dbm poly casket.tkh two
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util export --dbm poly casket.tkh casket.flat
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util create --dbm poly --buckets 10 casket-2.tkh
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util import --dbm poly casket-2.tkh casket.flat
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util list --dbm poly casket-2.tkh
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util list --dbm poly --jump three --items 2 casket-2.tkh
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util export --dbm poly --tsv casket.tkh casket.tsv
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util create --dbm poly --buckets 10 casket-3.tkh
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util import --dbm poly --tsv casket-3.tkh casket.tsv
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util get --dbm poly casket-3.tkh three
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util rebuild --dbm poly casket.tkh
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util inspect --dbm poly casket.tkh
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util restore --dbm poly casket.tkh casket-new.tkh
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util set --dbm poly casket-new.tkh four fourth
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util get --dbm poly casket-new.tkh one
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util list --dbm poly casket-new.tkh
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util restore --dbm poly casket-new.tkh
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util get --dbm poly casket-new.tkh one
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util inspect --dbm poly casket-new.tkh
check-sharddbm-perf :
rm -Rf casket*
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf sequence --dbm shard --path casket \
--iter 20000 --threads 5 --size 8 \
--params "dbm=tree,lock_mem_buckets=false,num_shards=3"
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf sequence --dbm shard --path casket \
--iter 20000 --threads 5 --size 8 --random_key --random_value \
--params "dbm=tree,lock_mem_buckets=false,num_shards=3"
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf parallel --dbm shard --path casket \
--iter 20000 --threads 5 --size 8 --random_key --random_value \
--params "dbm=tree,lock_mem_buckets=false,num_shards=3"
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf wicked --dbm shard --path casket \
--iter 20000 --threads 5 --size 8 --iterator --clear --rebuild \
--params "dbm=tree,lock_mem_buckets=false,num_shards=3"
check-sharddbm-util :
rm -Rf casket*
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util create --dbm shard --buckets 10 casket.tkt \
--params "lock_mem_buckets=false,num_shards=3"
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util set --dbm shard casket.tkt one first
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util set --dbm shard casket.tkt two second
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util set --dbm shard casket.tkt three third
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util set --dbm shard casket.tkt four fourth
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util remove --dbm shard casket.tkt four
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util set --dbm shard casket.tkt five fifth
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util get --dbm shard casket.tkt two
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util export --dbm shard casket.tkt casket.flat
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util create --dbm shard --buckets 10 casket-2.tkt \
--params "lock_mem_buckets=false,num_shards=4"
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util import --dbm shard casket-2.tkt casket.flat
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util list --dbm shard casket-2.tkt
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util list --dbm shard --jump three --items 2 casket-2.tkt
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util export --dbm shard --tsv casket.tkt casket.tsv
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util create --dbm shard --buckets 10 casket-3.tkt
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util import --dbm shard --tsv casket-3.tkt casket.tsv
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util get --dbm shard casket-3.tkt three
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util rebuild --dbm shard casket.tkt
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util inspect --dbm shard casket.tkt
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util restore --dbm shard casket.tkt casket-new.tkt
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util set --dbm shard casket-new.tkt four fourth
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util get --dbm shard casket-new.tkt one
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util list --dbm shard casket-new.tkt
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util restore --dbm shard casket-new.tkt
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util get --dbm shard casket-new.tkt one
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_util inspect --dbm shard casket-new.tkt
check-index-perf :
rm -Rf casket*
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf index --type file \
--iter 20000 --threads 5 --random_key --random_value --path casket.tkt
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf index --type mem \
--iter 20000 --threads 5 --random_key --random_value
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf index --type n2n \
--iter 20000 --threads 5 --random_key --random_value
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf index --type n2s \
--iter 20000 --threads 5 --random_key --random_value
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf index --type s2n \
--iter 20000 --threads 5 --random_key --random_value
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf index --type s2s \
--iter 20000 --threads 5 --random_key --random_value
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf index --type str \
--iter 20000 --threads 5 --random_key --random_value
check-tran :
rm -Rf casket*
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_tran build casket.tkh --iter 50000 --threads 4 \
--sync_freq 100 --params "record_crc_mode=8"
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_tran check --restore casket.tkh
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_tran build casket.tkh --iter 50000 --threads 4 \
--sync_freq 100 --async 3 --rebuild --remove --params "record_crc_mode=8"
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_tran check --restore casket.tkh
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_tran build casket.tkt --iter 50000 --threads 4 \
--sync_freq 100 --params "record_crc_mode=16,$(DBMTRANRECCOMPPARAMS)"
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_tran check --restore casket.tkt
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_tran build casket.tkt --iter 50000 --threads 4 \
--sync_freq 100 --async 3 --rebuild --remove \
--params "record_crc_mode=16,$(DBMTRANRECCOMPPARAMS)"
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_tran check --restore casket.tkt
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_tran build casket.tks --iter 50000 --threads 4 \
--sync_freq 10000
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_tran check --restore casket.tks
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_tran build casket.tks --iter 50000 --threads 4 \
--sync_freq 10000 --async 3 --rebuild --remove
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_tran check --restore casket.tks
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_tran async casket.tkh --iter 25000 --threads 4 \
--params "num_buckets=100000" --rebuild --random_key --async 0
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_tran async casket.tkh --iter 25000 --threads 4 \
--params "num_buckets=100000" --rebuild --async 4 --wait_freq 1000
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_tran async casket.tkt --iter 25000 --threads 4 \
--params "num_buckets=10000,max_page_size=1024" --rebuild --random_key --async 0
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_tran async casket.tkt --iter 25000 --threads 4 \
--params "num_buckets=10000,max_page_size=1024" --rebuild --async 4 --wait_freq 1000
check-langc :
rm -Rf casket*
$(RUNENV) $(RUNCMD) ./tkrzw_langc_check "casket.tkh" "truncate=true,num_buckets=10000" 20000
$(RUNENV) $(RUNCMD) ./tkrzw_langc_check "casket.tkt" "truncate=true,num_buckets=1000" 20000
$(RUNENV) $(RUNCMD) ./tkrzw_langc_check "casket.tks" "truncate=true" 20000
check-direct : check-direct-hashdbm check-direct-treedbm check-direct-skipdbm
check-direct-hashdbm :
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf sequence --path casket.tkh --file mmap-para \
--random_seed -1 --random_key --size 100 \
--buckets 2000000 --align_pow 7 --iter 1000000
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf sequence --path casket.tkh --file pos-para \
--random_seed -1 --random_key --size 100 \
--buckets 2000000 --align_pow 7 --iter 1000000 --cache_buckets
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf sequence --path casket.tkh --file pos-para \
--random_seed -1 --random_key --size 100 \
--buckets 2000000 --align_pow 7 --iter 1000000 --cache_buckets --block_size 512 --padding
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf sequence --path casket.tkh --file pos-para \
--random_seed -1 --random_key --size 100 \
--buckets 2000000 --align_pow 7 --iter 1000000 --cache_buckets --block_size 512 \
--padding --pagecache
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf sequence --path casket.tkh --file pos-para \
--random_seed -1 --random_key --size 100 \
--buckets 2000000 --align_pow 7 --iter 1000000 --cache_buckets --block_size 512 \
--direct_io --padding
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf sequence --path casket.tkh --file pos-para \
--random_seed -1 --random_key --size 100 \
--buckets 2000000 --align_pow 7 --iter 1000000 --cache_buckets --block_size 512 \
--direct_io --padding --pagecache
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf wicked --path casket.tkh --file pos-para \
--random_seed -1 --iter 1000000 --cache_buckets --block_size 512 --padding \
--pagecache --rebuild --clear --iterator --threads 2
check-direct-treedbm :
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf sequence --path casket.tkt --file mmap-para \
--random_seed -1 --random_key --size 100 \
--max_page_size 4060 --max_cached_pages 1000 --iter 1000000
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf sequence --path casket.tkt --file pos-para \
--random_seed -1 --random_key --size 100 \
--max_page_size 4060 --max_cached_pages 1000 --iter 1000000
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf sequence --path casket.tkt --file pos-para \
--random_seed -1 --random_key --size 100 \
--max_page_size 4060 --max_cached_pages 1000 --iter 1000000 --cache_buckets \
--block_size 1024 --padding
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf sequence --path casket.tkt --file pos-para \
--random_seed -1 --random_key --size 100 \
--max_page_size 4060 --max_cached_pages 1000 --iter 1000000 --cache_buckets \
--block_size 1024 --padding --pagecache
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf sequence --path casket.tkt --file pos-para \
--random_seed -1 --random_key --size 100 \
--max_page_size 4060 --max_cached_pages 1000 --iter 1000000 --cache_buckets \
--block_size 1024 --direct_io --padding
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf sequence --path casket.tkt --file pos-para \
--random_seed -1 --random_key --size 100 \
--max_page_size 4060 --max_cached_pages 1000 --iter 1000000 --cache_buckets \
--block_size 1024 --direct_io --padding --pagecache
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf wicked --path casket.tkt --file pos-para \
--random_seed -1 --max_page_size 4060 --max_cached_pages 1000 --iter 1000000 \
--cache_buckets --block_size 512 --padding --pagecache \
--rebuild --clear --iterator --threads 2
check-direct-skipdbm :
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf sequence --path casket.tks --file mmap-para \
--random_seed -1 --random_key --size 100 \
--step_unit 16 --max_level 5 --iter 1000000
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf sequence --path casket.tks --file pos-para \
--random_seed -1 --random_key --size 100 \
--step_unit 16 --max_level 5 --iter 1000000
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf sequence --path casket.tks --file pos-para \
--random_seed -1 --random_key --size 100 \
--step_unit 16 --max_level 5 --iter 1000000 --block_size 1024 --padding
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf sequence --path casket.tks --file pos-para \
--random_seed -1 --random_key --size 100 \
--step_unit 16 --max_level 5 --iter 1000000 --block_size 1024 --padding --pagecache
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf sequence --path casket.tks --file pos-para \
--random_seed -1 --random_key --size 100 \
--step_unit 16 --max_level 5 --iter 1000000 --block_size 1024 --direct_io --padding
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf sequence --path casket.tks --file pos-para \
--random_seed -1 --random_key --size 100 \
--step_unit 16 --max_level 5 --iter 1000000 --block_size 1024 --direct_io \
--padding --pagecache
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_perf wicked --path casket.tks --file pos-para \
--random_seed -1 --step_unit 16 --max_level 5 --iter 1000000 \
--block_size 1024 --padding --pagecache --rebuild --clear --iterator --threads 2
test : $(TESTFILES)
testrun :
$(RUNENV) $(RUNCMD) ./tkrzw_sys_config_test
$(RUNENV) $(RUNCMD) ./tkrzw_lib_common_test
$(RUNENV) $(RUNCMD) ./tkrzw_str_util_test
$(RUNENV) $(RUNCMD) ./tkrzw_hash_util_test
$(RUNENV) $(RUNCMD) ./tkrzw_time_util_test
$(RUNENV) $(RUNCMD) ./tkrzw_thread_util_test
$(RUNENV) $(RUNCMD) ./tkrzw_compress_test
$(RUNENV) $(RUNCMD) ./tkrzw_containers_test
$(RUNENV) $(RUNCMD) ./tkrzw_key_comparators_test
$(RUNENV) $(RUNCMD) ./tkrzw_file_util_test
$(RUNENV) $(RUNCMD) ./tkrzw_file_mmap_test
$(RUNENV) $(RUNCMD) ./tkrzw_file_pos_test
$(RUNENV) $(RUNCMD) ./tkrzw_file_poly_test
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_common_impl_test
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_hash_impl_test
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_hash_test
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_tree_impl_test
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_tree_test
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_skip_impl_test
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_skip_test
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_tiny_test
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_baby_test
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_cache_test
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_std_test
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_poly_test
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_shard_test
$(RUNENV) $(RUNCMD) ./tkrzw_dbm_async_test
$(RUNENV) $(RUNCMD) ./tkrzw_index_test
$(RUNENV) $(RUNCMD) ./tkrzw_langc_test
apidoc :
$(MAKE) apidocclean
mkdir -p api-doc
doxygen
apidocclean :
rm -Rf api-doc
.PHONY : all clean untabify install install-strip uninstall \
dist distclean check test testrun apidoc apidocclean
#================================================================
# Suffix rules
#================================================================
OBJS := $(LIBOBJFILES) $(COMMANDFILES:%=%.o) $(TESTFILES:%=%.o)
SRCS := $(OBJS:%.o=%.c)
DEPS := $(SRCS:%.c=%.d)
-include $(DEPS)
.SUFFIXES :
.SUFFIXES : .c .cc .o
.c.o :
$(CC) -c $(CPPFLAGS) -MMD $(CFLAGS) $<
.cc.o :
$(CXX) -c $(CPPFLAGS) -MMD $(CXXFLAGS) $<
#================================================================
# Building libraries
#================================================================
libtkrzw.a : $(LIBOBJFILES)
$(AR) $(ARFLAGS) $@ $(LIBOBJFILES)
libtkrzw.so.$(LIBVER).$(LIBREV).$(LIBFMT) : $(LIBOBJFILES)
$(CXX) $(CXXFLAGS) $(LDSOFLAGS) -o $@ $(LIBOBJFILES) $(LDFLAGS) $(LIBS)
libtkrzw.so.$(LIBVER) : libtkrzw.so.$(LIBVER).$(LIBREV).$(LIBFMT)
ln -f -s libtkrzw.so.$(LIBVER).$(LIBREV).$(LIBFMT) $@
libtkrzw.so : libtkrzw.so.$(LIBVER).$(LIBREV).$(LIBFMT)
ln -f -s libtkrzw.so.$(LIBVER).$(LIBREV).$(LIBFMT) $@
libtkrzw.$(LIBVER).$(LIBREV).$(LIBFMT).dylib : $(LIBOBJFILES)
$(CXX) $(CXXFLAGS) -dynamiclib -o $@ \
-install_name $(LIBDIR)/libtkrzw.$(LIBVER).dylib \
-current_version $(LIBVER).$(LIBREV).$(LIBFMT) -compatibility_version $(LIBVER) \
$(LIBOBJFILES) $(LDFLAGS) $(LIBS)
libtkrzw.$(LIBVER).dylib : libtkrzw.$(LIBVER).$(LIBREV).$(LIBFMT).dylib
ln -f -s libtkrzw.$(LIBVER).$(LIBREV).$(LIBFMT).dylib $@
libtkrzw.dylib : libtkrzw.$(LIBVER).$(LIBREV).$(LIBFMT).dylib
ln -f -s libtkrzw.$(LIBVER).$(LIBREV).$(LIBFMT).dylib $@
#================================================================
# Building commands
#================================================================
tkrzw_build_util : tkrzw_build_util.o $(LIBRARYFILES)
$(CXX) $(CXXFLAGS) -o $@ $< $(LDFLAGS) $(CMDLDFLAGS) $(CMDLIBS) $(LIBS)
tkrzw_str_perf : tkrzw_str_perf.o $(LIBRARYFILES)
$(CXX) $(CXXFLAGS) -o $@ $< $(LDFLAGS) $(CMDLDFLAGS) $(CMDLIBS) $(LIBS)
tkrzw_file_perf : tkrzw_file_perf.o $(LIBRARYFILES)
$(CXX) $(CXXFLAGS) -o $@ $< $(LDFLAGS) $(CMDLDFLAGS) $(CMDLIBS) $(LIBS)
tkrzw_dbm_util : tkrzw_dbm_util.o $(LIBRARYFILES)
$(CXX) $(CXXFLAGS) -o $@ $< $(LDFLAGS) $(CMDLDFLAGS) $(CMDLIBS) $(LIBS)
tkrzw_dbm_perf : tkrzw_dbm_perf.o $(LIBRARYFILES)
$(CXX) $(CXXFLAGS) -o $@ $< $(LDFLAGS) $(CMDLDFLAGS) $(CMDLIBS) $(LIBS)
tkrzw_dbm_tran : tkrzw_dbm_tran.o $(LIBRARYFILES)
$(CXX) $(CXXFLAGS) -o $@ $< $(LDFLAGS) $(CMDLDFLAGS) $(CMDLIBS) $(LIBS)
tkrzw_langc_check : tkrzw_langc_check.o $(LIBRARYFILES)
$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) $(CMDLDFLAGS) $(CMDLIBS) $(LIBS)
#================================================================
# Building tests
#================================================================
tkrzw_sys_config_test : tkrzw_sys_config_test.o $(LIBRARYFILES)
$(CXX) $(CXXFLAGS) -o $@ $< $(CMDLDFLAGS) $(CMDLIBS) $(TESTLIBS) $(LIBS)
tkrzw_lib_common_test : tkrzw_lib_common_test.o $(LIBRARYFILES)
$(CXX) $(CXXFLAGS) -o $@ $< $(CMDLDFLAGS) $(CMDLIBS) $(TESTLIBS) $(LIBS)
tkrzw_str_util_test : tkrzw_str_util_test.o $(LIBRARYFILES)
$(CXX) $(CXXFLAGS) -o $@ $< $(CMDLDFLAGS) $(CMDLIBS) $(TESTLIBS) $(LIBS)
tkrzw_hash_util_test : tkrzw_hash_util_test.o $(LIBRARYFILES)
$(CXX) $(CXXFLAGS) -o $@ $< $(CMDLDFLAGS) $(CMDLIBS) $(TESTLIBS) $(LIBS)
tkrzw_time_util_test : tkrzw_time_util_test.o $(LIBRARYFILES)
$(CXX) $(CXXFLAGS) -o $@ $< $(CMDLDFLAGS) $(CMDLIBS) $(TESTLIBS) $(LIBS)
tkrzw_thread_util_test : tkrzw_thread_util_test.o $(LIBRARYFILES)
$(CXX) $(CXXFLAGS) -o $@ $< $(CMDLDFLAGS) $(CMDLIBS) $(TESTLIBS) $(LIBS)
tkrzw_compress_test : tkrzw_compress_test.o $(LIBRARYFILES)
$(CXX) $(CXXFLAGS) -o $@ $< $(CMDLDFLAGS) $(CMDLIBS) $(TESTLIBS) $(LIBS)
tkrzw_containers_test : tkrzw_containers_test.o $(LIBRARYFILES)
$(CXX) $(CXXFLAGS) -o $@ $< $(CMDLDFLAGS) $(CMDLIBS) $(TESTLIBS) $(LIBS)
tkrzw_key_comparators_test : tkrzw_key_comparators_test.o $(LIBRARYFILES)
$(CXX) $(CXXFLAGS) -o $@ $< $(CMDLDFLAGS) $(CMDLIBS) $(TESTLIBS) $(LIBS)
tkrzw_file_util_test : tkrzw_file_util_test.o $(LIBRARYFILES)
$(CXX) $(CXXFLAGS) -o $@ $< $(CMDLDFLAGS) $(CMDLIBS) $(TESTLIBS) $(LIBS)
tkrzw_file_std_test : tkrzw_file_std_test.o $(LIBRARYFILES)
$(CXX) $(CXXFLAGS) -o $@ $< $(CMDLDFLAGS) $(CMDLIBS) $(TESTLIBS) $(LIBS)
tkrzw_file_mmap_test : tkrzw_file_mmap_test.o $(LIBRARYFILES)
$(CXX) $(CXXFLAGS) -o $@ $< $(CMDLDFLAGS) $(CMDLIBS) $(TESTLIBS) $(LIBS)
tkrzw_file_pos_test : tkrzw_file_pos_test.o $(LIBRARYFILES)
$(CXX) $(CXXFLAGS) -o $@ $< $(CMDLDFLAGS) $(CMDLIBS) $(TESTLIBS) $(LIBS)
tkrzw_file_poly_test : tkrzw_file_poly_test.o $(LIBRARYFILES)
$(CXX) $(CXXFLAGS) -o $@ $< $(CMDLDFLAGS) $(CMDLIBS) $(TESTLIBS) $(LIBS)
tkrzw_dbm_common_impl_test : tkrzw_dbm_common_impl_test.o $(LIBRARYFILES)
$(CXX) $(CXXFLAGS) -o $@ $< $(CMDLDFLAGS) $(CMDLIBS) $(TESTLIBS) $(LIBS)
tkrzw_dbm_hash_impl_test : tkrzw_dbm_hash_impl_test.o $(LIBRARYFILES)
$(CXX) $(CXXFLAGS) -o $@ $< $(CMDLDFLAGS) $(CMDLIBS) $(TESTLIBS) $(LIBS)
tkrzw_dbm_hash_test : tkrzw_dbm_hash_test.o $(LIBRARYFILES)
$(CXX) $(CXXFLAGS) -o $@ $< $(CMDLDFLAGS) $(CMDLIBS) $(TESTLIBS) $(LIBS)
tkrzw_dbm_tree_impl_test : tkrzw_dbm_tree_impl_test.o $(LIBRARYFILES)
$(CXX) $(CXXFLAGS) -o $@ $< $(CMDLDFLAGS) $(CMDLIBS) $(TESTLIBS) $(LIBS)
tkrzw_dbm_tree_test : tkrzw_dbm_tree_test.o $(LIBRARYFILES)
$(CXX) $(CXXFLAGS) -o $@ $< $(CMDLDFLAGS) $(CMDLIBS) $(TESTLIBS) $(LIBS)
tkrzw_dbm_skip_impl_test : tkrzw_dbm_skip_impl_test.o $(LIBRARYFILES)
$(CXX) $(CXXFLAGS) -o $@ $< $(CMDLDFLAGS) $(CMDLIBS) $(TESTLIBS) $(LIBS)
tkrzw_dbm_skip_test : tkrzw_dbm_skip_test.o $(LIBRARYFILES)
$(CXX) $(CXXFLAGS) -o $@ $< $(CMDLDFLAGS) $(CMDLIBS) $(TESTLIBS) $(LIBS)
tkrzw_dbm_tiny_test : tkrzw_dbm_tiny_test.o $(LIBRARYFILES)
$(CXX) $(CXXFLAGS) -o $@ $< $(CMDLDFLAGS) $(CMDLIBS) $(TESTLIBS) $(LIBS)
tkrzw_dbm_baby_test : tkrzw_dbm_baby_test.o $(LIBRARYFILES)
$(CXX) $(CXXFLAGS) -o $@ $< $(CMDLDFLAGS) $(CMDLIBS) $(TESTLIBS) $(LIBS)
tkrzw_dbm_cache_test : tkrzw_dbm_cache_test.o $(LIBRARYFILES)
$(CXX) $(CXXFLAGS) -o $@ $< $(CMDLDFLAGS) $(CMDLIBS) $(TESTLIBS) $(LIBS)
tkrzw_dbm_std_test : tkrzw_dbm_std_test.o $(LIBRARYFILES)
$(CXX) $(CXXFLAGS) -o $@ $< $(CMDLDFLAGS) $(CMDLIBS) $(TESTLIBS) $(LIBS)
tkrzw_dbm_poly_test : tkrzw_dbm_poly_test.o $(LIBRARYFILES)
$(CXX) $(CXXFLAGS) -o $@ $< $(CMDLDFLAGS) $(CMDLIBS) $(TESTLIBS) $(LIBS)
tkrzw_dbm_shard_test : tkrzw_dbm_shard_test.o $(LIBRARYFILES)
$(CXX) $(CXXFLAGS) -o $@ $< $(CMDLDFLAGS) $(CMDLIBS) $(TESTLIBS) $(LIBS)
tkrzw_dbm_async_test : tkrzw_dbm_async_test.o $(LIBRARYFILES)
$(CXX) $(CXXFLAGS) -o $@ $< $(CMDLDFLAGS) $(CMDLIBS) $(TESTLIBS) $(LIBS)
tkrzw_index_test : tkrzw_index_test.o $(LIBRARYFILES)
$(CXX) $(CXXFLAGS) -o $@ $< $(CMDLDFLAGS) $(CMDLIBS) $(TESTLIBS) $(LIBS)
tkrzw_cmd_util_test : tkrzw_cmd_util_test.o $(LIBRARYFILES)
$(CXX) $(CXXFLAGS) -o $@ $< $(CMDLDFLAGS) $(CMDLIBS) $(TESTLIBS) $(LIBS)
tkrzw_langc_test : tkrzw_langc_test.o $(LIBRARYFILES)
$(CXX) $(CFLAGS) -o $@ $< $(CMDLDFLAGS) $(CMDLIBS) $(TESTLIBS) $(LIBS)
# END OF FILE