1 | # |
---|
2 | # COPYRIGHT (c) 1988-1999. |
---|
3 | # On-Line Applications Research Corporation (OAR). |
---|
4 | # All rights reserved. |
---|
5 | # |
---|
6 | # $Id$ |
---|
7 | # |
---|
8 | |
---|
9 | AUTOMAKE_OPTIONS = foreign |
---|
10 | |
---|
11 | PROJECT=mips64orion |
---|
12 | |
---|
13 | include $(top_srcdir)/project.am |
---|
14 | include $(top_srcdir)/supplements/supplement.am |
---|
15 | |
---|
16 | COMMON_FILES=$(top_srcdir)/common/cpright.texi $(top_builddir)/common/setup.texi |
---|
17 | |
---|
18 | GENERATED_FILES=\ |
---|
19 | cpumodel.texi callconv.texi memmodel.texi intr.texi fatalerr.texi \ |
---|
20 | bsp.texi cputable.texi wksheets.texi timing.texi timeBSP.texi |
---|
21 | |
---|
22 | FILES= preface.texi |
---|
23 | |
---|
24 | info_TEXINFOS = mips64orion.texi |
---|
25 | mips64orion_TEXINFOS = $(FILES) $(COMMON_FILES) $(GENERATED_FILES) |
---|
26 | |
---|
27 | # |
---|
28 | # Chapters which get automatic processing |
---|
29 | # |
---|
30 | cpumodel.texi: cpumodel.t |
---|
31 | $(BMENU) -p "Preface" \ |
---|
32 | -u "Top" \ |
---|
33 | -n "Calling Conventions" $< |
---|
34 | |
---|
35 | callconv.texi: callconv.t |
---|
36 | $(BMENU) -p "CPU Model Dependent Features Another Optional Feature" \ |
---|
37 | -u "Top" \ |
---|
38 | -n "Memory Model" $< |
---|
39 | |
---|
40 | memmodel.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 |
---|
48 | intr.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 |
---|
53 | CLEANFILES += intr.t |
---|
54 | |
---|
55 | fatalerr.texi: fatalerr.t |
---|
56 | $(BMENU) -p "Interrupt Processing Interrupt Stack" \ |
---|
57 | -u "Top" \ |
---|
58 | -n "Board Support Packages" $< |
---|
59 | |
---|
60 | bsp.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 | |
---|
65 | cputable.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 | |
---|
75 | wksheets.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 |
---|
81 | CLEANFILES += wksheets.t |
---|
82 | |
---|
83 | # Timing Specification Chapter: |
---|
84 | # 1. Copy the Shared File |
---|
85 | # 3. Build Node Structure |
---|
86 | |
---|
87 | timing.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 | |
---|
97 | timeBSP.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 |
---|
108 | CLEANFILES += timeBSP_.t timeBSP_.texi |
---|
109 | |
---|
110 | |
---|
111 | EXTRA_DIST = BSP_TIMES *.t |
---|