source: rtems/doc/supplements/i960/Makefile @ 28807e7

4.104.114.84.95
Last change on this file since 28807e7 was 28807e7, checked in by Joel Sherrill <joel.sherrill@…>, on 07/03/99 at 17:13:27

Removed concept of distribution level.

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