src/hg/near/hgNear/makefile 1.45

1.45 2009/03/10 00:34:20 galt
Modifications to make system to support optional external libraries, motivated by need for SSL
Index: src/hg/near/hgNear/makefile
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/near/hgNear/makefile,v
retrieving revision 1.44
retrieving revision 1.45
diff -b -B -U 1000000 -r1.44 -r1.45
--- src/hg/near/hgNear/makefile	9 Jan 2009 18:41:44 -0000	1.44
+++ src/hg/near/hgNear/makefile	10 Mar 2009 00:34:20 -0000	1.45
@@ -1,40 +1,40 @@
 include ../../../inc/common.mk
 
-L = $(MYSQLLIBS) -lm 
+L += $(MYSQLLIBS) -lm 
 MYLIBDIR = ../../../lib/$(MACHTYPE)
 MYLIBS =  $(MYLIBDIR)/jkhgap.a $(MYLIBDIR)/jkweb.a
 A = hgNear
 
 O = $A.o advFilter.o afiAli.o association.o colTemplate.o configure.o \
 	customColumn.o examples.o expRatio.o flyBase.o getSeq.o \
 	go.o intronSize.o knownGene.o order.o pfam.o search.o userSettings.o
 
 include ../../../inc/cgi_build_rules.mk
 
 my::
 	rsync -ar --exclude=CVS/ --exclude=.svn/ --delete hgNearData ${CGI_BIN}-${USER}/
 	chmod -R a+rX ${CGI_BIN}-${USER}/hgNearData
 
 install::
 	rsync -ar --exclude=CVS/ --exclude=.svn/ --delete hgNearData \
 		${DESTDIR}${CGI_BIN}/
 	chmod -R a+rX ${DESTDIR}${CGI_BIN}/hgNearData
 
 alpha::
 	rm -fr ${CGI_BIN}/hgNearData
 	rsync -ar --exclude=CVS/ --exclude=.svn/ --delete hgNearData ${CGI_BIN}/
 	chmod -R g+w ${CGI_BIN}/hgNearData
 	chmod -R a+rX ${CGI_BIN}/hgNearData
 
 beta::
 	rm -fr ${CGI_BIN}-beta/hgNearData
 	rsync -ar --exclude=CVS/ --exclude=.svn/ --delete hgNearData ${CGI_BIN}-beta/
 	chmod -R g+w ${CGI_BIN}-beta/hgNearData
 	chmod -R a+rX ${CGI_BIN}-beta/hgNearData
 
 compile: $O $(MYLIBS)
 	${CC} ${COPT} -o $A $O $(MYLIBS) $L
 
 test:
 	$(CGI_BIN)-$(USER)/hgNear