source: rtems/doc/user/Makefile.am @ d09ad1f0

4.104.114.84.95
Last change on this file since d09ad1f0 was 110445c, checked in by Joel Sherrill <joel.sherrill@…>, on 06/10/00 at 19:41:09

Patch rtems-rc-4.5.0-21.diff from Ralf Corsepius <corsepiu@…>
which splits the current monolithic specs files into a sequence of
subparts. These can be concatenated togather to make a the whole .spec
file. This cleans up the maintenance problem of having "all languages"
and a "C/C++ only" gccnewlib spec files. Plus it should make it easier
to produce variants like the gdb-m68k-bdm which require special hackery. :)
Ralf's comments:

It addresses the way *.spec.in get composed inside of the source
tree.

Changes:

  • Each spec.in is broken into several files (*.add), one *.add file per sub-package.
  • Each Makefile.am composes spec.ins from the *.add files
  • Removal of redundant automake support files.
  • Default value for BuildRoot? changed to /tmp/<spec-file-name>
  • %clean stage added to *specs

Advantages (IMHO).

  • The *.add files are easier to adminstrate and more flexible in comparison to the former *.specs.ins.
  • gccnewlib_c_only.spec.in now is composed from the same sources as gccnewlib.spec.in (less errors)
  • If using the default BuildRoot? --clean now deletes all files that were generated while building.

Notes:

  • rtems.spec.in has not yet been adapted to the scheme used for the other *spec.ins
  • Except for cosmetical changes the internals of the *.spec files should not have changed.

To Apply:

cvs rm -f scripts/binutils/binutils.spec.in
cvs rm -f scripts/gccnewlib/gccnewlib.spec.in
cvs rm -f scripts/gccnewlib/gccnewlib_c_only.spec.in
cvs rm -f scripts/gdb/gdb.spec.in
cvs rm -f scripts/config.sub
cvs rm -f scripts/config.guess
cvs rm -f scripts/install-sh
cvs rm -f scripts/mkinstalldirs
cvs rm -f scripts/missing

patch -p1 < rtems-rc-4.5.0-21.diff

cvs add scripts/*/*.add
cvs add scripts/*/README

  • Property mode set to 100644
File size: 4.9 KB
Line 
1#
2#  COPYRIGHT (c) 1988-1999.
3#  On-Line Applications Research Corporation (OAR).
4#  All rights reserved.
5#
6#  $Id$
7#
8
9AUTOMAKE_OPTIONS = foreign 1.4
10
11PROJECT = c_user
12EDITION = 1
13
14include $(top_srcdir)/project.am
15
16FILES = bsp.texi dirstat.texi example.texi glossary.texi preface.texi
17
18GENERATED_FILES = overview.texi concepts.texi datatypes.texi init.texi \
19    task.texi intr.texi clock.texi timer.texi sem.texi msg.texi event.texi \
20    signal.texi part.texi region.texi dpmem.texi io.texi fatal.texi \
21    schedule.texi rtmon.texi bsp.texi userext.texi conf.texi mp.texi
22
23COMMON_FILES = $(top_srcdir)/common/setup.texi \
24    $(top_srcdir)/common/cpright.texi
25
26info_TEXINFOS = c_user.texi
27c_user_TEXINFOS = $(FILES) $(COMMON_FILES) $(GENERATED_FILES)
28
29PNG_FILES = rtemsarc.png rtemspie.png states.png
30
31EPS_IMAGES = rtemspie.eps states.eps
32$(PROJECT).dvi: $(EPS_IMAGES)
33
34PDF_IMAGES = rtemspie.pdf states.pdf
35CLEANFILES += $(PDF_IMAGES)
36
37if USE_HTML
38html_project_DATA += $(PNG_FILES)
39endif
40
41$(srcdir)/overview.texi: overview.t
42        $(BMENU2) -p "Preface" \
43            -u "Top" \
44            -n "Key Concepts" < $< > $@
45
46$(srcdir)/concepts.texi: concepts.t
47        $(BMENU2) -p "Overview Manual Organization" \
48            -u "Top" \
49            -n "RTEMS Data Types" < $< > $@
50
51$(srcdir)/datatypes.texi: datatypes.t
52        $(BMENU2) -p "Key Concepts Memory Management" \
53            -u "Top" \
54            -n "Initialization Manager" < $< > $@
55
56$(srcdir)/init.texi: init.t
57        $(BMENU2) -p "RTEMS Data Types List of Data Types" \
58            -u "Top" \
59            -n "Task Manager" < $< > $@
60
61$(srcdir)/task.texi: task.t
62        $(BMENU2) -p "Initialization Manager SHUTDOWN_EXECUTIVE - Shutdown RTEMS" \
63            -u "Top" \
64            -n "Interrupt Manager" < $< > $@
65
66$(srcdir)/intr.texi: intr.t
67        $(BMENU2) -p "Task Manager TASK_VARIABLE_DELETE - Remove per task variable" \
68            -u "Top" \
69            -n "Clock Manager" < $< > $@
70
71$(srcdir)/clock.texi: clock.t
72        $(BMENU2) \
73         -p "Interrupt Manager INTERRUPT_IS_IN_PROGRESS - Is an ISR in Progress" \
74            -u "Top" \
75            -n "Timer Manager" < $< > $@
76
77$(srcdir)/timer.texi: timer.t
78        $(BMENU2) -p "Clock Manager CLOCK_TICK - Announce a clock tick" \
79            -u "Top" \
80            -n "Semaphore Manager" < $< > $@
81
82$(srcdir)/sem.texi: sem.t
83        $(BMENU2) -p "Timer Manager TIMER_RESET - Reset an interval timer" \
84            -u "Top" \
85            -n "Message Manager" < $< > $@
86
87$(srcdir)/msg.texi: msg.t
88        $(BMENU2) -p "Semaphore Manager SEMAPHORE_FLUSH - Unblock all tasks waiting on a semaphore" \
89            -u "Top" \
90            -n "Event Manager" < $< > $@
91
92$(srcdir)/event.texi: event.t
93        $(BMENU2) \
94        -p "Message Manager MESSAGE_QUEUE_FLUSH - Flush all messages on a queue" \
95            -u "Top" \
96            -n "Signal Manager" < $< > $@
97
98$(srcdir)/signal.texi: signal.t
99        $(BMENU2) -p "Event Manager EVENT_RECEIVE - Receive event condition" \
100            -u "Top" \
101            -n "Partition Manager" < $< > $@
102
103$(srcdir)/part.texi: part.t
104        $(BMENU2) -p "Signal Manager SIGNAL_SEND - Send signal set to a task" \
105            -u "Top" \
106            -n "Region Manager" < $< > $@
107
108$(srcdir)/region.texi: region.t
109        $(BMENU2) \
110-p "Partition Manager PARTITION_RETURN_BUFFER - Return buffer to a partition" \
111            -u "Top" \
112            -n "Dual-Ported Memory Manager" < $< > $@
113
114$(srcdir)/dpmem.texi: dpmem.t
115        $(BMENU2) \
116          -p "Region Manager REGION_GET_SEGMENT_SIZE - Obtain size of a segment" \
117            -u "Top" \
118            -n "I/O Manager" < $< > $@
119
120$(srcdir)/io.texi: io.t
121        $(BMENU2) -p "Dual-Ported Memory Manager PORT_INTERNAL_TO_EXTERNAL - Convert internal to external address" \
122            -u "Top" \
123            -n "Fatal Error Manager" < $< > $@
124
125$(srcdir)/fatal.texi: fatal.t
126        $(BMENU2) -p "I/O Manager IO_CONTROL - Special device services" \
127            -u "Top" \
128            -n "Scheduling Concepts" < $< > $@
129
130$(srcdir)/schedule.texi: schedule.t
131        $(BMENU2) \
132-p "Fatal Error Manager FATAL_ERROR_OCCURRED - Invoke the fatal error handler" \
133            -u "Top" \
134            -n "Rate Monotonic Manager" < $< > $@
135
136$(srcdir)/rtmon.texi: rtmon.t
137        $(BMENU2) -p "Scheduling Concepts Task State Transitions" \
138            -u "Top" \
139            -n "Board Support Packages" < $< > $@
140
141$(srcdir)/bsp.texi: bsp.t
142        $(BMENU2) -p "Rate Monotonic Manager RATE_MONOTONIC_GET_STATUS - Obtain status information on period" \
143            -u "Top" \
144            -n "User Extensions Manager" < $< > $@
145
146$(srcdir)/userext.texi: userext.t
147        $(BMENU2) -p "Board Support Packages Heterogeneous Systems" \
148            -u "Top" \
149            -n "Configuring a System" < $< > $@
150
151$(srcdir)/conf.texi: conf.t
152        $(BMENU2) -p "User Extensions Manager EXTENSION_DELETE - Delete a extension set" \
153            -u "Top" \
154            -n "Multiprocessing Manager" < $< > $@
155
156$(srcdir)/mp.texi: mp.t
157        $(BMENU2) -p "Configuring a System Sizing the RTEMS RAM Workspace" \
158            -u "Top" \
159            -n "Directive Status Codes" < $< > $@
160
161noinst_DATA = states.gif rtemspie.gif
162
163EXTRA_DIST = bsp.t concepts.t clock.t datatypes.t conf.t dpmem.t event.t \
164    fatal.t init.t intr.t io.t mp.t msg.t overview.t part.t region.t rtmon.t \
165    sem.t schedule.t signal.t task.t timer.t userext.t $(PNG_FILES) \
166    $(EPS_IMAGES) $(noinst_DATA)
Note: See TracBrowser for help on using the repository browser.