src/hg/makeDb/hgGoldGapGl/makefile 1.9
1.9 2009/03/10 00:34:04 galt
Modifications to make system to support optional external libraries, motivated by need for SSL
Index: src/hg/makeDb/hgGoldGapGl/makefile
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/makeDb/hgGoldGapGl/makefile,v
retrieving revision 1.8
retrieving revision 1.9
diff -b -B -U 1000000 -r1.8 -r1.9
--- src/hg/makeDb/hgGoldGapGl/makefile 19 Dec 2006 23:35:07 -0000 1.8
+++ src/hg/makeDb/hgGoldGapGl/makefile 10 Mar 2009 00:34:04 -0000 1.9
@@ -1,28 +1,28 @@
include ../../../inc/common.mk
-L = ${MYSQLLIBS} -lm
+L += ${MYSQLLIBS} -lm
MYLIBDIR = ../../../lib/${MACHTYPE}
MYLIBS = ${MYLIBDIR}/jkhgap.a ${MYLIBDIR}/jkweb.a
GOLDGAP_O = hgGoldGapGl.o ntContig.o
LOADGAP_O = hgLoadGap.o
all: hgGoldGapGl hgLoadGap
hgGoldGapGl: ${GOLDGAP_O} ../../../lib/${MACHTYPE}/jkweb.a
${CC} ${COPT} -o ${BINDIR}/hgGoldGapGl \
${GOLDGAP_O} ${MYLIBS} $L
hgLoadGap: ${LOADGAP_O} ../../../lib/${MACHTYPE}/jkweb.a
${CC} ${COPT} -o ${BINDIR}/hgLoadGap \
${LOADGAP_O} ${MYLIBS} $L
lib:
cd ../../../lib && ${MAKE}
compile: ${GOLDGAP_O} ${LOADGAP_O} ../../../lib/${MACHTYPE}/jkweb.a
${CC} ${COPT} -o hgGoldGapGl ${GOLDGAP_O} ${MYLIBS} $L
${CC} ${COPT} -o hgLoadGap ${LOADGAP_O} ${MYLIBS} $L
clean::
rm -f hgGoldGapGl hgLoadGap ${GOLDGAP_O} ${LOADGAP_O}