1 | # |
---|
2 | # COPYRIGHT (c) 1988-1998. |
---|
3 | # On-Line Applications Research Corporation (OAR). |
---|
4 | # All rights reserved. |
---|
5 | # |
---|
6 | # $Id$ |
---|
7 | # |
---|
8 | |
---|
9 | PROJECT=hppa1_1 |
---|
10 | |
---|
11 | include ../../Make.config |
---|
12 | |
---|
13 | REPLACE=../../tools/word-replace |
---|
14 | |
---|
15 | all: html info ps pdf |
---|
16 | |
---|
17 | dirs: |
---|
18 | $(make-dirs) |
---|
19 | |
---|
20 | COMMON_FILES=../../common/cpright.texi ../../common/setup.texi |
---|
21 | |
---|
22 | GENERATED_FILES=\ |
---|
23 | cpumodel.texi callconv.texi memmodel.texi intr.texi fatalerr.texi \ |
---|
24 | bsp.texi cputable.texi wksheets.texi timing.texi timeSIMHPPA.texi |
---|
25 | |
---|
26 | FILES= $(PROJECT).texi \ |
---|
27 | preface.texi \ |
---|
28 | $(GENERATED_FILES) |
---|
29 | |
---|
30 | info: dirs c_hppa1_1 |
---|
31 | cp c_$(PROJECT) $(INFO_INSTALL) |
---|
32 | |
---|
33 | c_hppa1_1: $(FILES) |
---|
34 | $(MAKEINFO) $(PROJECT).texi |
---|
35 | |
---|
36 | dvi: $(PROJECT).dvi |
---|
37 | ps: dirs $(PROJECT).ps |
---|
38 | pdf: dirs $(PROJECT).pdf |
---|
39 | |
---|
40 | $(PROJECT).pdf: $(FILES) |
---|
41 | $(TEXI2PDF) $(PROJECT).texi |
---|
42 | cp $(PROJECT).pdf $(PDF_INSTALL) |
---|
43 | |
---|
44 | $(PROJECT).ps: $(PROJECT).dvi |
---|
45 | dvips -o $(PROJECT).ps $(PROJECT).dvi |
---|
46 | cp $(PROJECT).ps $(PS_INSTALL) |
---|
47 | |
---|
48 | $(PROJECT).dvi: $(FILES) |
---|
49 | $(TEXI2DVI) $(PROJECT).texi |
---|
50 | |
---|
51 | html: dirs $(FILES) |
---|
52 | -mkdir -p $(WWW_INSTALL)/c_$(PROJECT) |
---|
53 | $(TEXI2WWW) $(TEXI2WWW_ARGS) -dir $(WWW_INSTALL)/c_$(PROJECT) \ |
---|
54 | $(PROJECT).texi |
---|
55 | |
---|
56 | clean: |
---|
57 | rm -f *.o $(PROG) *.txt core *.pdf |
---|
58 | rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE) |
---|
59 | rm -f $(PROJECT) $(PROJECT)-* |
---|
60 | rm -f c_hppa1_1 c_hppa1_1-* |
---|
61 | rm -f intr.t |
---|
62 | rm -f timing.t timing.texi |
---|
63 | rm -f wksheets.t wksheets_NOTIMES.t $(GENERATED_FILES) |
---|
64 | rm -f *.fixed _* |
---|
65 | |
---|
66 | # |
---|
67 | # Chapters which get automatic processing |
---|
68 | # |
---|
69 | |
---|
70 | cpumodel.texi: cpumodel.t Makefile |
---|
71 | $(BMENU) -p "Preface" \ |
---|
72 | -u "Top" \ |
---|
73 | -n "Calling Conventions" ${*}.t |
---|
74 | |
---|
75 | callconv.texi: callconv.t Makefile |
---|
76 | $(BMENU) -p "CPU Model Dependent Features CPU Model Name" \ |
---|
77 | -u "Top" \ |
---|
78 | -n "Memory Model" ${*}.t |
---|
79 | |
---|
80 | memmodel.texi: memmodel.t Makefile |
---|
81 | $(BMENU) -p "Calling Conventions User-Provided Routines" \ |
---|
82 | -u "Top" \ |
---|
83 | -n "Interrupt Processing" ${*}.t |
---|
84 | |
---|
85 | # Interrupt Chapter: |
---|
86 | # 1. Replace Times and Sizes |
---|
87 | # 2. Build Node Structure |
---|
88 | |
---|
89 | intr.t: intr_NOTIMES.t SIMHPPA_TIMES |
---|
90 | ${REPLACE} -p SIMHPPA_TIMES intr_NOTIMES.t |
---|
91 | mv intr_NOTIMES.t.fixed intr.t |
---|
92 | |
---|
93 | intr.texi: intr.t Makefile |
---|
94 | $(BMENU) -p "Memory Model Flat Memory Model" \ |
---|
95 | -u "Top" \ |
---|
96 | -n "Default Fatal Error Processing" ${*}.t |
---|
97 | |
---|
98 | |
---|
99 | fatalerr.texi: fatalerr.t Makefile |
---|
100 | $(BMENU) -p "Interrupt Processing Disabling of Interrupts by RTEMS" \ |
---|
101 | -u "Top" \ |
---|
102 | -n "Board Support Packages" ${*}.t |
---|
103 | |
---|
104 | bsp.texi: bsp.t Makefile |
---|
105 | $(BMENU) -p "Default Fatal Error Processing Default Fatal Error Handler Operations" \ |
---|
106 | -u "Top" \ |
---|
107 | -n "Processor Dependent Information Table" ${*}.t |
---|
108 | |
---|
109 | cputable.texi: cputable.t Makefile |
---|
110 | $(BMENU) -p "Board Support Packages Processor Initialization" \ |
---|
111 | -u "Top" \ |
---|
112 | -n "Memory Requirements" ${*}.t |
---|
113 | |
---|
114 | # Worksheets Chapter: |
---|
115 | # 1. Obtain the Shared File |
---|
116 | # 2. Replace Times and Sizes |
---|
117 | # 3. Build Node Structure |
---|
118 | |
---|
119 | wksheets_NOTIMES.t: ../../common/wksheets.t |
---|
120 | cp ../../common/wksheets.t wksheets_NOTIMES.t |
---|
121 | |
---|
122 | wksheets.t: wksheets_NOTIMES.t SIMHPPA_TIMES |
---|
123 | ${REPLACE} -p SIMHPPA_TIMES wksheets_NOTIMES.t |
---|
124 | mv wksheets_NOTIMES.t.fixed wksheets.t |
---|
125 | |
---|
126 | wksheets.texi: wksheets.t Makefile |
---|
127 | $(BMENU) -p "Processor Dependent Information Table CPU Dependent Information Table" \ |
---|
128 | -u "Top" \ |
---|
129 | -n "Timing Specification" ${*}.t |
---|
130 | |
---|
131 | # Timing Specification Chapter: |
---|
132 | # 1. Copy the Shared File |
---|
133 | # 3. Build Node Structure |
---|
134 | |
---|
135 | timing.t: ../../common/timing.t |
---|
136 | cp ../../common/timing.t timing.t |
---|
137 | |
---|
138 | timing.texi: timing.t Makefile |
---|
139 | $(BMENU) -p "Memory Requirements RTEMS RAM Workspace Worksheet" \ |
---|
140 | -u "Top" \ |
---|
141 | -n "HP-7100 Timing Data" ${*}.t |
---|
142 | |
---|
143 | # Timing Data for BSP Chapter: |
---|
144 | # 1. Copy the Shared File |
---|
145 | # 2. Replace Times and Sizes |
---|
146 | # 3. Build Node Structure |
---|
147 | |
---|
148 | timeSIMHPPA.texi: timeSIMHPPA.t Makefile |
---|
149 | $(BMENU) -p "Timing Specification Terminology" \ |
---|
150 | -u "Top" \ |
---|
151 | -n "Command and Variable Index" ${*}.t |
---|