freebsd-nq/gnu/usr.bin/cc/c++filt/Makefile
David E. O'Brien 3cdd876f04 Bmake bits for Gcc 3.1.
Partially made possible by:	Wilko.Bulte@compaq.com
2002-05-10 08:54:50 +00:00

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>