mirror of
https://github.com/opnsense/src.git
synced 2026-02-15 16:48:36 -05:00
23 lines
437 B
Makefile
23 lines
437 B
Makefile
# $FreeBSD$
|
|
|
|
.include "../Makefile.inc"
|
|
|
|
.PATH: ${GCCDIR}
|
|
|
|
PROG= c++filt
|
|
SRCS= cp-demangle.c cplus-dem+%DIKED.c
|
|
NOMAN= 1
|
|
|
|
CFLAGS+= -DSTANDALONE_DEMANGLER -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>
|