1 1.1 christos # $NetBSD: Makefile,v 1.1.1.1 2016/01/26 17:27:00 christos Exp $ 2 1.1 christos 3 1.1 christos .include <bsd.own.mk> 4 1.1 christos 5 1.1 christos TOP= ${NETBSDSRCDIR}/external/gpl3/binutils 6 1.1 christos 7 1.1 christos .include "${.CURDIR}/../common/Makefile.inc" 8 1.1 christos .include "${.CURDIR}/arch/${BINUTILS_MACHINE_ARCH}/defs.mk" 9 1.1 christos 10 1.1 christos TEXINFO= ${G_TEXINFOS} 11 1.1 christos INFOFLAGS= -I${DIST}/binutils/doc -I${DIST}/libiberty -I{.CURDIR} 12 1.1 christos 13 1.1 christos .PATH: ${DIST} ${DIST}/binutils/doc 14 1.1 christos 15 1.1 christos ${TEXINFO}: bfdver.texi 16 1.1 christos 17 1.1 christos bfdver.texi: ${.CURDIR}/arch/${BINUTILS_MACHINE_ARCH}/defs.mk 18 1.1 christos ${_MKTARGET_CREATE} 19 1.1 christos rm -f ${.TARGET} 20 1.1 christos (echo "@set VERSION ${G_VERSION}"; \ 21 1.1 christos if [ -n "$(G_PKGVERSION)" ]; then \ 22 1.1 christos echo "@set VERSION_PACKAGE $(G_PKGVERSION)"; \ 23 1.1 christos fi; \ 24 1.1 christos if [ -n "$(G_REPORT_BUGS_TEXI)" ]; then \ 25 1.1 christos echo "@set BUGURL $(G_REPORT_BUGS_TEXI)"; \ 26 1.1 christos fi \ 27 1.1 christos ) > ${.TARGET} 28 1.1 christos 29 1.1 christos CLEANFILES+= bfdver.texi 30 1.1 christos 31 1.1 christos .include <bsd.info.mk> 32