# $NetBSD: Makefile,v 1.8.2.2 2023/10/08 14:35:22 martin Exp $ DIST= ${GCCDIST} GNUHOSTDIST= ${DIST} HOSTPROG_CXX= 1 LIBISPRIVATE= yes .include LIB= decnumber SRCS= decNumber.c decContext.c decimal32.c decimal64.c decimal128.c CPPFLAGS+= -I${.CURDIR}/arch/${GCC_MACHINE_ARCH} -I${DIST}/libdecnumber CPPFLAGS+= -I${DIST}/libgcc .include # Force using C++ for this HOST_CC:= ${HOST_CXX} HOST_CFLAGS:= ${HOST_CXXFLAGS} CC:= ${CXX} CFLAGS:= ${CXXFLAGS} .PATH: ${DIST}/libdecnumber ${DIST}/libdecnumber/dpd