Makefile.inc revision 1.9
11.9Sjoerg# $NetBSD: Makefile.inc,v 1.9 2013/04/19 20:18:33 joerg Exp $ 21.1Skleink 31.1Skleink# gdtoa sources 41.1Skleink.PATH: ${.CURDIR}/gdtoa 51.9SjoergCPPFLAGS+=-I${.CURDIR}/gdtoa -I${.CURDIR}/locale 61.1Skleink 71.4SkleinkCPPFLAGS+=-DNO_FENV_H 81.4Skleink 91.4Skleink# machine-dependent directory must provide the following: 101.4Skleink# arith.h gd_qnan.h 111.1SkleinkCPPFLAGS+=-I${ARCHDIR}/gdtoa 121.4Skleink 131.4Skleink# machine-dependent Makefile must define names of modules to use for 141.4Skleink# float conversions: 151.4Skleink# strtof(): strtof{,_vaxf}.c 161.4Skleink# and for long double conversions on platforms with extended-precision 171.4Skleink# format, if supported (strtod.c will define an alias otherwise): 181.4Skleink# strtold(): strtold_p{x,xL,Q}.c 191.4Skleink# helpers: strtop{x,xL,Q}.c 201.4Skleink.include "${ARCHDIR}/gdtoa/Makefile.inc" 211.1Skleink 221.1Skleink# public interfaces 231.1SkleinkSRCS+= strtod.c 241.1Skleink 251.1Skleink# private interfaces interfacing to libc 261.5SchristosSRCS+= dtoa.c ldtoa.c hdtoa.c gdtoa.c 271.1Skleink 281.1Skleink# local locking implementation 291.1SkleinkSRCS+= gdtoa_locks.c 301.1Skleink 311.1Skleink# private interfaces 321.1SkleinkSRCS+= dmisc.c \ 331.1Skleink gethex.c gmisc.c \ 341.1Skleink hd_init.c hexnan.c \ 351.1Skleink misc.c \ 361.1Skleink smisc.c strtodg.c sum.c \ 371.1Skleink ulp.c 381.1Skleink 391.3Schristos# wrappers 401.4SkleinkSRCS+= _strtof.c _strtold.c 411.3Schristos#SRCS+= _hdtoa.c _ldtoa.c 421.3Schristos 431.1Skleink# XXX no hexadecimal floating-point string conversion for VAX FP yet 441.1Skleink.if ${MACHINE_ARCH} != "vax" 451.1SkleinkSRCS+= strtord.c 461.1Skleink.endif 47