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

📄 makefile

📁 早期freebsd实现
💻
字号:
#	@(#)Makefile	8.1 (Berkeley) 6/4/93## ieee		- for most IEEE machines, we hope.# mc68881	- the, ahem, mc68881.# national	- for those ieee machines whose floating point implementation#		  has similar byte ordering as the NATIONAL 32016 with 32081.# i386		- i387 NPX, currently the same as "national"# mips		- for MIPS achitecture machines# tahoe		- for the tahoe double format.# vax		- for the vax D_floating formatLIB=	mCFLAGS+=-I${.CURDIR}/common_source.if (${MACHINE} == "ieee")HARDWARE=${MACHINE}.PATH:	${.CURDIR}/common_source ${.CURDIR}/common ${.CURDIR}/ieee# common_sourceSRCS+=	acosh.c asincos.c asinh.c atan.c atanh.c cosh.c erf.c exp.c \	exp__E.c expm1.c floor.c fmod.c gamma.c lgamma.c j0.c j1.c \	jn.c log.c log10.c log1p.c log__L.c pow.c sinh.c tanh.c# commonSRCS+=	atan2.c sincos.c tan.c# ieeeSRCS+=	cabs.c cbrt.c support.c.elif (${MACHINE} == "hp300" || ${MACHINE} == "luna68k")HARDWARE=mc68881.PATH:	${.CURDIR}/mc68881 ${.CURDIR}/common_source ${.CURDIR}/ieee# common_sourceSRCS+=	acosh.c asinh.c erf.c exp.c exp__E.c fmod.c gamma.c lgamma.c \	j0.c j1.c log.c log__L.c pow.c# mc68881SRCS+=	asincos.s atan.s atan2.c atanh.s cosh.s expm1.s floor.s \	log10.s log1p.s sincos.s sinh.s sqrt.s support.s tan.s tanh.s# ieeeSRCS+=	cabs.c cbrt.c.elif (${MACHINE} == "i386")HARDWARE=i387.PATH:	${.CURDIR}/common_source ${.CURDIR}/common ${.CURDIR}/ieeeCFLAGS+= -Dnational# common_sourceSRCS+=	acosh.c asincos.c asinh.c atan.c atanh.c cosh.c erf.c exp.c \	exp__E.c expm1.c floor.c fmod.c gamma.c lgamma.c j0.c j1.c \	jn.c log.c log10.c log1p.c log__L.c pow.c sinh.c tanh.c# commonSRCS+=	atan2.c sincos.c tan.c# ieeeSRCS+=	cabs.c cbrt.c support.c.elif (${MACHINE} == "mips")HARDWARE=${MACHINE}.PATH:	${.CURDIR}/common_source ${.CURDIR}/common ${.CURDIR}/ieeeCFLAGS+= -Dnational# common_sourceSRCS+=	acosh.c asincos.c asinh.c atan.c atanh.c cosh.c erf.c exp.c \	exp__E.c expm1.c floor.c fmod.c gamma.c lgamma.c j0.c j1.c \	jn.c log.c log10.c log1p.c log__L.c pow.c sinh.c tanh.c# commonSRCS+=	atan2.c sincos.c tan.c# ieeeSRCS+=	cabs.c cbrt.c support.c.elif (${MACHINE} == "national")HARDWARE=${MACHINE}.PATH:	${.CURDIR}/common_source ${.CURDIR}/common ${.CURDIR}/national \.elif (${MACHINE} == "national")HARDWARE=${MACHINE}.PATH:	${.CURDIR}/common_source ${.CURDIR}/common ${.CURDIR}/national \	${.CURDIR}/ieee# common_sourceSRCS+=	acosh.c asincos.c asinh.c atan.c atanh.c cosh.c erf.c exp.c \	exp__E.c expm1.c floor.c fmod.c gamma.c lgamma.c j0.c j1.c jn.c \	log.c log10.c log1p.c log__L.c pow.c sinh.c tanh.c# commonSRCS+=	atan2.c sincos.c tan.c# nationalSRCS+=	sqrt.s support.s# ieeeSRCS+=	cabs.c cbrt.c.elif (${MACHINE} == "sparc")HARDWARE=${MACHINE}.PATH:  ${.CURDIR}/common_source ${.CURDIR}/common ${.CURDIR}/ieee# common_sourceSRCS+=	acosh.c asincos.c asinh.c atan.c atanh.c cosh.c erf.c exp.c \	exp__E.c expm1.c floor.c fmod.c gamma.c lgamma.c j0.c j1.c \	jn.c log.c log10.c log1p.c log__L.c pow.c sinh.c tanh.c# XXX should do sqrt & support functions in assembly# commonSRCS+=	atan2.c sincos.c tan.c# ieeeSRCS+=	cabs.c cbrt.c support.c.elif (${MACHINE} == "tahoe")HARDWARE=${MACHINE}.PATH:	${.CURDIR}/common_source ${.CURDIR}/common ${.CURDIR}/tahoe \# common_sourceSRCS+=	acosh.c asincos.c asinh.c atan.c atanh.c cosh.c erf.c exp.c \	exp__E.c expm1.c floor.c fmod.c gamma.c lgamma.c j0.c j1.c jn.c \	log.c log10.c log1p.c log__L.c pow.c sinh.c tanh.c# commonSRCS+=	atan2.c sincos.c tan.c# tahoeSRCS+=	cabs.s cbrt.s sqrt.s support.s infnan.s.elif (${MACHINE} == "vax")HARDWARE=${MACHINE}.PATH:	${.CURDIR}/common_source ${.CURDIR}/vax# common_sourceSRCS+=	acosh.c asincos.c asinh.c atan.c atanh.c cosh.c erf.c exp.c \	exp__E.c expm1.c floor.c fmod.c gamma.c lgamma.c j0.c j1.c jn.c \	log.c log10.c log1p.c log__L.c pow.c sinh.c tanh.c# vaxSRCS+=	atan2.s cabs.s cbrt.s sqrt.s sincos.s tan.s argred.s support.s \	infnan.s.endifMAN3+=	acos.0 acosh.0 asin.0 asinh.0 atan.0 atan2.0 atanh.0 ceil.0 \	cos.0 cosh.0 erf.0 exp.0 fabs.0 floor.0 fmod.0 hypot.0 ieee.0 \	infnan.0 j0.0 lgamma.0 math.0 rint.0 sin.0 sinh.0 sqrt.0 \	tan.0 tanh.0MLINKS+=erf.3 erfc.3MLINKS+=exp.3 expm1.3 exp.3 log.3 exp.3 log10.3 exp.3 log1p.3 exp.3 pow.3MLINKS+=hypot.3 cabs.3MLINKS+=ieee.3 copysign.3 ieee.3 drem.3 ieee.3 finite.3 ieee.3 logb.3 \	ieee.3 scalb.3MLINKS+=j0.3 j1.3 j0.3 jn.3 j0.3 y0.3 j0.3 y1.3 j0.3 yn.3MLINKS+=lgamma.3 gamma.3# can't use the standard mkdep, because there are some .s files that# are using '#' as a comment indicator and cpp thinks it's an undefined# control.depend: .depend.depend: ${SRCS}	mkdep ${CFLAGS:M-[ID]*} ${.ALLSRC:M*.c}.include <bsd.lib.mk>.s.o:	${AS} -o ${.TARGET} ${.IMPSRC}	@${LD} -x -r ${.TARGET}	@mv a.out ${.TARGET}.s.po:	sed -f ${.CURDIR}/${HARDWARE}/mcount.sed ${.IMPSRC} | \	    ${AS} -o ${.TARGET}	@${LD} -X -r ${.TARGET}	@mv a.out ${.TARGET}

⌨️ 快捷键说明

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