Home | History | Annotate | Line # | Download | only in libquadmath
      1 #	$NetBSD: Makefile,v 1.2 2026/01/20 18:06:12 christos Exp $
      2 
      3 UNSUPPORTED_COMPILER.clang=	# defined
      4 NOLINT=yes	# no complex128?
      5 
      6 .include <bsd.own.mk>
      7 
      8 DIST=	${GCCDIST}
      9 
     10 LIB=	quadmath
     11 
     12 SHLIB_MAJOR=	0
     13 SHLIB_MINOR=	0
     14 
     15 .include "${.CURDIR}/defs.mk"
     16 SRCS=	${G_libquadmath_la_SOURCES:S,math/,,:S,printf/,,:S,strtod/,,}
     17 
     18 CPPFLAGS+= \
     19 	-DHAVE_CONFIG_H \
     20 	-I${.CURDIR} \
     21 	-I${DIST}/libquadmath \
     22 	-I${DIST}/config \
     23 	-I${DIST}/include
     24 
     25 LIBDPLIBS+=	m ${NETBSDSRCDIR}/lib/libm
     26 
     27 LDFLAGS+=	-Wl,--version-script,${DIST}/libquadmath/quadmath.map
     28 
     29 COPTS.mul.c += -Wno-error=stack-protector
     30 COPTS.printf_fp.c += -Wno-error=stack-protector
     31 
     32 .include <bsd.lib.mk>
     33 
     34 .PATH: ${DIST}/libquadmath
     35 .PATH: ${DIST}/libquadmath/math
     36 .PATH: ${DIST}/libquadmath/printf
     37 .PATH: ${DIST}/libquadmath/strtod
     38