freebsd-nq/gnu/usr.bin/cc/c++filt/Makefile

24 lines
432 B
Makefile
Raw Normal View History

# $FreeBSD$
.include "../Makefile.inc"
.PATH: ${GCCDIR}
PROG= c++filt
2002-04-06 23:18:01 +00:00
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>