1999-08-27 19:37:10 -04:00
|
|
|
# $FreeBSD$
|
1996-10-13 13:37:03 -04:00
|
|
|
|
1999-04-04 12:36:35 -04:00
|
|
|
.include "../Makefile.inc"
|
|
|
|
|
|
2002-05-17 02:35:44 -04:00
|
|
|
.PATH: ${GCCDIR}
|
1999-04-04 12:36:35 -04:00
|
|
|
|
1999-08-16 00:10:48 -04:00
|
|
|
PROG= c++filt
|
2002-04-06 18:18:01 -05:00
|
|
|
SRCS= cp-demangle.c cplus-dem+%DIKED.c
|
1996-10-13 13:37:03 -04:00
|
|
|
NOMAN= 1
|
1999-11-03 23:46:04 -05:00
|
|
|
|
2003-07-11 01:37:23 -04:00
|
|
|
CFLAGS+= -DSTANDALONE_DEMANGLER -DIN_GCC -DVERSION=\"$(version)\"
|
1996-10-13 13:37:03 -04:00
|
|
|
|
2004-02-05 17:44:25 -05:00
|
|
|
DPADD= ${LIBCC_INT}
|
|
|
|
|
LDADD= ${LIBCC_INT}
|
1996-10-13 13:37:03 -04:00
|
|
|
|
2001-12-17 22:09:26 -05:00
|
|
|
cplus-dem+%DIKED.c: cplus-dem.c
|
2002-05-17 02:35:44 -04:00
|
|
|
sed -e 's/^xmalloc[ ]/_DONT_xmalloc /g' \
|
2001-12-17 22:09:26 -05:00
|
|
|
-e 's/^xrealloc[ ]/_DONT_xrealloc /g' \
|
|
|
|
|
${.ALLSRC} > ${.TARGET}
|
1996-10-13 13:37:03 -04:00
|
|
|
|
2002-05-12 08:06:19 -04:00
|
|
|
CLEANFILES= cplus-dem+%DIKED.c
|
|
|
|
|
|
1996-10-13 13:37:03 -04:00
|
|
|
.include <bsd.prog.mk>
|