source: rtems/doc/supplements/i386/Makefile.am @ fc76a6aa

4.104.114.84.95
Last change on this file since fc76a6aa was fc76a6aa, checked in by Joel Sherrill <joel.sherrill@…>, on 06/01/00 at 15:29:01

Patch rtemsdoc-4.5.0-rc-8.diff from Ralf Corsepius <corsepiu@…>.
Ralf's comments follow:

Changes:

  • Enhanced versioning:
    • Addition of automake's version.texi support
    • Replacement of rtemsdoc's former versioning support by automake's versioning support (Abandoning RTEMS-UPDATE-* etc.)
    • Abandoning setup.texi.in
    • Add EDITION to each documents Makefile.am
    • version.texi support in project.am
    • Addition of maintainer mode (currently only used to prevent incorrectly updating timestamps when users touch automake's version.texi timestamp files (stamp-vti)).
  • Fixing info dir support
    • Use texinfo's @dircategory and @direntry instead of infos *-DIR-ENTRY
    • $(infodir)/dir is now correctly set up
  • Avoid using temporary files
    • Pipe texts through REPLACE2 into BMENU2 instead of using temporary files.
    • Abandon using bmenu in favor of bmenu2 (bmenu could be removed now)
  • Prepare Makefile.ams for building in a separate buildtree
    • prefix files with $(srcdir) in Makefile.am for files which must be generated inside of the source tree

Notes:

  • rtemsdoc can not yet be build in a separate source-tree, but we are very close to it.
  • You as the maintainer of this package now should always use --enable-maintainer-mode to configure rtemsdoc.
  • 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 1.4
10
11PROJECT = i386
12EDITION = 1
13
14include $(top_srcdir)/project.am
15include $(top_srcdir)/supplements/supplement.am
16
17GENERATED_FILES = cpumodel.texi callconv.texi memmodel.texi intr.texi \
18    fatalerr.texi bsp.texi cputable.texi timing.texi wksheets.texi \
19    timeFORCE386.texi
20
21COMMON_FILES = $(top_srcdir)/common/setup.texi $(top_srcdir)/common/cpright.texi
22
23FILES = preface.texi
24
25info_TEXINFOS = i386.texi
26i386_TEXINFOS = $(FILES) $(COMMON_FILES) $(GENERATED_FILES)
27
28#
29#  Chapters which get automatic processing
30#
31
32$(srcdir)/cpumodel.texi: cpumodel.t
33        $(BMENU2) -p "Preface" \
34            -u "Top" \
35            -n "Calling Conventions" < $< > $@
36
37$(srcdir)/callconv.texi: callconv.t
38        $(BMENU2) -p "CPU Model Dependent Features Floating Point Unit" \
39            -u "Top" \
40            -n "Memory Model" < $< > $@
41
42$(srcdir)/memmodel.texi: memmodel.t
43        $(BMENU2) -p "Calling Conventions User-Provided Routines" \
44            -u "Top" \
45            -n "Interrupt Processing" < $< > $@
46
47# Interrupt Chapter:
48#  1.  Replace Times and Sizes
49#  2.  Build Node Structure
50
51$(srcdir)/intr.texi: intr_NOTIMES.t FORCE386_TIMES
52        ${REPLACE2} -p $(srcdir)/FORCE386_TIMES $(srcdir)/intr_NOTIMES.t | \
53        $(BMENU2) -p "Memory Model Flat Memory Model" \
54            -u "Top" \
55            -n "Default Fatal Error Processing" > $@
56
57$(srcdir)/fatalerr.texi: fatalerr.t
58        $(BMENU2) -p "Interrupt Processing Interrupt Stack" \
59            -u "Top" \
60            -n "Board Support Packages" < $< > $@
61
62$(srcdir)/bsp.texi: bsp.t
63        $(BMENU2) -p "Default Fatal Error Processing Default Fatal Error Handler Operations" \
64            -u "Top" \
65            -n "Processor Dependent Information Table" < $< > $@
66
67$(srcdir)/cputable.texi: cputable.t
68        $(BMENU2) -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
77$(srcdir)/wksheets.texi: $(top_srcdir)/common/wksheets.t FORCE386_TIMES
78        ${REPLACE2} -p $(srcdir)/FORCE386_TIMES \
79          $(top_srcdir)/common/wksheets.t | \
80        $(BMENU2) -p "Processor Dependent Information Table CPU Dependent Information Table" \
81            -u "Top" \
82            -n "Timing Specification" > $@
83
84# Timing Specification Chapter:
85#  1.  Copy the Shared File
86#  3.  Build Node Structure
87$(srcdir)/timing.texi: $(top_srcdir)/common/timing.t
88        $(BMENU2) -p "Memory Requirements RTEMS RAM Workspace Worksheet" \
89            -u "Top" \
90            -n "CPU386 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
97$(srcdir)/timeFORCE386.texi: $(top_srcdir)/common/timetbl.t timeFORCE386.t
98        cat timeFORCE386.t $(top_srcdir)/common/timetbl.t   >timeFORCE386_.t
99        @echo                                               >>timeFORCE386_.t
100        @echo "@tex"                                        >>timeFORCE386_.t
101        @echo "\\global\\advance \\smallskipamount by 4pt"  >>timeFORCE386_.t
102        @echo "@end tex"                                    >>timeFORCE386_.t
103        ${REPLACE2} -p FORCE386_TIMES timeFORCE386_.t | \
104        $(BMENU2) -p "Timing Specification Terminology" \
105            -u "Top" \
106            -n "Command and Variable Index" > $@
107CLEANFILES += timeFORCE386_.t
108
109EXTRA_DIST = FORCE386_TIMES *.t
Note: See TracBrowser for help on using the repository browser.