source: rtems/doc/supplements/mips64orion/Makefile @ 0660b4f8

4.104.114.84.95
Last change on this file since 0660b4f8 was 0660b4f8, checked in by Joel Sherrill <joel.sherrill@…>, on 11/16/99 at 19:50:56

Changed copyright date to 1999.

  • Property mode set to 100644
File size: 4.4 KB
Line 
1#
2#  COPYRIGHT (c) 1988-1999.
3#  On-Line Applications Research Corporation (OAR).
4#  All rights reserved.
5#
6#  $Id$
7#
8
9PROJECT=mips64orion
10
11include ../../Make.config
12
13REPLACE=../../tools/word-replace
14
15all: html info ps pdf
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 wksheets.texi timing.texi timeBSP.texi
25
26FILES= $(PROJECT).texi preface.texi \
27  $(COMMON_FILES) $(GENERATED_FILES)
28
29info: dirs c_$(PROJECT)
30        @echo NEED TO INSTALL THE INFO FILES
31        #cp c_$(PROJECT) c_$(PROJECT)-* $(INFO_INSTALL)
32        #cp c_$(PROJECT) c_$(PROJECT)-* $(INFO_INSTALL)
33
34c_$(PROJECT): $(FILES)
35        $(MAKEINFO) $(PROJECT).texi
36
37dvi: dirs $(PROJECT).dvi
38ps: dirs $(PROJECT).ps
39pdf: dirs $(PROJECT).pdf
40       
41$(PROJECT).pdf: $(FILES)
42        $(TEXI2PDF) $(PROJECT).texi
43        cp $(PROJECT).pdf $(WWW_INSTALL)/$(PROJECT)
44       
45$(PROJECT).ps: $(PROJECT).dvi
46        dvips -o $(PROJECT).ps $(PROJECT).dvi
47        cp $(PROJECT).ps $(WWW_INSTALL)/$(PROJECT)
48
49$(PROJECT).dvi: $(FILES)
50        $(TEXI2DVI) $(PROJECT).texi
51        cp $(PROJECT).dvi $(WWW_INSTALL)/$(PROJECT)
52
53html: dirs $(FILES)
54        -mkdir -p $(WWW_INSTALL)/$(PROJECT)
55        $(TEXI2WWW) $(TEXI2WWW_ARGS) -dir $(WWW_INSTALL)/$(PROJECT) \
56            $(PROJECT).texi
57
58clean:
59        rm -f *.o $(PROG) *.txt core $(PROJECT).pdf
60        rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE)
61        rm -f $(PROJECT) $(PROJECT)-*
62        rm -f c_$(PROJECT) c_$(PROJECT)-*
63        rm -f wksheets.t wksheets_NOTIMES.t
64        rm -f intr.t
65        rm -f timeBSP_.t timing.t
66        rm -f *.fixed _* $(GENERATED_FILES)
67        rm -f timeBSP_.t timeBSP_.texi
68
69#
70#  Chapters which get automatic processing
71#
72cpumodel.texi: cpumodel.t Makefile
73        $(BMENU) -p "Preface" \
74            -u "Top" \
75            -n "Calling Conventions" ${*}.t
76
77callconv.texi: callconv.t Makefile
78        $(BMENU) -p "CPU Model Dependent Features Another Optional Feature" \
79            -u "Top" \
80            -n "Memory Model" ${*}.t
81
82memmodel.texi: memmodel.t Makefile
83        $(BMENU) -p "Calling Conventions User-Provided Routines" \
84            -u "Top" \
85            -n "Interrupt Processing" ${*}.t
86
87# Interrupt Chapter:
88#  1.  Replace Times and Sizes
89#  2.  Build Node Structure
90intr.t: intr_NOTIMES.t BSP_TIMES
91        ${REPLACE} -p BSP_TIMES intr_NOTIMES.t
92        mv intr_NOTIMES.t.fixed intr.t
93
94intr.texi: intr.t Makefile
95        $(BMENU) -p "Memory Model Flat Memory Model" \
96            -u "Top" \
97            -n "Default Fatal Error Processing" ${*}.t
98
99fatalerr.texi: fatalerr.t Makefile
100        $(BMENU) -p "Interrupt Processing Interrupt Stack" \
101            -u "Top" \
102            -n "Board Support Packages" ${*}.t
103
104bsp.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
109cputable.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.  Copy the Shared File
116#  2.  Replace Times and Sizes
117#  3.  Build Node Structure
118
119wksheets_NOTIMES.t: ../../common/wksheets.t
120        cp ../../common/wksheets.t wksheets_NOTIMES.t
121
122wksheets.t: wksheets_NOTIMES.t BSP_TIMES
123        ${REPLACE} -p BSP_TIMES wksheets_NOTIMES.t
124        mv wksheets_NOTIMES.t.fixed wksheets.t
125
126wksheets.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
135timing.t: ../../common/timing.t
136        cp ../../common/timing.t timing.t
137
138timing.texi: timing.t Makefile
139        $(BMENU) -p "Memory Requirements RTEMS RAM Workspace Worksheet" \
140            -u "Top" \
141            -n "BSP_FOR_TIMES 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
148timeBSP_.t: ../../common/timetbl.t timeBSP.t Makefile
149        cat timeBSP.t ../../common/timetbl.t                 >timeBSP_.t
150        @echo                                               >>timeBSP_.t
151        @echo "@tex"                                        >>timeBSP_.t
152        @echo "\\global\\advance \\smallskipamount by 4pt"  >>timeBSP_.t
153        @echo "@end tex"                                    >>timeBSP_.t
154        ${REPLACE} -p BSP_TIMES timeBSP_.t
155        mv timeBSP_.t.fixed timeBSP_.t
156
157timeBSP.texi: timeBSP_.t Makefile
158        $(BMENU) -p "Timing Specification Terminology" \
159            -u "Top" \
160            -n "Command and Variable Index" timeBSP_.t
161        mv timeBSP_.texi timeBSP.texi
Note: See TracBrowser for help on using the repository browser.