source: rtems/doc/supplements/i386/Makefile @ ed11cadf

4.104.114.84.95
Last change on this file since ed11cadf was ed11cadf, checked in by Joel Sherrill <joel.sherrill@…>, on 10/01/99 at 17:44:06

Numerous minor changes required to transition to the latest version
of texinfo and TeX. This version of the tools can produce PDF with
figures included.

  • Property mode set to 100644
File size: 4.5 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=i386
10
11include ../../Make.config
12
13REPLACE=../../tools/word-replace
14
15all: html info ps pdf
16
17COMMON_FILES=../../common/cpright.texi ../../common/setup.texi
18
19GENERATED_FILES=\
20  cpumodel.texi callconv.texi memmodel.texi intr.texi fatalerr.texi \
21  bsp.texi cputable.texi timing.texi wksheets.texi timeFORCE386.texi
22
23FILES= $(PROJECT).texi \
24  preface.texi \
25  $(GENERATED_FILES)
26
27
28dirs:
29        $(make-dirs)
30
31info: dirs c_i386
32        cp c_$(PROJECT) $(INFO_INSTALL)
33        #cp c_$(PROJECT) c_$(PROJECT)-* $(INFO_INSTALL)
34
35c_i386: $(FILES)
36        $(MAKEINFO) $(PROJECT).texi
37
38dvi: $(PROJECT).dvi
39ps: dirs $(PROJECT).ps
40pdf: dirs $(PROJECT).pdf
41       
42$(PROJECT).pdf: $(FILES)
43        $(TEXI2PDF) $(PROJECT).texi
44        cp $(PROJECT).pdf $(PDF_INSTALL)
45       
46$(PROJECT).ps: $(PROJECT).dvi
47        dvips -o $(PROJECT).ps $(PROJECT).dvi
48        cp $(PROJECT).ps $(PS_INSTALL)
49
50$(PROJECT).dvi: $(FILES)
51        $(TEXI2DVI) $(PROJECT).texi
52
53html: dirs $(FILES)
54        -mkdir -p $(WWW_INSTALL)/c_i386
55        $(TEXI2WWW) $(TEXI2WWW_ARGS) -dir $(WWW_INSTALL)/c_$(PROJECT) \
56            $(PROJECT).texi
57
58clean:
59        rm -f *.o $(PROG) *.txt core *.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_i386 c_i386-*
63        rm -f intr.t $(GENERATED_FILES)
64        rm -f wksheets.t wksheets_NOTIMES.t timing.t intr.t
65        rm -f timeFORCE386_.t timeFORCE386_.texi
66        rm -f *.fixed _*
67
68#
69#  Chapters which get automatic processing
70#
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 Floating Point Unit" \
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
90
91#intr.texi: intr.t FORCE386_TIMES
92#       ${REPLACE} -p FORCE386_TIMES intr.t
93#       mv intr.t.fixed intr.texi
94
95# Interrupt Chapter:
96#  1.  Replace Times and Sizes
97#  2.  Build Node Structure
98intr.t: intr_NOTIMES.t FORCE386_TIMES
99        ${REPLACE} -p FORCE386_TIMES intr_NOTIMES.t
100        mv intr_NOTIMES.t.fixed intr.t
101
102intr.texi: intr.t Makefile
103        $(BMENU) -p "Memory Model Flat Memory Model" \
104            -u "Top" \
105            -n "Default Fatal Error Processing" ${*}.t
106
107fatalerr.texi: fatalerr.t Makefile
108        $(BMENU) -p "Interrupt Processing Interrupt Stack" \
109            -u "Top" \
110            -n "Board Support Packages" ${*}.t
111
112bsp.texi: bsp.t Makefile
113        $(BMENU) -p "Default Fatal Error Processing Default Fatal Error Handler Operations" \
114            -u "Top" \
115            -n "Processor Dependent Information Table" ${*}.t
116
117cputable.texi: cputable.t Makefile
118        $(BMENU) -p "Board Support Packages Processor Initialization" \
119            -u "Top" \
120            -n "Memory Requirements" ${*}.t
121
122# Worksheets Chapter:
123#  1.  Obtain the Shared File
124#  2.  Replace Times and Sizes
125#  3.  Build Node Structure
126
127wksheets_NOTIMES.t: ../../common/wksheets.t
128        cp ../../common/wksheets.t wksheets_NOTIMES.t
129
130wksheets.t: wksheets_NOTIMES.t FORCE386_TIMES
131        ${REPLACE} -p FORCE386_TIMES wksheets_NOTIMES.t
132        mv wksheets_NOTIMES.t.fixed wksheets.t
133
134wksheets.texi: wksheets.t Makefile
135        $(BMENU) -p "Processor Dependent Information Table CPU Dependent Information Table" \
136            -u "Top" \
137            -n "Timing Specification" ${*}.t
138
139# Timing Specification Chapter:
140#  1.  Copy the Shared File
141#  3.  Build Node Structure
142
143timing.t: ../../common/timing.t
144        cp ../../common/timing.t timing.t
145
146timing.texi: timing.t Makefile
147        $(BMENU) -p "Memory Requirements RTEMS RAM Workspace Worksheet" \
148            -u "Top" \
149            -n "CPU386 Timing Data" ${*}.t
150
151# Timing Data for BSP Chapter:
152#  1.  Copy the Shared File
153#  2.  Replace Times and Sizes
154#  3.  Build Node Structure
155
156timeFORCE386_.t: ../../common/timetbl.t timeFORCE386.t
157        cat timeFORCE386.t ../../common/timetbl.t            >timeFORCE386_.t
158        @echo                                               >>timeFORCE386_.t
159        @echo "@tex"                                        >>timeFORCE386_.t
160        @echo "\\global\\advance \\smallskipamount by 4pt"  >>timeFORCE386_.t
161        @echo "@end tex"                                    >>timeFORCE386_.t
162        ${REPLACE} -p FORCE386_TIMES timeFORCE386_.t
163        mv timeFORCE386_.t.fixed timeFORCE386_.t
164
165timeFORCE386.texi: timeFORCE386_.t Makefile
166        $(BMENU) -p "Timing Specification Terminology" \
167            -u "Top" \
168            -n "Command and Variable Index" timeFORCE386_.t
169        mv timeFORCE386_.texi timeFORCE386.texi
Note: See TracBrowser for help on using the repository browser.