source: rtems/doc/user/Makefile @ 71689d44

4.104.114.84.95
Last change on this file since 71689d44 was dc2b337, checked in by Joel Sherrill <joel.sherrill@…>, on 11/16/99 at 18:28:20

Added task variable services.

  • Property mode set to 100644
File size: 5.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=c_user
10
11include ../Make.config
12
13all: html info ps pdf
14
15dirs:
16        $(make-dirs)
17
18COMMON_FILES=../common/cpright.texi
19FILES= bsp.texi c_user.texi clock.texi concepts.texi conf.texi \
20    dirstat.texi dpmem.texi event.texi example.texi fatal.texi \
21    glossary.texi init.texi intr.texi io.texi mp.texi msg.texi overview.texi \
22    part.texi preface.texi region.texi rtmon.texi schedule.texi sem.texi \
23    signal.texi task.texi timer.texi userext.texi $(COMMON_FILES)
24
25GENERATED_FILES=overview.texi concepts.texi init.texi task.texi \
26    intr.texi clock.texi timer.texi sem.texi msg.texi \
27    event.texi signal.texi part.texi region.texi \
28    dpmem.texi io.texi fatal.texi schedule.texi rtmon.texi \
29    bsp.texi userext.texi conf.texi mp.texi
30
31INFOFILES=$(wildcard $(PROJECT) $(PROJECT)-*)
32
33info: dirs $(PROJECT)
34        cp $(PROJECT) $(PROJECT)-* $(INFO_INSTALL)
35
36$(PROJECT): $(FILES)
37        $(MAKEINFO) $(PROJECT).texi
38
39dvi: dirs $(PROJECT).dvi
40ps: dirs $(PROJECT).ps
41pdf: dirs $(PROJECT).pdf
42       
43$(PROJECT).pdf: $(FILES)
44        $(TEXI2PDF) $(PROJECT).texi
45        cp $(PROJECT).pdf $(WWW_INSTALL)/$(PROJECT)
46       
47$(PROJECT).ps: $(PROJECT).dvi
48        dvips -o $(PROJECT).ps $(PROJECT).dvi
49        cp $(PROJECT).ps $(WWW_INSTALL)/$(PROJECT)
50
51$(PROJECT).dvi: $(FILES)
52        $(TEXI2DVI) $(PROJECT).texi
53        cp $(PROJECT).dvi $(WWW_INSTALL)/$(PROJECT)
54
55html: dirs $(FILES)
56        -mkdir -p $(WWW_INSTALL)/$(PROJECT)
57        cp rtemsarc.png rtemspie.png states.png $(WWW_INSTALL)/c_user
58        $(TEXI2WWW) $(TEXI2WWW_ARGS) -dir $(WWW_INSTALL)/$(PROJECT) \
59            $(PROJECT).texi
60
61index:
62        texindex $(PROJECT).cp $(PROJECT).vr $(PROJECT).fn \
63        $(PROJECT).tp $(PROJECT).pg $(PROJECT).ky
64
65clean:
66        rm -f *.o $(PROG) *.txt core *.html $(PROJECT).pdf
67        rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE)
68        rm -f $(PROJECT) $(PROJECT)-* _* $(GENERATED_FILES)
69        rm -f *.cps *.cpss *.fns *.kys *.pgs *.tps *.vrs
70
71
72#preface.texi: preface.t
73#       $(BMENU) -p "Top" \
74#           -u "Top" \
75#           -n "Overview" ${*}.t
76
77overview.texi: overview.t
78        $(BMENU) -p "Preface" \
79            -u "Top" \
80            -n "Key Concepts" ${*}.t
81
82concepts.texi: concepts.t
83        $(BMENU) -p "Overview Manual Organization" \
84            -u "Top" \
85            -n "Initialization Manager" ${*}.t
86
87init.texi: init.t
88        $(BMENU) -p "Key Concepts Memory Management" \
89            -u "Top" \
90            -n "Task Manager" ${*}.t
91
92task.texi: task.t
93        $(BMENU) -p "Initialization Manager SHUTDOWN_EXECUTIVE - Shutdown RTEMS" \
94            -u "Top" \
95            -n "Interrupt Manager" ${*}.t
96
97intr.texi: intr.t
98        $(BMENU) -p "Task Manager TASK_VARIABLE_DELETE - Remove per task variable" \
99            -u "Top" \
100            -n "Clock Manager" ${*}.t
101
102clock.texi: clock.t
103        $(BMENU) \
104         -p "Interrupt Manager INTERRUPT_IS_IN_PROGRESS - Is an ISR in Progress" \
105            -u "Top" \
106            -n "Timer Manager" ${*}.t
107
108timer.texi: timer.t
109        $(BMENU) -p "Clock Manager CLOCK_TICK - Announce a clock tick" \
110            -u "Top" \
111            -n "Semaphore Manager" ${*}.t
112
113sem.texi: sem.t
114        $(BMENU) -p "Timer Manager TIMER_RESET - Reset an interval timer" \
115            -u "Top" \
116            -n "Message Manager" ${*}.t
117
118msg.texi: msg.t
119        $(BMENU) -p "Semaphore Manager SEMAPHORE_FLUSH - Unblock all tasks waiting on a semaphore" \
120            -u "Top" \
121            -n "Event Manager" ${*}.t
122
123event.texi: event.t
124        $(BMENU) \
125        -p "Message Manager MESSAGE_QUEUE_FLUSH - Flush all messages on a queue" \
126            -u "Top" \
127            -n "Signal Manager" ${*}.t
128
129signal.texi: signal.t
130        $(BMENU) -p "Event Manager EVENT_RECEIVE - Receive event condition" \
131            -u "Top" \
132            -n "Partition Manager" ${*}.t
133
134part.texi: part.t
135        $(BMENU) -p "Signal Manager SIGNAL_SEND - Send signal set to a task" \
136            -u "Top" \
137            -n "Region Manager" ${*}.t
138
139region.texi: region.t
140        $(BMENU) \
141-p "Partition Manager PARTITION_RETURN_BUFFER - Return buffer to a partition" \
142            -u "Top" \
143            -n "Dual-Ported Memory Manager" ${*}.t
144
145dpmem.texi: dpmem.t
146        $(BMENU) \
147          -p "Region Manager REGION_GET_SEGMENT_SIZE - Obtain size of a segment" \
148            -u "Top" \
149            -n "I/O Manager" ${*}.t
150
151io.texi: io.t
152        $(BMENU) -p "Dual-Ported Memory Manager PORT_INTERNAL_TO_EXTERNAL - Convert internal to external address" \
153            -u "Top" \
154            -n "Fatal Error Manager" ${*}.t
155
156fatal.texi: fatal.t
157        $(BMENU) -p "I/O Manager IO_CONTROL - Special device services" \
158            -u "Top" \
159            -n "Scheduling Concepts" ${*}.t
160
161schedule.texi: schedule.t
162        $(BMENU) \
163-p "Fatal Error Manager FATAL_ERROR_OCCURRED - Invoke the fatal error handler" \
164            -u "Top" \
165            -n "Rate Monotonic Manager" ${*}.t
166
167rtmon.texi: rtmon.t
168        $(BMENU) -p "Scheduling Concepts Task State Transitions" \
169            -u "Top" \
170            -n "Board Support Packages" ${*}.t
171
172bsp.texi: bsp.t
173        $(BMENU) -p "Rate Monotonic Manager RATE_MONOTONIC_GET_STATUS - Obtain status information on period" \
174            -u "Top" \
175            -n "User Extensions Manager" ${*}.t
176
177userext.texi: userext.t
178        $(BMENU) -p "Board Support Packages Heterogeneous Systems" \
179            -u "Top" \
180            -n "Configuring a System" ${*}.t
181
182conf.texi: conf.t
183        $(BMENU) -p "User Extensions Manager EXTENSION_DELETE - Delete a extension set" \
184            -u "Top" \
185            -n "Multiprocessing Manager" ${*}.t
186
187mp.texi: mp.t
188        $(BMENU) -p "Configuring a System Sizing the RTEMS RAM Workspace" \
189            -u "Top" \
190            -n "Directive Status Codes" ${*}.t
191
192convert:
193        /usr/bin/gs -dMaxBitmap=300000000 -g5500x5500 -sDEVICE=pdfwrite -q -dNOPAUSE -dSAFER  -sOutputFile=rtemspie.pdf -- rtemspie.eps -c -quit
194        /usr/bin/gs -dMaxBitmap=300000000 -g5500x5500 -sDEVICE=pdfwrite -q -dNOPAUSE -dSAFER  -sOutputFile=states.pdf -- states.eps -c -quit
Note: See TracBrowser for help on using the repository browser.