source: rtems/doc/supplements/mips64orion/Makefile.am @ a4ad9487

4.104.114.84.95
Last change on this file since a4ad9487 was a4ad9487, checked in by Joel Sherrill <joel.sherrill@…>, on 05/01/00 at 16:53:13

Patch rtemsdoc-4.5.0-rc-3.diff from Ralf Corsepius <corsepiu@…>:

It addresses:

  • .cvsignore (only minor changes to yours, as they were pretty clean, most changes result from my mkcvsignore script being overly pedantic sorting entries alphabetically.)
  • timing.t handling and time<BSP>_.texi handling in supplements
  • network.t handling in bsp_howto
  • RTEMS_DATE and RTEMS_UPDATE handling in configure.in. [It actually is a hack, as we could apply automake's version.texi handling instead - I know think to understand what automake does with it.]
  • avoid using temporary files; Therefore a new tool called bmenu2, derived from bemenu, is introduced, which reads a single file from stdin and writes to stdio.

To apply:

cd rtemsdoc
patch -p1 < rtemsdoc-4.5.0-rc-3.diff
cvs rm -f bsp_howto/network.t
cvs add tools/bmenu/bmenu2.c
./bootstrap

BTW: word-replace now is unused. It could be removed if you like to.

  • Property mode set to 100644
File size: 3.2 KB
Line 
1#
2#  COPYRIGHT (c) 1988-1999.
3#  On-Line Applications Research Corporation (OAR).
4#  All rights reserved.
5#
6#  $Id$
7#
8
9AUTOMAKE_OPTIONS = foreign
10
11PROJECT=mips64orion
12
13include $(top_srcdir)/project.am
14include $(top_srcdir)/supplements/supplement.am
15
16COMMON_FILES=$(top_srcdir)/common/cpright.texi $(top_builddir)/common/setup.texi
17
18GENERATED_FILES=\
19  cpumodel.texi callconv.texi memmodel.texi intr.texi fatalerr.texi \
20  bsp.texi cputable.texi wksheets.texi timing.texi timeBSP.texi
21
22FILES= preface.texi
23
24info_TEXINFOS = mips64orion.texi
25mips64orion_TEXINFOS = $(FILES) $(COMMON_FILES) $(GENERATED_FILES)
26
27#
28#  Chapters which get automatic processing
29#
30cpumodel.texi: cpumodel.t
31        $(BMENU) -p "Preface" \
32            -u "Top" \
33            -n "Calling Conventions" $<
34
35callconv.texi: callconv.t
36        $(BMENU) -p "CPU Model Dependent Features Another Optional Feature" \
37            -u "Top" \
38            -n "Memory Model" $<
39
40memmodel.texi: memmodel.t
41        $(BMENU) -p "Calling Conventions User-Provided Routines" \
42            -u "Top" \
43            -n "Interrupt Processing" $<
44
45# Interrupt Chapter:
46#  1.  Replace Times and Sizes
47#  2.  Build Node Structure
48intr.texi: intr_NOTIMES.t BSP_TIMES
49        ${REPLACE2} -p $(srcdir)/BSP_TIMES $(srcdir)/intr_NOTIMES.t intr.t
50        $(BMENU) -p "Memory Model Flat Memory Model" \
51            -u "Top" \
52            -n "Default Fatal Error Processing" intr.t
53CLEANFILES += intr.t
54
55fatalerr.texi: fatalerr.t
56        $(BMENU) -p "Interrupt Processing Interrupt Stack" \
57            -u "Top" \
58            -n "Board Support Packages" $<
59
60bsp.texi: bsp.t
61        $(BMENU) -p "Default Fatal Error Processing Default Fatal Error Handler Operations" \
62            -u "Top" \
63            -n "Processor Dependent Information Table" $<
64
65cputable.texi: cputable.t
66        $(BMENU) -p "Board Support Packages Processor Initialization" \
67            -u "Top" \
68            -n "Memory Requirements" $<
69
70# Worksheets Chapter:
71#  1.  Copy the Shared File
72#  2.  Replace Times and Sizes
73#  3.  Build Node Structure
74
75wksheets.texi: $(top_srcdir)/common/wksheets.t BSP_TIMES
76        ${REPLACE2} -p $(srcdir)/BSP_TIMES \
77          $(top_srcdir)/common/wksheets.t wksheets.t
78        $(BMENU) -p "Processor Dependent Information Table CPU Dependent Information Table" \
79            -u "Top" \
80            -n "Timing Specification" wksheets.t
81CLEANFILES += wksheets.t
82
83# Timing Specification Chapter:
84#  1.  Copy the Shared File
85#  3.  Build Node Structure
86
87timing.texi: $(top_srcdir)/common/timing.t
88        $(BMENU2) -p "Memory Requirements RTEMS RAM Workspace Worksheet" \
89            -u "Top" \
90            -n "BSP_FOR_TIMES Timing Data" < $< > $@
91
92# Timing Data for BSP Chapter:
93#  1.  Copy the Shared File
94#  2.  Replace Times and Sizes
95#  3.  Build Node Structure
96
97timeBSP.texi: $(top_srcdir)/common/timetbl.t timeBSP.t
98        cat timeBSP.t $(top_srcdir)/common/timetbl.t   >timeBSP_.t
99        @echo                                               >>timeBSP_.t
100        @echo "@tex"                                        >>timeBSP_.t
101        @echo "\\global\\advance \\smallskipamount by 4pt"  >>timeBSP_.t
102        @echo "@end tex"                                    >>timeBSP_.t
103        ${REPLACE2} -p BSP_TIMES timeBSP_.t timeBSP_.t
104        $(BMENU) -p "Timing Specification Terminology" \
105            -u "Top" \
106            -n "Command and Variable Index" timeBSP_.t
107        mv timeBSP_.texi timeBSP.texi
108CLEANFILES += timeBSP_.t timeBSP_.texi
109
110
111EXTRA_DIST = BSP_TIMES *.t
Note: See TracBrowser for help on using the repository browser.