1 # $Name: fa_34_26_5 $ - $Id: Makefile.pLinux_sql,v 1.4 2004/11/19 15:28:26 wrp Exp $
3 # makefile for fasta3, fasta3_t. Use makefile.pvm for pvcompxx.
4 # this file works for DEC Alphas
6 # this file supports mmap()'ed databases in BLAST2 format use -DUSE_MMAP
7 # for mmap()ed BLAST2 format.
9 # the -DDEBUG option provides additional debugging information, particularly
10 # with -D on the command line.
12 # use -DBIG_LIB64 to generate and use 64-bit offsets in map_db .xin
15 # for Tru64 4.0F, no "<inttypes.h>" 4.0G has inttypes.h
20 #CC= insure -g -DDEBUG
21 #CC= cc -g -DDEBUG -std1
26 CFLAGS= -O3 -qtune=auto -qarch=auto -DUNIX -DTIMES -DBIGMEM -DMAX_WORKERS=4 -DSFCHAR="':'" -DTHR_EXIT=pthread_exit -DPROGRESS -DUSE_MMAP -DIS_BIG_ENDIAN -DSAMP_STATS -DPGM_DOC -D_LARGE_FILES -DHAS_INTTYPES -D__pLinux__ -DFASTA_HOST='"fasta.bioch.virginia.edu/fasta/cgi"' -I/usr/include/mysql -DMYSQL_DB
28 #(-DMYSQL_DB for mySQL databases) (also requires change to Makefile34.common)
30 # special options for SUPERFAMLIES
31 #CFLAGS= -DM10_CONS -DUNIX -DTIMES -DHZ=60 -DBIGMEM -DSFCHAR="'|'" -DMAX_WORKERS=4 -DTHR_EXIT=pthread_exit -DPROGRESS -DSUPERFAMNUM -DIS_LITTLE_ENDIAN -DUSE_MMAP -DMAXBEST=200000
34 LIB_M = -L/usr/local/lib/mysql -lmysqlclient -lm
41 #THR_SUBS = pthr_subs2
50 # for SGI with current pthreads
52 #THR_LIBS = -lpthreads
55 # for IBM with current pthreads
57 #THR_SUBS = ibm_pthr_subs
58 #THR_LIBS = -lpthreads
61 # for IBM Linux with current pthreads
65 XDIR = /seqprg/slib/bin
67 DROPNFA_O = drop_nfa.o
70 DROPTFA_O = drop_tfa.o
72 # renamed (fasta34) programs
73 include Makefile34m.common_sql