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