16439684a0ecc75ede242ded740c51cf1f60c8a4
angie
  Tue Feb 22 11:36:43 2011 -0800
Feature #2820 (tabix: add as optional linked library in kent/src):Added lineFile wrapper on tabix: lineFileOnTabix to open; then
lineFileNext and its derivatives work as usual.
lineFileSetTabixRegion seeks to the given position range, and
subsequent lineFileNext's return lines in that position range.
lineFileSeek is not supported -- tabix doesn't have linear offsets
but rather a block number and offset which are packed into 64 bits.
Line numbers are not known after calls to lineFileSetTabixRegion.

diff --git src/oneShot/tabixFetch/makefile src/oneShot/tabixFetch/makefile
new file mode 100644
index 0000000..77426f2
--- /dev/null
+++ src/oneShot/tabixFetch/makefile
@@ -0,0 +1,18 @@
+include ../../inc/common.mk
+
+L += -lm
+MYLIBDIR = ../../lib/${MACHTYPE}
+MYLIBS =  ${MYLIBDIR}/jkweb.a
+
+A = tabixFetch
+O = tabixFetch.o
+
+tabixFetch: ${O} ${MYLIBS}
+	${CC} ${COPT} -o ${DESTDIR}${BINDIR}/${A}${EXE} $O ${MYLIBS} $L
+	${STRIP} ${DESTDIR}${BINDIR}/${A}${EXE}
+
+compile:: ${O}
+	${CC} ${COPT} -o ${A}${EXE} ${O} ${MYLIBS} $L
+
+clean::
+	rm -f ${A}${EXE} ${O}