Index: src/hg/hgTracks/makefile
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgTracks/makefile,v
retrieving revision 1.83
retrieving revision 1.84
diff -b -B -U 4 -r1.83 -r1.84
--- src/hg/hgTracks/makefile	10 Mar 2009 00:33:59 -0000	1.83
+++ src/hg/hgTracks/makefile	24 Jun 2009 20:33:04 -0000	1.84
@@ -2,12 +2,15 @@
 
 L += ${MYSQLLIBS} -lm
 MYLIBDIR = ../../lib/${MACHTYPE}
 MYLIBS =  ${MYLIBDIR}/jkhgap.a ${MYLIBDIR}/jkweb.a
+ifeq (${USE_BAM},1)
+    MYLIBS += ${SAMPATH}/libbam.a
+endif
 
 A = hgTracks
 
-O = $A.o altGraphXTrack.o bedGraph.o bedTrack.o bigWigTrack.o chainTrack.o \
+O = $A.o altGraphXTrack.o bamTrack.o bedGraph.o bedTrack.o bigWigTrack.o chainTrack.o \
 	cgapSageTrack.o chromGraphTrack.o config.o contigTrack.o \
 	coverageTrack.o cytoBandTrack.o cutterTrack.o \
         expRatioTracks.o factorSource.o goldTrack.o loweLabTracks.o \
 	mafTrack.o netTrack.o pslTrack.o rmskTrack.o \

