Skip to content

Commit 31f629f

Browse files
committed
Remove internal dependency on htslib
1 parent 0877128 commit 31f629f

File tree

14 files changed

+185
-237
lines changed

14 files changed

+185
-237
lines changed

Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
AUTOMAKE_OPTIONS = foreign
2-
SUBDIRS = bwa htslib fermi-lite src
2+
SUBDIRS = bwa fermi-lite src
33

44
install:
55
mkdir -p lib && cp src/libseqlib.a fermi-lite/libfml.a bwa/libbwa.a htslib/libhts.a lib

Makefile.in

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# Makefile.in generated by automake 1.16.1 from Makefile.am.
1+
# Makefile.in generated by automake 1.15 from Makefile.am.
22
# @configure_input@
33

4-
# Copyright (C) 1994-2018 Free Software Foundation, Inc.
4+
# Copyright (C) 1994-2014 Free Software Foundation, Inc.
55

66
# This Makefile.in is free software; the Free Software Foundation
77
# gives unlimited permission to copy and/or distribute it,
@@ -132,7 +132,7 @@ am__recursive_targets = \
132132
$(RECURSIVE_CLEAN_TARGETS) \
133133
$(am__extra_recursive_targets)
134134
AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
135-
cscope distdir distdir-am dist dist-all distcheck
135+
cscope distdir dist dist-all distcheck
136136
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
137137
$(LISP)config.h.in
138138
# Read a list of newline-separated strings from the standard input,
@@ -285,6 +285,7 @@ pdfdir = @pdfdir@
285285
prefix = @prefix@
286286
program_transform_name = @program_transform_name@
287287
psdir = @psdir@
288+
runstatedir = @runstatedir@
288289
sbindir = @sbindir@
289290
sharedstatedir = @sharedstatedir@
290291
srcdir = @srcdir@
@@ -294,7 +295,7 @@ top_build_prefix = @top_build_prefix@
294295
top_builddir = @top_builddir@
295296
top_srcdir = @top_srcdir@
296297
AUTOMAKE_OPTIONS = foreign
297-
SUBDIRS = bwa htslib fermi-lite src
298+
SUBDIRS = bwa fermi-lite src
298299
all: config.h
299300
$(MAKE) $(AM_MAKEFLAGS) all-recursive
300301

@@ -320,8 +321,8 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
320321
echo ' $(SHELL) ./config.status'; \
321322
$(SHELL) ./config.status;; \
322323
*) \
323-
echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \
324-
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \
324+
echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
325+
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
325326
esac;
326327

327328
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
@@ -454,10 +455,7 @@ distclean-tags:
454455
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
455456
-rm -f cscope.out cscope.in.out cscope.po.out cscope.files
456457

457-
distdir: $(BUILT_SOURCES)
458-
$(MAKE) $(AM_MAKEFLAGS) distdir-am
459-
460-
distdir-am: $(DISTFILES)
458+
distdir: $(DISTFILES)
461459
$(am__remove_distdir)
462460
test -d "$(distdir)" || mkdir "$(distdir)"
463461
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
@@ -522,7 +520,7 @@ distdir-am: $(DISTFILES)
522520
! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
523521
|| chmod -R a+r "$(distdir)"
524522
dist-gzip: distdir
525-
tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz
523+
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
526524
$(am__post_remove_distdir)
527525

528526
dist-bzip2: distdir
@@ -548,7 +546,7 @@ dist-shar: distdir
548546
@echo WARNING: "Support for shar distribution archives is" \
549547
"deprecated." >&2
550548
@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
551-
shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz
549+
shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
552550
$(am__post_remove_distdir)
553551

554552
dist-zip: distdir
@@ -566,7 +564,7 @@ dist dist-all:
566564
distcheck: dist
567565
case '$(DIST_ARCHIVES)' in \
568566
*.tar.gz*) \
569-
eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\
567+
GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
570568
*.tar.bz2*) \
571569
bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
572570
*.tar.lz*) \
@@ -576,7 +574,7 @@ distcheck: dist
576574
*.tar.Z*) \
577575
uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
578576
*.shar.gz*) \
579-
eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
577+
GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
580578
*.zip*) \
581579
unzip $(distdir).zip ;;\
582580
esac

SeqLib/BamHeader.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#ifndef SEQLIB_BAM_HEADER_H__
22
#define SEQLIB_BAM_HEADER_H__
33

4-
#include "htslib/htslib/hts.h"
5-
#include "htslib/htslib/sam.h"
6-
#include "htslib/htslib/bgzf.h"
7-
#include "htslib/htslib/kstring.h"
4+
#include <htslib/hts.h>
5+
#include <htslib/sam.h>
6+
#include <htslib/bgzf.h>
7+
#include <htslib/kstring.h>
88

99
#include "SeqLib/SeqLibUtils.h"
1010
#include <string>

SeqLib/BamRecord.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
#include <algorithm>
1111

1212
extern "C" {
13-
#include "htslib/htslib/hts.h"
14-
#include "htslib/htslib/sam.h"
15-
#include "htslib/htslib/bgzf.h"
16-
#include "htslib/htslib/kstring.h"
17-
#include "htslib/htslib/faidx.h"
13+
#include <htslib/hts.h>
14+
#include <htslib/sam.h>
15+
#include <htslib/bgzf.h>
16+
#include <htslib/kstring.h>
17+
#include <htslib/faidx.h>
1818

1919
}
2020

SeqLib/BamWalker.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212
#endif
1313

1414
extern "C" {
15-
#include "htslib/cram/cram.h"
16-
#include "htslib/cram/cram_io.h"
15+
#include <htslib/cram.h>
1716
}
1817

1918
struct idx_delete {

SeqLib/RefGenome.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#include <cstdlib>
66
#include <iostream>
77

8-
#include "htslib/htslib/faidx.h"
8+
#include <htslib/faidx.h>
99

1010
namespace SeqLib {
1111

0 commit comments

Comments
 (0)