3cdd876f04
Partially made possible by: Wilko.Bulte@compaq.com
24 lines
457 B
Makefile
24 lines
457 B
Makefile
# $FreeBSD$
|
|
|
|
.include "../Makefile.inc"
|
|
|
|
.PATH: ${GCCDIR} ${GCCDIR}/../libiberty
|
|
|
|
PROG= c++filt
|
|
SRCS= cp-demangle.c cplus-dem+%DIKED.c
|
|
BINDIR= /usr/libexec/${OBJFORMAT}
|
|
NOMAN= 1
|
|
|
|
CFLAGS+= -DMAIN -DIN_GCC -DVERSION=\"$(version)\"
|
|
|
|
DPADD+= ${LIBCC_INT}
|
|
LDADD+= ${LIBCC_INT}
|
|
|
|
cplus-dem+%DIKED.c: cplus-dem.c
|
|
sed \
|
|
-e 's/^xmalloc[ ]/_DONT_xmalloc /g' \
|
|
-e 's/^xrealloc[ ]/_DONT_xrealloc /g' \
|
|
${.ALLSRC} > ${.TARGET}
|
|
|
|
.include <bsd.prog.mk>
|