mirror of
https://github.com/opnsense/src.git
synced 2026-03-01 21:01:24 -05:00
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
23 lines
423 B
Makefile
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>
|