94
94
95
95
include config.mk
96
96
97
- PACKAGE_VERSION = 1.8
97
+ PACKAGE_VERSION = 1.9
98
98
99
99
# If building from a Git repository, replace $(PACKAGE_VERSION) with the Git
100
100
# description of the working tree: either a release tag with the same value
@@ -176,65 +176,69 @@ endif # PLUGINS_ENABLED
176
176
plugins : $(PLUGINS )
177
177
178
178
bcftools_h = bcftools.h $(htslib_hts_defs_h ) $(htslib_vcf_h )
179
- bin_h = bin.h $(htslib_hts_h )
180
179
call_h = call.h $(htslib_vcf_h ) $(htslib_synced_bcf_reader_h ) vcmp.h
181
180
variantkey_h = variantkey.h
182
181
convert_h = convert.h $(htslib_vcf_h ) $(variantkey_h )
183
182
tsv2vcf_h = tsv2vcf.h $(htslib_vcf_h )
184
183
filter_h = filter.h $(htslib_vcf_h )
184
+ gvcf_h = gvcf.h $(bcftools_h )
185
+ khash_str2str_h = khash_str2str.h $(htslib_khash_h )
185
186
ploidy_h = ploidy.h regidx.h
186
187
prob1_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 )
189
190
bam2bcf_h = bam2bcf.h $(htslib_hts_h ) $(htslib_vcf_h )
190
191
bam_sample_h = bam_sample.h $(htslib_sam_h )
191
192
192
193
main.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 )
196
197
vcfconcat.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 )
198
199
vcffilter.o : vcffilter.c $(htslib_vcf_h ) $(htslib_synced_bcf_reader_h ) $(htslib_vcfutils_h ) $(bcftools_h ) $(filter_h ) rbuf.h
199
200
vcfgtcheck.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 )
201
202
vcfisec.o : vcfisec.c $(htslib_vcf_h ) $(htslib_synced_bcf_reader_h ) $(htslib_vcfutils_h ) $(bcftools_h ) $(filter_h )
202
203
vcfmerge.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
207
208
vcfsom.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 )
212
213
tabix.o : tabix.c $(htslib_bgzf_h ) $(htslib_tbx_h )
213
214
ccall.o : ccall.c $(htslib_kfunc_h ) $(call_h ) kmin.h $(prob1_h )
214
215
variantkey.o : variantkey.c $(variantkey_h )
215
216
convert.o : convert.c $(htslib_vcf_h ) $(htslib_synced_bcf_reader_h ) $(htslib_vcfutils_h ) $(bcftools_h ) $(convert_h )
216
217
tsv2vcf.o : tsv2vcf.c $(tsv2vcf_h )
217
218
em.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 )
219
220
$(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 )
221
222
kmin.o : kmin.c kmin.h
222
223
mcall.o : mcall.c $(htslib_kfunc_h ) $(call_h )
223
224
prob1.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 )
226
227
polysomy.o : polysomy.c $(htslib_vcf_h ) $(htslib_synced_bcf_reader_h ) $(bcftools_h ) peakfit.h
227
228
peakfit.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
229
230
regidx.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 )
233
236
version.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
238
242
239
243
# test programs
240
244
@@ -256,7 +260,7 @@ test/test-rbuf.o: test/test-rbuf.c rbuf.h
256
260
test/test-rbuf : test/test-rbuf.o
257
261
$(CC ) $(LDFLAGS ) -o $@ $^ $(ALL_LIBS )
258
262
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
260
264
261
265
test/test-regidx : test/test-regidx.o regidx.o $(HTSLIB )
262
266
$(CC ) $(ALL_LDFLAGS ) -o $@ $^ $(HTSLIB ) -lpthread $(HTSLIB_LIB ) $(ALL_LIBS )
0 commit comments