source: rtems/doc/supplements/i386/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.3 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
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
40       
41$(PROJECT).ps: $(PROJECT).dvi
42        dvips -o $(PROJECT).ps $(PROJECT).dvi
43        cp $(PROJECT).ps $(PS_INSTALL)
44
45$(PROJECT).dvi: $(FILES)
46        $(TEXI2DVI) $(PROJECT).texi
47
48html: dirs $(FILES)
49        -mkdir -p $(WWW_INSTALL)/c_i386
50        $(TEXI2WWW) $(TEXI2WWW_ARGS) -dir $(WWW_INSTALL)/c_$(PROJECT) \
51            $(PROJECT).texi
52
53clean:
54        rm -f *.o $(PROG) *.txt core
55        rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE)
56        rm -f $(PROJECT) $(PROJECT)-*
57        rm -f c_i386 c_i386-*
58        rm -f intr.t $(GENERATED_FILES)
59        rm -f wksheets.t wksheets_NOTIMES.t timing.t intr.t
60        rm -f timeFORCE386_.t timeFORCE386_.texi
61        rm -f *.fixed _*
62
63#
64#  Chapters which get automatic processing
65#
66
67cpumodel.texi: cpumodel.t Makefile
68        $(BMENU) -p "Preface" \
69            -u "Top" \
70            -n "Calling Conventions" ${*}.t
71
72callconv.texi: callconv.t Makefile
73        $(BMENU) -p "CPU Model Dependent Features Floating Point Unit" \
74            -u "Top" \
75            -n "Memory Model" ${*}.t
76
77memmodel.texi: memmodel.t Makefile
78        $(BMENU) -p "Calling Conventions User-Provided Routines" \
79            -u "Top" \
80            -n "Interrupt Processing" ${*}.t
81
82# Interrupt Chapter:
83#  1.  Replace Times and Sizes
84#  2.  Build Node Structure
85
86#intr.texi: intr.t FORCE386_TIMES
87#       ${REPLACE} -p FORCE386_TIMES intr.t
88#       mv intr.t.fixed intr.texi
89
90# Interrupt Chapter:
91#  1.  Replace Times and Sizes
92#  2.  Build Node Structure
93intr.t: intr_NOTIMES.t FORCE386_TIMES
94        ${REPLACE} -p FORCE386_TIMES intr_NOTIMES.t
95        mv intr_NOTIMES.t.fixed intr.t
96
97intr.texi: intr.t Makefile
98        $(BMENU) -p "Memory Model Flat Memory Model" \
99            -u "Top" \
100            -n "Default Fatal Error Processing" ${*}.t
101
102fatalerr.texi: fatalerr.t Makefile
103        $(BMENU) -p "Interrupt Processing Interrupt Stack" \
104            -u "Top" \
105            -n "Board Support Packages" ${*}.t
106
107bsp.texi: bsp.t Makefile
108        $(BMENU) -p "Default Fatal Error Processing Default Fatal Error Handler Operations" \
109            -u "Top" \
110            -n "Processor Dependent Information Table" ${*}.t
111
112cputable.texi: cputable.t Makefile
113        $(BMENU) -p "Board Support Packages Processor Initialization" \
114            -u "Top" \
115            -n "Memory Requirements" ${*}.t
116
117# Worksheets Chapter:
118#  1.  Obtain the Shared File
119#  2.  Replace Times and Sizes
120#  3.  Build Node Structure
121
122wksheets_NOTIMES.t: ../../common/wksheets.t
123        cp ../../common/wksheets.t wksheets_NOTIMES.t
124
125wksheets.t: wksheets_NOTIMES.t FORCE386_TIMES
126        ${REPLACE} -p FORCE386_TIMES wksheets_NOTIMES.t
127        mv wksheets_NOTIMES.t.fixed wksheets.t
128
129wksheets.texi: wksheets.t Makefile
130        $(BMENU) -p "Processor Dependent Information Table CPU Dependent Information Table" \
131            -u "Top" \
132            -n "Timing Specification" ${*}.t
133
134# Timing Specification Chapter:
135#  1.  Copy the Shared File
136#  3.  Build Node Structure
137
138timing.t: ../../common/timing.t
139        cp ../../common/timing.t timing.t
140
141timing.texi: timing.t Makefile
142        $(BMENU) -p "Memory Requirements RTEMS RAM Workspace Worksheet" \
143            -u "Top" \
144            -n "CPU386 Timing Data" ${*}.t
145
146# Timing Data for BSP Chapter:
147#  1.  Copy the Shared File
148#  2.  Replace Times and Sizes
149#  3.  Build Node Structure
150
151timeFORCE386_.t: ../../common/timetbl.t timeFORCE386.t
152        cat timeFORCE386.t ../../common/timetbl.t            >timeFORCE386_.t
153        @echo                                               >>timeFORCE386_.t
154        @echo "@tex"                                        >>timeFORCE386_.t
155        @echo "\\global\\advance \\smallskipamount by 4pt"  >>timeFORCE386_.t
156        @echo "@end tex"                                    >>timeFORCE386_.t
157        ${REPLACE} -p FORCE386_TIMES timeFORCE386_.t
158        mv timeFORCE386_.t.fixed timeFORCE386_.t
159
160timeFORCE386.texi: timeFORCE386_.t Makefile
161        $(BMENU) -p "Timing Specification Terminology" \
162            -u "Top" \
163            -n "Command and Variable Index" timeFORCE386_.t
164        mv timeFORCE386_.texi timeFORCE386.texi
Note: See TracBrowser for help on using the repository browser.