src/hg/hgGene/makefile 1.38
1.38 2009/03/10 00:33:58 galt
Modifications to make system to support optional external libraries, motivated by need for SSL
Index: src/hg/hgGene/makefile
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgGene/makefile,v
retrieving revision 1.37
retrieving revision 1.38
diff -b -B -U 1000000 -r1.37 -r1.38
--- src/hg/hgGene/makefile 9 Jan 2009 18:41:46 -0000 1.37
+++ src/hg/hgGene/makefile 10 Mar 2009 00:33:58 -0000 1.38
@@ -1,44 +1,44 @@
include ../../inc/common.mk
-L = $(MYSQLLIBS) -lm
+L += $(MYSQLLIBS) -lm
MYLIBDIR = ../../lib/$(MACHTYPE)
MYLIBS = ${MYLIBDIR}/jkpbap.a $(MYLIBDIR)/jkhgap.a $(MYLIBDIR)/jkweb.a
A = hgGene
O = hgGene.o altSplice.o ctd.o dnaBindMotif.o domains.o gad.o\
flyBaseInfo.o go.o info.o links.o microarray.o \
method.o localization.o mrnaDescriptions.o otherOrgs.o\
pathways.o pseudoGene.o rnaStructure.o sequence.o swissProtComments.o \
synonym.o wikiTrack.o
include ../../inc/cgi_build_rules.mk
my::
rsync -ar --exclude=CVS/ --exclude=.svn/ --delete hgGeneData ${CGI_BIN}-${USER}/
chmod -R a+rX ${CGI_BIN}-${USER}/hgGeneData
install::
rsync -ar --exclude=CVS/ --exclude=.svn/ --delete hgGeneData \
${DESTDIR}${CGI_BIN}/hgGeneData/
chmod -R a+rX ${DESTDIR}${CGI_BIN}/hgGeneData
alpha::
rm -fr ${CGI_BIN}/hgGeneData
rsync -ar --exclude=CVS/ --exclude=.svn/ --delete hgGeneData ${CGI_BIN}/
chmod -R g+w ${CGI_BIN}/hgGeneData
chmod -R a+rX ${CGI_BIN}/hgGeneData
beta::
rm -fr ${CGI_BIN}-beta/hgGeneData
rsync -ar --exclude=CVS/ --exclude=.svn/ --delete hgGeneData ${CGI_BIN}-beta/
chmod -R g+w ${CGI_BIN}-beta/hgGeneData
chmod -R a+rX ${CGI_BIN}-beta/hgGeneData
compile: $O
${CC} $O ${MYLIBS} ${L}
mv ${AOUT} $A${EXE}
test:
${CGI_BIN}-${USER}/$A hgg_gene=D43968 hgg_chrom=chr21 hgg_start=35080500 hgg_end=35181383 db=hg16 hgsid=68172