📄 makefile.freebsd
字号:
## Makefile for building fasta3 on FreeBSD## Fernan Aguero - <fernan@iib.unsam.edu.ar># we take care of doing variable assignment using the '?=' and '+='# operators to preserve the value of variables if they are already# defined. In FreeBSD this happens when fasta3 is build from the port or# when the user has set these variables -- most notably CC and/or CFLAGS# -- in /etc/make.conf# Compiler executable, and optional flagsCC?= gccCFLAGS?= -g -O2# your FASTA hostFASTA_HOST?= "your_fasta_host"# common CFLAGS. These are the set of CFLAGS that are always usedCOMMON_CFLAGS= -DSHOWSIM -DUNIX -DTIMES -DHZ=100 -DMAX_WORKERS=2 \ -DTHR_EXIT=pthread_exit -DPROGRESS -DUSE_MMAP -D_REENTRANT \ -D_LARGE_FILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_FSEEKO \ -DHAS_INTTYPES -DSAMP_STATS# standard options, these will be added to the common CFLAGS if# selected belowSTANDARD_CFLAGS= -DSFCHAR="':'" -DFASTA_HOST='${FASTA_HOST}' \ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DPGM_DOC# options for superfamily validations, these will be added to the common# CFLAGS if selected belowSUPERFAMILY_CFLAGS= -DSFCHAR="'|'" -DSUPERFAMNUM -DBIG_LIB64# here we define CFLAGS to be the sum of common flags plus a subset of# optional flags that define our intended use.# The default standard flags are selected by default, although the user# can override this if s/he wantsCFLAGS+= ${COMMON_CFLAGS} ${STANDARD_CFLAGS}XDIR?= /usr/local/binLIB_M+= -lmHFLAGS+= -oNFLAGS+= -o# FreeBSD users BEWARE! Different threading models ahead!# The threading model has changed along the way from FreeBSD-4 to# FreeBSD-6. If you're building fasta3 on your own, you will need to# adjust this accordingly. The default works in FreeBSD-6x (currently# the recommended major version for use in production). Or better yet,# use the biology/fasta3 port from the ports collection, which will use# the correct threading library for your OSVERSIONTHR_SUBS?= pthr_subs2THR_LIBS?= -lpthreadTHR_CC?= # set up files for SSE2/Altivec acceleration#include Makefile.sse_alt# no acceleration#DROPGSW_O = $(DROPGSW_NA_O)DROPLAL_O = $(DROPLAL_NA_O)include Makefile35m.common
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -