48 lines
1.5 KiB
Makefile
48 lines
1.5 KiB
Makefile
# $FreeBSD$
|
|
|
|
.include "../Makefile.inc0"
|
|
|
|
GDBDIR= ${.CURDIR}/../../../../contrib/gdb.291
|
|
CONTRIBDIR= ${.CURDIR}/../../../../contrib
|
|
|
|
.PATH: ${SRCDIR}/gas/doc ${SRCDIR}/ld ${SRCDIR}/bfd/doc ${GDBDIR}/gdb/doc
|
|
|
|
INFO = as ld annotate gasp gdb gdbint stabs binutils
|
|
INFOSECTION= "Programming & development tools."
|
|
INFOENTRY_as= "* As: (as). The GNU assembler."
|
|
INFOENTRY_gasp= "* Gasp: (gasp). The GNU Assembler Macro Preprocessor."
|
|
INFOENTRY_ld= "* Ld: (ld). The GNU linker."
|
|
INFOENTRY_annotate= "* GDB annotation: (annotate). Annotations for the GNU Debugger (GDB)."
|
|
INFOENTRY_binutils= "* Binutils: (binutils). The GNU Binary Utilities."
|
|
|
|
MAKEINFOFLAGS+= --no-validate
|
|
MAKEINFOFLAGS+= -I ${SRCDIR}/gas/doc -I ${SRCDIR}/ld -I ${SRCDIR}/bfd/doc
|
|
MAKEINFOFLAGS+= -I ${SRCDIR}/binutils
|
|
MAKEINFOFLAGS+= -I ${GDBDIR}/gdb/doc
|
|
MAKEINFOFLAGS+= -I ${CONTRIBDIR}/libreadline/doc
|
|
|
|
CLEANFILES= gdb-cfg.texi inc-hist.texi inc-hist.texi.orig \
|
|
gasver.texi ldver.texi
|
|
|
|
as.info: as.texinfo asconfig.texi c-i386.texi gasver.texi
|
|
ld.info: ld.texinfo bfdsumm.texi ldver.texi
|
|
|
|
gdb.info: gdb.texinfo gdb-cfg.texi GDBvn.texi remote.texi \
|
|
rluser.texinfo inc-hist.texi
|
|
|
|
gdb-cfg.texi: all-cfg.texi
|
|
ln -sf ${.ALLSRC} ${.TARGET}
|
|
|
|
.PATH: ${SRCDIR}/binutils
|
|
binutils.info: binutils.texi config.texi
|
|
|
|
gasver.texi ldver.texi:
|
|
echo "@set VERSION ${VERSION}" > ${.TARGET}
|
|
|
|
.PATH: ${CONTRIBDIR}/libreadline/doc
|
|
inc-hist.texi: hsuser.texinfo inc-hist.diff
|
|
cp ${.ALLSRC:M*.texinfo} ${.TARGET}
|
|
patch -b .orig < ${.ALLSRC:M*.diff}
|
|
|
|
.include <bsd.info.mk>
|