summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/cxxfilt/Makefile
blob: f30b204be60a267e733c71398a3d0c86bd4853ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
NOMAN=1
PROG=c++filt

SRCS=	cxxfilt.c
LIBIBERTY_INCDIR=${.CURDIR}/../../lib/libiberty/include

CFLAGS+=-I${LIBIBERTY_INCDIR}
LDADD=-liberty

cxxmain.c:
	ln -s ${LIBIBERTY_SRCDIR}/cplus-dem.c $@

.include <bsd.prog.mk>

CFLAGS+=-DTARGET_PREPENDS_UNDERSCORE=0