src/gfServer/makefile 1.25
1.25 2009/03/10 00:33:39 galt
Modifications to make system to support optional external libraries, motivated by need for SSL
Index: src/gfServer/makefile
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/gfServer/makefile,v
retrieving revision 1.24
retrieving revision 1.25
diff -b -B -U 1000000 -r1.24 -r1.25
--- src/gfServer/makefile 3 Sep 2008 19:18:10 -0000 1.24
+++ src/gfServer/makefile 10 Mar 2009 00:33:39 -0000 1.25
@@ -1,26 +1,26 @@
include ../inc/common.mk
-L = -lm $(SOCKETLIB)
+L += -lm $(SOCKETLIB)
MYLIBDIR = ../lib/$(MACHTYPE)
MYLIBS = $(MYLIBDIR)/jkOwnLib.a $(MYLIBDIR)/jkweb.a
O = gfServer.o
X = gfServer
gfServer: $O $(MYLIBS)
${CC} ${COPT} ${CFLAGS} -o ${BINDIR}/$X $O $(MYLIBS) $L
${STRIP} ${BINDIR}/$X${EXE}
test:
${MKDIR} tests/output
$X direct tests/input/mCrea.mrna tests/input/hCreaGeno.nib \
tests/input/mCreaGeno.nib > tests/output/testNib
$X direct tests/input/mCrea.mrna tests/input/creaGeno.2bit \
>tests/output/testTwoBit
cd tests && ./testProtNib output/testProtNib
cd tests && ./testProtTwoBit output/testProtTwoBit
cd tests && ./testTransNib output/testTransNib
cd tests && ./testTransTwoBit output/testTransTwoBit
cd tests && ./testPcr output/testPcr
diff -r -x CVS tests/expected tests/output
rm -r tests/output