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

25 lines
457 B
Makefile

# $FreeBSD$
.include "../Makefile.inc"
.PATH: ${GCCDIR}
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}
CLEANFILES= cplus-dem+%DIKED.c
.include <bsd.prog.mk>