src/hg/protein/spToSpXref2/makefile 1.2
1.2 2009/03/10 00:34:27 galt
Modifications to make system to support optional external libraries, motivated by need for SSL
Index: src/hg/protein/spToSpXref2/makefile
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/protein/spToSpXref2/makefile,v
retrieving revision 1.1
retrieving revision 1.2
diff -b -B -U 1000000 -r1.1 -r1.2
--- src/hg/protein/spToSpXref2/makefile 29 Jul 2008 23:10:49 -0000 1.1
+++ src/hg/protein/spToSpXref2/makefile 10 Mar 2009 00:34:27 -0000 1.2
@@ -1,36 +1,36 @@
include ../../../inc/common.mk
-L = -lm $(MYSQLLIBS)
+L += -lm $(MYSQLLIBS)
MYLIBDIR = ../../../lib/$(MACHTYPE)
MYLIBS = $(MYLIBDIR)/jkhgap.a $(MYLIBDIR)/jkweb.a
A = spToSpXref2
O = $A.o
my: compile
mv $A ${BINDIR}/$A
mgsc: compile
mv $A /usr/local/apache/cgi-bin-mgsc/$A
alpha: compile
mv $A /usr/local/apache/cgi-bin/$A
beta: compile
mv $A /usr/local/apache/cgi-bin-beta/$A
compile: $O
${CC} ${COPT} ${CFLAGS} $O $(MYLIBS) $(L)
mv ${AOUT} $A${EXE}
# ${STRIP} $A${EXE}
chmod a+rx $A
lib:
cd ../../../lib && ${MAKE}
tags:
ctags *.h *.c ../../lib/*.c ../inc/*.h ../../../lib/*.c ../../../inc/*.h