@@ -74,12 +74,14 @@ BUILT_TEST_PROGRAMS = \
74
74
test/fieldarith \
75
75
test/hfile \
76
76
test/pileup \
77
+ test/pileup_mod \
77
78
test/plugins-dlhts \
78
79
test/sam \
79
80
test/test_bgzf \
80
81
test/test_expr \
81
82
test/test_kfunc \
82
83
test/test_kstring \
84
+ test/test_mod \
83
85
test/test_realn \
84
86
test/test-regidx \
85
87
test/test_str2int \
@@ -129,8 +131,8 @@ LIBHTS_SOVERSION = 3
129
131
# is not strictly necessary and should be removed the next time
130
132
# LIBHTS_SOVERSION is bumped (see #1144 and
131
133
# https://developer.apple.com/library/archive/documentation/DeveloperTools/Conceptual/DynamicLibraries/100-Articles/DynamicLibraryDesignGuidelines.html#//apple_ref/doc/uid/TP40002013-SW23)
132
- MACH_O_COMPATIBILITY_VERSION = 3.1.13
133
- MACH_O_CURRENT_VERSION = 3.1.13
134
+ MACH_O_COMPATIBILITY_VERSION = 3.1.14
135
+ MACH_O_CURRENT_VERSION = 3.1.14
134
136
135
137
# $(NUMERIC_VERSION) is for items that must have a numeric X.Y.Z string
136
138
# even if this is a dirty or untagged Git working tree.
@@ -363,7 +365,7 @@ hfile_gcs.o hfile_gcs.pico: hfile_gcs.c config.h $(htslib_hts_h) $(htslib_kstrin
363
365
hfile_libcurl.o hfile_libcurl.pico : hfile_libcurl.c config.h $(hfile_internal_h ) $(htslib_hts_h ) $(htslib_kstring_h ) $(htslib_khash_h )
364
366
hfile_s3_write.o hfile_s3_write.pico : hfile_s3_write.c config.h $(hfile_internal_h ) $(htslib_hts_h ) $(htslib_kstring_h ) $(htslib_khash_h )
365
367
hfile_s3.o hfile_s3.pico : hfile_s3.c config.h $(hfile_internal_h ) $(htslib_hts_h ) $(htslib_kstring_h )
366
- hts.o hts.pico : hts.c config.h $( htslib_hts_expr_h ) $(htslib_hts_h ) $(htslib_bgzf_h ) $(cram_h ) $(htslib_hfile_h ) $(htslib_hts_endian_h ) version.h config_vars.h $(hts_internal_h ) $(hfile_internal_h ) $(sam_internal_h ) $(htslib_hts_os_h ) $(htslib_khash_h ) $(htslib_kseq_h ) $(htslib_ksort_h ) $(htslib_tbx_h ) $(htscodecs_htscodecs_h )
368
+ hts.o hts.pico : hts.c config.h os/lzma_stub.h $(htslib_hts_h ) $(htslib_bgzf_h ) $(cram_h ) $(htslib_hfile_h ) $(htslib_hts_endian_h ) version.h config_vars.h $(hts_internal_h ) $(hfile_internal_h ) $(sam_internal_h ) $( htslib_hts_expr_h ) $(htslib_hts_os_h ) $(htslib_khash_h ) $(htslib_kseq_h ) $(htslib_ksort_h ) $(htslib_tbx_h ) $(htscodecs_htscodecs_h )
367
369
hts_expr.o hts_expr.pico : hts_expr.c config.h $(htslib_hts_expr_h ) $(textutils_internal_h )
368
370
hts_os.o hts_os.pico : hts_os.c config.h $(htslib_hts_defs_h ) os/rand.c
369
371
vcf.o vcf.pico : vcf.c config.h $(htslib_vcf_h ) $(htslib_bgzf_h ) $(htslib_tbx_h ) $(htslib_hfile_h ) $(hts_internal_h ) $(htslib_khash_str2int_h ) $(htslib_kstring_h ) $(htslib_sam_h ) $(htslib_khash_h ) $(htslib_kseq_h ) $(htslib_hts_endian_h )
@@ -471,6 +473,13 @@ maintainer-check:
471
473
test/maintainer/check_copyright.pl .
472
474
test/maintainer/check_spaces.pl .
473
475
476
+ # Look for untracked files in the git repository.
477
+ check-untracked :
478
+ @if test -e .git && git status --porcelain | grep ' ^\?' ; then \
479
+ echo ' Untracked files detected (see above). Please either clean up, add to .gitignore, or for test output files consider naming them to match *.tmp or *.tmp.*' ; \
480
+ false ; \
481
+ fi
482
+
474
483
# Create a shorthand. We use $(SRC) or $(srcprefix) rather than $(srcdir)/
475
484
# for brevity in test and install rules, and so that build logs do not have
476
485
# ./ sprinkled throughout.
@@ -497,6 +506,7 @@ check test: $(BUILT_PROGRAMS) $(BUILT_TEST_PROGRAMS) $(BUILT_PLUGINS) $(HTSCODEC
497
506
cd test/tabix && ./test-tabix.sh tabix.tst
498
507
cd test/mpileup && ./test-pileup.sh mpileup.tst
499
508
cd test/fastq && ./test-fastq.sh
509
+ cd test/base_mods && ./base-mods.sh base-mods.tst
500
510
REF_PATH=: test/sam test/ce.fa test/faidx.fa test/fastqs.fq
501
511
test/test-regidx
502
512
cd test && REF_PATH=: ./test.pl $$ {TEST_OPTS:-}
@@ -516,6 +526,9 @@ test/hfile: test/hfile.o libhts.a
516
526
test/pileup : test/pileup.o libhts.a
517
527
$(CC ) $(LDFLAGS ) -o $@ test/pileup.o libhts.a $(LIBS ) -lpthread
518
528
529
+ test/pileup_mod : test/pileup_mod.o libhts.a
530
+ $(CC ) $(LDFLAGS ) -o $@ test/pileup_mod.o libhts.a $(LIBS ) -lpthread
531
+
519
532
test/plugins-dlhts : test/plugins-dlhts.o
520
533
$(CC ) $(LDFLAGS ) -o $@ test/plugins-dlhts.o $(LIBS )
521
534
@@ -534,6 +547,9 @@ test/test_kfunc: test/test_kfunc.o libhts.a
534
547
test/test_kstring : test/test_kstring.o libhts.a
535
548
$(CC ) $(LDFLAGS ) -o $@ test/test_kstring.o libhts.a -lz $(LIBS ) -lpthread
536
549
550
+ test/test_mod : test/test_mod.o libhts.a
551
+ $(CC ) $(LDFLAGS ) -o $@ test/test_mod.o libhts.a $(LIBS ) -lpthread
552
+
537
553
test/test_realn : test/test_realn.o libhts.a
538
554
$(CC ) $(LDFLAGS ) -o $@ test/test_realn.o libhts.a $(LIBS ) -lpthread
539
555
@@ -622,12 +638,14 @@ test/fuzz/hts_open_fuzzer.o: test/fuzz/hts_open_fuzzer.c config.h $(htslib_hfile
622
638
test/fieldarith.o : test/fieldarith.c config.h $(htslib_sam_h )
623
639
test/hfile.o : test/hfile.c config.h $(htslib_hfile_h ) $(htslib_hts_defs_h ) $(htslib_kstring_h )
624
640
test/pileup.o : test/pileup.c config.h $(htslib_sam_h ) $(htslib_kstring_h )
641
+ test/pileup_mod.o : test/pileup_mod.c config.h $(htslib_sam_h )
625
642
test/plugins-dlhts.o : test/plugins-dlhts.c config.h
626
643
test/sam.o : test/sam.c config.h $(htslib_hts_defs_h ) $(htslib_sam_h ) $(htslib_faidx_h ) $(htslib_khash_h ) $(htslib_hts_log_h )
627
644
test/test_bgzf.o : test/test_bgzf.c config.h $(htslib_bgzf_h ) $(htslib_hfile_h ) $(hfile_internal_h )
628
645
test/test_expr.o : test/test_expr.c config.h $(htslib_hts_expr_h )
629
646
test/test_kfunc.o : test/test_kfunc.c config.h $(htslib_kfunc_h )
630
647
test/test_kstring.o : test/test_kstring.c config.h $(htslib_kstring_h )
648
+ test/test_mod.o : test/test_mod.c config.h $(htslib_sam_h )
631
649
test/test-parse-reg.o : test/test-parse-reg.c config.h $(htslib_hts_h ) $(htslib_sam_h )
632
650
test/test_realn.o : test/test_realn.c config.h $(htslib_hts_h ) $(htslib_sam_h ) $(htslib_faidx_h )
633
651
test/test-regidx.o : test/test-regidx.c config.h $(htslib_kstring_h ) $(htslib_regidx_h ) $(htslib_hts_defs_h ) $(textutils_internal_h )
@@ -790,7 +808,7 @@ distdir:
790
808
force :
791
809
792
810
793
- .PHONY : all check clean distclean distdir force
811
+ .PHONY : all check check-untracked clean distclean distdir force
794
812
.PHONY : install install-pkgconfig installdirs lib-shared lib-static
795
813
.PHONY : maintainer-check maintainer-clean mostlyclean plugins
796
814
.PHONY : print-config print-version show-version tags
0 commit comments