source: rtems/doc/supplements/hppa1_1/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: 3.7 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=hppa1_1
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 timeSIMHPPA.texi
25
26FILES= $(PROJECT).texi \
27  preface.texi \
28  $(GENERATED_FILES)
29
30info: dirs c_hppa1_1
31        cp c_$(PROJECT) $(INFO_INSTALL)
32
33c_hppa1_1: $(FILES)
34        $(MAKEINFO) $(PROJECT).texi
35
36dvi: $(PROJECT).dvi
37ps: dirs $(PROJECT).ps
38pdf: 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
51html: dirs $(FILES)
52        -mkdir -p $(WWW_INSTALL)/c_$(PROJECT)
53        $(TEXI2WWW) $(TEXI2WWW_ARGS) -dir $(WWW_INSTALL)/c_$(PROJECT) \
54            $(PROJECT).texi
55
56clean:
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
70cpumodel.texi: cpumodel.t Makefile
71        $(BMENU) -p "Preface" \
72            -u "Top" \
73            -n "Calling Conventions" ${*}.t
74
75callconv.texi: callconv.t Makefile
76        $(BMENU) -p "CPU Model Dependent Features CPU Model Name" \
77            -u "Top" \
78            -n "Memory Model" ${*}.t
79
80memmodel.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
89intr.t: intr_NOTIMES.t SIMHPPA_TIMES
90        ${REPLACE} -p SIMHPPA_TIMES intr_NOTIMES.t
91        mv intr_NOTIMES.t.fixed intr.t
92
93intr.texi: intr.t Makefile
94        $(BMENU) -p "Memory Model Flat Memory Model" \
95            -u "Top" \
96            -n "Default Fatal Error Processing" ${*}.t
97
98
99fatalerr.texi: fatalerr.t Makefile
100        $(BMENU) -p "Interrupt Processing Disabling of Interrupts by RTEMS" \
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.  Obtain 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 SIMHPPA_TIMES
123        ${REPLACE} -p SIMHPPA_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 "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
148timeSIMHPPA.texi: timeSIMHPPA.t Makefile
149        $(BMENU) -p "Timing Specification Terminology" \
150            -u "Top" \
151            -n "Command and Variable Index" ${*}.t
Note: See TracBrowser for help on using the repository browser.