summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/c++filt/Makefile
blob: 22f68840b461418397528861342ec597b804d8d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#	$NetBSD: Makefile,v 1.10 2001/08/06 19:12:00 tv Exp $

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

.include <bsd.own.mk>
.if defined(USE_NEW_TOOLCHAIN)
.include "${.CURDIR}/../common/Makefile.prog"
.else
SRCS=		cplus-dem.c underscore.c

.include <bsd.prog.mk>
.endif

.PATH: ${DIST}/libiberty

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