1 # $NetBSD: Makefile,v 1.13 2025/09/07 04:12:40 mrg Exp $ 2 3 .include <bsd.init.mk> 4 5 PROG= gcov 6 SRCS= ${G_GCOV_OBJS:S/json.o/json.cc/:.o=.cc} 7 8 CPPFLAGS+= -I${GCCARCH} -I${BACKENDOBJ} ${G_ALL_CFLAGS:M-D*} ${G_INCLUDES:M-I*:N-I.*} 9 DPADD+= ${LIBZ} 10 LDADD+= -lz 11 12 BINDIR= /usr/bin 13 14 MAN= gcov.1 15 16 .include "../Makefile.prog" 17 18 .include "../Makefile.common" 19 .include "../Makefile.libcpp" 20 .include "../Makefile.backtrace" 21 .include "../Makefile.libiberty" 22 .include "../Makefile.libdecnumber" 23 24 COPTS.gcov.cc += -Wno-error=stack-protector 25 26 LDADD+= -lintl 27 DPADD+= ${LIBINTL} 28 29 .PATH: ${DIST}/gcc ${DIST}/gcc/doc 30