summaryrefslogtreecommitdiff
path: root/sim/doc/local.mk
blob: ea9498cc0f236cc49115f7dca966b9af1f6e3c71 (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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
## See sim/Makefile.am.
#
# Copyright (C) 1997-2021 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.

TEXINFO_TEX = %D%/sim.texi
info_TEXINFOS = $(TEXINFO_TEX)
%C%_sim_TEXINFOS = \
	%D%/abi-newlib-errno.texi \
	%D%/abi-newlib-open.texi \
	%D%/abi-newlib-signal.texi \
	%D%/abi-newlib-sys.texi \
	%D%/arch-aarch64.texi \
	%D%/arch-arm.texi \
	%D%/arch-avr.texi \
	%D%/arch-bfin.texi \
	%D%/arch-bpf.texi \
	%D%/arch-cr16.texi \
	%D%/arch-cris.texi \
	%D%/arch-d10v.texi \
	%D%/arch-erc32.texi \
	%D%/arch-frv.texi \
	%D%/arch-ft32.texi \
	%D%/arch-h8300.texi \
	%D%/arch-iq2000.texi \
	%D%/arch-lm32.texi \
	%D%/arch-m32c.texi \
	%D%/arch-m32r.texi \
	%D%/arch-m68hc11.texi \
	%D%/arch-mcore.texi \
	%D%/arch-microblaze.texi \
	%D%/arch-mips.texi \
	%D%/arch-mn10300.texi \
	%D%/arch-moxie.texi \
	%D%/arch-msp430.texi \
	%D%/arch-or1k.texi \
	%D%/arch-ppc.texi \
	%D%/arch-pru.texi \
	%D%/arch-riscv.texi \
	%D%/arch-rl78.texi \
	%D%/arch-rx.texi \
	%D%/arch-sh.texi \
	%D%/arch-v850.texi \
	%D%/fdl.texi \
	%D%/simver.texi

AM_MAKEINFOFLAGS = -I %D% --no-split
TEXI2DVI = texi2dvi -I %D%

%D%/simver.texi: %D%/simver.texi-stamp ; @true
%D%/simver.texi-stamp: $(srcroot)/gdb/version.in $(srcroot)/bfd/version.h %D%/create-version.sh
	$(AM_V_at)$(MKDIR_P) %D%
	$(AM_V_GEN)$(SHELL) $(srcdir)/%D%/create-version.sh $(srcroot)/gdb $@.tmp \
		"$(PACKAGE_URL)" "$(REPORT_BUGS_TEXI)"
	$(AM_V_at)$(SHELL) $(srcroot)/move-if-change $@.tmp $(@:-stamp=)
	$(AM_V_at)touch $@

html-local: %D%/sim/index.html
%D%/sim/index.html: $(TEXINFO_TEX) $(%C%_sim_TEXINFOS)
	$(AM_V_MAKEINFO)$(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) \
		--output=%D%/sim --split=node -I$(srcdir) $<

MAINTAINERCLEANFILES += %D%/sim.info