Makefile.inc revision 1.38
11.38Srin# $NetBSD: Makefile.inc,v 1.38 2020/05/31 11:43:37 rin Exp $ 21.14Ssimonb 31.14SsimonbSRCS+= alloca.S fabs.S 41.14Ssimonb 51.14Ssimonb# Common ieee754 constants and functions 61.21SkleinkSRCS+= infinityf_ieee754.c infinity_ieee754.c 71.23SkleinkSRCS+= fpclassifyf_ieee754.c fpclassifyd_ieee754.c 81.24SkleinkSRCS+= isinff_ieee754.c isinfd_ieee754.c 91.24SkleinkSRCS+= isnanf_ieee754.c isnand_ieee754.c 101.23SkleinkSRCS+= isfinitef_ieee754.c isfinited_ieee754.c 111.23SkleinkSRCS+= signbitf_ieee754.c signbitd_ieee754.c 121.19Skleink 131.26SkleinkSRCS+= nanf.c 141.26Skleink 151.22Skleink# 68000-based machines use a double-extended `long double' type 161.22Skleink# for which the generic ieee754 versions can be used 171.32Smatt.if ${MACHINE_ARCH} != "m68k" 181.23SkleinkSRCS+= infinityl_dbl_ieee754.c 191.22Skleink.else 201.23SkleinkSRCS+= infinityl.c 211.36SmayaSRCS+= fpclassifyl.c isfinitel.c isinfl.c isnanl.c 221.36SmayaSRCS+= signbitl_ieee754.c 231.22Skleink.endif 241.1Scgd 251.13SfredetteSRCS+= ashlsi3.S ashrsi3.S \ 261.13Sfredette lshlsi3.S lshrsi3.S \ 271.13Sfredette negdf2.S negsf2.S 281.13SfredetteSRCS+= bswap16.S bswap32.S bswap64.S 291.15SthorpejSRCS+= _lwp.c 301.31SjoergCPPFLAGS._lwp.c += -D_LIBC_SOURCE 311.13Sfredette 321.13Sfredette# 68000-based machines build with a libgcc that includes 331.13Sfredette# much of the (soft)float and integer support that would 341.13Sfredette# otherwise be compiled here. 351.35Schs.if (${MACHINE_ARCH} == "m68000" || ${MKSOFTFLOAT} != "no") 361.34SchristosSRCS+= compat_modf_ieee754.c # generic ieee754 version 371.13SfredetteSRCS+= flt_rounds_softfloat.S 381.35Schs.if ${MKSOFTFLOAT} == "no" 391.29SchristosSRCS+= fpfake.c 401.29Schristos.endif 411.32Smatt.endif 421.32Smatt 431.32Smatt.if ${MACHINE_ARCH} == "m68k" 441.37SrinSRCS+= mulsi3.S umulsi3.S 451.38SrinSRCS+= muldi3.S 461.38Srin.else 471.38Srinmuldi3.o muldi3.po muldi3.pico muldi3.d: muldi3.c 481.13Sfredette.endif 491.8Sthorpej 501.27SchristosSRCS+= setjmp.S longjmp.c 511.8SthorpejSRCS+= _setjmp.S 521.27SchristosSRCS+= sigsetjmp.S 531.1Scgd 541.15SthorpejSRCS+= makecontext.c resumecontext.S swapcontext.S 551.15Sthorpej 561.34SchristosSRCS+= compat_ldexp_ieee754.c # generic ieee754 version 571.15Sthorpej 581.30SuebayasiLSRCS.m68k.gen= Lint_bswap16.c Lint_bswap32.c Lint_bswap64.c \ 591.18Slukem Lint_resumecontext.c Lint_swapcontext.c 601.30SuebayasiLSRCS+= ${LSRCS.m68k.gen} 611.30SuebayasiDPSRCS+= ${LSRCS.m68k.gen} 621.30SuebayasiCLEANFILES+= ${LSRCS.m68k.gen} 63