src/hg/hgCert/makefile 1.9
1.9 2009/03/10 00:33:57 galt
Modifications to make system to support optional external libraries, motivated by need for SSL
Index: src/hg/hgCert/makefile
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgCert/makefile,v
retrieving revision 1.8
retrieving revision 1.9
diff -b -B -U 1000000 -r1.8 -r1.9
--- src/hg/hgCert/makefile 19 Dec 2006 23:35:03 -0000 1.8
+++ src/hg/hgCert/makefile 10 Mar 2009 00:33:57 -0000 1.9
@@ -1,38 +1,38 @@
include ../../inc/common.mk
-L = -lm ${MYSQLLIBS}
+L += -lm ${MYSQLLIBS}
MYLIBDIR = ../../lib/${MACHTYPE}
MYLIBS = ${MYLIBDIR}/jkhgap.a ${MYLIBDIR}/jkweb.a
A = hgCert
O = $A.o
my: compile
mv $A${EXE} ${BINDIR}/$A
mgsc: compile
mv $A${EXE} /usr/local/apache/cgi-bin-mgsc/$A
alpha: compile
mv $A${EXE} /usr/local/apache/cgi-bin/$A
beta: compile
mv $A${EXE} /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${EXE}
lib:
cd ../../lib && ${MAKE}
tags:
ctags *.h *.c ../lib/*.c ../inc/*.h ../../lib/*.c ../../inc/*.h
clean::
rm -f $A $A.o $A${EXE}