⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile

📁 Calc Software Package for Number Calc
💻
📖 第 1 页 / 共 5 页
字号:
# them for faster calc startup.##    System type    NO_SHARED recommendation##	BSD	    NO_SHARED=#	SYSV	    NO_SHARED= -dn#	IRIX	    NO_SHARED= -non_shared#	disable	    NO_SHARED=## If in doubt, use NO_SHARED=#NO_SHARED=#NO_SHARED= -dn#NO_SHARED= -non_shared# On some systems where you are disabling dynamic shared link libs, you may# need to pass a special flag to ${CC} and ${LCC} during linking stage.##    System type			    NO_SHARED recommendation##	IRIX with NO_SHARED= -non_shared    LD_NO_SHARED= -Wl,-rdata_shared#	IRIX with NO_SHARED=		    LD_NO_SHARED=#	others				    LD_NO_SHARED=## If in doubt, use LD_NO_SHARED=#LD_NO_SHARED=#LD_NO_SHARED= -Wl,-rdata_shared# Some systems require one to use ranlib to add a symbol table to# a *.a link library.  Set RANLIB to the utility that performs this# action.  Set RANLIB to : if your system does not need such a utility.#RANLIB=ranlib#RANLIB=:# Normally certain files depend on the Makefile.  If the Makefile is# changed, then certain steps should be redone.	 If MAKE_FILE is# set to Makefile, then these files will depend on Makefile.  If# MAKE_FILE is empty, then they wont.## If in doubt, set MAKE_FILE to Makefile#MAKE_FILE= Makefile#MAKE_FILE=# If you do not wish to use purify, set PURIFY to an empty string.## If in doubt, use PURIFY=##PURIFY= purify#PURIFY= purify -m71-engine#PURIFY= purify -logfile=pure.out#PURIFY= purify -m71-engine -logfile=pure.outPURIFY=# If you want to use a debugging link library such as a malloc debug link# library, or need to add special ld flags after the calc link libraries# are included, set ${LD_DEBUG} below.## If in doubt, set LD_DEBUG to empty.##LD_DEBUG= -lmalloc_cvLD_DEBUG=# When doing a:##	make check#	make chk#	make debug## the ${CALC_ENV} is used to supply the proper environment variables# to calc.  Most people will simply need 'CALCPATH=./cal' to ensure# that these debug rules will only use calc resource files under the# local source directory.  The longer lines (with MALLOC_VERBOSE=1 ...)# are useful for SGI IRIX people who have 'WorkShop Performance Tools'# and who also set 'LD_DEBUG= -lmalloc_cv' above.## If in doubt, use CALC_ENV= CALCPATH=./cal.#CALC_ENV= CALCPATH=./cal#CALC_ENV= CALCPATH=./cal MALLOC_VERBOSE=1 MALLOC_TRACING=1 \#	  MALLOC_FASTCHK=1 MALLOC_FULLWARN=1#CALC_ENV= CALCPATH=./cal MALLOC_VERBOSE=1 MALLOC_TRACING=1 \#	  MALLOC_FASTCHK=1 MALLOC_FULLWARN=1 MALLOC_CLEAR_FREE=1 \#	  MALLOC_CLEAR_MALLOC=1# By default, custom builtin functions may only be executed if calc# is given the -C option.  This is because custom builtin functions# may invoke non-standard or non-portable code.	 One may completely# disable custom builtin functions by not compiling any of code## ALLOW_CUSTOM= -DCUSTOM	# allow custom only if -C is given# ALLOW_CUSTOM=			# disable custom even if -C is given## If in doubt, use ALLOW_CUSTOM= -DCUSTOM#ALLOW_CUSTOM= -DCUSTOM#ALLOW_CUSTOM=# The install rule uses:##	${MKDIR} ${MKDIR_ARG}## to create directorties.  Normall this amounts to usins mkdir -p dir ...# Some older systems may not have mkdir -p.  If you system does not# make mkdir -p, then set MKDIR_ARG to empty.## MKDIR_ARG= -p			# use mkdir -p when creating paths# MKDIR_ARG=			# use if system does not understand mkdir -p#MKDIR_ARG= -p#MKDIR_ARG=# Some out of date operating systems require / want an executable to# end with a certain file extension.  Some compile systems such as# Cygwin build calc as calc.exe.  The EXT variable is used to denote# the extension required by such.## EXT=				# normal Un*x / Linux / GNU/Linux systems# EXT=.exe			# windoz / Cygwin## If in doubt, use EXT=#EXT=#EXT=.exe################# compiler set ################### Select your compiler type by commenting out one of the cc sets below:## CCOPT are flags given to ${CC} for optimization# CCWARN are flags given to ${CC} for warning message control# CCWERR are flags given to ${CC} to make warnings fatal errors#	NOTE: CCWERR is only set in development Makefiles and must#	      only be used with ${CC}, not ${LCC}.# CCMISC are misc flags given to ${CC}## CFLAGS are all flags given to ${CC} [[often includes CCOPT, CCWARN, CCMISC]]# ICFLAGS are given to ${CC} for intermediate progs## LDFLAGS are flags given to ${CC} for linking .o files# ILDFLAGS are flags given to ${CC} for linking .o files for intermediate progs## LCC how the the C compiler is invoked on locally executed intermediate progs# CC is how the the C compiler is invoked (with an optional Purify)###### Linux set## Tested on Red Hat 6.0 Linux but should run on almost any Linux release.#CCWARN= -Wall -W -Wno-commentCCWERR=CCOPT= ${DEBUG} ${NO_SHARED}CCMISC=#CFLAGS= -DCALC_SRC ${CCWARN} ${CCOPT} ${CCMISC}ICFLAGS= -DCALC_SRC ${CCWARN} ${CCMISC}#LDFLAGS= ${NO_SHARED} ${LD_NO_SHARED}ILDFLAGS=#LCC= gccCC= ${PURIFY} ${LCC} ${CCWERR}###### gcc set##CCWARN= -Wall -W -Wno-comment#CCWERR=#CCOPT= ${DEBUG} ${NO_SHARED}#CCMISC=##CFLAGS= -DCALC_SRC ${CCWARN} ${CCOPT} ${CCMISC}#ICFLAGS= -DCALC_SRC ${CCWARN} ${CCMISC}##LDFLAGS= ${NO_SHARED} ${LD_NO_SHARED}#ILDFLAGS=##LCC= gcc#CC= ${PURIFY} ${LCC} ${CCWERR}###### common cc set## If -O3 -g3 is not supported try:			DEBUG= -O2 -g# If -O2 -g is not supported try:			DEBUG= -O -g##CCWARN=#CCWERR=#CCOPT= ${DEBUG} ${NO_SHARED}#CCMISC=##CFLAGS= -DCALC_SRC ${CCWARN} ${CCOPT} ${CCMISC}#ICFLAGS= -DCALC_SRC ${CCWARN} ${CCMISC}##LDFLAGS= ${NO_SHARED} ${LD_NO_SHARED}#ILDFLAGS=##LCC= cc#CC= ${PURIFY} ${LCC} ${CCWERR}###### SGI IRIX6.2 (or later) -n32 (v7.1 or later) Compiler## You must set above:					RANLIB=:## If -O3 -g3 is not supported try:			DEBUG= -O2 -g# If -O2 -g is not supported try:			DEBUG= -O -g## If you have the directory /usr/lib32/nonshared, then set the following above:#	NO_SHARED= -non_shared#	LD_NO_SHARED= -Wl,-rdata_shared## woff 1209: cancel 'controlling expression is constant' warnings##CCWARN= -fullwarn -woff 1209#CCWERR=#CCOPT= ${DEBUG} ${NO_SHARED}#CCMISC= -rdata_shared##CFLAGS= -DCALC_SRC ${CCWARN} ${CCOPT} ${CCMISC}#ICFLAGS= -DCALC_SRC ${CCWARN} ${CCMISC}##LDFLAGS= ${NO_SHARED} ${LD_NO_SHARED}#ILDFLAGS=##LCC= cc -n32 -xansi#CC= ${PURIFY} ${LCC} ${CCWERR}###### HP-UX set## If -O3 -g3 is not supported try:			DEBUG= -O2 -g# If -O2 -g is not supported try:			DEBUG= -O -g## Warning: Some HP-UX optimizers are brain-damaged.# If 'make check' fails use:				DEBUG= -g##CCWARN=#CCWERR=#CCOPT= ${DEBUG} ${NO_SHARED}#CCMISC= +e##CFLAGS= -DCALC_SRC ${CCWARN} ${CCOPT} ${CCMISC}#ICFLAGS= -DCALC_SRC ${CCWARN} ${CCMISC}##LDFLAGS= ${NO_SHARED} ${LD_NO_SHARED}#ILDFLAGS=##LCC= cc#CC= ${PURIFY} ${LCC} ${CCWERR}###### AIX RS/6000 set## If -O3 -g3 is not supported try:			DEBUG= -O2 -g# If -O2 -g is not supported try:			DEBUG= -O -g##CCWARN=#CCWERR=#CCOPT= ${DEBUG} ${NO_SHARED}#CCMISC= -qlanglvl=ansi##CFLAGS= -DCALC_SRC ${CCWARN} ${CCOPT} ${CCMISC}#ICFLAGS= -DCALC_SRC ${CCWARN} ${CCMISC}##LDFLAGS= ${NO_SHARED} ${LD_NO_SHARED}#ILDFLAGS=##LCC= cc#CC= ${PURIFY} ${LCC} ${CCWERR}###### Solaris Sun cc compiler set## If -O3 -g3 is not supported try:			DEBUG= -O2 -g# If -O2 -g is not supported try:			DEBUG= -O -g## We need -DFORCE_STDC to make use of ANSI-C like features and# to avoid the use of -Xc (which as a lose performance wise).##CCWARN=#CCWERR=#CCOPT= ${DEBUG} ${NO_SHARED}#CCMISC= -DFORCE_STDC##CFLAGS= -DCALC_SRC ${CCWARN} ${CCOPT} ${CCMISC}#ICFLAGS= -DCALC_SRC ${CCWARN} ${CCMISC}##LDFLAGS= ${NO_SHARED} ${LD_NO_SHARED}#ILDFLAGS=##LCC= cc#CC= ${PURIFY} ${LCC} ${CCWERR}###### Dec Alpha / Compaq Tru64 cc (non-gnu) compiler set## For better performance, set the following:	DEBUG= -std0 -fast -O4 -static##CCWARN=#CCWERR=#CCOPT= ${DEBUG} ${NO_SHARED}#CCMISC=##CFLAGS= -DCALC_SRC ${CCWARN} ${CCOPT} ${CCMISC}#ICFLAGS= -DCALC_SRC ${CCWARN} ${CCMISC} -Wno-unused##LDFLAGS= ${NO_SHARED} ${LD_NO_SHARED}#ILDFLAGS=##LCC= cc#CC= ${PURIFY} ${LCC} ${CCWERR}###############################################################################-=-=-=-=-=-=-=-=- Be careful if you change something below -=-=-=-=-=-=-=-=-################################################################################ standard utilities used during make#SHELL= /bin/shLANG= CMAKE= makeAWK= awkSED= sedDIFF= diffGREP= egrepSORT= sortTEE= teeCTAGS= ctagsCHMOD= chmodFMT= fmtXARGS= xargsCMP= cmpMKDIR= mkdirSPLINT= splintSPLINT_OPTS=RM= rmTOUCH= touchRMDIR= rmdirCP= cpMV= mvCO= coAR= arTRUE= trueCAT= catCOL= col# assume the X11 makedepend tool for the depend ruleMAKEDEPEND= makedepend# Makefile debug## Q=@	do not echo internal Makefile actions (quiet mode)# Q=	echo internal Makefile actions (debug / verbose mode)## V=@:	do not echo debug statements (quiet mode)# V=@	do echo debug statements (debug / verbose mode)##Q=Q=@V=@:#V=@# the source files which are built into a math link library## There MUST be a .o for every .c in LIBOBJS#LIBSRC= addop.c assocfunc.c blkcpy.c block.c byteswap.c \	codegen.c comfunc.c commath.c config.c const.c custom.c \	file.c func.c hash.c help.c hist.c input.c jump.c label.c \	lib_calc.c lib_util.c listfunc.c matfunc.c math_error.c \	md5.c obj.c opcodes.c pix.c poly.c prime.c qfunc.c qio.c \	qmath.c qmod.c qtrans.c quickhash.c seed.c shs.c shs1.c size.c \	string.c symbol.c token.c value.c version.c zfunc.c zio.c \	zmath.c zmod.c zmul.c zprime.c zrand.c zrandom.c# the object files which are built into a math link library## There MUST be a .o for every .c in LIBSRC plus calcerr.o# which is built via this Makefile.#LIBOBJS= addop.o assocfunc.o blkcpy.o block.o byteswap.o calcerr.o \	codegen.o comfunc.o commath.o config.o const.o custom.o \	file.o func.o hash.o help.o hist.o input.o jump.o label.o \	lib_calc.o lib_util.o listfunc.o matfunc.o math_error.o \	md5.o obj.o opcodes.o pix.o poly.o prime.o qfunc.o qio.o \	qmath.o qmod.o qtrans.o quickhash.o seed.o shs.o shs1.o size.o \	string.o symbol.o token.o value.o version.o zfunc.o zio.o \	zmath.o zmod.o zmul.o zprime.o zrand.o zrandom.o# the calculator source files## There MUST be a .c for every .o in CALCOBJS.#CALCSRC= calc.c# we build these .o files for calc## There MUST be a .o for every .c in CALCSRC.#CALCOBJS= calc.o# these .h files are needed by programs that use libcalc.a#LIB_H_SRC= alloc.h blkcpy.h block.h byteswap.h calc.h cmath.h \	config.h custom.h file.h func.h hash.h hist.h jump.h \	label.h lib_util.h math_error.h md5.h nametype.h \	opcodes.h prime.h qmath.h shs.h shs1.h string.h \	symbol.h token.h value.h win32dll.h zmath.h zrand.h zrandom.h# we build these .h files during the make#BUILD_H_SRC= align32.h args.h calcerr.h conf.h endian_calc.h \

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -