18a5822eff
They are used as build tools for cross compilation. This import does not include the full distribution. Rather, it sports a shell script that will download and patch the distribution when compiled from /usr/src/tools (yet to be committed). This part of the source tree is only necessary for cross compilation. It's not used or compiled for native builds.
15 lines
326 B
Makefile
15 lines
326 B
Makefile
# $NetBSD: Makefile,v 1.1 2009/08/18 20:22:08 skrll Exp $
|
|
|
|
PROG= c++filt
|
|
CPPFLAGS+= -DMAIN
|
|
CLEANFILES+= c++filt.1
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
.include "${.CURDIR}/../common/Makefile.prog"
|
|
|
|
.PATH: ${DIST}/libiberty
|
|
|
|
c++filt.1: ${DIST}/binutils/doc/cxxfilt.man
|
|
${_MKTARGET_CREATE}
|
|
${TOOL_SED} -e "s/@PROGRAM@/${PROG}/" < $> > $@
|