src/hg/near/hgExpDistance/makefile 1.13

1.13 2009/03/10 00:34:19 galt
Modifications to make system to support optional external libraries, motivated by need for SSL
Index: src/hg/near/hgExpDistance/makefile
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/near/hgExpDistance/makefile,v
retrieving revision 1.12
retrieving revision 1.13
diff -b -B -U 1000000 -r1.12 -r1.13
--- src/hg/near/hgExpDistance/makefile	4 Sep 2008 20:05:43 -0000	1.12
+++ src/hg/near/hgExpDistance/makefile	10 Mar 2009 00:34:19 -0000	1.13
@@ -1,53 +1,53 @@
 include ../../../inc/common.mk
 
-L = -lm ${MYSQLLIBS}
+L += -lm ${MYSQLLIBS}
 MYLIBDIR = ../../../lib/${MACHTYPE}
 MYLIBS =  ${MYLIBDIR}/jkhgap.a ${MYLIBDIR}/jkweb.a
 
 hgExpDistance_fq: hgExpDistance_fq.o ${MYLIBS}
 	${CC} ${COPT} -o ${BINDIR}/hgExpDistance $@.o ${MYLIBS} $L -lpthread
 	${STRIP} ${BINDIR}/hgExpDistance${EXE}
 
 hgExpDistance: hgExpDistance.o ${MYLIBS}
 	${CC} ${COPT} -o ${BINDIR}/hgExpDistance $@.o ${MYLIBS} $L
 	${STRIP} ${BINDIR}/hgExpDistance${EXE}
 
 hgExpDistance_fm: hgExpDistance_fm.o ${MYLIBS}
 	${CC} ${COPT} -o ${BINDIR}/hgExpDistance_fm $@.o ${MYLIBS} $L -lpthread
 	${STRIP} ${BINDIR}/hgExpDistance_fm${EXE}
 
 hgExpDistance_tm: hgExpDistance_tm.o ${MYLIBS}
 	${CC} ${COPT} -o ${BINDIR}/hgExpDistance_tm $@.o ${MYLIBS} $L
 	${STRIP} ${BINDIR}/hgExpDistance_tm${EXE}
 
 hgExpDistance_fm_tm: hgExpDistance_fm_tm.o ${MYLIBS}
 	${CC} ${COPT} -o ${BINDIR}/hgExpDistance_fm_tm $@.o ${MYLIBS} $L -lpthread
 	${STRIP} ${BINDIR}/hgExpDistance_fm_tm${EXE}
 
 hgExpDistance_fq_tm: hgExpDistance_fq_tm.o ${MYLIBS}
 	${CC} ${COPT} -o ${BINDIR}/hgExpDistance_fq_tm $@.o ${MYLIBS} $L -lpthread
 	${STRIP} ${BINDIR}/hgExpDistance_fq_tm${EXE}
 
 diffDistTables: diffDistTables.o ${MYLIBS}
 	${CC} ${COPT} -o ${BINDIR}/diffDistTables $@.o ${MYLIBS} $L
 	${STRIP} ${BINDIR}/diffDistTables${EXE}
 
 time: hgExpDistance_tm.o ${MYLIBS}
 	hgExpDistance_tm hg17 gnfAtlas2 gnfAtlas2Exp gnfAtlas2_ORIG_TEST  -verbose=2
 
 time_fm: hgExpDistance_fm_tm.o ${MYLIBS}
 	hgExpDistance_fm_tm hg17 gnfAtlas2 gnfAtlas2Exp gnfAtlas2_FM_TEST  -verbose=2
 
 time_fq: hgExpDistance_fq_tm.o ${MYLIBS}
 	hgExpDistance_fq_tm hg17 gnfAtlas2 gnfAtlas2Exp gnfAtlas2_FQ_TEST  -verbose=2
 
 test_fm: hgExpDistance_fm.o diffDistTables.o ${MYLIBS}
 	hgExpDistance_fm hg17 gnfAtlas2 gnfAtlas2Exp gnfAtlas2_FM_TEST
 	diffDistTables hg17 gnfAtlas2_FM_TEST gnfAtlas2_ORIG_TEST
 
 test_fq: hgExpDistance_fq.o diffDistTables.o ${MYLIBS}
 	hgExpDistance_fq hg17 gnfAtlas2 gnfAtlas2Exp gnfAtlas2_FQ_TEST
 	diffDistTables hg17 gnfAtlas2_FQ_TEST gnfAtlas2_ORIG_TEST
 
 clean::
 	rm -f hgExpDistance*.o