1 # $NetBSD: Makefile,v 1.1 2016/01/26 17:27:00 christos Exp $ 2 3 PROG= c++filt 4 CPPFLAGS+= -DMAIN 5 CLEANFILES+= c++filt.1 6 7 .include <bsd.own.mk> 8 9 .include "${.CURDIR}/../common/Makefile.prog" 10 11 .PATH: ${DIST}/libiberty 12 13 c++filt.1: ${DIST}/binutils/doc/cxxfilt.man 14 ${_MKTARGET_CREATE} 15 ${TOOL_SED} -e "s/@PROGRAM@/${PROG}/" < $> > $@ 16