Makefile.inc revision 1.36
11.36Smaya# $NetBSD: Makefile.inc,v 1.36 2019/04/26 09:03:46 maya 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.32SmattSRCS+= divsi3.S modsi3.S mulsi3.S udivsi3.S umodsi3.S umulsi3.S 451.13Sfredette.endif 461.8Sthorpej 471.27SchristosSRCS+= setjmp.S longjmp.c 481.8SthorpejSRCS+= _setjmp.S 491.27SchristosSRCS+= sigsetjmp.S 501.1Scgd 511.15SthorpejSRCS+= makecontext.c resumecontext.S swapcontext.S 521.15Sthorpej 531.34SchristosSRCS+= compat_ldexp_ieee754.c # generic ieee754 version 541.15Sthorpej 551.30SuebayasiLSRCS.m68k.gen= Lint_bswap16.c Lint_bswap32.c Lint_bswap64.c \ 561.18Slukem Lint_resumecontext.c Lint_swapcontext.c 571.30SuebayasiLSRCS+= ${LSRCS.m68k.gen} 581.30SuebayasiDPSRCS+= ${LSRCS.m68k.gen} 591.30SuebayasiCLEANFILES+= ${LSRCS.m68k.gen} 60