@@ -174,8 +174,9 @@ cram_misc_h = cram/misc.h $(cram_os_h)
174174cram_os_h = cram/os.h $(htslib_hts_endian_h )
175175cram_sam_header_h = cram/sam_header.h cram/string_alloc.h cram/pooled_alloc.h $(htslib_khash_h ) $(htslib_kstring_h )
176176cram_samtools_h = cram/cram_samtools.h $(htslib_sam_h ) $(cram_sam_header_h )
177- cram_structs_h = cram/cram_structs.h $(htslib_thread_pool_h ) cram/string_alloc.h $(htslib_khash_h )
177+ cram_structs_h = cram/cram_structs.h $(htslib_thread_pool_h ) cram/string_alloc.h cram/mFILE.h $(htslib_khash_h )
178178cram_open_trace_file_h = cram/open_trace_file.h cram/mFILE.h
179+ bcf_sr_sort_h = bcf_sr_sort.h $(htslib_synced_bcf_reader_h ) $(htslib_kbitset_h )
179180hfile_internal_h = hfile_internal.h $(htslib_hfile_h ) $(textutils_internal_h )
180181hts_internal_h = hts_internal.h $(htslib_hts_h ) $(textutils_internal_h )
181182textutils_internal_h = textutils_internal.h $(htslib_kstring_h )
@@ -288,23 +289,23 @@ hts-$(LIBHTS_SOVERSION).dll: $(LIBHTS_OBJS)
288289 $(CC ) -shared $(LDFLAGS ) -o $@ $< hts.dll.a $(LIBS )
289290
290291
291- bgzf.o bgzf.pico : bgzf.c config.h $(htslib_hts_h ) $(htslib_bgzf_h ) $(htslib_hfile_h ) $(htslib_thread_pool_h ) cram/pooled_alloc.h $(htslib_khash_h )
292- errmod.o errmod.pico : errmod.c config.h $(htslib_hts_h ) $(htslib_ksort_h )
292+ bgzf.o bgzf.pico : bgzf.c config.h $(htslib_hts_h ) $(htslib_bgzf_h ) $(htslib_hfile_h ) $(htslib_thread_pool_h ) $( htslib_hts_endian_h ) cram/pooled_alloc.h $(htslib_khash_h )
293+ errmod.o errmod.pico : errmod.c config.h $(htslib_hts_h ) $(htslib_ksort_h ) $( htslib_hts_os_h )
293294kstring.o kstring.pico : kstring.c config.h $(htslib_kstring_h )
294295knetfile.o knetfile.pico : knetfile.c config.h $(htslib_hts_log_h ) $(htslib_knetfile_h )
295296hfile.o hfile.pico : hfile.c config.h $(htslib_hfile_h ) $(hfile_internal_h ) $(hts_internal_h ) $(htslib_khash_h )
296297hfile_gcs.o hfile_gcs.pico : hfile_gcs.c config.h $(htslib_hts_h ) $(htslib_kstring_h ) $(hfile_internal_h )
297- hfile_libcurl.o hfile_libcurl.pico : hfile_libcurl.c config.h $(hfile_internal_h ) $(htslib_hts_h ) $(htslib_kstring_h )
298+ hfile_libcurl.o hfile_libcurl.pico : hfile_libcurl.c config.h $(hfile_internal_h ) $(htslib_hts_h ) $(htslib_kstring_h ) $( htslib_khash_h )
298299hfile_net.o hfile_net.pico : hfile_net.c config.h $(hfile_internal_h ) $(htslib_knetfile_h )
299300hfile_s3.o hfile_s3.pico : hfile_s3.c config.h $(hfile_internal_h ) $(htslib_hts_h ) $(htslib_kstring_h )
300- hts.o hts.pico : hts.c config.h $(htslib_hts_h ) $(htslib_bgzf_h ) $(cram_h ) $(hfile_internal_h ) $(htslib_hfile_h ) version.h $(hts_internal_h ) $(htslib_khash_h ) $(htslib_kseq_h ) $(htslib_ksort_h )
301+ hts.o hts.pico : hts.c config.h $(htslib_hts_h ) $(htslib_bgzf_h ) $(cram_h ) $(htslib_hfile_h ) $(htslib_hts_endian_h ) version.h $(hts_internal_h ) $( hfile_internal_h ) $( htslib_hts_os_h ) $(htslib_khash_h ) $(htslib_kseq_h ) $(htslib_ksort_h )
301302hts_os.o hts_os.pico : hts_os.c config.h os/rand.c
302303vcf.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_khash_h ) $(htslib_kseq_h ) $(htslib_hts_endian_h )
303304sam.o sam.pico : sam.c config.h $(htslib_sam_h ) $(htslib_bgzf_h ) $(cram_h ) $(hts_internal_h ) $(htslib_hfile_h ) $(htslib_khash_h ) $(htslib_kseq_h ) $(htslib_kstring_h ) $(htslib_hts_endian_h )
304- tbx.o tbx.pico : tbx.c config.h $(htslib_tbx_h ) $(htslib_bgzf_h ) $(hts_internal_h ) $(htslib_khash_h )
305+ tbx.o tbx.pico : tbx.c config.h $(htslib_tbx_h ) $(htslib_bgzf_h ) $(htslib_hts_endian_h ) $( hts_internal_h ) $(htslib_khash_h )
305306faidx.o faidx.pico : faidx.c config.h $(htslib_bgzf_h ) $(htslib_faidx_h ) $(htslib_hfile_h ) $(htslib_khash_h ) $(htslib_kstring_h ) $(hts_internal_h )
306- bcf_sr_sort.o bcf_sr_sort.pico : bcf_sr_sort.c config.h bcf_sr_sort.h $( htslib_kseq_h ) $(htslib_khash_str2int_h )
307- synced_bcf_reader.o synced_bcf_reader.pico : synced_bcf_reader.c config.h bcf_sr_sort.h $(htslib_synced_bcf_reader_h ) $(htslib_kseq_h ) $(htslib_khash_str2int_h ) $(htslib_bgzf_h ) $(htslib_thread_pool_h )
307+ bcf_sr_sort.o bcf_sr_sort.pico : bcf_sr_sort.c config.h $( bcf_sr_sort_h ) $(htslib_khash_str2int_h )
308+ synced_bcf_reader.o synced_bcf_reader.pico : synced_bcf_reader.c config.h $(htslib_synced_bcf_reader_h ) $(htslib_kseq_h ) $(htslib_khash_str2int_h ) $(htslib_bgzf_h ) $(htslib_thread_pool_h ) $( bcf_sr_sort_h )
308309vcf_sweep.o vcf_sweep.pico : vcf_sweep.c config.h $(htslib_vcf_sweep_h ) $(htslib_bgzf_h )
309310vcfutils.o vcfutils.pico : vcfutils.c config.h $(htslib_vcfutils_h ) $(htslib_kbitset_h )
310311kfunc.o kfunc.pico : kfunc.c config.h $(htslib_kfunc_h )
@@ -325,11 +326,11 @@ cram/cram_io.o cram/cram_io.pico: cram/cram_io.c config.h os/lzma_stub.h $(cram_
325326cram/cram_samtools.o cram/cram_samtools.pico : cram/cram_samtools.c config.h $(cram_h ) $(htslib_sam_h )
326327cram/cram_stats.o cram/cram_stats.pico : cram/cram_stats.c config.h $(cram_h ) $(cram_os_h )
327328cram/files.o cram/files.pico : cram/files.c config.h $(cram_misc_h )
328- cram/mFILE.o cram/mFILE.pico : cram/mFILE.c config.h $(cram_os_h ) cram/mFILE.h
329- cram/open_trace_file.o cram/open_trace_file.pico : cram/open_trace_file.c config.h $(cram_os_h ) $(cram_open_trace_file_h ) $(cram_misc_h ) $(htslib_hfile_h )
329+ cram/mFILE.o cram/mFILE.pico : cram/mFILE.c config.h $(htslib_hts_log_h ) $( cram_os_h ) cram/mFILE.h
330+ cram/open_trace_file.o cram/open_trace_file.pico : cram/open_trace_file.c config.h $(cram_os_h ) $(cram_open_trace_file_h ) $(cram_misc_h ) $(htslib_hfile_h ) $( htslib_hts_log_h )
330331cram/pooled_alloc.o cram/pooled_alloc.pico : cram/pooled_alloc.c config.h cram/pooled_alloc.h $(cram_misc_h )
331332cram/rANS_static.o cram/rANS_static.pico : cram/rANS_static.c config.h cram/rANS_static.h cram/rANS_byte.h
332- cram/sam_header.o cram/sam_header.pico : cram/sam_header.c config.h $(cram_sam_header_h ) cram/string_alloc.h
333+ cram/sam_header.o cram/sam_header.pico : cram/sam_header.c config.h $(htslib_hts_log_h ) $( cram_sam_header_h ) cram/string_alloc.h
333334cram/string_alloc.o cram/string_alloc.pico : cram/string_alloc.c config.h cram/string_alloc.h
334335thread_pool.o thread_pool.pico : thread_pool.c config.h $(thread_pool_internal_h )
335336
@@ -359,7 +360,7 @@ check test: $(BUILT_PROGRAMS) $(BUILT_TEST_PROGRAMS)
359360 test/hfile
360361 test/test_bgzf test/bgziptest.txt
361362 cd test/tabix && ./test-tabix.sh tabix.tst
362- REF_PATH=: test/sam test/ce.fa test/faidx.fa
363+ REF_PATH=: test/sam test/ce.fa test/faidx.fa test/fastqs.fq
363364 test/test-regidx
364365 cd test && REF_PATH=: ./test.pl $$ {TEST_OPTS:-}
365366
@@ -399,18 +400,18 @@ test/test-bcf-sr: test/test-bcf-sr.o libhts.a
399400test/test-bcf-translate : test/test-bcf-translate.o libhts.a
400401 $(CC ) $(LDFLAGS ) -o $@ test/test-bcf-translate.o libhts.a -lz $(LIBS ) -lpthread
401402
402- test/hts_endian.o : test/hts_endian.c $(htslib_hts_endian_h )
403+ test/hts_endian.o : test/hts_endian.c config.h $(htslib_hts_endian_h )
403404test/fieldarith.o : test/fieldarith.c config.h $(htslib_sam_h )
404405test/hfile.o : test/hfile.c config.h $(htslib_hfile_h ) $(htslib_hts_defs_h )
405406test/sam.o : test/sam.c config.h $(htslib_hts_defs_h ) $(htslib_sam_h ) $(htslib_faidx_h ) $(htslib_kstring_h )
406- test/test_bgzf.o : test/test_bgzf.c $(htslib_bgzf_h ) $(htslib_hfile_h )
407- test/test-realn.o : test/test_realn.c $(htslib_hts_h ) $(htslib_sam_h ) $(htslib_faidx_h )
407+ test/test_bgzf.o : test/test_bgzf.c config.h $(htslib_bgzf_h ) $(htslib_hfile_h ) $( hfile_internal_h )
408+ test/test-realn.o : test/test_realn.c config.h $(htslib_hts_h ) $(htslib_sam_h ) $(htslib_faidx_h )
408409test/test-regidx.o : test/test-regidx.c config.h $(htslib_regidx_h ) $(hts_internal_h )
409410test/test_view.o : test/test_view.c config.h $(cram_h ) $(htslib_sam_h )
410411test/test-vcf-api.o : test/test-vcf-api.c config.h $(htslib_hts_h ) $(htslib_vcf_h ) $(htslib_kstring_h ) $(htslib_kseq_h )
411412test/test-vcf-sweep.o : test/test-vcf-sweep.c config.h $(htslib_vcf_sweep_h )
412- test/test-bcf-sr.o : test/test-bcf-sr.c config.h $(htslib_vcf_sweep_h ) bcf_sr_sort.h
413- test/test-bcf-translate.o : test/test-bcf-translate.c config.h
413+ test/test-bcf-sr.o : test/test-bcf-sr.c config.h $(htslib_synced_bcf_reader_h )
414+ test/test-bcf-translate.o : test/test-bcf-translate.c config.h $( htslib_vcf_h )
414415
415416
416417test/thrash_threads1 : test/thrash_threads1.o libhts.a
0 commit comments