c9ea9e7af8
Change-Id: I5235984746178ee30b5db18e7def0016d9a0e36f
31 lines
778 B
Makefile
31 lines
778 B
Makefile
# $NetBSD: Makefile,v 1.6 2013/08/05 00:08:58 matt Exp $
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
TOP= ${NETBSDSRCDIR}/external/gpl3/binutils
|
|
|
|
.include "${.CURDIR}/../common/Makefile.inc"
|
|
.include "${.CURDIR}/arch/${BINUTILS_MACHINE_ARCH}/defs.mk"
|
|
|
|
TEXINFO= ${G_TEXINFOS}
|
|
INFOFLAGS= -I${DIST}/binutils/doc -I${DIST}/libiberty -I{.CURDIR}
|
|
|
|
.PATH: ${DIST} ${DIST}/binutils/doc
|
|
|
|
${TEXINFO}: bfdver.texi
|
|
|
|
bfdver.texi: ${.CURDIR}/arch/${BINUTILS_MACHINE_ARCH}/defs.mk
|
|
${_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>
|