1# $FreeBSD$ 2 3.include "../Makefile.inc0" 4 5GDBDIR= ${.CURDIR}/../../../../contrib/gdb 6CONTRIBDIR= ${.CURDIR}/../../../../contrib 7 8.PATH: ${SRCDIR}/gas/doc ${SRCDIR}/ld ${SRCDIR}/bfd/doc ${GDBDIR}/gdb/doc 9 10INFO = as ld annotate gdb gdbint stabs 11INFOSECTION= "Programming & development tools." 12INFOENTRY_as= "* As: (as). The GNU assembler." 13INFOENTRY_ld= "* Ld: (ld). The GNU linker." 14INFOENTRY_annotate= "* GDB annotation: (annotate). Annotations for the GNU Debugger (GDB)." 15 16MAKEINFOFLAGS+= --no-validate 17MAKEINFOFLAGS+= -I ${SRCDIR}/gas/doc -I ${SRCDIR}/ld -I ${SRCDIR}/bfd/doc 18MAKEINFOFLAGS+= -I ${GDBDIR}/gdb/doc 19MAKEINFOFLAGS+= -I ${CONTRIBDIR}/libreadline/doc 20 21CLEANFILES= gdb-cfg.texi inc-hist.texi inc-hist.texi.orig 22 23as.info: as.texinfo asconfig.texi c-i386.texi 24ld.info: ld.texinfo bfdsumm.texi 25 26gdb.info: gdb.texinfo gdb-cfg.texi GDBvn.texi remote.texi \ 27 rluser.texinfo inc-hist.texi 28 29gdb-cfg.texi: all-cfg.texi 30 ln -sf ${.ALLSRC} ${.TARGET} 31 32.PATH: ${CONTRIBDIR}/libreadline/doc 33inc-hist.texi: hsuser.texinfo inc-hist.diff 34 cp ${.ALLSRC:M*.texinfo} ${.TARGET} 35 patch -b .orig < ${.ALLSRC:M*.diff} 36 37.include <bsd.info.mk> 38