source: rtems/doc/supplements/i386/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.3 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=i386
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 timing.texi wksheets.texi timeFORCE386.texi
21
22FILES= preface.texi
23
24info_TEXINFOS = i386.texi
25i386_TEXINFOS = $(FILES) $(COMMON_FILES) $(GENERATED_FILES)   
26
27#
28#  Chapters which get automatic processing
29#
30
31cpumodel.texi: cpumodel.t
32        $(BMENU) -p "Preface" \
33            -u "Top" \
34            -n "Calling Conventions" $<
35
36callconv.texi: callconv.t
37        $(BMENU) -p "CPU Model Dependent Features Floating Point Unit" \
38            -u "Top" \
39            -n "Memory Model" $<
40
41memmodel.texi: memmodel.t
42        $(BMENU) -p "Calling Conventions User-Provided Routines" \
43            -u "Top" \
44            -n "Interrupt Processing" $<
45
46# Interrupt Chapter:
47#  1.  Replace Times and Sizes
48#  2.  Build Node Structure
49
50intr.texi: intr_NOTIMES.t FORCE386_TIMES
51        ${REPLACE2} -p $(srcdir)/FORCE386_TIMES $(srcdir)/intr_NOTIMES.t intr.t
52        $(BMENU) -p "Memory Model Flat Memory Model" \
53            -u "Top" \
54            -n "Default Fatal Error Processing" intr.t
55CLEANFILES += intr.t
56
57fatalerr.texi: fatalerr.t
58        $(BMENU) -p "Interrupt Processing Interrupt Stack" \
59            -u "Top" \
60            -n "Board Support Packages" $<
61
62bsp.texi: bsp.t
63        $(BMENU) -p "Default Fatal Error Processing Default Fatal Error Handler Operations" \
64            -u "Top" \
65            -n "Processor Dependent Information Table" $<
66
67cputable.texi: cputable.t
68        $(BMENU) -p "Board Support Packages Processor Initialization" \
69            -u "Top" \
70            -n "Memory Requirements" $<
71
72# Worksheets Chapter:
73#  1.  Obtain the Shared File
74#  2.  Replace Times and Sizes
75#  3.  Build Node Structure
76
77wksheets.texi: $(top_srcdir)/common/wksheets.t FORCE386_TIMES
78        ${REPLACE2} -p $(srcdir)/FORCE386_TIMES \
79          $(top_srcdir)/common/wksheets.t wksheets.t
80        $(BMENU) -p "Processor Dependent Information Table CPU Dependent Information Table" \
81            -u "Top" \
82            -n "Timing Specification" wksheets.t
83CLEANFILES += wksheets.t
84
85# Timing Specification Chapter:
86#  1.  Copy the Shared File
87#  3.  Build Node Structure
88timing.texi: $(top_srcdir)/common/timing.t
89        $(BMENU2) -p "Memory Requirements RTEMS RAM Workspace Worksheet" \
90            -u "Top" \
91            -n "CPU386 Timing Data" < $< > $@
92
93# Timing Data for BSP Chapter:
94#  1.  Copy the Shared File
95#  2.  Replace Times and Sizes
96#  3.  Build Node Structure
97
98timeFORCE386.texi: $(top_srcdir)/common/timetbl.t timeFORCE386.t
99        cat timeFORCE386.t $(top_srcdir)/common/timetbl.t   >timeFORCE386_.t
100        @echo                                               >>timeFORCE386_.t
101        @echo "@tex"                                        >>timeFORCE386_.t
102        @echo "\\global\\advance \\smallskipamount by 4pt"  >>timeFORCE386_.t
103        @echo "@end tex"                                    >>timeFORCE386_.t
104        ${REPLACE2} -p FORCE386_TIMES timeFORCE386_.t timeFORCE386_.t
105        $(BMENU) -p "Timing Specification Terminology" \
106            -u "Top" \
107            -n "Command and Variable Index" timeFORCE386_.t
108        mv timeFORCE386_.texi timeFORCE386.texi
109CLEANFILES += timeFORCE386_.t timeFORCE386_.texi
110
111EXTRA_DIST = FORCE386_TIMES *.t
Note: See TracBrowser for help on using the repository browser.