opnsense-src/gnu/usr.bin/cc/c++filt/Makefile
Alexander Kabaev 04d56e6287 Minor Makefile cleanup. Do not use Makefile variables named 'version' and
'target'. Latter is problematic in particular as apparently FreeBSD's
bsd.prog.mk re-defines it under some circumstances. This causes an
unexpected failures like -dumpmachine not working for cc while working
fine for c++.

Do not re-define IN_GCC in multipe places, it gets inherited from
Makefile.in anyway.

PR:		gnu/110143
Submitted by:	usleepless at gmail
2007-03-12 00:28:06 +00:00

17 lines
254 B
Makefile

# $FreeBSD$
.include "../Makefile.inc"
.include "../Makefile.fe"
.PATH: ${GCCDIR}
PROG= c++filt
SRCS= cp-demangle.c
NO_MAN=
CFLAGS+= -DSTANDALONE_DEMANGLER -DVERSION=\"$(GCC_VERSION)\"
DPADD= ${LIBCC_INT}
LDADD= ${LIBCC_INT}
.include <bsd.prog.mk>