source: rtems/doc/porting/Makefile.am @ 110445c

4.104.114.84.95
Last change on this file since 110445c 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: 2.4 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 = porting
12EDITION = 1
13
14include $(top_srcdir)/project.am
15
16FILES = preface.texi developtools.texi sourcecode.texi cpumodels.texi \
17    cpuinit.texi interrupts.texi taskcontext.texi idlethread.texi \
18    prioritybitmap.texi codetuning.texi miscellaneous.texi
19
20GENERATED_FILES = developtools.texi sourcecode.texi cpumodels.texi \
21    cpuinit.texi interrupts.texi taskcontext.texi idlethread.texi \
22    prioritybitmap.texi codetuning.texi miscellaneous.texi
23
24COMMON_FILES = $(top_srcdir)/common/setup.texi \
25    $(top_srcdir)/common/cpright.texi
26
27info_TEXINFOS = porting.texi
28porting_TEXINFOS = $(FILES) $(COMMON_FILES) $(GENERATED_FILES)
29
30$(srcdir)/developtools.texi: developtools.t
31        $(BMENU2) -p "Preface" \
32            -u "Top" \
33            -n "Source Code Organization" < $< > $@
34
35$(srcdir)/sourcecode.texi: sourcecode.t
36        $(BMENU2) -p "Development Tools" \
37            -u "Top" \
38            -n "CPU Model Variations" < $< > $@
39
40$(srcdir)/cpumodels.texi: cpumodels.t
41        $(BMENU2) -p "Source Code Organization Introduction" \
42            -u "Top" \
43            -n "CPU Initialization" < $< > $@
44
45$(srcdir)/cpuinit.texi: cpuinit.t
46        $(BMENU2) -p "CPU Model Variations Coding Issues" \
47            -u "Top" \
48            -n "Interrupts" < $< > $@
49
50$(srcdir)/interrupts.texi: interrupts.t
51        $(BMENU2) -p "CPU Initialization Initializing the CPU" \
52            -u "Top" \
53            -n "Task Context Management" < $< > $@
54
55$(srcdir)/taskcontext.texi: taskcontext.t
56        $(BMENU2) -p "Interrupts Pointer to _Thread_Dispatch Routine" \
57            -u "Top" \
58            -n "IDLE Thread" < $< > $@
59
60$(srcdir)/idlethread.texi: idlethread.t
61        $(BMENU2) -p "Task Context Management Restoring a Floating Point Context" \
62            -u "Top" \
63            -n "Priority Bitmap Manipulation" < $< > $@
64
65$(srcdir)/prioritybitmap.texi: prioritybitmap.t
66        $(BMENU2) -p "IDLE Thread Idle Thread Body" \
67            -u "Top" \
68            -n "Code Tuning Parameters" < $< > $@
69
70$(srcdir)/codetuning.texi: codetuning.t
71        $(BMENU2) -p "Priority Bitmap Manipulation Bit Scan Support" \
72            -u "Top" \
73            -n "Miscellaneous" < $< > $@
74
75$(srcdir)/miscellaneous.texi: miscellaneous.t
76        $(BMENU2) -p "Code Tuning Parameters Partition Element Alignment" \
77            -u "Top" \
78            -n "Command and Variable Index" < $< > $@
79
80EXTRA_DIST = codetuning.t cpuinit.t cpumodels.t developtools.t idlethread.t \
81    interrupts.t miscellaneous.t prioritybitmap.t sourcecode.t taskcontext.t
Note: See TracBrowser for help on using the repository browser.