Index: src/hg/hgTracks/makefile
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgTracks/makefile,v
retrieving revision 1.87
retrieving revision 1.88
diff -b -B -U 1000000 -r1.87 -r1.88
--- src/hg/hgTracks/makefile	11 Sep 2009 20:12:04 -0000	1.87
+++ src/hg/hgTracks/makefile	8 Oct 2009 06:25:38 -0000	1.88
@@ -1,54 +1,51 @@
 include ../../inc/common.mk
 
 L += ${MYSQLLIBS} -lm
 MYLIBDIR = ../../lib/${MACHTYPE}
 MYLIBS =  ${MYLIBDIR}/jkhgap.a ${MYLIBDIR}/jkweb.a
-ifeq (${USE_BAM},1)
-    MYLIBS += ${SAMLIB}
-endif
 
 A = hgTracks
 
 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 \
 	sampleTracks.o simpleTracks.o switchGear.o transMapTracks.o \
 	wabaTrack.o wigTrack.o cds.o \
 	wigMafTrack.o encode.o variation.o transcriptome.o\
 	rnaFoldTrack.o retroGene.o hapmapTrack.o rnaPLFoldTrack.o\
 	wiki.o wikiTrack.o imageV2.o
 
 include ../../inc/cgi_build_rules.mk
 
 ifeq (${GBROWSE}, 1)
   GBROWSE_D=-DGBROWSE
   A = gbrowseTest
   O = $A.o oneTrack.o \
       bedGraph.o cds.o chainTrack.o mafTrack.o netTrack.o pslTrack.o \
       simpleTracks.o wigMafTrack.o wigTrack.o imageV2.o
 else
   GBROWSE_D=
 endif
 
 %.o: %.c
 	${CC} ${COPT} ${CFLAGS} ${GBROWSE_D} ${LOWELAB_DEFS} ${HG_DEFS} ${HG_WARN} ${HG_INC} ${XINC} -o $@ -c $<
 
 mgsc: strip
 	mv $A ${CGI_BIN}/$A
 
 compile: $O
 	${CC} -o $A $O ${MYLIBS} ${L}
 
 wigTrack.o:	wigCommon.h
 bedGraph.o:	wigCommon.h
 
 switchGear.o:	switchGear.h
 cds.o:		cds.h
 hgTracks.o:	cds.h
 pslTrack.o:	cds.h
 
 clean::
 	rm -f ct_hgwdev_*.bed hgtIdeo_*.gif hgt_*.gif
 

