[ae68ff0] | 1 | # |
---|
[1e524995] | 2 | # COPYRIGHT (c) 1988-1998. |
---|
[ae68ff0] | 3 | # On-Line Applications Research Corporation (OAR). |
---|
| 4 | # All rights reserved. |
---|
| 5 | # |
---|
[139b2e4a] | 6 | # $Id$ |
---|
| 7 | # |
---|
[ae68ff0] | 8 | |
---|
| 9 | PROJECT=c_user |
---|
[3754660c] | 10 | |
---|
| 11 | include ../Make.config |
---|
[ae68ff0] | 12 | |
---|
[ed11cadf] | 13 | all: html info ps pdf |
---|
[eff6983d] | 14 | |
---|
| 15 | dirs: |
---|
| 16 | $(make-dirs) |
---|
[ae68ff0] | 17 | |
---|
| 18 | COMMON_FILES=../common/cpright.texi |
---|
| 19 | FILES= bsp.texi c_user.texi clock.texi concepts.texi conf.texi \ |
---|
[56061f5] | 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) |
---|
[ae68ff0] | 24 | |
---|
[20515fc] | 25 | GENERATED_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 | |
---|
[ae68ff0] | 31 | INFOFILES=$(wildcard $(PROJECT) $(PROJECT)-*) |
---|
| 32 | |
---|
[eff6983d] | 33 | info: dirs c_user |
---|
[ae68ff0] | 34 | cp $(PROJECT) $(PROJECT)-* $(INFO_INSTALL) |
---|
| 35 | |
---|
| 36 | c_user: $(FILES) |
---|
| 37 | $(MAKEINFO) $(PROJECT).texi |
---|
| 38 | |
---|
| 39 | dvi: $(PROJECT).dvi |
---|
[eff6983d] | 40 | ps: dirs $(PROJECT).ps |
---|
[ed11cadf] | 41 | pdf: dirs $(PROJECT).pdf |
---|
| 42 | |
---|
| 43 | $(PROJECT).pdf: $(FILES) |
---|
| 44 | $(TEXI2PDF) $(PROJECT).texi |
---|
| 45 | cp $(PROJECT).pdf $(PDF_INSTALL) |
---|
[ae68ff0] | 46 | |
---|
| 47 | $(PROJECT).ps: $(PROJECT).dvi |
---|
| 48 | dvips -o $(PROJECT).ps $(PROJECT).dvi |
---|
| 49 | cp $(PROJECT).ps $(PS_INSTALL) |
---|
| 50 | |
---|
| 51 | $(PROJECT).dvi: $(FILES) |
---|
[ed11cadf] | 52 | # $(TEXI2DVI) $(PROJECT).texi |
---|
| 53 | texi2dvi -V $(PROJECT).texi |
---|
[ae68ff0] | 54 | |
---|
[eff6983d] | 55 | html: dirs $(FILES) |
---|
[ca0b18a1] | 56 | -mkdir -p $(WWW_INSTALL)/c_user |
---|
[13fb305] | 57 | cp rtemsarc.png rtemspie.png states.png $(WWW_INSTALL)/c_user |
---|
[ae68ff0] | 58 | $(TEXI2WWW) $(TEXI2WWW_ARGS) -dir $(WWW_INSTALL)/$(PROJECT) \ |
---|
| 59 | $(PROJECT).texi |
---|
| 60 | |
---|
| 61 | clean: |
---|
[ed11cadf] | 62 | rm -f *.o $(PROG) *.txt core *.html *.pdf |
---|
[ae68ff0] | 63 | rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE) |
---|
[20515fc] | 64 | rm -f c_user c_user-* _* $(GENERATED_FILES) |
---|
| 65 | |
---|
| 66 | #preface.texi: preface.t |
---|
| 67 | # $(BMENU) -p "Top" \ |
---|
| 68 | # -u "Top" \ |
---|
| 69 | # -n "Overview" ${*}.t |
---|
| 70 | |
---|
| 71 | overview.texi: overview.t |
---|
| 72 | $(BMENU) -p "Preface" \ |
---|
| 73 | -u "Top" \ |
---|
| 74 | -n "Key Concepts" ${*}.t |
---|
| 75 | |
---|
| 76 | concepts.texi: concepts.t |
---|
| 77 | $(BMENU) -p "Overview Manual Organization" \ |
---|
| 78 | -u "Top" \ |
---|
| 79 | -n "Initialization Manager" ${*}.t |
---|
| 80 | |
---|
| 81 | init.texi: init.t |
---|
| 82 | $(BMENU) -p "Key Concepts Memory Management" \ |
---|
| 83 | -u "Top" \ |
---|
| 84 | -n "Task Manager" ${*}.t |
---|
| 85 | |
---|
| 86 | task.texi: task.t |
---|
| 87 | $(BMENU) -p "Initialization Manager SHUTDOWN_EXECUTIVE - Shutdown RTEMS" \ |
---|
| 88 | -u "Top" \ |
---|
| 89 | -n "Interrupt Manager" ${*}.t |
---|
| 90 | |
---|
| 91 | intr.texi: intr.t |
---|
| 92 | $(BMENU) -p "Task Manager TASK_WAKE_WHEN - Wake up when specified" \ |
---|
| 93 | -u "Top" \ |
---|
| 94 | -n "Clock Manager" ${*}.t |
---|
| 95 | |
---|
| 96 | clock.texi: clock.t |
---|
| 97 | $(BMENU) \ |
---|
| 98 | -p "Interrupt Manager INTERRUPT_IS_IN_PROGRESS - Is an ISR in Progress" \ |
---|
| 99 | -u "Top" \ |
---|
| 100 | -n "Timer Manager" ${*}.t |
---|
| 101 | |
---|
| 102 | timer.texi: timer.t |
---|
| 103 | $(BMENU) -p "Clock Manager CLOCK_TICK - Announce a clock tick" \ |
---|
| 104 | -u "Top" \ |
---|
| 105 | -n "Semaphore Manager" ${*}.t |
---|
| 106 | |
---|
| 107 | sem.texi: sem.t |
---|
| 108 | $(BMENU) -p "Timer Manager TIMER_RESET - Reset an interval timer" \ |
---|
| 109 | -u "Top" \ |
---|
| 110 | -n "Message Manager" ${*}.t |
---|
| 111 | |
---|
| 112 | msg.texi: msg.t |
---|
| 113 | $(BMENU) -p "Semaphore Manager SEMAPHORE_RELEASE - Release a semaphore" \ |
---|
| 114 | -u "Top" \ |
---|
| 115 | -n "Event Manager" ${*}.t |
---|
| 116 | |
---|
| 117 | event.texi: event.t |
---|
| 118 | $(BMENU) \ |
---|
| 119 | -p "Message Manager MESSAGE_QUEUE_FLUSH - Flush all messages on a queue" \ |
---|
| 120 | -u "Top" \ |
---|
| 121 | -n "Signal Manager" ${*}.t |
---|
| 122 | |
---|
| 123 | signal.texi: signal.t |
---|
| 124 | $(BMENU) -p "Event Manager EVENT_RECEIVE - Receive event condition" \ |
---|
| 125 | -u "Top" \ |
---|
| 126 | -n "Partition Manager" ${*}.t |
---|
| 127 | |
---|
| 128 | part.texi: part.t |
---|
| 129 | $(BMENU) -p "Signal Manager SIGNAL_SEND - Send signal set to a task" \ |
---|
| 130 | -u "Top" \ |
---|
| 131 | -n "Region Manager" ${*}.t |
---|
| 132 | |
---|
| 133 | region.texi: region.t |
---|
| 134 | $(BMENU) \ |
---|
| 135 | -p "Partition Manager PARTITION_RETURN_BUFFER - Return buffer to a partition" \ |
---|
| 136 | -u "Top" \ |
---|
| 137 | -n "Dual-Ported Memory Manager" ${*}.t |
---|
| 138 | |
---|
| 139 | dpmem.texi: dpmem.t |
---|
| 140 | $(BMENU) \ |
---|
| 141 | -p "Region Manager REGION_GET_SEGMENT_SIZE - Obtain size of a segment" \ |
---|
| 142 | -u "Top" \ |
---|
| 143 | -n "I/O Manager" ${*}.t |
---|
| 144 | |
---|
| 145 | io.texi: io.t |
---|
| 146 | $(BMENU) -p "Dual-Ported Memory Manager PORT_INTERNAL_TO_EXTERNAL - Convert internal to external address" \ |
---|
| 147 | -u "Top" \ |
---|
| 148 | -n "Fatal Error Manager" ${*}.t |
---|
| 149 | |
---|
| 150 | fatal.texi: fatal.t |
---|
| 151 | $(BMENU) -p "I/O Manager IO_CONTROL - Special device services" \ |
---|
| 152 | -u "Top" \ |
---|
| 153 | -n "Scheduling Concepts" ${*}.t |
---|
| 154 | |
---|
| 155 | schedule.texi: schedule.t |
---|
| 156 | $(BMENU) \ |
---|
| 157 | -p "Fatal Error Manager FATAL_ERROR_OCCURRED - Invoke the fatal error handler" \ |
---|
| 158 | -u "Top" \ |
---|
| 159 | -n "Rate Monotonic Manager" ${*}.t |
---|
| 160 | |
---|
| 161 | rtmon.texi: rtmon.t |
---|
| 162 | $(BMENU) -p "Scheduling Concepts Task State Transitions" \ |
---|
| 163 | -u "Top" \ |
---|
| 164 | -n "Board Support Packages" ${*}.t |
---|
| 165 | |
---|
| 166 | bsp.texi: bsp.t |
---|
| 167 | $(BMENU) -p "Rate Monotonic Manager RATE_MONOTONIC_GET_STATUS - Obtain status information on period" \ |
---|
| 168 | -u "Top" \ |
---|
| 169 | -n "User Extensions Manager" ${*}.t |
---|
| 170 | |
---|
| 171 | userext.texi: userext.t |
---|
| 172 | $(BMENU) -p "Board Support Packages Heterogeneous Systems" \ |
---|
| 173 | -u "Top" \ |
---|
| 174 | -n "Configuring a System" ${*}.t |
---|
| 175 | |
---|
| 176 | conf.texi: conf.t |
---|
| 177 | $(BMENU) -p "User Extensions Manager EXTENSION_DELETE - Delete a extension set" \ |
---|
| 178 | -u "Top" \ |
---|
| 179 | -n "Multiprocessing Manager" ${*}.t |
---|
| 180 | |
---|
| 181 | mp.texi: mp.t |
---|
| 182 | $(BMENU) -p "Configuring a System Sizing the RTEMS RAM Workspace" \ |
---|
| 183 | -u "Top" \ |
---|
| 184 | -n "Directive Status Codes" ${*}.t |
---|
[ae68ff0] | 185 | |
---|