2014-02-17 16:55:07 +01:00
|
|
|
# $NetBSD: Makefile,v 1.6 2013/08/05 00:08:58 matt Exp $
|
2012-06-06 15:06:52 +02:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
|
|
|
TOP= ${NETBSDSRCDIR}/external/gpl3/binutils
|
|
|
|
|
|
|
|
.include "${.CURDIR}/../common/Makefile.inc"
|
2014-02-17 16:55:07 +01:00
|
|
|
.include "${.CURDIR}/arch/${BINUTILS_MACHINE_ARCH}/defs.mk"
|
2012-06-06 15:06:52 +02:00
|
|
|
|
|
|
|
TEXINFO= ${G_TEXINFOS}
|
|
|
|
INFOFLAGS= -I${DIST}/binutils/doc -I${DIST}/libiberty -I{.CURDIR}
|
|
|
|
|
|
|
|
.PATH: ${DIST} ${DIST}/binutils/doc
|
|
|
|
|
|
|
|
${TEXINFO}: bfdver.texi
|
|
|
|
|
2014-02-17 16:55:07 +01:00
|
|
|
bfdver.texi: ${.CURDIR}/arch/${BINUTILS_MACHINE_ARCH}/defs.mk
|
2012-06-06 15:06:52 +02:00
|
|
|
${_MKTARGET_CREATE}
|
|
|
|
rm -f ${.TARGET}
|
|
|
|
(echo "@set VERSION ${G_VERSION}"; \
|
|
|
|
if [ -n "$(G_PKGVERSION)" ]; then \
|
|
|
|
echo "@set VERSION_PACKAGE $(G_PKGVERSION)"; \
|
|
|
|
fi; \
|
|
|
|
if [ -n "$(G_REPORT_BUGS_TEXI)" ]; then \
|
|
|
|
echo "@set BUGURL $(G_REPORT_BUGS_TEXI)"; \
|
|
|
|
fi \
|
|
|
|
) > ${.TARGET}
|
|
|
|
|
|
|
|
CLEANFILES+= bfdver.texi
|
|
|
|
|
|
|
|
.include <bsd.info.mk>
|