# $NetBSD: Makefile,v 1.7.6.1 2023/06/03 14:24:25 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 .if ${MACHINE_ARCH} == "vax" COPTS.decNumber.c=-O0 .endif .include # Force using C++ for this HOST_CC:= ${HOST_CXX} CC:= ${CXX} CFLAGS:= ${CXXFLAGS} .PATH: ${DIST}/libdecnumber ${DIST}/libdecnumber/dpd