9494
9595include config.mk
9696
97- PACKAGE_VERSION = 1.8
97+ PACKAGE_VERSION = 1.9
9898
9999# If building from a Git repository, replace $(PACKAGE_VERSION) with the Git
100100# description of the working tree: either a release tag with the same value
@@ -176,65 +176,69 @@ endif # PLUGINS_ENABLED
176176plugins : $(PLUGINS )
177177
178178bcftools_h = bcftools.h $(htslib_hts_defs_h ) $(htslib_vcf_h )
179- bin_h = bin.h $(htslib_hts_h )
180179call_h = call.h $(htslib_vcf_h ) $(htslib_synced_bcf_reader_h ) vcmp.h
181180variantkey_h = variantkey.h
182181convert_h = convert.h $(htslib_vcf_h ) $(variantkey_h )
183182tsv2vcf_h = tsv2vcf.h $(htslib_vcf_h )
184183filter_h = filter.h $(htslib_vcf_h )
184+ gvcf_h = gvcf.h $(bcftools_h )
185+ khash_str2str_h = khash_str2str.h $(htslib_khash_h )
185186ploidy_h = ploidy.h regidx.h
186187prob1_h = prob1.h $(htslib_vcf_h ) $(call_h )
187- roh_h = HMM .h $(htslib_vcf_h ) $( htslib_synced_bcf_reader_h ) $( htslib_kstring_h ) $( htslib_kseq_h ) $( bcftools_h )
188- cnv_h = HMM .h $(htslib_vcf_h ) $( htslib_synced_bcf_reader_h )
188+ smpl_ilist_h = smpl_ilist .h $(htslib_vcf_h )
189+ vcfbuf_h = vcfbuf .h $(htslib_vcf_h )
189190bam2bcf_h = bam2bcf.h $(htslib_hts_h ) $(htslib_vcf_h )
190191bam_sample_h = bam_sample.h $(htslib_sam_h )
191192
192193main.o : main.c $(htslib_hts_h ) config.h version.h $(bcftools_h )
193- vcfannotate.o : vcfannotate.c $(htslib_vcf_h ) $(htslib_synced_bcf_reader_h ) $(htslib_kseq_h ) $(bcftools_h ) vcmp.h $(filter_h )
194- vcfplugin.o : vcfplugin.c config.h $(htslib_vcf_h ) $(htslib_synced_bcf_reader_h ) $(htslib_kseq_h ) $(bcftools_h ) vcmp.h $(filter_h )
195- vcfcall.o : vcfcall.c $(htslib_vcf_h ) $(htslib_kfunc_h ) $(htslib_synced_bcf_reader_h ) $(htslib_khash_str2int_h ) $(bcftools_h ) $(call_h ) $(prob1_h ) $(ploidy_h )
194+ vcfannotate.o : vcfannotate.c $(htslib_vcf_h ) $(htslib_synced_bcf_reader_h ) $(htslib_kseq_h ) $(htslib_khash_str2int_h ) $( bcftools_h ) vcmp.h $(filter_h ) $( convert_h ) $( smpl_ilist_h ) $( htslib_khash_h )
195+ vcfplugin.o : vcfplugin.c config.h $(htslib_vcf_h ) $(htslib_synced_bcf_reader_h ) $(htslib_kseq_h ) $(htslib_khash_str2int_h ) $( bcftools_h ) vcmp.h $(filter_h )
196+ vcfcall.o : vcfcall.c $(htslib_vcf_h ) $(htslib_kfunc_h ) $(htslib_synced_bcf_reader_h ) $(htslib_khash_str2int_h ) $(bcftools_h ) $(call_h ) $(prob1_h ) $(ploidy_h ) $( gvcf_h )
196197vcfconcat.o : vcfconcat.c $(htslib_vcf_h ) $(htslib_synced_bcf_reader_h ) $(htslib_kseq_h ) $(htslib_bgzf_h ) $(htslib_tbx_h ) $(bcftools_h )
197- vcfconvert.o : vcfconvert.c $(htslib_vcf_h ) $(htslib_bgzf_h ) $(htslib_synced_bcf_reader_h ) $(htslib_vcfutils_h ) $(bcftools_h ) $(filter_h ) $(convert_h ) $(tsv2vcf_h )
198+ vcfconvert.o : vcfconvert.c $(htslib_faidx_h ) $( htslib_vcf_h ) $(htslib_bgzf_h ) $(htslib_synced_bcf_reader_h ) $(htslib_vcfutils_h ) $( htslib_kseq_h ) $(bcftools_h ) $(filter_h ) $(convert_h ) $(tsv2vcf_h )
198199vcffilter.o : vcffilter.c $(htslib_vcf_h ) $(htslib_synced_bcf_reader_h ) $(htslib_vcfutils_h ) $(bcftools_h ) $(filter_h ) rbuf.h
199200vcfgtcheck.o : vcfgtcheck.c $(htslib_vcf_h ) $(htslib_synced_bcf_reader_h ) $(htslib_vcfutils_h ) $(bcftools_h ) hclust.h
200- vcfindex.o : vcfindex.c $(htslib_vcf_h ) $(htslib_tbx_h ) $(htslib_kstring_h )
201+ vcfindex.o : vcfindex.c $(htslib_vcf_h ) $(htslib_tbx_h ) $(htslib_kstring_h ) $( htslib_bgzf_h ) $( bcftools_h )
201202vcfisec.o : vcfisec.c $(htslib_vcf_h ) $(htslib_synced_bcf_reader_h ) $(htslib_vcfutils_h ) $(bcftools_h ) $(filter_h )
202203vcfmerge.o : vcfmerge.c $(htslib_vcf_h ) $(htslib_synced_bcf_reader_h ) $(htslib_vcfutils_h ) $(htslib_faidx_h ) regidx.h $(bcftools_h ) vcmp.h $(htslib_khash_h )
203- vcfnorm.o : vcfnorm.c $(htslib_vcf_h ) $(htslib_synced_bcf_reader_h ) $(htslib_faidx_h ) $(bcftools_h ) rbuf.h
204- vcfquery.o : vcfquery.c $(htslib_vcf_h ) $(htslib_synced_bcf_reader_h ) $(htslib_vcfutils_h ) $(bcftools_h ) $(filter_h ) $(convert_h )
205- vcfroh.o : vcfroh.c $(roh_h )
206- vcfcnv.o : vcfcnv.c $(cnv_h )
204+ vcfnorm.o : vcfnorm.c $(htslib_vcf_h ) $(htslib_synced_bcf_reader_h ) $(htslib_faidx_h ) $(htslib_khash_str2int_h ) $( bcftools_h ) rbuf.h
205+ vcfquery.o : vcfquery.c $(htslib_vcf_h ) $(htslib_synced_bcf_reader_h ) $(htslib_khash_str2int_h ) $( htslib_vcfutils_h ) $(bcftools_h ) $(filter_h ) $(convert_h )
206+ vcfroh.o : vcfroh.c $(htslib_vcf_h ) $( htslib_synced_bcf_reader_h ) $( htslib_kstring_h ) $( htslib_kseq_h ) $( htslib_bgzf_h ) $( bcftools_h ) HMM.h $( smpl_ilist_h ) $( filter_h )
207+ vcfcnv.o : vcfcnv.c $(htslib_vcf_h ) $( htslib_synced_bcf_reader_h ) $( htslib_kstring_h ) $( htslib_kfunc_h ) $( htslib_khash_str2int_h ) $( bcftools_h ) HMM.h rbuf.h
207208vcfsom.o : vcfsom.c $(htslib_vcf_h ) $(htslib_synced_bcf_reader_h ) $(htslib_vcfutils_h ) $(bcftools_h )
208- vcfsort.o : vcfsort.c $(htslib_vcf_h ) $(bcftools_h )
209- vcfstats.o : vcfstats.c $(htslib_vcf_h ) $(htslib_synced_bcf_reader_h ) $(htslib_vcfutils_h ) $(htslib_faidx_h ) $(bcftools_h ) $(filter_h ) $( bin_h )
210- vcfview.o : vcfview.c $(htslib_vcf_h ) $(htslib_synced_bcf_reader_h ) $(htslib_vcfutils_h ) $(bcftools_h ) $(filter_h )
211- reheader.o : reheader.c $(htslib_vcf_h ) $(htslib_bgzf_h ) $(htslib_tbx_h ) $(htslib_kseq_h ) $(bcftools_h )
209+ vcfsort.o : vcfsort.c $(htslib_vcf_h ) $(htslib_kstring_h ) kheap.h $( bcftools_h )
210+ vcfstats.o : vcfstats.c $(htslib_vcf_h ) $(htslib_synced_bcf_reader_h ) $(htslib_vcfutils_h ) $(htslib_faidx_h ) $(bcftools_h ) $(filter_h ) bin.h
211+ vcfview.o : vcfview.c $(htslib_vcf_h ) $(htslib_synced_bcf_reader_h ) $(htslib_vcfutils_h ) $(bcftools_h ) $(filter_h ) $( htslib_khash_str2int_h )
212+ reheader.o : reheader.c $(htslib_vcf_h ) $(htslib_bgzf_h ) $(htslib_tbx_h ) $(htslib_kseq_h ) $(htslib_thread_pool_h ) $( bcftools_h ) $( khash_str2str_h )
212213tabix.o : tabix.c $(htslib_bgzf_h ) $(htslib_tbx_h )
213214ccall.o : ccall.c $(htslib_kfunc_h ) $(call_h ) kmin.h $(prob1_h )
214215variantkey.o : variantkey.c $(variantkey_h )
215216convert.o : convert.c $(htslib_vcf_h ) $(htslib_synced_bcf_reader_h ) $(htslib_vcfutils_h ) $(bcftools_h ) $(convert_h )
216217tsv2vcf.o : tsv2vcf.c $(tsv2vcf_h )
217218em.o : em.c $(htslib_vcf_h ) kmin.h $(call_h )
218- filter.o : filter.c config.h $(htslib_khash_str2int_h ) $(filter_h ) $(bcftools_h ) $(htslib_hts_defs_h ) $( htslib_vcfutils_h )
219+ filter.o : filter.c $(htslib_khash_str2int_h ) $(htslib_hts_defs_h ) $(htslib_vcfutils_h ) $(htslib_kfunc_h ) config.h $( filter_h ) $( bcftools_h )
219220 $(CC ) $(CFLAGS ) $(ALL_CPPFLAGS ) $(EXTRA_CPPFLAGS ) $(PERL_CFLAGS ) -c -o $@ $<
220- gvcf.o : gvcf.c gvcf.h $(call_h )
221+ gvcf.o : gvcf.c $( gvcf_h ) $(bcftools_h )
221222kmin.o : kmin.c kmin.h
222223mcall.o : mcall.c $(htslib_kfunc_h ) $(call_h )
223224prob1.o : prob1.c $(prob1_h )
224- vcmp.o : vcmp.c $(htslib_hts_h ) vcmp.h
225- ploidy.o : ploidy.c regidx.h $(htslib_khash_str2int_h ) $(htslib_kseq_h ) $(htslib_hts_h ) $(bcftools_h ) $(ploidy_h )
225+ vcmp.o : vcmp.c $(htslib_hts_h ) $( htslib_vcf_h ) vcmp.h
226+ ploidy.o : ploidy.c $(htslib_khash_str2int_h ) $(htslib_kseq_h ) $(htslib_hts_h ) $(bcftools_h ) $(ploidy_h )
226227polysomy.o : polysomy.c $(htslib_vcf_h ) $(htslib_synced_bcf_reader_h ) $(bcftools_h ) peakfit.h
227228peakfit.o : peakfit.c peakfit.h $(htslib_hts_h ) $(htslib_kstring_h )
228- bin.o : bin.c $(bin_h )
229+ bin.o : bin.c $(bcftools_h ) bin.h
229230regidx.o : regidx.c $(htslib_hts_h ) $(htslib_kstring_h ) $(htslib_kseq_h ) $(htslib_khash_str2int_h ) regidx.h
230- consensus.o : consensus.c $(htslib_vcf_h ) $(htslib_kstring_h ) $(htslib_synced_bcf_reader_h ) $(htslib_kseq_h ) $(htslib_bgzf_h ) rbuf.h $(bcftools_h ) regidx.h
231- mpileup.o : mpileup.c $(htslib_sam_h ) $(htslib_faidx_h ) $(htslib_kstring_h ) $(htslib_khash_str2int_h ) regidx.h $(bcftools_h ) $(call_h ) $(bam2bcf_h ) $(bam_sample_h )
232- bam_sample.o : $(bam_sample_h ) $(htslib_hts_h ) $(htslib_khash_str2int_h )
231+ consensus.o : consensus.c $(htslib_vcf_h ) $(htslib_kstring_h ) $(htslib_synced_bcf_reader_h ) $(htslib_kseq_h ) $(htslib_bgzf_h ) regidx.h $(bcftools_h ) rbuf.h $(filter_h )
232+ mpileup.o : mpileup.c $(htslib_sam_h ) $(htslib_faidx_h ) $(htslib_kstring_h ) $(htslib_khash_str2int_h ) regidx.h $(bcftools_h ) $(bam2bcf_h ) $(bam_sample_h ) $(gvcf_h )
233+ bam2bcf.o : bam2bcf.c $(htslib_hts_h ) $(htslib_sam_h ) $(htslib_kstring_h ) $(htslib_kfunc_h ) $(bam2bcf_h ) mw.h
234+ bam2bcf_indel.o : bam2bcf_indel.c $(htslib_hts_h ) $(htslib_sam_h ) $(htslib_khash_str2int_h ) $(bam2bcf_h ) $(htslib_ksort_h )
235+ bam_sample.o : bam_sample.c $(htslib_hts_h ) $(htslib_kstring_h ) $(htslib_khash_str2int_h ) $(khash_str2str_h ) $(bam_sample_h ) $(bcftools_h )
233236version.o : version.h version.c
234- hclust.o : hclust.c hclust.h
235- vcfbuf.o : vcfbuf.c vcfbuf.h rbuf.h
236- smpl_ilist.o : smpl_ilist.c smpl_ilist.h
237- csq.o : csq.c smpl_ilist.h regidx.h filter.h kheap.h rbuf.h
237+ hclust.o : hclust.c $(htslib_hts_h ) $(htslib_kstring_h ) $(bcftools_h ) hclust.h
238+ HMM.o : HMM.c $(htslib_hts_h ) HMM.h
239+ vcfbuf.o : vcfbuf.c $(htslib_vcf_h ) $(htslib_vcfutils_h ) $(bcftools_h ) $(vcfbuf_h ) rbuf.h
240+ smpl_ilist.o : smpl_ilist.c $(bcftools_h ) $(smpl_ilist_h )
241+ csq.o : csq.c $(htslib_hts_h ) $(htslib_vcf_h ) $(htslib_synced_bcf_reader_h ) $(htslib_khash_h ) $(htslib_khash_str2int_h ) $(htslib_kseq_h ) $(htslib_faidx_h ) $(bcftools_h ) $(filter_h ) regidx.h kheap.h $(smpl_ilist_h ) rbuf.h
238242
239243# test programs
240244
@@ -256,7 +260,7 @@ test/test-rbuf.o: test/test-rbuf.c rbuf.h
256260test/test-rbuf : test/test-rbuf.o
257261 $(CC ) $(LDFLAGS ) -o $@ $^ $(ALL_LIBS )
258262
259- test/test-regidx.o : test/test-regidx.c regidx.h
263+ test/test-regidx.o : test/test-regidx.c $( htslib_kstring_h ) regidx.h
260264
261265test/test-regidx : test/test-regidx.o regidx.o $(HTSLIB )
262266 $(CC ) $(ALL_LDFLAGS ) -o $@ $^ $(HTSLIB ) -lpthread $(HTSLIB_LIB ) $(ALL_LIBS )
0 commit comments