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