blob: da0a662bd0ff1f029b5f8c742ed9034b2f65e5ba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
# $FreeBSD$
.include "../Makefile.inc0"
GDBDIR= ${.CURDIR}/../../../../contrib/gdb
CONTRIBDIR= ${.CURDIR}/../../../../contrib
.PATH: ${SRCDIR}/gas/doc ${SRCDIR}/ld ${SRCDIR}/bfd/doc ${GDBDIR}/gdb/doc ${GDBDIR}/gdb/mi
INFO = as ld 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_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 ${GDBDIR}/gdb/mi
MAKEINFOFLAGS+= -I ${CONTRIBDIR}/libreadline/doc
CLEANFILES= configdoc.texi gdb-cfg.texi GDBvn.texi \
inc-hist.texinfo inc-hist.texinfo.orig \
config.texi gasver.texi ldver.texi
as.info: as.texinfo asconfig.texi c-i386.texi gasver.texi
ld.info: ld.texinfo bfdsumm.texi ldver.texi configdoc.texi
configdoc.texi: gen-doc.texi
ln -sf ${.ALLSRC} ${.TARGET}
gdb.info: gdb.texinfo gdb-cfg.texi GDBvn.texi annotate.texi \
fdl.texi gpl.texi gdbmi.texinfo \
rluser.texinfo inc-hist.texinfo
gdbint.info: gdbint.texinfo gdb-cfg.texi fdl.texi
gdb-cfg.texi: all-cfg.texi
ln -sf ${.ALLSRC} ${.TARGET}
GDBvn.texi: ${GDBDIR}/gdb/version.in
echo "@set GDBVN `sed q ${.ALLSRC}`" > ${.TARGET}
.PATH: ${SRCDIR}/binutils/doc
binutils.info: binutils.texi config.texi
config.texi gasver.texi ldver.texi:
echo "@set VERSION ${VERSION}" > ${.TARGET}
.PATH: ${CONTRIBDIR}/libreadline/doc
inc-hist.texinfo: hsuser.texinfo inc-hist.diff
cp ${.ALLSRC:M*.texinfo} ${.TARGET}
patch -b .orig < ${.ALLSRC:M*.diff}
.include <bsd.info.mk>
|