opnsense-src/gnu/usr.bin/cc/c++filt/Makefile
Peter Wemm 66422f5b7a Initiate deorbit burn for the i386-only a.out related support. Moves are
under way to move the remnants of the a.out toolchain to ports.  As the
comment in src/Makefile said, this stuff is deprecated and one should not
expect this to remain beyond 4.0-REL.  It has already lasted WAY beyond
that.

Notable exceptions:
gcc - I have not touched the a.out generation stuff there.
ldd/ldconfig - still have some code to interface with a.out rtld.
old as/ld/etc - I have not removed these yet, pending their move to ports.
some includes - necessary for ldd/ldconfig for now.

Tested on: i386 (extensively), alpha
2002-09-17 01:49:00 +00:00

23 lines
423 B
Makefile

# $FreeBSD$
.include "../Makefile.inc"
.PATH: ${GCCDIR}
PROG= c++filt
SRCS= cp-demangle.c cplus-dem+%DIKED.c
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>