1# $NetBSD: Makefile,v 1.6 2018/04/14 17:53:09 christos Exp $ 2 3PROG= c++filt 4CPPFLAGS+= -DMAIN 5CLEANFILES+= c++filt.1 6 7.include "${.CURDIR}/../common/Makefile.prog" 8 9.PATH: ${DIST}/libiberty 10 11c++filt.1: ${DIST}/binutils/doc/cxxfilt.man 12 ${_MKTARGET_CREATE} 13 ${TOOL_SED} -e "s/@PROGRAM@/${PROG}/" < $> > $@ 14