summaryrefslogtreecommitdiff
path: root/external/gpl3/binutils/usr.bin/c++filt/Makefile
blob: 7ce0f008a8f2d60a2b4fa2c14b49026474894272 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#	$NetBSD: Makefile,v 1.1 2009/08/18 20:22:08 skrll Exp $

PROG=		c++filt
CPPFLAGS+=	-DMAIN
CLEANFILES+=	c++filt.1

.include <bsd.own.mk>

.include "${.CURDIR}/../common/Makefile.prog"

.PATH: ${DIST}/libiberty

c++filt.1: ${DIST}/binutils/doc/cxxfilt.man
	${_MKTARGET_CREATE}
	${TOOL_SED} -e "s/@PROGRAM@/${PROG}/" < $> > $@