~ubuntu-branches/ubuntu/wily/kyotocabinet/wily

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
# Makefile for Kyoto Cabinet for Win32



#================================================================
# Setting Variables
#================================================================


# VC++ directory
VCPATH = C:\Program Files\Microsoft Visual Studio 10.0\VC
SDKPATH = C:\Program Files\Microsoft SDKs\Windows\v7.0A


# Targets
LIBRARYFILES = kyotocabinet.lib
LIBOBJFILES = kcutil.obj kcdb.obj kcthread.obj kcfile.obj \
  kccompress.obj kccompare.obj kcmap.obj kcregex.obj kcplantdb.obj \
  kcprotodb.obj kcstashdb.obj kccachedb.obj kchashdb.obj kcdirdb.obj kctextdb.obj \
  kcpolydb.obj kcdbext.obj kclangc.obj
COMMANDFILES = kcutiltest.exe kcutilmgr.exe kcprototest.exe \
  kcstashtest.exe kccachetest.exe kcgrasstest.exe \
  kchashtest.exe kchashmgr.exe kctreetest.exe kctreemgr.exe \
  kcdirtest.exe kcdirmgr.exe kcforesttest.exe kcforestmgr.exe \
  kcpolytest.exe kcpolymgr.exe kclangctest.exe


# Building configuration
CL = cl
LIB = lib
LINK = link
CLFLAGS = /nologo \
  /I "$(VCPATH)\Include" /I "$(VCPATH)\PlatformSDK\Include" /I "$(SDKPATH)\Include" \
  /I "." \
  /DNDEBUG /D_CRT_SECURE_NO_WARNINGS \
  /O2 /EHsc /W3 /wd4244 /wd4351 /wd4800 /MT
LIBFLAGS = /nologo \
  /libpath:"$(VCPATH)\lib" /libpath:"$(VCPATH)\PlatformSDK\Lib" /libpath:"$(SDKPATH)\Lib" \
  /libpath:"."
LINKFLAGS = /nologo \
  /libpath:"$(VCPATH)\lib" /libpath:"$(VCPATH)\PlatformSDK\Lib" /libpath:"$(SDKPATH)\Lib" \
  /libpath:"."



#================================================================
# Suffix rules
#================================================================


.SUFFIXES :
.SUFFIXES : .cc .c .obj .exe

.c.obj :
	$(CL) /c $(CLFLAGS) $<

.cc.obj :
	$(CL) /c $(CLFLAGS) $<



#================================================================
# Actions
#================================================================


all : $(LIBRARYFILES) $(COMMANDFILES)
	@echo #
	@echo #================================================================
	@echo # Ready to install.
	@echo #================================================================


clean :
	-del *.obj *.lib *.dll *.exp *.exe /F /Q > NUL: 2>&1
	-del casket* /F /Q > NUL: 2>&1
	-rd casket casket.wal casket.tmp casket-para casket.kcd casket.kcf /S /Q > NUL: 2>&1


check : check-util check-proto check-stash check-cache check-grass \
  check-hash check-tree check-dir check-forest check-poly check-langc
	-del casket* /F /Q > NUL: 2>&1
	-rd casket casket.wal casket.tmp casket-para casket.kcd casket.kcf /S /Q > NUL: 2>&1
	@echo #
	@echo #================================================================
	@echo # Checking completed.
	@echo #================================================================


check-util :
	-del casket* /F /Q > NUL: 2>&1
	-rd casket casket.wal casket.tmp casket-para casket.kcd casket.kcf /S /Q > NUL: 2>&1
	kcutilmgr version
	kcutilmgr hex VCmakefile > check.in
	kcutilmgr hex -d check.in > check.out
	kcutilmgr enc VCmakefile > check.in
	kcutilmgr enc -d check.in > check.out
	kcutilmgr enc -hex VCmakefile > check.in
	kcutilmgr enc -hex -d check.in > check.out
	kcutilmgr enc -url VCmakefile > check.in
	kcutilmgr enc -url -d check.in > check.out
	kcutilmgr enc -quote VCmakefile > check.in
	kcutilmgr enc -quote -d check.in > check.out
	kcutilmgr ciph -key "hoge" VCmakefile > check.in
	kcutilmgr ciph -key "hoge" check.in > check.out
	kcutilmgr comp -gz VCmakefile > check.in
	kcutilmgr comp -gz -d check.in > check.out
	kcutilmgr comp -lzo VCmakefile > check.in
	kcutilmgr comp -lzo -d check.in > check.out
	kcutilmgr comp -lzma VCmakefile > check.in
	kcutilmgr comp -lzma -d check.in > check.out
	kcutilmgr hash VCmakefile > check.in
	kcutilmgr hash -fnv VCmakefile > check.out
	kcutilmgr hash -path VCmakefile > check.out
	kcutilmgr regex mikio VCmakefile > check.out
	kcutilmgr regex -alt "hirarin" mikio VCmakefile > check.out
	kcutilmgr conf
	-del casket* /F /Q > NUL: 2>&1
	kcutiltest mutex -th 4 -iv -1 10000
	kcutiltest cond -th 4 -iv -1 10000
	kcutiltest para -th 4 10000
	kcutiltest para -th 4 -iv -1 10000
	kcutiltest file -th 4 casket 10000
	kcutiltest file -th 4 -rnd -msiz 1m casket 10000
	kcutiltest lhmap -bnum 1000 10000
	kcutiltest lhmap -rnd -bnum 1000 10000
	kcutiltest thmap -bnum 1000 10000
	kcutiltest thmap -rnd -bnum 1000 10000
	kcutiltest talist 10000
	kcutiltest talist -rnd 10000
	kcutiltest misc 10000


check-proto :
	-del casket* /F /Q > NUL: 2>&1
	-rd casket casket.wal casket.tmp casket-para casket.kcd casket.kcf /S /Q > NUL: 2>&1
	kcprototest order -etc 10000
	kcprototest order -th 4 10000
	kcprototest order -th 4 -rnd -etc 10000
	kcprototest order -th 4 -rnd -etc -tran 10000
	kcprototest wicked 10000
	kcprototest wicked -th 4 -it 4 10000
	kcprototest tran 10000
	kcprototest tran -th 2 -it 4 10000
	-del casket* /F /Q > NUL: 2>&1
	kcprototest order -tree -etc 10000
	kcprototest order -tree -th 4 10000
	kcprototest order -tree -th 4 -rnd -etc 10000
	kcprototest order -tree -th 4 -rnd -etc -tran 10000
	kcprototest wicked -tree 10000
	kcprototest wicked -tree -th 4 -it 4 10000
	kcprototest tran -tree 10000
	kcprototest tran -tree -th 2 -it 4 10000


check-stash :
	-del casket* /F /Q > NUL: 2>&1
	-rd casket casket.wal casket.tmp casket-para casket.kcd casket.kcf /S /Q > NUL: 2>&1
	kcstashtest order -etc -bnum 5000 10000
	kcstashtest order -th 4 -bnum 5000 10000
	kcstashtest order -th 4 -rnd -etc -bnum 5000 10000
	kcstashtest order -th 4 -rnd -etc -bnum 5000 10000
	kcstashtest order -th 4 -rnd -etc -tran \
	  -bnum 5000 10000
	kcstashtest wicked -bnum 5000 10000
	kcstashtest wicked -th 4 -it 4 -bnum 5000 10000
	kcstashtest tran -bnum 5000 10000
	kcstashtest tran -th 2 -it 4 -bnum 5000 10000


check-cache :
	-del casket* /F /Q > NUL: 2>&1
	-rd casket casket.wal casket.tmp casket-para casket.kcd casket.kcf /S /Q > NUL: 2>&1
	kccachetest order -etc -bnum 5000 10000
	kccachetest order -th 4 -bnum 5000 10000
	kccachetest order -th 4 -rnd -etc -bnum 5000 -capcnt 10000 10000
	kccachetest order -th 4 -rnd -etc -bnum 5000 -capsiz 10000 10000
	kccachetest order -th 4 -rnd -etc -tran \
	  -tc -bnum 5000 -capcnt 10000 10000
	kccachetest wicked -bnum 5000 10000
	kccachetest wicked -th 4 -it 4 -tc -bnum 5000 -capcnt 10000 10000
	kccachetest tran -bnum 5000 10000
	kccachetest tran -th 2 -it 4 -tc -bnum 5000 10000


check-grass :
	-del casket* /F /Q > NUL: 2>&1
	-rd casket casket.wal casket.tmp casket-para casket.kcd casket.kcf /S /Q > NUL: 2>&1
	$(RUNENV) $(RUNCMD) kcgrasstest order -etc -bnum 5000 10000
	$(RUNENV) $(RUNCMD) kcgrasstest order -th 4 -bnum 5000 10000
	$(RUNENV) $(RUNCMD) kcgrasstest order -th 4 -rnd -etc -bnum 5000 10000
	$(RUNENV) $(RUNCMD) kcgrasstest order -th 4 -rnd -etc -bnum 5000 10000
	$(RUNENV) $(RUNCMD) kcgrasstest order -th 4 -rnd -etc -tran \
	  -tc -bnum 5000 -pccap 100k 1000
	$(RUNENV) $(RUNCMD) kcgrasstest wicked -bnum 5000 10000
	$(RUNENV) $(RUNCMD) kcgrasstest wicked -th 4 -it 4 -tc -bnum 5000 -pccap 100k 10000
	$(RUNENV) $(RUNCMD) kcgrasstest tran -bnum 5000 10000
	$(RUNENV) $(RUNCMD) kcgrasstest tran -th 2 -it 4 -tc -bnum 5000 -pccap 100k 10000


check-hash :
	-del casket* /F /Q > NUL: 2>&1
	-rd casket casket.wal casket.tmp casket-para casket.kcd casket.kcf /S /Q > NUL: 2>&1
	kchashmgr create -otr -apow 1 -fpow 2 -bnum 3 casket
	kchashmgr inform -st casket
	kchashmgr set -add casket duffy 1231
	kchashmgr set -add casket micky 0101
	kchashmgr set casket fal 1007
	kchashmgr set casket mikio 0211
	kchashmgr set casket natsuki 0810
	kchashmgr set casket micky ""
	kchashmgr set -rep casket duffy 777
	kchashmgr set -app casket duffy kukuku
	kchashmgr remove casket micky
	kchashmgr list -pv casket > check.out
	kchashmgr set casket ryu 1
	kchashmgr set casket ken 2
	kchashmgr remove casket duffy
	kchashmgr set casket ryu syo-ryu-ken
	kchashmgr set casket ken tatsumaki-senpu-kyaku
	kchashmgr set -inci casket int 1234
	kchashmgr set -inci casket int 5678
	kchashmgr set -incd casket double 1234.5678
	kchashmgr set -incd casket double 8765.4321
	kchashmgr get casket mikio
	kchashmgr get casket ryu
	kchashmgr import casket lab/numbers.tsv
	kchashmgr list -pv -px casket > check.out
	kchashmgr copy casket casket-para
	kchashmgr dump casket check.out
	kchashmgr load -otr casket check.out
	kchashmgr defrag -onl casket
	kchashmgr check -onr casket
	kchashmgr inform -st casket
	kchashmgr create -otr -otl -onr -apow 1 -fpow 3 \
	  -ts -tl -tc -bnum 1 casket
	kchashmgr import casket < lab/numbers.tsv
	kchashmgr set casket mikio kyotocabinet
	kchashmgr set -app casket tako ikaunini
	kchashmgr set -app casket mikio kyototyrant
	kchashmgr set -app casket mikio kyotodystopia
	kchashmgr get -px casket mikio > check.out
	kchashmgr list casket > check.out
	kchashmgr check -onr casket
	-del casket* /F /Q > NUL: 2>&1
	kchashtest order -set -bnum 5000 -msiz 50000 casket 10000
	kchashtest order -get -msiz 50000 casket 10000
	kchashtest order -getw -msiz 5000 casket 10000
	kchashtest order -rem -msiz 50000 casket 10000
	kchashtest order -bnum 5000 -msiz 50000 casket 10000
	kchashtest order -etc \
	  -bnum 5000 -msiz 50000 -dfunit 4 casket 10000
	kchashtest order -th 4 \
	  -bnum 5000 -msiz 50000 -dfunit 4 casket 10000
	kchashtest order -th 4 -rnd -etc \
	  -bnum 5000 -msiz 50000 -dfunit 4 casket 10000
	kchashmgr check -onr casket
	kchashtest order -th 4 -rnd -etc -tran \
	  -bnum 5000 -msiz 50000 -dfunit 4 casket 10000
	kchashmgr check -onr casket
	kchashtest order -th 4 -rnd -etc -oat \
	  -bnum 5000 -msiz 50000 -dfunit 4 casket 10000
	kchashmgr check -onr casket
	kchashtest order -th 4 -rnd -etc \
	  -apow 2 -fpow 3 -ts -tl -tc -bnum 5000 -msiz 50000 -dfunit 4 casket 10000
	kchashmgr check -onr casket
	kchashtest queue \
	  -bnum 5000 -msiz 50000 casket 10000
	kchashmgr check -onr casket
	kchashtest queue -rnd \
	  -bnum 5000 -msiz 50000 casket 10000
	kchashmgr check -onr casket
	kchashtest queue -th 4 -it 4 \
	  -bnum 5000 -msiz 50000 casket 10000
	kchashmgr check -onr casket
	kchashtest queue -th 4 -it 4 -rnd \
	  -bnum 5000 -msiz 50000 casket 10000
	kchashmgr check -onr casket
	kchashtest wicked -bnum 5000 -msiz 50000 casket 10000
	kchashmgr check -onr casket
	kchashtest wicked -th 4 -it 4 \
	  -bnum 5000 -msiz 50000 -dfunit 4 casket 10000
	kchashmgr check -onr casket
	kchashtest wicked -th 4 -it 4 -oat \
	  -bnum 5000 -msiz 50000 -dfunit 4 casket 10000
	kchashmgr check -onr casket
	kchashtest wicked -th 4 -it 4 \
	  -apow 2 -fpow 3 -ts -tl -tc -bnum 10000 -msiz 50000 -dfunit 4 casket 10000
	kchashmgr check -onr casket
	kchashtest tran casket 10000
	kchashtest tran -th 2 -it 4 casket 10000
	kchashtest tran -th 2 -it 4 \
	  -apow 2 -fpow 3 -ts -tl -tc -bnum 10000 -msiz 50000 -dfunit 4 casket 10000


check-tree :
	-del casket* /F /Q > NUL: 2>&1
	-rd casket casket.wal casket.tmp casket-para casket.kcd casket.kcf /S /Q > NUL: 2>&1
	kctreemgr create -otr -apow 1 -fpow 2 -bnum 3 casket
	kctreemgr inform -st casket
	kctreemgr set -add casket duffy 1231
	kctreemgr set -add casket micky 0101
	kctreemgr set casket fal 1007
	kctreemgr set casket mikio 0211
	kctreemgr set casket natsuki 0810
	kctreemgr set casket micky ""
	kctreemgr set -rep casket duffy 777
	kctreemgr set -app casket duffy kukuku
	kctreemgr remove casket micky
	kctreemgr list -pv casket > check.out
	kctreemgr set casket ryu 1
	kctreemgr set casket ken 2
	kctreemgr remove casket duffy
	kctreemgr set casket ryu syo-ryu-ken
	kctreemgr set casket ken tatsumaki-senpu-kyaku
	kctreemgr set -inci casket int 1234
	kctreemgr set -inci casket int 5678
	kctreemgr set -incd casket double 1234.5678
	kctreemgr set -incd casket double 8765.4321
	kctreemgr get casket mikio
	kctreemgr get casket ryu
	kctreemgr import casket lab/numbers.tsv
	kctreemgr list -des -pv -px casket > check.out
	kctreemgr copy casket casket-para
	kctreemgr dump casket check.out
	kctreemgr load -otr casket check.out
	kctreemgr defrag -onl casket
	kctreemgr check -onr casket
	kctreemgr inform -st casket
	kctreemgr create -otr -otl -onr -apow 1 -fpow 3 \
	  -ts -tl -tc -bnum 1 casket
	kctreemgr import casket < lab/numbers.tsv
	kctreemgr set casket mikio kyotocabinet
	kctreemgr set -app casket tako ikaunini
	kctreemgr set -app casket mikio kyototyrant
	kctreemgr set -app casket mikio kyotodystopia
	kctreemgr get -px casket mikio > check.out
	kctreemgr list casket > check.out
	kctreemgr check -onr casket
	-del casket* /F /Q > NUL: 2>&1
	kctreetest order -set \
	  -psiz 100 -bnum 5000 -msiz 50000 -pccap 100k casket 10000
	kctreetest order -get \
	  -msiz 50000 -pccap 100k casket 10000
	kctreetest order -getw \
	  -msiz 5000 -pccap 100k casket 10000
	kctreetest order -rem \
	  -msiz 50000 -pccap 100k casket 10000
	kctreetest order \
	  -bnum 5000 -psiz 100 -msiz 50000 -pccap 100k casket 10000
	kctreetest order -etc \
	  -bnum 5000 -psiz 1000 -msiz 50000 -dfunit 4 -pccap 100k casket 10000
	kctreetest order -th 4 \
	  -bnum 5000 -psiz 1000 -msiz 50000 -dfunit 4 -pccap 100k casket 10000
	kctreetest order -th 4 -pccap 100k -rnd -etc \
	  -bnum 5000 -psiz 1000 -msiz 50000 -dfunit 4 -pccap 100k -rcd casket 10000
	kctreemgr check -onr casket
	kctreetest order -th 4 -rnd -etc -tran \
	  -bnum 5000 -psiz 1000 -msiz 50000 -dfunit 4 -pccap 100k casket 1000
	kctreemgr check -onr casket
	kctreetest order -th 4 -rnd -etc -oat \
	  -bnum 5000 -psiz 1000 -msiz 50000 -dfunit 4 -pccap 100k casket 1000
	kctreemgr check -onr casket
	kctreetest order -th 4 -rnd -etc \
	  -apow 2 -fpow 3 -ts -tl -tc -bnum 5000 -psiz 1000 -msiz 50000 -dfunit 4 casket 10000
	kctreemgr check -onr casket
	kctreetest queue \
	  -bnum 5000 -psiz 500 -msiz 50000 casket 10000
	kctreemgr check -onr casket
	kctreetest queue -rnd \
	  -bnum 5000 -psiz 500 -msiz 50000 casket 10000
	kctreemgr check -onr casket
	kctreetest queue -th 4 -it 4 \
	  -bnum 5000 -psiz 500 -msiz 50000 casket 10000
	kctreemgr check -onr casket
	kctreetest queue -th 4 -it 4 -rnd \
	  -bnum 5000 -psiz 500 -msiz 50000 casket 10000
	kctreemgr check -onr casket
	kctreetest wicked \
	  -bnum 5000 -psiz 1000 -msiz 50000 -pccap 100k casket 10000
	kctreemgr check -onr casket
	kctreetest wicked -th 4 -it 4 \
	  -bnum 5000 -msiz 50000 -dfunit 4 -pccap 100k -rcd casket 10000
	kctreemgr check -onr casket
	kctreetest wicked -th 4 -it 4 -oat \
	  -bnum 5000 -msiz 50000 -dfunit 4 -pccap 100k casket 1000
	kctreemgr check -onr casket
	kctreetest wicked -th 4 -it 4 \
	  -apow 2 -fpow 3 -ts -tl -tc -bnum 10000 -msiz 50000 -dfunit 4 casket 1000
	kctreemgr check -onr casket
	kctreetest tran casket 10000
	kctreetest tran -th 2 -it 4 -pccap 100k casket 10000
	kctreetest tran -th 2 -it 4 \
	  -apow 2 -fpow 3 -ts -tl -tc -bnum 10000 -msiz 50000 -dfunit 4 -rcd casket 10000


check-dir :
	-del casket* /F /Q > NUL: 2>&1
	-rd casket casket.wal casket.tmp casket-para casket.kcd casket.kcf /S /Q > NUL: 2>&1
	kcdirmgr create -otr casket
	kcdirmgr inform -st casket
	kcdirmgr set -add casket duffy 1231
	kcdirmgr set -add casket micky 0101
	kcdirmgr set casket fal 1007
	kcdirmgr set casket mikio 0211
	kcdirmgr set casket natsuki 0810
	kcdirmgr set casket micky ""
	kcdirmgr set -rep casket duffy 777
	kcdirmgr set -app casket duffy kukuku
	kcdirmgr remove casket micky
	kcdirmgr list -pv casket > check.out
	kcdirmgr set casket ryu 1
	kcdirmgr set casket ken 2
	kcdirmgr remove casket duffy
	kcdirmgr set casket ryu syo-ryu-ken
	kcdirmgr set casket ken tatsumaki-senpu-kyaku
	kcdirmgr set -inci casket int 1234
	kcdirmgr set -inci casket int 5678
	kcdirmgr set -incd casket double 1234.5678
	kcdirmgr set -incd casket double 8765.4321
	kcdirmgr get casket mikio
	kcdirmgr get casket ryu
	kcdirmgr import casket lab/numbers.tsv
	kcdirmgr list -pv -px casket > check.out
	kcdirmgr copy casket casket-para
	kcdirmgr dump casket check.out
	kcdirmgr load -otr casket check.out
	kcdirmgr check -onr casket
	kcdirmgr inform -st casket
	kcdirmgr create -otr -otl -onr -tc casket
	kcdirmgr import casket < lab/numbers.tsv
	kcdirmgr set casket mikio kyotocabinet
	kcdirmgr set -app casket tako ikaunini
	kcdirmgr set -app casket mikio kyototyrant
	kcdirmgr set -app casket mikio kyotodystopia
	kcdirmgr get -px casket mikio > check.out
	kcdirmgr list casket > check.out
	kcdirmgr check -onr casket
	-rd casket casket.wal casket.tmp casket-para casket.kcd casket.kcf /S /Q > NUL: 2>&1
	kcdirtest order -set casket 500
	kcdirtest order -get casket 500
	kcdirtest order -getw casket 500
	kcdirtest order -rem casket 500
	kcdirtest order casket 500
	kcdirtest order -etc casket 500
	kcdirtest order -th 4 casket 500
	kcdirtest order -th 4 -rnd -etc casket 500
	kcdirmgr check -onr casket
	kcdirtest order -th 4 -rnd -etc -tran casket 500
	kcdirmgr check -onr casket
	kcdirtest order -th 4 -rnd -etc -oat casket 500
	kcdirmgr check -onr casket
	kcdirtest order -th 4 -rnd -etc -tc casket 500
	kcdirmgr check -onr casket
	kcdirtest queue casket 500
	kcdirmgr check -onr casket
	kcdirtest queue -rnd casket 500
	kcdirmgr check -onr casket
	kcdirtest queue -th 4 -it 4 casket 500
	kcdirmgr check -onr casket
	kcdirtest queue -th 4 -it 4 -rnd casket 500
	kcdirmgr check -onr casket
	kcdirtest wicked casket 500
	kcdirmgr check -onr casket
	kcdirtest wicked -th 4 -it 4 casket 500
	kcdirmgr check -onr casket
	kcdirtest wicked -th 4 -it 4 -oat casket 500
	kcdirmgr check -onr casket
	kcdirtest wicked -th 4 -it 4 -tc casket 500
	kcdirmgr check -onr casket
	kcdirtest tran casket 500
	kcdirtest tran -th 2 -it 4 casket 500
	kcdirtest tran -th 2 -it 4 -tc casket 500


check-forest :
	-del casket* /F /Q > NUL: 2>&1
	-rd casket casket.wal casket.tmp casket-para casket.kcd casket.kcf /S /Q > NUL: 2>&1
	kcforestmgr create -otr -bnum 3 casket
	kcforestmgr inform -st casket
	kcforestmgr set -add casket duffy 1231
	kcforestmgr set -add casket micky 0101
	kcforestmgr set casket fal 1007
	kcforestmgr set casket mikio 0211
	kcforestmgr set casket natsuki 0810
	kcforestmgr set casket micky ""
	kcforestmgr set -rep casket duffy 777
	kcforestmgr set -app casket duffy kukuku
	kcforestmgr remove casket micky
	kcforestmgr list -pv casket > check.out
	kcforestmgr set casket ryu 1
	kcforestmgr set casket ken 2
	kcforestmgr remove casket duffy
	kcforestmgr set casket ryu syo-ryu-ken
	kcforestmgr set casket ken tatsumaki-senpu-kyaku
	kcforestmgr set -inci casket int 1234
	kcforestmgr set -inci casket int 5678
	kcforestmgr set -incd casket double 1234.5678
	kcforestmgr set -incd casket double 8765.4321
	kcforestmgr get casket mikio
	kcforestmgr get casket ryu
	kcforestmgr import casket lab/numbers.tsv
	kcforestmgr list -des -pv -px casket > check.out
	kcforestmgr copy casket casket-para
	kcforestmgr dump casket check.out
	kcforestmgr load -otr casket check.out
	kcforestmgr check -onr casket
	kcforestmgr inform -st casket
	kcforestmgr create -otr -otl -onr \
	  -tc -bnum 1 casket
	kcforestmgr import casket < lab/numbers.tsv
	kcforestmgr set casket mikio kyotocabinet
	kcforestmgr set -app casket tako ikaunini
	kcforestmgr set -app casket mikio kyototyrant
	kcforestmgr set -app casket mikio kyotodystopia
	kcforestmgr get -px casket mikio > check.out
	kcforestmgr list casket > check.out
	kcforestmgr check -onr casket
	-rd casket casket.wal casket.tmp casket-para casket.kcd casket.kcf /S /Q > NUL: 2>&1
	kcforesttest order -set \
	  -psiz 100 -bnum 5000 -pccap 100k casket 5000
	kcforesttest order -get \
	  -pccap 100k casket 5000
	kcforesttest order -getw \
	  -pccap 100k casket 5000
	kcforesttest order -rem \
	  -pccap 100k casket 5000
	kcforesttest order \
	  -bnum 5000 -psiz 100 -pccap 100k casket 5000
	kcforesttest order -etc \
	  -bnum 5000 -psiz 1000 -pccap 100k casket 5000
	kcforesttest order -th 4 \
	  -bnum 5000 -psiz 1000 -pccap 100k casket 5000
	kcforesttest order -th 4 -pccap 100k -rnd -etc \
	  -bnum 5000 -psiz 1000 -pccap 100k -rcd casket 5000
	kcforestmgr check -onr casket
	kcforesttest order -th 4 -rnd -etc -tran \
	  -bnum 500 -psiz 1000 -pccap 100k casket 500
	kcforestmgr check -onr casket
	kcforesttest order -th 4 -rnd -etc -oat \
	  -bnum 500 -psiz 1000 -pccap 100k casket 500
	kcforestmgr check -onr casket
	kcforesttest order -th 4 -rnd -etc \
	  -tc -bnum 5000 -psiz 1000 casket 5000
	kcforestmgr check -onr casket
	kcforesttest queue \
	  -bnum 5000 -psiz 500 casket 5000
	kcforestmgr check -onr casket
	kcforesttest queue -rnd \
	  -bnum 5000 -psiz 500 casket 5000
	kcforestmgr check -onr casket
	kcforesttest queue -th 4 -it 4 \
	  -bnum 5000 -psiz 500 casket 5000
	kcforestmgr check -onr casket
	kcforesttest queue -th 4 -it 4 -rnd \
	  -bnum 5000 -psiz 500 casket 5000
	kcforestmgr check -onr casket
	kcforesttest wicked \
	  -bnum 5000 -psiz 1000 -pccap 100k casket 5000
	kcforestmgr check -onr casket
	kcforesttest wicked -th 4 -it 4 \
	  -bnum 5000 -pccap 100k -rcd casket 5000
	kcforestmgr check -onr casket
	kcforesttest wicked -th 4 -it 4 -oat \
	  -bnum 5000 -pccap 100k casket 500
	kcforestmgr check -onr casket
	kcforesttest wicked -th 4 -it 4 \
	  -tc -bnum 500 casket 500
	kcforestmgr check -onr casket
	kcforesttest tran casket 5000
	kcforesttest tran -th 2 -it 4 -pccap 100k casket 5000
	kcforesttest tran -th 2 -it 4 \
	  -tc -bnum 5000 -rcd casket 5000


check-poly :
	-del casket* /F /Q > NUL: 2>&1
	-rd casket casket.wal casket.tmp casket-para casket.kcd casket.kcf /S /Q > NUL: 2>&1
	kcpolymgr create -otr "casket.kch#apow=1#fpow=2#bnum=3"
	kcpolymgr inform -st casket.kch
	kcpolymgr set -add casket.kch duffy 1231
	kcpolymgr set -add casket.kch micky 0101
	kcpolymgr set casket.kch fal 1007
	kcpolymgr set casket.kch mikio 0211
	kcpolymgr set casket.kch natsuki 0810
	kcpolymgr set casket.kch micky ""
	kcpolymgr set -app casket.kch duffy kukuku
	kcpolymgr remove casket.kch micky
	kcpolymgr list -pv casket.kch > check.out
	kcpolymgr copy casket.kch casket-para
	kcpolymgr dump casket.kch check.out
	kcpolymgr load -otr casket.kch check.out
	kcpolymgr set casket.kch ryu 1
	kcpolymgr set casket.kch ken 2
	kcpolymgr remove casket.kch duffy
	kcpolymgr set casket.kch ryu syo-ryu-ken
	kcpolymgr set casket.kch ken tatsumaki-senpu-kyaku
	kcpolymgr set -inci casket.kch int 1234
	kcpolymgr set -inci casket.kch int 5678
	kcpolymgr set -incd casket.kch double 1234.5678
	kcpolymgr set -incd casket.kch double 8765.4321
	kcpolymgr get "casket.kch" mikio
	kcpolymgr get "casket.kch" ryu
	kcpolymgr import casket.kch lab/numbers.tsv
	kcpolymgr list -pv -px "casket.kch#mode=r" > check.out
	kcpolymgr check -onr casket.kch
	kcpolymgr inform -st casket.kch
	kcpolymgr create -otr -otl -onr \
	  "casket.kct#apow=1#fpow=3#opts=slc#bnum=1"
	kcpolymgr import casket.kct < lab/numbers.tsv
	kcpolymgr set casket.kct mikio kyotocabinet
	kcpolymgr set -app casket.kct tako ikaunini
	kcpolymgr set -app casket.kct mikio kyototyrant
	kcpolymgr set -app casket.kct mikio kyotodystopia
	kcpolymgr get -px casket.kct mikio > check.out
	kcpolymgr list casket.kct > check.out
	kcpolymgr check -onr casket.kct
	-del casket* /F /Q > NUL: 2>&1
	kcpolytest order -set "casket.kct#bnum=5000#msiz=50000" 10000
	kcpolytest order -get "casket.kct#msiz=50000" 10000
	kcpolytest order -getw "casket.kct#msiz=5000" 10000
	kcpolytest order -rem "casket.kct#msiz=50000" 10000
	kcpolytest order "casket.kct#bnum=5000#msiz=50000" 10000
	kcpolytest order -etc \
	  "casket.kct#bnum=5000#msiz=50000#dfunit=4" 10000
	kcpolytest order -th 4 \
	  "casket.kct#bnum=5000#msiz=50000#dfunit=4" 10000
	kcpolytest order -th 4 -rnd -etc \
	  "casket.kct#bnum=5000#msiz=0#dfunit=1" 1000
	kcpolymgr check -onr casket.kct
	kcpolytest order -th 4 -rnd -etc -tran \
	  "casket.kct#bnum=5000#msiz=0#dfunit=2" 1000
	kcpolymgr check -onr casket.kct
	kcpolytest order -th 4 -rnd -etc -oat \
	  "casket.kct#bnum=5000#msiz=0#dfunit=3" 1000
	kcpolymgr check -onr casket.kct
	kcpolytest order -th 4 -rnd -etc \
	  "casket.kct#apow=2#fpow=3#opts=slc#bnum=5000#msiz=0#dfunit=4" 1000
	kcpolymgr check -onr casket.kct
	kcpolytest queue \
	  "casket.kct#bnum=5000#msiz=0" 10000
	kcpolymgr check -onr casket.kct
	kcpolytest queue -rnd \
	  "casket.kct#bnum=5000#msiz=0" 10000
	kcpolymgr check -onr casket.kct
	kcpolytest queue -th 4 -it 4 \
	  "casket.kct#bnum=5000#msiz=0" 10000
	kcpolymgr check -onr casket.kct
	kcpolytest queue -th 4 -it 4 -rnd \
	  "casket.kct#bnum=5000#msiz=0" 10000
	kcpolymgr check -onr casket.kct
	kcpolytest wicked "casket.kct#bnum=5000#msiz=0" 1000
	kcpolymgr check -onr casket.kct
	kcpolytest wicked -th 4 -it 4 \
	  "casket.kct#bnum=5000#msiz=0#dfunit=1" 1000
	kcpolymgr check -onr casket.kct
	kcpolytest wicked -th 4 -it 4 -oat \
	  "casket.kct#bnum=5000#msiz=0#dfunit=1" 1000
	kcpolymgr check -onr casket.kct
	kcpolytest wicked -th 4 -it 4 \
	  "casket.kct#apow=2#fpow=3#opts=slc#bnum=10000#msiz=0#dfunit=1" 10000
	kcpolymgr check -onr casket.kct
	kcpolytest tran casket.kct 10000
	kcpolytest tran -th 2 -it 4 casket.kct 10000
	kcpolytest tran -th 2 -it 4 \
	  "casket.kct#apow=2#fpow=3#opts=slc#bnum=10000#msiz=0#dfunit=1" 1000
	kcpolytest mapred -dbnum 2 -clim 10k casket.kct 10000
	kcpolytest mapred -tmp . -dbnum 2 -clim 10k -xnl -xnc \
	  casket.kct 10000
	kcpolytest mapred -tmp . -dbnum 2 -clim 10k -xpm -xpr -xpf -xnc \
	  casket.kct 10000
	kcpolytest mapred -rnd -dbnum 2 -clim 10k casket.kct 10000
	kcpolytest index -set "casket.kct#idxclim=32k" 10000
	kcpolytest index -get "casket.kct" 10000
	kcpolytest index -rem "casket.kct" 10000
	kcpolytest index -etc "casket.kct#idxclim=32k" 10000
	kcpolytest index -th 4 -rnd -set \
	  "casket.kct#idxclim=32k#idxdbnum=4" 10000
	kcpolytest index -th 4 -rnd -get "casket.kct" 10000
	kcpolytest index -th 4 -rnd -rem "casket.kct" 10000
	kcpolytest index -th 4 -rnd -etc \
	  "casket.kct#idxclim=32k#idxdbnum=4" 10000
	-del casket* /F /Q > NUL: 2>&1
	-rd casket casket.wal casket.tmp casket-para casket.kcd casket.kcf /S /Q > NUL: 2>&1
	kcpolytest order -rnd "casket.kcx" 10000
	kcpolytest order -th 4 -rnd "casket.kcx" 10000
	kcpolytest wicked "casket.kcx" 10000
	kcpolytest wicked -th 4 "casket.kcx" 10000
	kcpolymgr list "casket.kcx" > check.in
	kcpolymgr list -max 1000 "casket.kcx" > check.in
	kcpolytest mapred "casket.kcx" 10000
	kcpolytest mapred -xpm -xpr -xpf "casket.kcx" 10000
	-del casket* /F /Q > NUL: 2>&1
	-rd casket casket.wal casket.tmp casket-para casket.kcd casket.kcf /S /Q > NUL: 2>&1
	kcpolytest order -rnd "casket.kch#opts=s#bnum=256" 1000
	kcpolytest order -rnd "casket.kct#opts=l#psiz=256" 1000
	kcpolytest order -rnd "casket.kcd#opts=c#bnum=256" 500
	kcpolytest order -rnd "casket.kcf#opts=c#psiz=256" 500
	kcpolytest order -rnd "casket.kcx" 500
	kcpolymgr merge -add "casket#type=kct" \
	  casket.kch casket.kct casket.kcd casket.kcf casket.kcx
	-del casket* /F /Q > NUL: 2>&1
	-rd casket casket.wal casket.tmp casket-para casket.kcd casket.kcf /S /Q > NUL: 2>&1
	kcpolytest misc "casket#type=-"
	kcpolytest misc "casket#type=+"
	kcpolytest misc "casket#type=:"
	kcpolytest misc "casket#type=*"
	kcpolytest misc "casket#type=%"
	-del casket* /F /Q > NUL: 2>&1
	-rd casket casket.wal casket.tmp casket-para casket.kcd casket.kcf /S /Q > NUL: 2>&1
	kcpolytest misc "casket#type=kch#log=-#logkinds=debug#mtrg=-#zcomp=lzocrc"
	-del casket* /F /Q > NUL: 2>&1
	-rd casket casket.wal casket.tmp casket-para casket.kcd casket.kcf /S /Q > NUL: 2>&1
	kcpolytest misc "casket#type=kct#log=-#logkinds=debug#mtrg=-#zcomp=lzmacrc"
	-del casket* /F /Q > NUL: 2>&1
	-rd casket casket.wal casket.tmp casket-para casket.kcd casket.kcf /S /Q > NUL: 2>&1
	kcpolytest misc "casket#type=kcd#zcomp=arc#zkey=mikio"
	-del casket* /F /Q > NUL: 2>&1
	-rd casket casket.wal casket.tmp casket-para casket.kcd casket.kcf /S /Q > NUL: 2>&1
	kcpolytest misc "casket#type=kcf#zcomp=arc#zkey=mikio"


check-langc :
	-del casket* /F /Q > NUL: 2>&1
	-rd casket casket.wal casket.tmp casket-para casket.kcd casket.kcf /S /Q > NUL: 2>&1
	kclangctest order "casket.kch#bnum=5000#msiz=50000" 10000
	kclangctest order -etc \
	  "casket.kch#bnum=5000#msiz=50000#dfunit=2" 10000
	kclangctest order -rnd -etc \
	  "casket.kch#bnum=5000#msiz=50000#dfunit=2" 10000
	kclangctest order -rnd -etc -oat -tran \
	  "casket.kch#bnum=5000#msiz=50000#dfunit=2#zcomp=arcz" 10000
	kclangctest index "casket.kct#bnum=5000#msiz=50000" 10000
	kclangctest index -etc \
	  "casket.kct#bnum=5000#msiz=50000#dfunit=2" 10000
	kclangctest index -rnd -etc \
	  "casket.kct#bnum=5000#msiz=50000#dfunit=2" 10000
	kclangctest index -rnd -etc -oat \
	  "casket.kct#bnum=5000#msiz=50000#dfunit=2#zcomp=arcz" 10000
	kclangctest map 10000
	kclangctest map -etc -bnum 1000 10000
	kclangctest map -etc -rnd -bnum 1000 10000
	kclangctest list 10000
	kclangctest list -etc 10000
	kclangctest list -etc -rnd 10000


check-forever :
	lab\vcmakecheck


binpkg :
	-rd kcwin32 /S /Q > NUL: 2>&1
	md kcwin32
	md kcwin32\include
	copy *.h kcwin32\include
	del kcwin32\include\myconf.h
	del kcwin32\include\cmdcommon.h
	md kcwin32\lib
	copy *.lib kcwin32\lib
	md kcwin32\bin
	copy *.exe kcwin32\bin
	xcopy /S /E /I doc kcwin32\doc



#================================================================
# Building binaries
#================================================================


kyotocabinet.lib : $(LIBOBJFILES)
	$(LIB) $(LIBFLAGS) /OUT:$@ $(LIBOBJFILES)


kcutiltest.exe : kcutiltest.obj kyotocabinet.lib
	$(LINK) $(LINKFLAGS) /OUT:$@ kcutiltest.obj kyotocabinet.lib


kcutilmgr.exe : kcutilmgr.obj kyotocabinet.lib
	$(LINK) $(LINKFLAGS) /OUT:$@ kcutilmgr.obj kyotocabinet.lib


kcprototest.exe : kcprototest.obj kyotocabinet.lib
	$(LINK) $(LINKFLAGS) /OUT:$@ kcprototest.obj kyotocabinet.lib


kcstashtest.exe : kcstashtest.obj kyotocabinet.lib
	$(LINK) $(LINKFLAGS) /OUT:$@ kcstashtest.obj kyotocabinet.lib


kccachetest.exe : kccachetest.obj kyotocabinet.lib
	$(LINK) $(LINKFLAGS) /OUT:$@ kccachetest.obj kyotocabinet.lib


kcgrasstest.exe : kcgrasstest.obj kyotocabinet.lib
	$(LINK) $(LINKFLAGS) /OUT:$@ kcgrasstest.obj kyotocabinet.lib


kchashtest.exe : kchashtest.obj kyotocabinet.lib
	$(LINK) $(LINKFLAGS) /OUT:$@ kchashtest.obj kyotocabinet.lib


kchashmgr.exe : kchashmgr.obj kyotocabinet.lib
	$(LINK) $(LINKFLAGS) /OUT:$@ kchashmgr.obj kyotocabinet.lib


kctreetest.exe : kctreetest.obj kyotocabinet.lib
	$(LINK) $(LINKFLAGS) /OUT:$@ kctreetest.obj kyotocabinet.lib


kctreemgr.exe : kctreemgr.obj kyotocabinet.lib
	$(LINK) $(LINKFLAGS) /OUT:$@ kctreemgr.obj kyotocabinet.lib


kcdirtest.exe : kcdirtest.obj kyotocabinet.lib
	$(LINK) $(LINKFLAGS) /OUT:$@ kcdirtest.obj kyotocabinet.lib


kcdirmgr.exe : kcdirmgr.obj kyotocabinet.lib
	$(LINK) $(LINKFLAGS) /OUT:$@ kcdirmgr.obj kyotocabinet.lib


kcforesttest.exe : kcforesttest.obj kyotocabinet.lib
	$(LINK) $(LINKFLAGS) /OUT:$@ kcforesttest.obj kyotocabinet.lib


kcforestmgr.exe : kcforestmgr.obj kyotocabinet.lib
	$(LINK) $(LINKFLAGS) /OUT:$@ kcforestmgr.obj kyotocabinet.lib


kcpolytest.exe : kcpolytest.obj kyotocabinet.lib
	$(LINK) $(LINKFLAGS) /OUT:$@ kcpolytest.obj kyotocabinet.lib


kcpolymgr.exe : kcpolymgr.obj kyotocabinet.lib
	$(LINK) $(LINKFLAGS) /OUT:$@ kcpolymgr.obj kyotocabinet.lib


kclangctest.exe : kclangctest.obj kyotocabinet.lib
	$(LINK) $(LINKFLAGS) /OUT:$@ kclangctest.obj kyotocabinet.lib


kcutil.obj : kccommon.h kcutil.h myconf.h

kcdb.obj : kccommon.h kcutil.h kcdb.h myconf.h

kcthread.obj : kccommon.h kcutil.h kcthread.h myconf.h

kcfile.obj : kccommon.h kcutil.h kcthread.h kcfile.h myconf.h

kccompress.obj : kccommon.h kcutil.h kccompress.h myconf.h

kccompare.obj : kccommon.h kcutil.h kccompare.h myconf.h

kcmap.obj : kccommon.h kcutil.h kcmap.h myconf.h

kcregex.obj : kccommon.h kcutil.h kcregex.h myconf.h

kcplantdb.obj : kccommon.h kcutil.h kcdb.h kcthread.h kcfile.h kccompress.h kccompare.h \
  kcmap.h kcregex.h \
  kcplantdb.h

kcprotodb.obj : kccommon.h kcutil.h kcdb.h kcthread.h kcfile.h kccompress.h kccompare.h \
  kcmap.h kcregex.h \
  kcplantdb.h kcprotodb.h

kcstashdb.obj : kccommon.h kcutil.h kcdb.h kcthread.h kcfile.h kccompress.h kccompare.h \
  kcmap.h kcregex.h \
  kcplantdb.h kcstashdb.h

kccachedb.obj : kccommon.h kcutil.h kcdb.h kcthread.h kcfile.h kccompress.h kccompare.h \
  kcmap.h kcregex.h \
  kcplantdb.h kccachedb.h

kchashdb.obj : kccommon.h kcutil.h kcdb.h kcthread.h kcfile.h kccompress.h kccompare.h \
  kcmap.h kcregex.h \
  kcplantdb.h kchashdb.h

kcdirdb.obj : kccommon.h kcutil.h kcdb.h kcthread.h kcfile.h kccompress.h kccompare.h \
  kcmap.h kcregex.h \
  kcplantdb.h kcdirdb.h

kctextdb.obj : kccommon.h kcutil.h kcdb.h kcthread.h kcfile.h kccompress.h kccompare.h \
  kcmap.h kcregex.h \
  kcplantdb.h kctextdb.h

kcpolydb.obj : kccommon.h kcutil.h kcdb.h kcthread.h kcfile.h kccompress.h kccompare.h \
  kcmap.h kcregex.h \
  kcplantdb.h kcprotodb.h kcstashdb.h kccachedb.h kchashdb.h kcdirdb.h kctextdb.h kcpolydb.h

kcdbext.obj : kccommon.h kcutil.h kcdb.h kcthread.h kcfile.h kccompress.h kccompare.h \
  kcmap.h kcregex.h \
  kcplantdb.h kcprotodb.h kcstashdb.h kccachedb.h kchashdb.h kcdirdb.h kctextdb.h \
  kcpolydb.h kcdbext.h

kclangc.obj : kccommon.h kcutil.h kcdb.h kcthread.h kcfile.h kccompress.h kccompare.h \
  kcmap.h kcregex.h \
  kcplantdb.h kcprotodb.h kcstashdb.h kccachedb.h kchashdb.h kcdirdb.h kctextdb.h \
  kcpolydb.h kcdbext.h kclangc.h

kcutiltest.obj kcutilmgr.obj : \
  kccommon.h kcdb.h kcutil.h kcthread.h kcfile.h kccompress.h kccompare.h \
  kcmap.h kcregex.h \
  cmdcommon.h

kcprototest.obj : \
  kccommon.h kcdb.h kcutil.h kcthread.h kcfile.h kccompress.h kccompare.h \
  kcmap.h kcregex.h \
  kcplantdb.h kcprotodb.h cmdcommon.h

kcstashtest.obj kcgrasstest.obj : \
  kccommon.h kcdb.h kcutil.h kcthread.h kcfile.h kccompress.h kccompare.h \
  kcmap.h kcregex.h \
  kcplantdb.h kcstashdb.h cmdcommon.h

kccachetest.obj kcgrasstest.obj : \
  kccommon.h kcdb.h kcutil.h kcthread.h kcfile.h kccompress.h kccompare.h \
  kcmap.h kcregex.h \
  kcplantdb.h kccachedb.h cmdcommon.h

kchashtest.obj kchashmgr.obj kctreetest.obj kctreemgr.obj : \
  kccommon.h kcdb.h kcutil.h kcthread.h kcfile.h kccompress.h kccompare.h \
  kcmap.h kcregex.h \
  kcplantdb.h kchashdb.h cmdcommon.h

kcdirtest.obj kcdirmgr.obj kcforesttest.obj kcforestmgr.obj : \
  kccommon.h kcdb.h kcutil.h kcthread.h kcfile.h kccompress.h kccompare.h \
  kcmap.h kcregex.h \
  kcplantdb.h kcdirdb.h cmdcommon.h

kcpolytest.obj kcpolymgr.obj : \
  kccommon.h kcdb.h kcutil.h kcthread.h kcfile.h kccompress.h kccompare.h \
  kcmap.h kcregex.h \
  kcplantdb.h kcprotodb.h kcstashdb.h kccachedb.h kchashdb.h kcdirdb.h kctextdb.h \
  kcpolydb.h kcdbext.h cmdcommon.h

kclangctest.obj : \
  kccommon.h kcdb.h kcutil.h kcthread.h kcfile.h kccompress.h kccompare.h \
  kcmap.h kcregex.h \
  kcplantdb.h kcprotodb.h kcstashdb.h kccachedb.h kchashdb.h kcdirdb.h kctextdb.h \
  kcpolydb.h kcdbext.h kclangc.h



# END OF FILE