src/webBlat/makefile 1.5

1.5 2009/03/10 00:34:51 galt
Modifications to make system to support optional external libraries, motivated by need for SSL
Index: src/webBlat/makefile
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/webBlat/makefile,v
retrieving revision 1.4
retrieving revision 1.5
diff -b -B -U 1000000 -r1.4 -r1.5
--- src/webBlat/makefile	17 Aug 2004 19:23:04 -0000	1.4
+++ src/webBlat/makefile	10 Mar 2009 00:34:51 -0000	1.5
@@ -1,27 +1,27 @@
 include ../inc/common.mk
 
-L = -lm $(SOCKETLIB)
+L += -lm $(SOCKETLIB)
 MYLIBDIR = ../lib/${MACHTYPE}
 MYLIBS =  ${MYLIBDIR}/jkOwnLib.a ${MYLIBDIR}/jkweb.a
 
 O = webBlat.o
 
 webBlat: $O ${MYLIBS}
 	${CC} ${COPT} -o webBlat $O ${MYLIBS} $L
 	${STRIP} webBlat${EXE}
 
 installOsX: webBlat
 	cp webBlat /Library/WebServer/CGI-Executables
 	cp webBlat.cfg /Library/WebServer/CGI-Executables
 
 installUcsc: webBlat
 	cp webBlat /usr/local/apache/cgi-bin-$(USER)
 	cp webBlat.cfg /usr/local/apache/cgi-bin-$(USER)
 
 installAlpha: webBlat
 	cp webBlat /usr/local/apache/cgi-bin
 	cp webBlat.cfg /usr/local/apache/cgi-bin
 
 clean:
 	rm -f $O