source: rtems/doc/supplements/c4x/Makefile.am @ 80bdcd7c

4.104.114.84.95
Last change on this file since 80bdcd7c was 80bdcd7c, checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/25/03 at 14:54:27

2003-01-25 Ralf Corsepius <corsepiu@…>

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