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