1 | # |
---|
2 | # COPYRIGHT (c) 1988-2002. |
---|
3 | # On-Line Applications Research Corporation (OAR). |
---|
4 | # All rights reserved. |
---|
5 | # |
---|
6 | # $Id$ |
---|
7 | # |
---|
8 | |
---|
9 | |
---|
10 | PROJECT = mips64orion |
---|
11 | EDITION = 1 |
---|
12 | |
---|
13 | include $(top_srcdir)/project.am |
---|
14 | include $(top_srcdir)/supplements/supplement.am |
---|
15 | |
---|
16 | GENERATED_FILES = cpumodel.texi callconv.texi memmodel.texi intr.texi \ |
---|
17 | fatalerr.texi bsp.texi cputable.texi wksheets.texi timing.texi \ |
---|
18 | timeBSP.texi |
---|
19 | |
---|
20 | COMMON_FILES = $(top_srcdir)/common/setup.texi \ |
---|
21 | $(top_srcdir)/common/cpright.texi $(top_srcdir)/common/timemac.texi |
---|
22 | |
---|
23 | FILES = preface.texi |
---|
24 | |
---|
25 | info_TEXINFOS = mips64orion.texi |
---|
26 | mips64orion_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 Another Optional Feature" \ |
---|
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 | $(srcdir)/intr.texi: intr_NOTIMES.t BSP_TIMES |
---|
51 | ${REPLACE2} -p $(srcdir)/BSP_TIMES $(srcdir)/intr_NOTIMES.t | \ |
---|
52 | $(BMENU2) -p "Memory Model Flat Memory Model" \ |
---|
53 | -u "Top" \ |
---|
54 | -n "Default Fatal Error Processing" > $@ |
---|
55 | |
---|
56 | $(srcdir)/fatalerr.texi: fatalerr.t |
---|
57 | $(BMENU2) -p "Interrupt Processing Interrupt Stack" \ |
---|
58 | -u "Top" \ |
---|
59 | -n "Board Support Packages" < $< > $@ |
---|
60 | |
---|
61 | $(srcdir)/bsp.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 | |
---|
66 | $(srcdir)/cputable.texi: cputable.t |
---|
67 | $(BMENU2) -p "Board Support Packages Processor Initialization" \ |
---|
68 | -u "Top" \ |
---|
69 | -n "Memory Requirements" < $< > $@ |
---|
70 | |
---|
71 | # Worksheets Chapter: |
---|
72 | # 1. Copy the Shared File |
---|
73 | # 2. Replace Times and Sizes |
---|
74 | # 3. Build Node Structure |
---|
75 | |
---|
76 | $(srcdir)/wksheets.texi: $(top_srcdir)/common/wksheets.t BSP_TIMES |
---|
77 | ${REPLACE2} -p $(srcdir)/BSP_TIMES \ |
---|
78 | $(top_srcdir)/common/wksheets.t | \ |
---|
79 | $(BMENU2) -p "Processor Dependent Information Table CPU Dependent Information Table" \ |
---|
80 | -u "Top" \ |
---|
81 | -n "Timing Specification" > $@ |
---|
82 | |
---|
83 | # Timing Specification Chapter: |
---|
84 | # 1. Copy the Shared File |
---|
85 | # 3. Build Node Structure |
---|
86 | |
---|
87 | $(srcdir)/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 | $(srcdir)/timeBSP.texi: $(top_srcdir)/common/timetbl.t timeBSP.t |
---|
98 | cat $(srcdir)/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 $(srcdir)/BSP_TIMES timeBSP_.t | \ |
---|
104 | $(BMENU2) -p "Timing Specification Terminology" \ |
---|
105 | -u "Top" \ |
---|
106 | -n "Command and Variable Index" > $@ |
---|
107 | CLEANFILES += timeBSP_.t |
---|
108 | |
---|
109 | EXTRA_DIST = BSP_TIMES bsp.t callconv.t cpumodel.t cputable.t fatalerr.t \ |
---|
110 | intr_NOTIMES.t memmodel.t timeBSP.t |
---|