Patch rtemsdoc-4.5.0-rc-0.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>

which contains the bulk of converting the documentation tree to automake
and GNU conventions.  Comments follow:

This is the automake port of rtemsdoc.

To apply:

cvs co rtemsdoc
cd rtemsdoc
sh cvs-rm.sh
patch -p0 < rtemsdoc-4.5.0-rc-0.diff
sh cvs-add.sh

[Attention: cvs-rm.sh and cvs-add.sh directly modify cvs]

Known bugs:
1) src2html is not supported (yet? - Is this supposed to work?)
2) all *.pdf images now are generated on-the-fly, but not yet deleted
during "make distclean"
3) All supplements, including the templated ones, get build and
installed.
4) Building outside of the source tree is completely untested and very
likely does not work.
5) Make [ps|pdf] are not (yet) supported, make [dvi|info] are supported
by automake's default texinfo rules.

Fixing 2, 3 and 5 is almost trivial and needs to be done.
4) is a matter of testing and tool-properties, for now it is simply
untested.



General issues:
* gif vs jpg vs png. I would recommend to replace all images with pngs
  to avoid potential copyright issues (gif) or lack in quality (jpg, jpg
  is good for real world photographs, but extremely poor on artificial
  images, graphs).
* pdf images do net get placed correctly in pdf-documents.
* texinfo: We now use a local copy of texinfo-4.0's texinfo.tex in
  texinfo/texinfo.tex for generating infos. However pdftex's system-wide
  texinfo.tex and pdftexinfo.tex are used for generating *.dvi, *.ps, *.pdf.
* .cvsignore files still missing.
* I have renamed the supplements filename not to use c_<supplement>,
  because automake seems to have problems with it.

Notes:
* Again, I recommend not to put any generated files into CVS. Here, this
  comprises some *texi, all *.pdf and many *.html pages. Ie. I recommend
  to run make maintainer-clean before checking in any files.

* To get building started, this should be sufficient:
  ./bootstrap
  ./configure
  cd tools; make; cd ..
  make info

* To make a public tarball:
  [cvs co ; ./bootstrap]
  ./configure
  cd tools; make; cd ..
  make info
  [make clean]
  make dist
=> This generates a rtems-<version>.tar.gz in the toplevel directory.
=> Building the tools only is required after a "cvs co", but not in a
   distribution tarball.
This commit is contained in:
Joel Sherrill
2000-04-26 18:02:26 +00:00
parent bb4b574983
commit 2ba8875a0b
135 changed files with 18326 additions and 13751 deletions
-117
View File
@@ -1,117 +0,0 @@
#
# COPYRIGHT (c) 1988-1999.
# On-Line Applications Research Corporation (OAR).
# All rights reserved.
#
# $Id$
#
PROJECT=FAQ
include ../Make.config
all: html info ps pdf
dirs:
$(make-dirs)
COMMON_FILES=../common/cpright.texi ../common/setup.texi
GENERATED_FILES= \
basic.texi tools.texi concepts.texi bsp.texi debug.texi freesw.texi \
embeddedinfo.texi hwdebugaids.texi projects.texi endoftime.texi
FILES=$(PROJECT).texi $(GENERATED_FILES)
INFOFILES=$(wildcard $(PROJECT) $(PROJECT)-*)
info: dirs $(PROJECT)
#cp $(wildcard $(PROJECT) $(PROJECT)-*) $(INFO_INSTALL)
# cp $(PROJECT) $(INFO_INSTALL)
$(PROJECT): $(FILES)
$(MAKEINFO) $(PROJECT).texi
dvi: dirs $(PROJECT).dvi
ps: dirs $(PROJECT).ps
pdf: dirs $(PROJECT).pdf
$(PROJECT).pdf: $(FILES)
$(TEXI2PDF) $(PROJECT).texi
cp $(PROJECT).pdf $(WWW_INSTALL)/$(PROJECT)
$(PROJECT).ps: $(PROJECT).dvi
dvips -o $(PROJECT).ps $(PROJECT).dvi
cp $(PROJECT).ps $(WWW_INSTALL)/$(PROJECT)
$(PROJECT).dvi: $(FILES)
$(TEXI2DVI) $(PROJECT).texi
cp $(PROJECT).dvi $(WWW_INSTALL)/$(PROJECT)
html: dirs $(FILES)
-mkdir -p $(WWW_INSTALL)/$(PROJECT)
$(TEXI2WWW) $(TEXI2WWW_ARGS) -dir $(WWW_INSTALL)/$(PROJECT) \
$(PROJECT).texi
clean:
rm -f *.o $(PROG) *.txt core $(PROJECT).pdf
rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE)
rm -f $(PROJECT) $(PROJECT)-* $(GENERATED_FILES)
rm -f *.fixed _*
#
# Process Automatically Generated Files
#
basic.texi: basic.t Makefile
$(BMENU) -c -p "Top" \
-u "Top" \
-n "" ${*}.t
tools.texi: tools.t Makefile
$(BMENU) -c -p "Top" \
-u "Top" \
-n "" ${*}.t
concepts.texi: concepts.t Makefile
$(BMENU) -c -p "" \
-u "Top" \
-n "" ${*}.t
bsp.texi: bsp.t Makefile
$(BMENU) -c -p "" \
-u "Top" \
-n "" ${*}.t
debug.texi: debug.t Makefile
$(BMENU) -c -p "" \
-u "Top" \
-n "" ${*}.t
freesw.texi: freesw.t Makefile
$(BMENU) -c -p "" \
-u "Top" \
-n "" ${*}.t
embeddedinfo.texi: embeddedinfo.t Makefile
$(BMENU) -c -p "" \
-u "Top" \
-n "" ${*}.t
hwdebugaids.texi: hwdebugaids.t Makefile
$(BMENU) -c -p "" \
-u "Top" \
-n "" ${*}.t
projects.texi: projects.t Makefile
$(BMENU) -c -p "" \
-u "Top" \
-n "" ${*}.t
endoftime.texi: endoftime.t Makefile
$(BMENU) -c -p "" \
-u "Top" \
-n "" ${*}.t
+81
View File
@@ -0,0 +1,81 @@
#
# COPYRIGHT (c) 1988-1999.
# On-Line Applications Research Corporation (OAR).
# All rights reserved.
#
# $Id$
#
AUTOMAKE_OPTIONS = foreign
PROJECT=FAQ
include $(top_srcdir)/project.am
COMMON_FILES=$(top_srcdir)/common/cpright.texi $(top_builddir)/common/setup.texi
GENERATED_FILES= \
basic.texi tools.texi concepts.texi bsp.texi debug.texi freesw.texi \
embeddedinfo.texi hwdebugaids.texi projects.texi endoftime.texi
FILES=
info_TEXINFOS = FAQ.texi
FAQ_TEXINFOS = $(FILES) $(COMMON_FILES) $(GENERATED_FILES)
#
# Process Automatically Generated Files
#
basic.texi: basic.t
$(BMENU) -c -p "Top" \
-u "Top" \
-n "" $<
tools.texi: tools.t
$(BMENU) -c -p "Top" \
-u "Top" \
-n "" $<
concepts.texi: concepts.t
$(BMENU) -c -p "" \
-u "Top" \
-n "" $<
bsp.texi: bsp.t
$(BMENU) -c -p "" \
-u "Top" \
-n "" $<
debug.texi: debug.t
$(BMENU) -c -p "" \
-u "Top" \
-n "" $<
freesw.texi: freesw.t
$(BMENU) -c -p "" \
-u "Top" \
-n "" $<
embeddedinfo.texi: embeddedinfo.t
$(BMENU) -c -p "" \
-u "Top" \
-n "" $<
hwdebugaids.texi: hwdebugaids.t
$(BMENU) -c -p "" \
-u "Top" \
-n "" $<
projects.texi: projects.t
$(BMENU) -c -p "" \
-u "Top" \
-n "" $<
endoftime.texi: endoftime.t
$(BMENU) -c -p "" \
-u "Top" \
-n "" $<
EXTRA_DIST = entry *.t
-64
View File
@@ -1,64 +0,0 @@
#
# Build information which may change
#
# $Id$
#
RTEMS_VERSION=4.5-beta2
#DOC_INSTALL_BASE=/usr1/rtems/tmp/rtemsdoc-$(RTEMS_VERSION)
DOC_INSTALL_BASE=/home/httpd/html/rtems/rtemsdoc-$(RTEMS_VERSION)
# DOC_INSTALL_BASE=/home/httpd/html/rtems/doc/rtems
SRCDIR=/usr1/rtems/4.5-work/rtems-doc
BMENU=$(SRCDIR)/tools/bmenu/bmenu
PDL2TEXI=$(SRCDIR)/tools/pdl2texi/pdl2texi
SRC2HTML=$(SRCDIR)/tools/src2html/src2html
#TEXI2DVI=$(SRCDIR)/tools/texi2www/texi2dvi
TEXI2DVI=texi2dvi
TEXI2PDF=texi2pdf
TEXI2WWW=$(SRCDIR)/tools/texi2www/texi2www
MAKEINFO=makeinfo
INFO=info
XDVI=xdvi -s 4
GHOSTVIEW=ghostview -magstep -1
# Account for tree organization which restricts visibility
#ifeq ($(DISTRIBUTION_LEVEL),public)
RLEVEL=
WWW_INSTALL=$(DOC_INSTALL_BASE)/html
INFO_INSTALL=$(DOC_INSTALL_BASE)/info
INDEX_FILE=../$(RLEVEL)index.html
#else
#RLEVEL=../
#WWW_INSTALL=$(DOC_INSTALL_BASE)/html/$(DISTRIBUTION_LEVEL)
#INFO_INSTALL=$(DOC_INSTALL_BASE)/info/$(DISTRIBUTION_LEVEL)
#INDEX_FILE=../$(RLEVEL)rtems_full.html
#endif
#TEXI2WWW_ARGS=-dirfile $(WWW_INSTALL)/index.html \
# -header $(WWW_INSTALL)/rtems_header.html \
# -footer $(WWW_INSTALL)/rtems_footer.html
TEXI2WWW_ARGS=-dirfile $(INDEX_FILE) \
-header $(WWW_INSTALL)/$(RLEVEL)rtems_header.html \
-footer $(WWW_INSTALL)/$(RLEVEL)rtems_footer.html \
-icons $(RLEVEL)..
define make-dirs
@ if [ ! -d $(WWW_INSTALL) ] ; then \
mkdir -p $(WWW_INSTALL); \
fi
@ if [ ! -d $(INFO_INSTALL) ] ; then \
mkdir -p $(INFO_INSTALL); \
fi
@ - cp $(SRCDIR)/oaronly.jpg $(WWW_INSTALL)
@ - sed -e 's/RTEMS_VERSION/$(RTEMS_VERSION)/' \
<$(SRCDIR)/rtems_footer.html >$(DOC_INSTALL_BASE)/html/rtems_footer.html
@ - cp $(SRCDIR)/HELP.html $(DOC_INSTALL_BASE)/html
@ - cp $(SRCDIR)/common/*.gif $(DOC_INSTALL_BASE)/html
@ - cp $(SRCDIR)/tools/texi2www/*.gif $(DOC_INSTALL_BASE)/html
@ - cp $(SRCDIR)/common/*.jpg $(DOC_INSTALL_BASE)/html
endef
-57
View File
@@ -1,57 +0,0 @@
#
# $Id$
#
include Make.config
BASEDIR=$(shell pwd)
all: env info html ps pdf
# find $(WWW_INSTALL) -type f | xargs -e chmod 444
# find $(WWW_INSTALL) -type d | xargs -e chmod 555
env: tools dirs headers
dirs:
$(make-dirs)
headers:
sed -e 's/RTEMS_VERSION/$(RTEMS_VERSION)/' \
<$(SRCDIR)/index.html >$(WWW_INSTALL)/index.html
sed -e 's/RTEMS_VERSION/$(RTEMS_VERSION)/' \
<$(SRCDIR)/rtems_support.html >$(WWW_INSTALL)/rtems_support.html
sed -e 's/RTEMS_VERSION/$(RTEMS_VERSION)/' \
<$(SRCDIR)/rtems_header.html >$(WWW_INSTALL)/rtems_header.html
sed -e 's/RTEMS_VERSION/$(RTEMS_VERSION)/' \
<$(SRCDIR)/rtems_footer.html >$(WWW_INSTALL)/rtems_footer.html
cp common/*.gif $(WWW_INSTALL)
cp BAD.html $(WWW_INSTALL)
info: env
./do_docs $(BASEDIR) info
html: env
./do_docs $(BASEDIR) html
dvi: dirs env
./do_docs $(BASEDIR) dvi
ps: dirs env
./do_docs $(BASEDIR) ps
pdf: dirs env
./do_docs $(BASEDIR) pdf
clean:
./do_docs $(BASEDIR) clean
cd tools/bmenu ; gmake clean
cd tools/pdl2texi ; gmake clean
cd tools/src2html ; gmake clean
.PHONY: tools
tools:
cd tools/bmenu ; gmake
cd tools/pdl2texi ; gmake
cd tools/src2html ; gmake
+45
View File
@@ -0,0 +1,45 @@
#
# $Id$
#
AUTOMAKE_OPTIONS = foreign 1.4
# NOTE: The order of the directories is essential
SUBDIRS = \
tools \
common \
images \
FAQ \
started \
user \
bsp_howto \
porting \
develenv \
posix_users \
posix1003.1 \
filesystem \
itron3.0 \
networking \
ada_user \
started_ada \
rtems_gdb \
rgdb_specs \
new_chapters \
relnotes \
supplements \
gnu_docs \
src2html
if USE_HTML
html_DATA = index.html HELP.html BAD.html
endif
AUTOMAKE_FILES = project.am
noinst_SCRIPTS = bootstrap
EXTRA_DIST = \
$(AUTOMAKE_FILES) \
HELP.html BAD.html \
texinfo/texinfo.tex \
$(noinst_SCRIPTS)
-5
View File
@@ -1,5 +0,0 @@
#
# $Id$
#
RTEMS Version 19991117
-73
View File
@@ -1,73 +0,0 @@
#
# COPYRIGHT (c) 1988-1999.
# On-Line Applications Research Corporation (OAR).
# All rights reserved.
#
# $Id$
#
PROJECT=ada_user
include ../Make.config
all: html info ps pdf
COMMON_FILES=../common/cpright.texi ../user/bsp.texi ../user/clock.texi \
../user/concepts.texi ../user/conf.texi ../user/dirstat.texi \
../user/dpmem.texi ../user/event.texi \
../user/fatal.texi ../user/glossary.texi ../user/init.texi \
../user/intr.texi ../user/io.texi ../user/mp.texi ../user/msg.texi \
../user/overview.texi ../user/part.texi ../user/preface.texi \
../user/region.texi ../user/rtmon.texi ../user/schedule.texi \
../user/sem.texi ../user/signal.texi ../user/task.texi \
../user/timer.texi ../user/userext.texi
FILES= ada_user.texi example.texi $(COMMON_FILES)
LINKFILES=../user/rtemspie.eps ../user/rtemspie.pdf \
../user/states.eps ../user/states.pdf
dirs: links
$(make-dirs)
links:
cp $(LINKFILES) .
INFOFILES=$(wildcard $(PROJECT) $(PROJECT)-*)
info: dirs $(PROJECT)
cp $(shell ls -1 $(PROJECT) $(PROJECT)-* 2>/dev/null) $(INFO_INSTALL)
$(PROJECT): $(FILES)
$(MAKEINFO) $(PROJECT).texi
dvi: dirs $(PROJECT).dvi
ps: dirs $(PROJECT).ps
pdf: dirs $(PROJECT).pdf
$(PROJECT).pdf: $(FILES)
$(TEXI2PDF) $(PROJECT).texi
cp $(PROJECT).pdf $(WWW_INSTALL)/$(PROJECT)
$(PROJECT).ps: dirs $(PROJECT).dvi
dvips -o $(PROJECT).ps $(PROJECT).dvi
cp $(PROJECT).ps $(WWW_INSTALL)/$(PROJECT)
$(PROJECT).dvi: $(FILES)
$(TEXI2DVI) $(PROJECT).texi
cp $(PROJECT).dvi $(WWW_INSTALL)/$(PROJECT)
html: dirs $(FILES)
-mkdir -p $(WWW_INSTALL)/$(PROJECT)
cp ../user/rtemsarc.gif ../user/rtemspie.gif ../user/states.gif \
$(WWW_INSTALL)/$(PROJECT)
$(TEXI2WWW) $(TEXI2WWW_ARGS) -dir $(WWW_INSTALL)/$(PROJECT) \
$(PROJECT).texi
# This is one of the few document directories without its own eps and pdf
# files. Thus it can safely remove *.pdf and *.eps.
clean:
rm -f *.o $(PROG) *.txt core *.html *.pdf *.eps
rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE)
rm -f $(PROJECT) $(PROJECT)-* _*
rm -f *.cps *.cpss *.fns *.jkys *.pgs *.tps *.vrs
+52
View File
@@ -0,0 +1,52 @@
#
# COPYRIGHT (c) 1988-1999.
# On-Line Applications Research Corporation (OAR).
# All rights reserved.
#
# $Id$
#
AUTOMAKE_OPTIONS = foreign
PROJECT=ada_user
include $(top_srcdir)/project.am
COMMON_FILES= $(top_srcdir)/common/cpright.texi \
$(top_srcdir)/user/bsp.texi $(top_srcdir)/user/clock.texi \
$(top_srcdir)/user/concepts.texi $(top_srcdir)/user/conf.texi \
$(top_srcdir)/user/dirstat.texi \
$(top_srcdir)/user/dpmem.texi $(top_srcdir)/user/event.texi \
$(top_srcdir)/user/fatal.texi $(top_srcdir)/user/glossary.texi $(top_srcdir)/user/init.texi \
$(top_srcdir)/user/intr.texi $(top_srcdir)/user/io.texi $(top_srcdir)/user/mp.texi $(top_srcdir)/user/msg.texi \
$(top_srcdir)/user/overview.texi $(top_srcdir)/user/part.texi $(top_srcdir)/user/preface.texi \
$(top_srcdir)/user/region.texi $(top_srcdir)/user/rtmon.texi $(top_srcdir)/user/schedule.texi \
$(top_srcdir)/user/sem.texi $(top_srcdir)/user/signal.texi $(top_srcdir)/user/task.texi \
$(top_srcdir)/user/timer.texi $(top_srcdir)/user/userext.texi
FILES= example.texi
rtemspie.eps: $(top_srcdir)/user/rtemspie.eps
$(LN_S) $<
states.eps: $(top_srcdir)/user/states.eps
$(LN_S) $<
CLEANFILES += rtemspie.eps states.eps
rtemsarc.png: $(top_srcdir)/user/rtemsarc.png
$(LN_S) $<
rtemspie.png: $(top_srcdir)/user/rtemspie.png
$(LN_S) $<
states.png: $(top_srcdir)/user/states.png
$(LN_S) $<
CLEANFILES += rtemsarc.png rtemspie.png states.png
info_TEXINFOS = ada_user.texi
ada_user_TEXINFOS = $(FILES) $(COMMON_FILES) $(GENERATED_FILES)
if USE_HTML
html_project_DATA += rtemsarc.png rtemspie.png states.png
endif
$(PROJECT).dvi: rtemspie.eps states.eps
$(PROJECT).pdf: rtemspie.pdf states.pdf
BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Executable
+128
View File
@@ -0,0 +1,128 @@
#!/bin/sh
#
# helps bootstrapping, when checked out from CVS
# requires GNU autoconf and GNU automake
#
# $Id$
progname=`basename $0`
top_srcdir=`dirname $0`
verbose="";
quiet="false"
mode="generate"
usage()
{
echo
echo "usage: ${progname} [-h|-q|-v]"
echo
echo "options:"
echo " -h .. display this message and exit";
echo " -q .. quiet, don't display directories";
echo " -v .. verbose, pass -v to automake when invoking automake"
echo " -c .. clean, remove all aclocal/autoconf/automake generated files"
echo
exit 1;
}
generate()
{
dir=$1
amopts=$2
aclocal_amflags=$3
( test "$quiet" = "true" || echo "$dir";
cd $dir;
aclocal $aclocal_amflags
autoconf
test -n "`grep CONFIG_HEADER configure.in`" && autoheader ;
test -f Makefile.am && automake $amopts ;
test -f Makefile.am && test -n "`grep 'stamp-h\.in' Makefile.in`" \
&& echo timestamp > stamp-h.in
)
}
while test $# -gt 0; do
case $1 in
-h|--he|--hel|--help)
usage ;;
-q|--qu|--qui|--quie|--quiet)
quiet="true";
shift;;
-v|--ve|--ver|--verb|--verbo|--verbos|--verbose)
verbose="-v";
shift;;
-c|--cl|--cle|--clea|--clean)
mode="clean";
shift;;
-*) echo "unknown option $1" ;
usage ;;
*) echo "invalid parameter $1" ;
usage ;;
esac
done
case $mode in
generate)
case $top_srcdir in
/* ) aclocal_dir=$top_srcdir/aclocal
;;
*) aclocal_dir=`pwd`/$top_srcdir/aclocal
;;
esac
if test -d $aclocal_dir; then
aclocal_amflags="-I $aclocal_dir"
fi
confs=`find . -name 'configure.in' -print | sort`
for i in $confs; do
dir=`dirname $i`;
generate $dir "-a $verbose" "$aclocal_amflags";
done
;;
clean)
test "$quiet" = "$true" || echo "removing automake support files"
find . -name 'config.guess' -print | xargs rm -f
find . -name 'config.sub' -print | xargs rm -f
find . -name 'install-sh' -print | xargs rm -f
find . -name 'missing' -print | xargs rm -f
find . -name 'mkinstalldirs' -print | xargs rm -f
test "$quiet" = "true" || echo "removing automake generated Makefile.in files"
files=`find . -name 'Makefile.am' -print | sed -e 's%\.am%\.in%g'` ;
for i in $files; do if test -f $i; then
rm -f $i
test "$verbose" = "-v" && echo "$i"
fi; done
test "$quiet" = "true" || echo "removing configure files"
files=`find . -name 'configure' -print` ;
test "$verbose" = "-v" && test -n "$files" && echo "$files" ;
for i in $files; do if test -f $i; then
rm -f $i
test "$verbose" = "-v" && echo "$i"
fi; done
test "$quiet" = "true" || echo "removing aclocal.m4 files"
files=`find . -name 'aclocal.m4' -print` ;
test "$verbose" = "-v" && test -n "$files" && echo "$files" ;
for i in $files; do if test -f $i; then
rm -f $i
test "$verbose" = "-v" && echo "$i"
fi; done
find . -name '*~' -print | xargs rm -f
find . -name '*.orig' -print | xargs rm -f
find . -name '*.rej' -print | xargs rm -f
find . -name 'config.status' -print | xargs rm -f
find . -name 'config.log' -print | xargs rm -f
find . -name 'config.cache' -print | xargs rm -f
find . -name 'Makefile' -print | xargs rm -f
find . -name '.deps' -print | xargs rm -rf
find . -name '.libs' -print | xargs rm -rf
find . -name 'stamp-h.in' | xargs rm -rf
;;
esac
-152
View File
@@ -1,152 +0,0 @@
#
# COPYRIGHT (c) 1988-1999.
# On-Line Applications Research Corporation (OAR).
# All rights reserved.
#
# $Id$
#
PROJECT=bsp_howto
include ../Make.config
all: html info ps pdf
dirs:
$(make-dirs)
COMMON_FILES=../common/cpright.texi ../common/setup.texi
GENERATED_FILES= \
intro.texi target.texi makefiles.texi linkcmds.texi support.texi \
adaintr.texi init.texi console.texi clock.texi timer.texi rtc.texi \
nvmem.texi network.texi shmsupp.texi analog.texi discrete.texi
FILES=$(PROJECT).texi $(GENERATED_FILES)
INFOFILES=$(wildcard $(PROJECT) $(PROJECT)-*)
info: dirs $(PROJECT)
#cp $(wildcard $(PROJECT) $(PROJECT)-*) $(INFO_INSTALL)
# cp $(PROJECT) $(INFO_INSTALL)
$(PROJECT): $(FILES)
$(MAKEINFO) $(PROJECT).texi
dvi: dirs $(PROJECT).dvi
ps: dirs $(PROJECT).ps
pdf: dirs $(PROJECT).pdf
$(PROJECT).pdf: $(FILES)
$(TEXI2PDF) $(PROJECT).texi
cp $(PROJECT).pdf $(WWW_INSTALL)/$(PROJECT)
$(PROJECT).ps: $(PROJECT).dvi
dvips -o $(PROJECT).ps $(PROJECT).dvi
cp $(PROJECT).ps $(WWW_INSTALL)/$(PROJECT)
$(PROJECT).dvi: $(FILES)
$(TEXI2DVI) $(PROJECT).texi
cp $(PROJECT).dvi $(WWW_INSTALL)/$(PROJECT)
html: dirs $(FILES)
-mkdir -p $(WWW_INSTALL)/$(PROJECT)
$(TEXI2WWW) $(TEXI2WWW_ARGS) -dir $(WWW_INSTALL)/$(PROJECT) \
$(PROJECT).texi
clean:
rm -f *.o $(PROG) *.txt core $(PROJECT).pdf
rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE)
rm -f $(PROJECT) $(PROJECT)-* $(GENERATED_FILES)
rm -f *.fixed _* network.t
#
# Grab the chapter on writing a network device driver.
#
network.t:
ln -s ../networking/driver.t network.t
#
# Process Automatically Generated Files
#
intro.texi: intro.t Makefile
$(BMENU) -p "Top" \
-u "Top" \
-n "Target Dependent Files" ${*}.t
target.texi: target.t Makefile
$(BMENU) -p "Introduction" \
-u "Top" \
-n "Makefiles" ${*}.t
makefiles.texi: makefiles.t Makefile
$(BMENU) -p "Target Dependent Files Board Support Package Structure" \
-u "Top" \
-n "Linker Script" ${*}.t
linkcmds.texi: linkcmds.t Makefile
$(BMENU) -p "Makefiles Creating a New BSP Make Customization File" \
-u "Top" \
-n "Ada95 Interrupt Support" ${*}.t
adaintr.texi: adaintr.t Makefile
$(BMENU) -p "Linker Script Initialized Data" \
-u "Top" \
-n "Miscellaneous Support Files" ${*}.t
support.texi: support.t Makefile
$(BMENU) -p "Ada95 Interrupt Support Version Requirements" \
-u "Top" \
-n "" ${*}.t
init.texi: init.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
console.texi: console.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
clock.texi: clock.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
timer.texi: timer.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
rtc.texi: rtc.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
nvmem.texi: nvmem.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
network.texi: network.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
shmsupp.texi: shmsupp.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
analog.texi: analog.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
discrete.texi: discrete.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
+118
View File
@@ -0,0 +1,118 @@
#
# COPYRIGHT (c) 1988-1999.
# On-Line Applications Research Corporation (OAR).
# All rights reserved.
#
# $Id$
#
AUTOMAKE_OPTIONS = foreign
PROJECT=bsp_howto
include $(top_srcdir)/project.am
COMMON_FILES=$(top_srcdir)/common/cpright.texi $(top_builddir)/common/setup.texi
GENERATED_FILES= \
intro.texi target.texi makefiles.texi linkcmds.texi support.texi \
adaintr.texi init.texi console.texi clock.texi timer.texi rtc.texi \
nvmem.texi network.texi shmsupp.texi analog.texi discrete.texi
FILES=
info_TEXINFOS = bsp_howto.texi
bsp_howto_TEXINFOS = $(FILES) $(COMMON_FILES) $(GENERATED_FILES)
#
# Grab the chapter on writing a network device driver.
#
network.t:
ln -s ../networking/driver.t network.t
#
# Process Automatically Generated Files
#
intro.texi: intro.t
$(BMENU) -p "Top" \
-u "Top" \
-n "Target Dependent Files" $<
target.texi: target.t
$(BMENU) -p "Introduction" \
-u "Top" \
-n "Makefiles" $<
makefiles.texi: makefiles.t
$(BMENU) -p "Target Dependent Files Board Support Package Structure" \
-u "Top" \
-n "Linker Script" $<
linkcmds.texi: linkcmds.t
$(BMENU) -p "Makefiles Creating a New BSP Make Customization File" \
-u "Top" \
-n "Ada95 Interrupt Support" $<
adaintr.texi: adaintr.t
$(BMENU) -p "Linker Script Initialized Data" \
-u "Top" \
-n "Miscellaneous Support Files" $<
support.texi: support.t
$(BMENU) -p "Ada95 Interrupt Support Version Requirements" \
-u "Top" \
-n "" $<
init.texi: init.t
$(BMENU) -p "" \
-u "Top" \
-n "" $<
console.texi: console.t
$(BMENU) -p "" \
-u "Top" \
-n "" $<
clock.texi: clock.t
$(BMENU) -p "" \
-u "Top" \
-n "" $<
timer.texi: timer.t
$(BMENU) -p "" \
-u "Top" \
-n "" $<
rtc.texi: rtc.t
$(BMENU) -p "" \
-u "Top" \
-n "" $<
nvmem.texi: nvmem.t
$(BMENU) -p "" \
-u "Top" \
-n "" $<
network.texi: network.t
$(BMENU) -p "" \
-u "Top" \
-n "" $<
shmsupp.texi: shmsupp.t
$(BMENU) -p "" \
-u "Top" \
-n "" $<
analog.texi: analog.t
$(BMENU) -p "" \
-u "Top" \
-n "" $<
discrete.texi: discrete.t
$(BMENU) -p "" \
-u "Top" \
-n "" $<
EXTRA_DIST = *.t
+342
View File
@@ -0,0 +1,342 @@
@c
@c Written by Eric Norum
@c
@c COPYRIGHT (c) 1988-1999.
@c On-Line Applications Research Corporation (OAR).
@c All rights reserved.
@c
@c $Id$
@c
@chapter Networking Driver
@section Introduction
This chapter is intended to provide an introduction to the
procedure for writing RTEMS network device drivers.
The example code is taken from the `Generic 68360' network device
driver. The source code for this driver is located in the
@code{c/src/lib/libbsp/m68k/gen68360/network} directory in the RTEMS
source code distribution. Having a copy of this driver at
hand when reading the following notes will help significantly.
@section Learn about the network device
Before starting to write the network driver become completely
familiar with the programmer's view of the device.
The following points list some of the details of the
device that must be understood before a driver can be written.
@itemize @bullet
@item Does the device use DMA to transfer packets to and from
memory or does the processor have to
copy packets to and from memory on the device?
@item If the device uses DMA, is it capable of forming a single
outgoing packet from multiple fragments scattered in separate
memory buffers?
@item If the device uses DMA, is it capable of chaining multiple
outgoing packets, or does each outgoing packet require
intervention by the driver?
@item Does the device automatically pad short frames to the minimum
64 bytes or does the driver have to supply the padding?
@item Does the device automatically retry a transmission on detection
of a collision?
@item If the device uses DMA, is it capable of buffering multiple
packets to memory, or does the receiver have to be restarted
after the arrival of each packet?
@item How are packets that are too short, too long, or received with
CRC errors handled? Does the device automatically continue
reception or does the driver have to intervene?
@item How is the device Ethernet address set? How is the device
programmed to accept or reject broadcast and multicast packets?
@item What interrupts does the device generate? Does it generate an
interrupt for each incoming packet, or only for packets received
without error? Does it generate an interrupt for each packet
transmitted, or only when the transmit queue is empty? What
happens when a transmit error is detected?
@end itemize
In addition, some controllers have specific questions regarding
board specific configuration. For example, the SONIC Ethernet
controller has a very configurable data bus interface. It can
even be configured for sixteen and thirty-two bit data buses. This
type of information should be obtained from the board vendor.
@section Understand the network scheduling conventions
When writing code for the driver transmit and receive tasks,
take care to follow the network scheduling conventions. All tasks
which are associated with networking share various
data structures and resources. To ensure the consistency
of these structures the tasks
execute only when they hold the network semaphore (@code{rtems_bsdnet_semaphore}).
The transmit and receive tasks must abide by this protocol. Be very
careful to avoid `deadly embraces' with the other network tasks.
A number of routines are provided to make it easier for the network
driver code to conform to the network task scheduling conventions.
@itemize @bullet
@item @code{void rtems_bsdnet_semaphore_release(void)}
This function releases the network semaphore.
The network driver tasks must call this function immediately before
making any blocking RTEMS request.
@item @code{void rtems_bsdnet_semaphore_obtain(void)}
This function obtains the network semaphore.
If a network driver task has released the network semaphore to allow other
network-related tasks to run while the task blocks, then this function must
be called to reobtain the semaphore immediately after the return from the
blocking RTEMS request.
@item @code{rtems_bsdnet_event_receive(rtems_event_set, rtems_option, rtems_interval, rtems_event_set *)}
The network driver task should call this function when it wishes to wait
for an event. This function releases the network semaphore,
calls @code{rtems_event_receive} to wait for the specified event
or events and reobtains the semaphore.
The value returned is the value returned by the @code{rtems_event_receive}.
@end itemize
@section Network Driver Makefile
Network drivers are considered part of the BSD network package and as such
are to be compiled with the appropriate flags. This can be accomplished by
adding @code{-D__INSIDE_RTEMS_BSD_TCPIP_STACK__} to the @code{command line}.
If the driver is inside the RTEMS source tree or is built using the
RTEMS application Makefiles, then adding the following line accomplishes
this:
@example
DEFINES += -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
@end example
This is equivalent to the following list of definitions. Early versions
of the RTEMS BSD network stack required that all of these be defined.
@example
-D_COMPILING_BSD_KERNEL_ -DKERNEL -DINET -DNFS \
-DDIAGNOSTIC -DBOOTP_COMPAT
@end example
Defining these macros tells the network header files that the driver
is to be compiled with extended visibility into the network stack. This
is in sharp contrast to applications that simply use the network stack.
Applications do not require this level of visibility and should stick
to the portable application level API.
As a direct result of being logically internal to the network stack,
network drivers use the BSD memory allocation routines This means,
for example, that malloc takes three arguments. See the SONIC
device driver (@code{c/src/lib/libchip/network/sonic.c}) for an example
of this. Because of this, network drivers should not include
@code{<stdlib.h>}. Doing so will result in conflicting definitions
of @code{malloc()}.
@b{Application level} code including network servers such as the FTP
daemon are @b{not} part of the BSD kernel network code and should not be
compiled with the BSD network flags. They should include
@code{<stdlib.h>} and not define the network stack visibility
macros.
@section Write the Driver Attach Function
The driver attach function is responsible for configuring the driver
and making the connection between the network stack
and the driver.
Driver attach functions take a pointer to an
@code{rtems_bsdnet_ifconfig} structure as their only argument.
and set the driver parameters based on the
values in this structure. If an entry in the configuration
structure is zero the attach function chooses an
appropriate default value for that parameter.
The driver should then set up several fields in the ifnet structure
in the device-dependent data structure supplied and maintained by the driver:
@table @code
@item ifp->if_softc
Pointer to the device-dependent data. The first entry
in the device-dependent data structure must be an @code{arpcom}
structure.
@item ifp->if_name
The name of the device. The network stack uses this string
and the device number for device name lookups. The device name should
be obtained from the @code{name} entry in the configuration structure.
@item ifp->if_unit
The device number. The network stack uses this number and the
device name for device name lookups. For example, if
@code{ifp->if_name} is @samp{scc} and @code{ifp->if_unit} is @samp{1},
the full device name would be @samp{scc1}. The unit number should be
obtained from the `name' entry in the configuration structure.
@item ifp->if_mtu
The maximum transmission unit for the device. For Ethernet
devices this value should almost always be 1500.
@item ifp->if_flags
The device flags. Ethernet devices should set the flags
to @code{IFF_BROADCAST|IFF_SIMPLEX}, indicating that the
device can broadcast packets to multiple destinations
and does not receive and transmit at the same time.
@item ifp->if_snd.ifq_maxlen
The maximum length of the queue of packets waiting to be
sent to the driver. This is normally set to @code{ifqmaxlen}.
@item ifp->if_init
The address of the driver initialization function.
@item ifp->if_start
The address of the driver start function.
@item ifp->if_ioctl
The address of the driver ioctl function.
@item ifp->if_output
The address of the output function. Ethernet devices
should set this to @code{ether_output}.
@end table
RTEMS provides a function to parse the driver name in the
configuration structure into a device name and unit number.
@example
int rtems_bsdnet_parse_driver_name (
const struct rtems_bsdnet_ifconfig *config,
char **namep
);
@end example
The function takes two arguments; a pointer to the configuration
structure and a pointer to a pointer to a character. The function
parses the configuration name entry, allocates memory for the driver
name, places the driver name in this memory, sets the second argument
to point to the name and returns the unit number.
On error, a message is printed and -1 is returned.
Once the attach function has set up the above entries it must link the
driver data structure onto the list of devices by
calling @code{if_attach}. Ethernet devices should then
call @code{ether_ifattach}. Both functions take a pointer to the
device's @code{ifnet} structure as their only argument.
The attach function should return a non-zero value to indicate that
the driver has been successfully configured and attached.
@section Write the Driver Start Function.
This function is called each time the network stack wants to start the
transmitter. This occures whenever the network stack adds a packet
to a device's send queue and the @code{IFF_OACTIVE} bit in the
device's @code{if_flags} is not set.
For many devices this function need only set the @code{IFF_OACTIVE} bit in the
@code{if_flags} and send an event to the transmit task
indicating that a packet is in the driver transmit queue.
@section Write the Driver Initialization Function.
This function should initialize the device, attach to interrupt handler,
and start the driver transmit and receive tasks. The function
@example
rtems_id
rtems_bsdnet_newproc (char *name,
int stacksize,
void(*entry)(void *),
void *arg);
@end example
should be used to start the driver tasks.
Note that the network stack may call the driver initialization function more
than once.
Make sure multiple versions of the receive and transmit tasks are not accidentally
started.
@section Write the Driver Transmit Task
This task is reponsible for removing packets from the driver send queue and sending them to the device. The task should block waiting for an event from the
driver start function indicating that packets are waiting to be transmitted.
When the transmit task has drained the driver send queue the task should clear
the @code{IFF_OACTIVE} bit in @code{if_flags} and block until another outgoing
packet is queued.
@section Write the Driver Receive Task
This task should block until a packet arrives from the device. If the
device is an Ethernet interface the function @code{ether_input} should be called
to forward the packet to the network stack. The arguments to @code{ether_input}
are a pointer to the interface data structure, a pointer to the ethernet
header and a pointer to an mbuf containing the packet itself.
@section Write the Driver Interrupt Handler
A typical interrupt handler will do nothing more than the hardware
manipulation required to acknowledge the interrupt and send an RTEMS event
to wake up the driver receive or transmit task waiting for the event.
Network interface interrupt handlers must not make any calls to other
network routines.
@section Write the Driver IOCTL Function
This function handles ioctl requests directed at the device. The ioctl
commands which must be handled are:
@table @code
@item SIOCGIFADDR
@item SIOCSIFADDR
If the device is an Ethernet interface these
commands should be passed on to @code{ether_ioctl}.
@item SIOCSIFFLAGS
This command should be used to start or stop the device,
depending on the state of the interface @code{IFF_UP} and
@code{IFF_RUNNING} bits in @code{if_flags}:
@table @code
@item IFF_RUNNING
Stop the device.
@item IFF_UP
Start the device.
@item IFF_UP|IFF_RUNNING
Stop then start the device.
@item 0
Do nothing.
@end table
@end table
@section Write the Driver Statistic-Printing Function
This function should print the values of any statistic/diagnostic
counters the network driver may use. The driver ioctl function should call
the statistic-printing function when the ioctl command is
@code{SIO_RTEMS_SHOW_STATS}.
+8
View File
@@ -0,0 +1,8 @@
## $Id$
AUTOMAKE_OPTIONS = foreign
EXTRA_DIST = \
cpright.texi timemac.texi \
timetbl.t treedef.tex wksheets.t timing.t
+1 -1
View File
@@ -17,7 +17,7 @@
@end tex
@vskip 0pt plus 1filll
COPYRIGHT @copyright{} 1988 - 1999.@*
COPYRIGHT @copyright{} 1988 - 2000.@*
On-Line Applications Research Corporation (OAR).@*
The authors have used their best efforts in preparing
Binary file not shown.

Before

Width:  |  Height:  |  Size: 156 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 249 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 173 B

BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 244 B

@@ -10,11 +10,11 @@
@c Set Variables
@c
@set RTEMS-RELEASE 4.5-beta2
@set RTEMS-RELEASE @RTEMS_RELEASE@
@set RTEMS-EDITION 1
@set RTEMS-VERSION 4.5-beta2
@set RTEMS-UPDATE-DATE April 13 2000
@set RTEMS-UPDATE-MONTH April 2000
@set RTEMS-VERSION @RTEMS_VERSION@
@set RTEMS-UPDATE-DATE February 23 2000
@set RTEMS-UPDATE-MONTH February 2000
@c
@c The following determines which set of the tables and figures we will use.
Binary file not shown.

Before

Width:  |  Height:  |  Size: 264 B

+152
View File
@@ -0,0 +1,152 @@
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.13)
AC_INIT(project.am)
AM_INIT_AUTOMAKE(rtemsdoc,4.5.0-beta2,no)
RTEMS_VERSION="$VERSION"
AC_SUBST(RTEMS_VERSION)
RTEMS_RELEASE="4.5.0"
AC_SUBST(RTEMS_RELEASE)
AC_ARG_ENABLE(html,
[ --disable-html disable html support ],
[case $enableval in
yes) ;;
no) ;;
*) AC_MSG_ERROR("invalid value");;
esac],
[enable_html="yes"]
)
AC_ARG_ENABLE(dvi,
[ --disable-dvi disable dvi support ],
[case $enableval in
yes) ;;
no) ;;
*) AC_MSG_ERROR("invalid value");;
esac],
[enable_dvi="yes"]
)
AC_ARG_ENABLE(pdf,
[ --disable-pdf disable pdf support ],
[case $enableval in
yes) ;;
no) ;;
*) AC_MSG_ERROR("invalid value");;
esac],
[enable_pdf="yes"]
)
AC_ARG_ENABLE(ps,
[ --disable-ps disable ps support ],
[case $enableval in
yes) ;;
no) ;;
*) AC_MSG_ERROR("invalid value");;
esac],
[enable_ps="yes"]
)
htmldir='$(pkgdatadir)/html'
AC_SUBST(htmldir)
dnl Checks for programs.
AC_PROG_LN_S
AC_CHECK_PROGS(PERL,perl)
TEXI2WWW='$(PERL) $(top_srcdir)/tools/texi2www/texi2www'
AC_SUBST(TEXI2WWW)
AC_CHECK_PROGS(GS,gs)
AM_CONDITIONAL(GS,test x"$GS" != x"")
# TEXI2DVI='$(PERL) $(top_srcdir)/tools/texi2www/texi2dvi'
AC_CHECK_PROGS(TEXI2DVI,texi2dvi)
AM_CONDITIONAL(TEXI2DVI,test x"$TEXI2DVI" != x"")
if test "$enable_pdf" = "yes"; then
AC_CHECK_PROGS(EPSTOPDF,epstopdf)
AM_CONDITIONAL(EPSTOPDF,test x"$EPSTOPDF" != x"")
AC_CHECK_PROGS(TEXI2PDF,texi2pdf)
AM_CONDITIONAL(TEXI2PDF,test x"$TEXI2PDF" != x"")
fi
AM_CONDITIONAL(USE_HTML,
test "$enable_html" = "yes" \
&& test x"PERL" != x"" )
AM_CONDITIONAL(USE_DVI,
test "$enable_dvi" = "yes" \
&& test x"$TEXI2DVI" != x"" )
AM_CONDITIONAL(USE_PS,
test "$enable_ps" = "yes" \
&& test x"$TEXI2DVI" != x"" )
AM_CONDITIONAL(USE_PDF,
test "$enable_pdf" = "yes" \
&& test x"$TEXI2DVI" != x"" \
&& test x"$TEXI2PDF" != x"" )
AM_CONDITIONAL(USE_EXP, test x=y )
BMENU='$(top_builddir)/tools/bmenu/bmenu'
AC_SUBST(BMENU)
dnl Checks for libraries.
dnl Checks for header files.
dnl Checks for typedefs, structures, and compiler characteristics.
dnl Checks for library functions.
AC_CONFIG_SUBDIRS(tools)
AC_OUTPUT(
Makefile
rtems_header.html
rtems_footer.html
rtems_support.html
index.html
images/Makefile
common/Makefile
common/setup.texi
FAQ/Makefile
develenv/Makefile
user/Makefile
bsp_howto/Makefile
started/Makefile
started/pictures/Makefile
porting/Makefile
networking/Makefile
posix_users/Makefile
posix1003.1/Makefile
filesystem/Makefile
itron3.0/Makefile
ada_user/Makefile
started_ada/Makefile
rtems_gdb/Makefile
rgdb_specs/Makefile
relnotes/Makefile
new_chapters/Makefile
supplements/Makefile
supplements/hppa1_1/Makefile
supplements/i386/Makefile
supplements/i960/Makefile
supplements/m68k/Makefile
supplements/mips64orion/Makefile
supplements/powerpc/Makefile
supplements/sh/Makefile
supplements/sparc/Makefile
supplements/template/Makefile
gnu_docs/Makefile
src2html/Makefile
)
-54
View File
@@ -1,54 +0,0 @@
#
# COPYRIGHT (c) 1988-1999.
# On-Line Applications Research Corporation (OAR).
# All rights reserved.
#
# $Id$
#
PROJECT=develenv
include ../Make.config
all: html info ps pdf
dirs:
$(make-dirs)
COMMON_FILES=../common/cpright.texi
FILES=compile.texi $(PROJECT).texi direct.texi intro.texi sample.texi utils.texi
info: dirs $(PROJECT)
cp $(PROJECT) $(INFO_INSTALL)
$(PROJECT): $(FILES)
$(MAKEINFO) $(PROJECT).texi
dvi: dirs $(PROJECT).dvi
ps: dirs $(PROJECT).ps
pdf: dirs $(PROJECT).pdf
$(PROJECT).pdf: $(FILES)
$(TEXI2PDF) $(PROJECT).texi
cp $(PROJECT).pdf $(WWW_INSTALL)/$(PROJECT)
$(PROJECT).ps: $(PROJECT).dvi
dvips -o $(PROJECT).ps $(PROJECT).dvi
cp $(PROJECT).ps $(WWW_INSTALL)/$(PROJECT)
$(PROJECT).dvi: $(FILES)
$(TEXI2DVI) $(PROJECT).texi
cp $(PROJECT).dvi $(WWW_INSTALL)/$(PROJECT)
html: dirs
-mkdir -p $(WWW_INSTALL)/$(PROJECT)
-cd .. ; gmake headers
$(TEXI2WWW) $(TEXI2WWW_ARGS) -dir $(WWW_INSTALL)/$(PROJECT) \
$(PROJECT).texi
clean:
rm -f *.o $(PROG) *.txt core *.html $(PROJECT).pdf
rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE)
rm -f $(PROJECT) $(PROJECT)-* _*
+22
View File
@@ -0,0 +1,22 @@
#
# COPYRIGHT (c) 1988-1999.
# On-Line Applications Research Corporation (OAR).
# All rights reserved.
#
# $Id$
#
AUTOMAKE_OPTIONS = foreign
PROJECT=develenv
include $(top_srcdir)/project.am
COMMON_FILES = $(top_srcdir)/common/cpright.texi
FILES = compile.texi direct.texi intro.texi sample.texi utils.texi
GENERATED_FILES =
info_TEXINFOS = develenv.texi
develenv_TEXINFOS = $(FILES) $(COMMON_FILES) $(GENERATED_FILES)
-53
View File
@@ -1,53 +0,0 @@
#! /bin/sh
#
# $Id$
#
basedir=$1
shift
# classes of documents
supplements="supplements/hppa1_1 supplements/i386 \
supplements/i960 supplements/m68k supplements/sparc supplements/powerpc"
# relnotes is obsolete
# Division by access level
public_docs="FAQ user develenv networking posix_users itron3.0 \
started started_ada rtems_gdb rgdb_specs"
support_docs="${supplements} bsp_howto filesystem porting ada_user posix1003.1"
if [ x${MANUAL_SET} = x ] ; then
MANUAL_SET=public
fi
case ${MANUAL_SET} in
public)
# manuals="$public_docs"
# ;;
#support)
manuals="$public_docs $support_docs"
;;
*)
echo "ERROR: Unknown manual set ${MANUAL_SET}"
exit 1
;;
esac
for action in $*
do
for manual in $manuals
do
if [ x${TEST} = xyes ] ; then
echo "TEST *** make $action on ${basedir}/${manual} ***"
else
echo
echo "*** make $action on ${basedir}/${manual} ***"
echo
cd ${basedir}/${manual}
gmake $action || exit $?
fi
done
done
exit 0
-120
View File
@@ -1,120 +0,0 @@
#
# COPYRIGHT (c) 1988-1999.
# On-Line Applications Research Corporation (OAR).
# All rights reserved.
#
# $Id$
#
PROJECT=filesystem
include ../Make.config
REPLACE=../tools/word-replace
BMENU+= -c
all: html info ps pdf
dirs:
$(make-dirs)
COMMON_FILES=../common/cpright.texi ../common/setup.texi
GENERATED_FILES=patheval.texi \
init.texi mounting.texi syscalls.texi fsrequirements.texi imfs.texi \
miniimfs.texi tftp.texi
FILES= $(PROJECT).texi \
preface.texi $(GENERATED_FILES)
INFOFILES=$(wildcard $(PROJECT) $(PROJECT)-*)
info: dirs $(PROJECT)
#cp $(wildcard $(PROJECT) $(PROJECT)-*) $(INFO_INSTALL)
cp $(PROJECT) $(INFO_INSTALL)
$(PROJECT): $(FILES)
$(MAKEINFO) $(PROJECT).texi
dvi: dirs $(PROJECT).dvi
ps: dirs $(PROJECT).ps
pdf: dirs $(PROJECT).pdf
$(PROJECT).pdf: $(FILES)
$(TEXI2PDF) $(PROJECT).texi
cp $(PROJECT).pdf $(WWW_INSTALL)/$(PROJECT)
$(PROJECT).ps: $(PROJECT).dvi
dvips -o $(PROJECT).ps $(PROJECT).dvi
cp $(PROJECT).ps $(WWW_INSTALL)/$(PROJECT)
$(PROJECT).dvi: $(FILES)
$(TEXI2DVI) $(PROJECT).texi
cp $(PROJECT).dvi $(WWW_INSTALL)/$(PROJECT)
patheval.texi: patheval.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
init.texi: init.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
mounting.texi: mounting.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
syscalls.texi: syscalls.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
fsrequirements.texi: fsrequirements.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
imfs.texi: imfs.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
miniimfs.texi: miniimfs.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
tftp.texi: tftp.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
html: dirs $(FILES)
-mkdir -p $(WWW_INSTALL)/$(PROJECT)
# rm -f $(WWW_INSTALL)/$(PROJECT)/networkflow.jpg
# rm -f $(WWW_INSTALL)/$(PROJECT)/networkflow.png
# rm -f $(WWW_INSTALL)/$(PROJECT)/PCIreg.jpg
# cp recvbd.jpg $(WWW_INSTALL)/$(PROJECT)/recvbd.jpg
# cp networkflow.jpg $(WWW_INSTALL)/$(PROJECT)/networkflow.jpg
# cp networkflow.png $(WWW_INSTALL)/$(PROJECT)/networkflow.png
# cp PCIreg.jpg $(WWW_INSTALL)/$(PROJECT)/PCIreg.jpg
$(TEXI2WWW) $(TEXI2WWW_ARGS) -dir $(WWW_INSTALL)/$(PROJECT) \
$(PROJECT).texi
clean:
rm -f *.o $(PROG) *.txt core $(PROJECT).pdf
rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE)
rm -f $(PROJECT) $(PROJECT)-* $(GENERATED_FILES)
rm -f networking networking-*
rm -f timedata.texi timetbl.texi intr.texi wksheets.texi
rm -f timetbl.t wksheets.t
rm -f *.fixed _*
convert:
# /usr/bin/gs -dMaxBitmap=300000000 -g5500x7500 -sDEVICE=pdfwrite -q -dNOPAUSE -dSAFER -sOutputFile=networkflow.pdf -- networkflow.eps -c -quit
# /usr/bin/gs -dMaxBitmap=300000000 -g4500x5500 -sDEVICE=pdfwrite -q -dNOPAUSE -dSAFER -sOutputFile=PCIreg.pdf -- PCIreg.eps -c -quit
# /usr/bin/gs -dMaxBitmap=300000000 -g4500x5500 -sDEVICE=pdfwrite -q -dNOPAUSE -dSAFER -sOutputFile=recvbd.pdf -- recvbd.eps -c -quit
+68
View File
@@ -0,0 +1,68 @@
#
# COPYRIGHT (c) 1988-1999.
# On-Line Applications Research Corporation (OAR).
# All rights reserved.
#
# $Id$
#
AUTOMAKE_OPTIONS = foreign
PROJECT=filesystem
include $(top_srcdir)/project.am
BMENU+= -c
COMMON_FILES=$(top_srcdir)/common/cpright.texi $(top_builddir)/common/setup.texi
GENERATED_FILES=patheval.texi \
init.texi mounting.texi syscalls.texi fsrequirements.texi imfs.texi \
miniimfs.texi tftp.texi
FILES= preface.texi
info_TEXINFOS = filesystem.texi
filesystem_TEXINFOS = $(FILES) $(COMMON_FILES) $(GENERATED_FILES)
patheval.texi: patheval.t
$(BMENU) -p "" \
-u "Top" \
-n "" $<
init.texi: init.t
$(BMENU) -p "" \
-u "Top" \
-n "" $<
mounting.texi: mounting.t
$(BMENU) -p "" \
-u "Top" \
-n "" $<
syscalls.texi: syscalls.t
$(BMENU) -p "" \
-u "Top" \
-n "" $<
fsrequirements.texi: fsrequirements.t
$(BMENU) -p "" \
-u "Top" \
-n "" $<
imfs.texi: imfs.t
$(BMENU) -p "" \
-u "Top" \
-n "" $<
miniimfs.texi: miniimfs.t
$(BMENU) -p "" \
-u "Top" \
-n "" $<
tftp.texi: tftp.t
$(BMENU) -p "" \
-u "Top" \
-n "" $<
EXTRA_DIST = *.t
+13
View File
@@ -0,0 +1,13 @@
## $Id$
AUTOMAKE_OPTIONS = foreign
EXTRA_DIST = \
gnu_footer.html \
mk_install_dir \
Tool_Doc_Instructions \
gnu_header.html \
refcard.html \
gen_docs \
index.html \
rtems_tools_index.html
-275
View File
@@ -1,275 +0,0 @@
<HTML>
<HEAD><TITLE>RTEMS RTEMS_VERSION On-Line Library</TITLE></HEAD>
<BODY BGCOLOR="FFFFFF">
<A HREF="http://www.oarcorp.com" target="Text Frame">
<IMG align=right BORDER=0 SRC="oaronly.jpg" ALT="OAR"> </A>
<H1>RTEMS RTEMS_VERSION On-Line Library</H1>
<HR>
<BODY>
<MENU>
<LI>
<A HREF="FAQ/FAQ.pdf">
<IMG SRC="pdf1.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="FAQ/FAQ.ps">
<IMG SRC="ps.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="FAQ/FAQ.dvi">
<IMG SRC="dvi.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="FAQ/index.html">RTEMS FAQ</A>
</LI>
<LI>C/C++ Manuals</LI>
<MENU>
<LI><A HREF="BAD.html">
<IMG SRC="pdf1.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="started/started.ps">
<IMG SRC="ps.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="started/started.dvi">
<IMG SRC="dvi.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="started/index.html">
Getting Started with RTEMS for C/C++ Users</A>
</LI>
<LI><A HREF="c_user/c_user.pdf">
<IMG SRC="pdf1.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="c_user/c_user.ps">
<IMG SRC="ps.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="c_user/c_user.dvi">
<IMG SRC="dvi.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="c_user/index.html">
RTEMS Applications C User's Guide</A>
</LI>
<LI><A HREF="posix_users/posix_users.pdf">
<IMG SRC="pdf1.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="posix_users/posix_users.ps">
<IMG SRC="ps.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="posix_users/posix_users.dvi">
<IMG SRC="dvi.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="posix_users/index.html">
RTEMS POSIX API User's Guide</A>
</LI>
<LI><A HREF="itron/itron.pdf">
<IMG SRC="pdf1.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="itron/itron.ps">
<IMG SRC="ps.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="itron/itron.dvi">
<IMG SRC="dvi.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="itron/index.html">
RTEMS ITRON 3.0 API User's Guide</A>
</LI>
<LI><A HREF="networking/networking.pdf">
<IMG SRC="pdf1.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="networking/networking.ps">
<IMG SRC="ps.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="networking/networking.dvi">
<IMG SRC="dvi.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="networking/index.html">
RTEMS Network Supplement</A>
</LI>
</MENU>
<LI>Ada Manuals</LI>
<MENU>
<LI><A HREF="BAD.html">
<IMG SRC="pdf1.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="started_ada/started_ada.ps">
<IMG SRC="ps.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="started_ada/started_ada.dvi">
<IMG SRC="dvi.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="started_ada/index.html">
Getting Started with GNAT/RTEMS</A>
</LI>
<LI><A HREF="ada_user/ada_user.pdf">
<IMG SRC="pdf1.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="ada_user/ada_user.ps">
<IMG SRC="ps.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="ada_user/ada_user.dvi">
<IMG SRC="dvi.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="ada_user/index.html">
RTEMS Applications Ada User's Guide</A>
</LI>
</MENU>
<LI>Miscellaneous Manuals</LI>
<MENU>
<LI><A HREF="develenv/develenv.pdf">
<IMG SRC="pdf1.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="develenv/develenv.ps">
<IMG SRC="ps.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="develenv/develenv.dvi">
<IMG SRC="dvi.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="develenv/index.html">
RTEMS Development Environment Guide</A>
</LI>
<LI><A HREF="rtems_gdb/rtems_gdb.pdf">
<IMG SRC="pdf1.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="rtems_gdb/rtems_gdb.ps">
<IMG SRC="ps.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="rtems_gdb/rtems_gdb.dvi">
<IMG SRC="dvi.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="rtems_gdb/index.html">
RTEMS/GDB User's Guide</A>
</LI>
<LI><A HREF="rgdb_specs/rgdb_specs.pdf">
<IMG SRC="pdf1.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="rgdb_specs/rgdb_specs.ps">
<IMG SRC="ps.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="rgdb_specs/rgdb_specs.dvi">
<IMG SRC="dvi.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="rgdb_specs/index.html">
RTEMS Remote Debugger Server Specifications</A>
</LI>
<LI><A HREF="bsp_howto/bsp_howto.pdf">
<IMG SRC="pdf1.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="bsp_howto/bsp_howto.ps">
<IMG SRC="ps.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="bsp_howto/bsp_howto.dvi">
<IMG SRC="dvi.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="bsp_howto/index.html">
RTEMS BSP and Device Driver Development Guide</A>
</LI>
<LI><A HREF="porting/porting.pdf">
<IMG SRC="pdf1.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="porting/porting.ps">
<IMG SRC="ps.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="porting/porting.dvi">
<IMG SRC="dvi.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="porting/index.html">
RTEMS Porting Guide</A>
</LI>
<LI><A HREF="filesystem/filesystem.pdf">
<IMG SRC="pdf1.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="filesystem/filesystem.ps">
<IMG SRC="ps.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="filesystem/filesystem.dvi">
<IMG SRC="dvi.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="filesystem/index.html">
RTEMS Filesystem Design Guide</A>
</LI>
<LI><A HREF="posix1003_1/posix1003_1.pdf">
<IMG SRC="pdf1.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="posix1003_1/posix1003_1.ps">
<IMG SRC="ps.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="posix1003_1/posix1003_1.dvi">
<IMG SRC="dvi.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="posix1003_1/index.html">
RTEMS POSIX 1003.1 Compliance Guide</A>
</LI>
</MENU>
<LI>CPU Supplements
<MENU>
<LI><A HREF="HELP.html">
<IMG SRC="pdf1.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="HELP.html">
<IMG SRC="ps.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="HELP.html">
<IMG SRC="dvi.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="HELP.html">
RTEMS AMD 29K Applications Supplement</A>
</LI>
<LI><A HREF="HELP.html">
<IMG SRC="pdf1.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="HELP.html">
<IMG SRC="ps.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="HELP.html">
<IMG SRC="dvi.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="HELP.html">
RTEMS Hitachi SH Applications Supplement</A>
</LI>
<LI><A HREF="i386/i386.pdf">
<IMG SRC="pdf1.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="i386/i386.ps">
<IMG SRC="ps.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="i386/i386.dvi">
<IMG SRC="dvi.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="i386/index.html">
RTEMS Intel i386 Applications Supplement</A>
</LI>
<LI><A HREF="i960/i960.pdf">
<IMG SRC="pdf1.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="i960/i960.ps">
<IMG SRC="ps.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="i960/i960.dvi">
<IMG SRC="dvi.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="i960/index.html">
RTEMS Intel i960 Applications Supplement</A>
</LI>
<LI><A HREF="HELP.html">
<IMG SRC="pdf1.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="HELP.html">
<IMG SRC="ps.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="HELP.html">
<IMG SRC="dvi.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="HELP.html">
RTEMS MIPS64 ORION Applications Supplement</A>
</LI>
<LI><A HREF="m68k/m68k.pdf">
<IMG SRC="pdf1.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="m68k/m68k.ps">
<IMG SRC="ps.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="m68k/m68k.dvi">
<IMG SRC="dvi.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="m68k/index.html">
RTEMS Motorola MC68xxx Applications Supplement</A>
</LI>
<LI><A HREF="powerpc/powerpc.pdf">
<IMG SRC="pdf1.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="powerpc/powerpc.ps">
<IMG SRC="ps.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="powerpc/powerpc.dvi">
<IMG SRC="dvi.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="powerpc/index.html">
RTEMS PowerPC Applications Supplement</A>
</LI>
<LI><A HREF="sparc/sparc.pdf">
<IMG SRC="pdf1.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="sparc/sparc.ps">
<IMG SRC="ps.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="sparc/sparc.dvi">
<IMG SRC="dvi.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="sparc/index.html">
RTEMS SPARC Applications Supplement</A>
</LI>
<LI><A HREF="hppa1_1/hppa1_1.pdf">
<IMG SRC="pdf1.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="hppa1_1/hppa1_1.ps">
<IMG SRC="ps.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="hppa1_1/hppa1_1.dvi">
<IMG SRC="dvi.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="hppa1_1/index.html">
RTEMS Hewlett Packard PA-RISC Applications Supplement</A>
</LI>
<LI><A HREF="HELP.html">
<IMG SRC="pdf1.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="HELP.html">
<IMG SRC="ps.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="HELP.html">
<IMG SRC="dvi.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="HELP.html">
RTEMS UNIX Port Applications Supplement</A>
</LI>
</MENU>
</LI>
</MENU>
<HR>
Copyright &copy; 1988-2000 <A HREF="http://www.oarcorp.com" target="Text Frame">OAR Corporation</A>
</BODY></HTML>
+275
View File
@@ -0,0 +1,275 @@
<HTML>
<HEAD><TITLE>RTEMS @RTEMS_VERSION@ On-Line Library</TITLE></HEAD>
<BODY BGCOLOR="FFFFFF">
<A HREF="http://www.oarcorp.com" target="Text Frame">
<IMG align=right BORDER=0 SRC="images/oaronly.jpg" ALT="OAR"> </A>
<H1>RTEMS @RTEMS_VERSION@ On-Line Library</H1>
<HR>
<BODY>
<MENU>
<LI>
<A HREF="../pdf/FAQ.pdf">
<IMG SRC="images/pdf1.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="../ps/FAQ.ps">
<IMG SRC="images/ps.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="../dvi/FAQ.dvi">
<IMG SRC="images/dvi.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="FAQ/index.html">RTEMS FAQ</A>
</LI>
<LI>C/C++ Manuals</LI>
<MENU>
<LI><A HREF="BAD.html">
<IMG SRC="images/pdf1.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="../ps/started.ps">
<IMG SRC="images/ps.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="../dvi/started.dvi">
<IMG SRC="images/dvi.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="started/index.html">
Getting Started with RTEMS for C/C++ Users</A>
</LI>
<LI><A HREF="../pdf/c_user.pdf">
<IMG SRC="images/pdf1.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="../ps/c_user.ps">
<IMG SRC="images/ps.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="../dvi/c_user.dvi">
<IMG SRC="images/dvi.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="c_user/index.html">
RTEMS Applications C User's Guide</A>
</LI>
<LI><A HREF="../pdf/posix_users.pdf">
<IMG SRC="images/pdf1.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="../ps/posix_users.ps">
<IMG SRC="images/ps.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="../dvi/posix_users.dvi">
<IMG SRC="images/dvi.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="posix_users/index.html">
RTEMS POSIX API User's Guide</A>
</LI>
<LI><A HREF="../pdf/itron.pdf">
<IMG SRC="images/pdf1.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="../ps/itron.ps">
<IMG SRC="images/ps.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="../dvi/itron.dvi">
<IMG SRC="images/dvi.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="itron/index.html">
RTEMS ITRON 3.0 API User's Guide</A>
</LI>
<LI><A HREF="../pdf/networking.pdf">
<IMG SRC="images/pdf1.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="../ps/networking.ps">
<IMG SRC="images/ps.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="../dvi/networking.dvi">
<IMG SRC="images/dvi.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="networking/index.html">
RTEMS Network Supplement</A>
</LI>
</MENU>
<LI>Ada Manuals</LI>
<MENU>
<LI><A HREF="BAD.html">
<IMG SRC="images/pdf1.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="../ps/started_ada.ps">
<IMG SRC="images/ps.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="../dvi/started_ada.dvi">
<IMG SRC="images/dvi.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="started_ada/index.html">
Getting Started with GNAT/RTEMS</A>
</LI>
<LI><A HREF="../pdf/ada_user.pdf">
<IMG SRC="images/pdf1.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="../ps/ada_user.ps">
<IMG SRC="images/ps.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="../dvi/ada_user.dvi">
<IMG SRC="images/dvi.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="ada_user/index.html">
RTEMS Applications Ada User's Guide</A>
</LI>
</MENU>
<LI>Miscellaneous Manuals</LI>
<MENU>
<LI><A HREF="../pdf/develenv.pdf">
<IMG SRC="images/pdf1.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="../ps/develenv.ps">
<IMG SRC="images/ps.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="../dvi/develenv.dvi">
<IMG SRC="images/dvi.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="develenv/index.html">
RTEMS Development Environment Guide</A>
</LI>
<LI><A HREF="../pdf/rtems_gdb.pdf">
<IMG SRC="images/pdf1.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="../ps/rtems_gdb.ps">
<IMG SRC="images/ps.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="../dvi/rtems_gdb.dvi">
<IMG SRC="images/dvi.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="rtems_gdb/index.html">
RTEMS/GDB User's Guide</A>
</LI>
<LI><A HREF="../pdf/rgdb_specs.pdf">
<IMG SRC="images/pdf1.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="../ps/rgdb_specs.ps">
<IMG SRC="images/ps.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="../dvi/rgdb_specs.dvi">
<IMG SRC="images/dvi.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="rgdb_specs/index.html">
RTEMS Remote Debugger Server Specifications</A>
</LI>
<LI><A HREF="../pdf/bsp_howto.pdf">
<IMG SRC="images/pdf1.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="../ps/bsp_howto.ps">
<IMG SRC="images/ps.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="../dvi/bsp_howto.dvi">
<IMG SRC="images/dvi.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="bsp_howto/index.html">
RTEMS BSP and Device Driver Development Guide</A>
</LI>
<LI><A HREF="../pdf/porting.pdf">
<IMG SRC="images/pdf1.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="../ps/porting.ps">
<IMG SRC="images/ps.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="../dvi/porting.dvi">
<IMG SRC="images/dvi.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="porting/index.html">
RTEMS Porting Guide</A>
</LI>
<LI><A HREF="../pdf/filesystem.pdf">
<IMG SRC="images/pdf1.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="../ps/filesystem.ps">
<IMG SRC="images/ps.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="../dvi/filesystem.dvi">
<IMG SRC="images/dvi.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="filesystem/index.html">
RTEMS Filesystem Design Guide</A>
</LI>
<LI><A HREF="../pdf/posix1003_1.pdf">
<IMG SRC="images/pdf1.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="../ps/posix1003_1.ps">
<IMG SRC="images/ps.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="../dvi/posix1003_1.dvi">
<IMG SRC="images/dvi.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="posix1003_1/index.html">
RTEMS POSIX 1003.1 Compliance Guide</A>
</LI>
</MENU>
<LI>CPU Supplements
<MENU>
<LI><A HREF="HELP.html">
<IMG SRC="images/pdf1.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="HELP.html">
<IMG SRC="images/ps.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="HELP.html">
<IMG SRC="images/dvi.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="HELP.html">
RTEMS AMD 29K Applications Supplement</A>
</LI>
<LI><A HREF="HELP.html">
<IMG SRC="images/pdf1.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="HELP.html">
<IMG SRC="images/ps.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="HELP.html">
<IMG SRC="images/dvi.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="HELP.html">
RTEMS Hitachi SH Applications Supplement</A>
</LI>
<LI><A HREF="../pdf/i386.pdf">
<IMG SRC="images/pdf1.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="../ps/i386.ps">
<IMG SRC="images/ps.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="../dvi/i386.dvi">
<IMG SRC="images/dvi.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="i386/index.html">
RTEMS Intel i386 Applications Supplement</A>
</LI>
<LI><A HREF="../pdf/i960.pdf">
<IMG SRC="images/pdf1.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="../ps/i960.ps">
<IMG SRC="images/ps.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="../dvi/i960.dvi">
<IMG SRC="images/dvi.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="i960/index.html">
RTEMS Intel i960 Applications Supplement</A>
</LI>
<LI><A HREF="HELP.html">
<IMG SRC="images/pdf1.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="HELP.html">
<IMG SRC="images/ps.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="HELP.html">
<IMG SRC="images/dvi.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="HELP.html">
RTEMS MIPS64 ORION Applications Supplement</A>
</LI>
<LI><A HREF="../pdf/m68k.pdf">
<IMG SRC="images/pdf1.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="../ps/m68k.ps">
<IMG SRC="images/ps.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="../dvi/m68k.dvi">
<IMG SRC="images/dvi.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="m68k/index.html">
RTEMS Motorola MC68xxx Applications Supplement</A>
</LI>
<LI><A HREF="../pdf/powerpc.pdf">
<IMG SRC="images/pdf1.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="../ps/powerpc.ps">
<IMG SRC="images/ps.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="../dvi/powerpc.dvi">
<IMG SRC="images/dvi.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="powerpc/index.html">
RTEMS PowerPC Applications Supplement</A>
</LI>
<LI><A HREF="../pdf/sparc.pdf">
<IMG SRC="images/pdf1.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="../ps/sparc.ps">
<IMG SRC="images/ps.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="../dvi/sparc.dvi">
<IMG SRC="images/dvi.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="sparc/index.html">
RTEMS SPARC Applications Supplement</A>
</LI>
<LI><A HREF="../pdf/hppa1_1.pdf">
<IMG SRC="images/pdf1.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="../ps/hppa1_1.ps">
<IMG SRC="images/ps.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="../dvi/hppa1_1.dvi">
<IMG SRC="images/dvi.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="hppa1_1/index.html">
RTEMS Hewlett Packard PA-RISC Applications Supplement</A>
</LI>
<LI><A HREF="HELP.html">
<IMG SRC="images/pdf1.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="HELP.html">
<IMG SRC="images/ps.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="HELP.html">
<IMG SRC="images/dvi.gif" HEIGHT=18 WIDTH=16></A>
<A HREF="HELP.html">
RTEMS UNIX Port Applications Supplement</A>
</LI>
</MENU>
</LI>
</MENU>
<HR>
Copyright &copy; 1988-2000 <A HREF="http://www.oarcorp.com" target="Text Frame">OAR Corporation</A>
</BODY></HTML>
-133
View File
@@ -1,133 +0,0 @@
#
# COPYRIGHT (c) 1988-1999.
# On-Line Applications Research Corporation (OAR).
# All rights reserved.
#
# $Id$
#
PROJECT=itron
include ../Make.config
all: html info ps pdf
dirs:
$(make-dirs)
COMMON_FILES=
GENERATED_FILES= \
status.texi \
task.texi tasksync.texi semaphore.texi eventflags.texi mailbox.texi \
msgbuffer.texi rendezvous.texi interrupt.texi memorypool.texi \
fixedblock.texi time.texi config.texi network.texi
FILES= $(PROJECT).texi \
$(COMMON_FILES) preface.texi $(GENERATED_FILES)
INFOFILES=$(wildcard $(PROJECT) $(PROJECT)-*)
info: $(FILES) $(PROJECT)
$(PROJECT): $(FILES)
$(MAKEINFO) $(PROJECT).texi
dvi: $(PROJECT).dvi
ps: $(PROJECT).ps
pdf: $(PROJECT).pdf
$(PROJECT).pdf: $(FILES)
$(TEXI2PDF) $(PROJECT).texi
cp $(PROJECT).pdf $(WWW_INSTALL)/$(PROJECT)
$(PROJECT).ps: $(PROJECT).dvi
dvips -o $(PROJECT).ps $(PROJECT).dvi
cp $(PROJECT).ps $(WWW_INSTALL)/$(PROJECT)
$(PROJECT).dvi: $(FILES)
$(TEXI2DVI) $(PROJECT).texi
cp $(PROJECT).dvi $(WWW_INSTALL)/$(PROJECT)
html: $(FILES)
-mkdir -p html
-mkdir -p $(WWW_INSTALL)/$(PROJECT)
$(TEXI2WWW) $(TEXI2WWW_ARGS) -dir $(WWW_INSTALL)/$(PROJECT) \
$(PROJECT).texi
clean:
rm -f *.o $(PROG) *.txt core *.html
rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE)
rm -f $(PROJECT) $(PROJECT)-* _* $(GENERATED_FILES) $(PROJECT).pdf
rm -rf html
status.texi: status.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
task.texi: task.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
tasksync.texi: tasksync.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
semaphore.texi: semaphore.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
eventflags.texi: eventflags.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
mailbox.texi: mailbox.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
msgbuffer.texi: msgbuffer.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
rendezvous.texi: rendezvous.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
interrupt.texi: interrupt.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
memorypool.texi: memorypool.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
fixedblock.texi: fixedblock.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
time.texi: time.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
config.texi: config.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
network.texi: network.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
+100
View File
@@ -0,0 +1,100 @@
#
# COPYRIGHT (c) 1988-1999.
# On-Line Applications Research Corporation (OAR).
# All rights reserved.
#
# $Id$
#
AUTOMAKE_OPTIONS = foreign
PROJECT=itron
include $(top_srcdir)/project.am
COMMON_FILES=
GENERATED_FILES= \
status.texi \
task.texi tasksync.texi semaphore.texi eventflags.texi mailbox.texi \
msgbuffer.texi rendezvous.texi interrupt.texi memorypool.texi \
fixedblock.texi time.texi config.texi network.texi
FILES= preface.texi
info_TEXINFOS = itron.texi
itron_TEXINFOS = $(FILES) $(COMMON_FILES) $(GENERATED_FILES)
status.texi: status.t
$(BMENU) -p "" \
-u "Top" \
-n "" $<
task.texi: task.t
$(BMENU) -p "" \
-u "Top" \
-n "" $<
tasksync.texi: tasksync.t
$(BMENU) -p "" \
-u "Top" \
-n "" $<
semaphore.texi: semaphore.t
$(BMENU) -p "" \
-u "Top" \
-n "" $<
eventflags.texi: eventflags.t
$(BMENU) -p "" \
-u "Top" \
-n "" $<
mailbox.texi: mailbox.t
$(BMENU) -p "" \
-u "Top" \
-n "" $<
msgbuffer.texi: msgbuffer.t
$(BMENU) -p "" \
-u "Top" \
-n "" $<
rendezvous.texi: rendezvous.t
$(BMENU) -p "" \
-u "Top" \
-n "" $<
interrupt.texi: interrupt.t
$(BMENU) -p "" \
-u "Top" \
-n "" $<
memorypool.texi: memorypool.t
$(BMENU) -p "" \
-u "Top" \
-n "" $<
fixedblock.texi: fixedblock.t
$(BMENU) -p "" \
-u "Top" \
-n "" $<
time.texi: time.t
$(BMENU) -p "" \
-u "Top" \
-n "" $<
config.texi: config.t
$(BMENU) -p "" \
-u "Top" \
-n "" $<
network.texi: network.t
$(BMENU) -p "" \
-u "Top" \
-n "" $<
noinst_SCRIPTS = gen_all gen_section gen_status_shell
EXTRA_DIST = *.t $(noinst_SCRIPTS)
-109
View File
@@ -1,109 +0,0 @@
#
# COPYRIGHT (c) 1988-1999.
# On-Line Applications Research Corporation (OAR).
# All rights reserved.
#
# $Id$
#
PROJECT=networking
include ../Make.config
REPLACE=../tools/word-replace
BMENU+= -c
all: html info ps pdf
dirs:
$(make-dirs)
COMMON_FILES=../common/cpright.texi ../common/setup.texi
GENERATED_FILES=networkapp.texi driver.texi networktasks.texi testing.texi \
servers.texi decdriver.texi
FILES= $(PROJECT).texi \
networktasks.texi preface.texi $(GENERATED_FILES)
INFOFILES=$(wildcard $(PROJECT) $(PROJECT)-*)
info: dirs $(PROJECT)
#cp $(wildcard $(PROJECT) $(PROJECT)-*) $(INFO_INSTALL)
cp $(PROJECT) $(INFO_INSTALL)
$(PROJECT): $(FILES)
$(MAKEINFO) $(PROJECT).texi
dvi: dirs $(PROJECT).dvi
ps: dirs $(PROJECT).ps
pdf: dirs $(PROJECT).pdf
$(PROJECT).pdf: $(FILES)
$(TEXI2PDF) $(PROJECT).texi
cp $(PROJECT).pdf $(WWW_INSTALL)/$(PROJECT)
$(PROJECT).ps: $(PROJECT).dvi
dvips -o $(PROJECT).ps $(PROJECT).dvi
cp $(PROJECT).ps $(WWW_INSTALL)/$(PROJECT)
$(PROJECT).dvi: $(FILES)
$(TEXI2DVI) $(PROJECT).texi
cp $(PROJECT).dvi $(WWW_INSTALL)/$(PROJECT)
networktasks.texi: networktasks.t Makefile
$(BMENU) -p "Preface" \
-u "Top" \
-n "Networking Driver" ${*}.t
driver.texi: driver.t Makefile
$(BMENU) -p "Network Task Structure and Data Flow" \
-u "Top" \
-n "Using Networking in an RTEMS Application" ${*}.t
networkapp.texi: networkapp.t Makefile
$(BMENU) -p "Write the Driver Statistic-Printing Function" \
-u "Top" \
-n "Testing the Driver" ${*}.t
testing.texi: testing.t Makefile
$(BMENU) -p "Time Synchronization Using NTP" \
-u "Top" \
-n "Network Servers" ${*}.t
servers.texi: servers.t Makefile
$(BMENU) -p "Throughput" \
-u "Top" \
-n "DEC 21140 Driver" ${*}.t
decdriver.texi: decdriver.t Makefile
$(BMENU) -p "Using Hooks" \
-u "Top" \
-n "Command and Variable Index" ${*}.t
html: dirs $(FILES)
-mkdir -p $(WWW_INSTALL)/$(PROJECT)
rm -f $(WWW_INSTALL)/$(PROJECT)/networkflow.jpg
rm -f $(WWW_INSTALL)/$(PROJECT)/networkflow.png
rm -f $(WWW_INSTALL)/$(PROJECT)/PCIreg.jpg
cp recvbd.jpg $(WWW_INSTALL)/$(PROJECT)/recvbd.jpg
cp networkflow.jpg $(WWW_INSTALL)/$(PROJECT)/networkflow.jpg
cp networkflow.png $(WWW_INSTALL)/$(PROJECT)/networkflow.png
cp PCIreg.jpg $(WWW_INSTALL)/$(PROJECT)/PCIreg.jpg
$(TEXI2WWW) $(TEXI2WWW_ARGS) -dir $(WWW_INSTALL)/$(PROJECT) \
$(PROJECT).texi
clean:
rm -f *.o $(PROG) *.txt core $(PROJECT).pdf
rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE)
rm -f $(PROJECT) $(PROJECT)-* $(GENERATED_FILES)
rm -f $(PROJECT) $(PROJECT)-*
rm -f timedata.texi timetbl.texi intr.texi wksheets.texi
rm -f timetbl.t wksheets.t
rm -f *.fixed _*
convert:
/usr/bin/gs -dMaxBitmap=300000000 -g5500x7500 -sDEVICE=pdfwrite -q -dNOPAUSE -dSAFER -sOutputFile=networkflow.pdf -- networkflow.eps -c -quit
/usr/bin/gs -dMaxBitmap=300000000 -g4500x5500 -sDEVICE=pdfwrite -q -dNOPAUSE -dSAFER -sOutputFile=PCIreg.pdf -- PCIreg.eps -c -quit
/usr/bin/gs -dMaxBitmap=300000000 -g4500x5500 -sDEVICE=pdfwrite -q -dNOPAUSE -dSAFER -sOutputFile=recvbd.pdf -- recvbd.eps -c -quit
+71
View File
@@ -0,0 +1,71 @@
#
# COPYRIGHT (c) 1988-1999.
# On-Line Applications Research Corporation (OAR).
# All rights reserved.
#
# $Id$
#
AUTOMAKE_OPTIONS = foreign
PROJECT=networking
include $(top_srcdir)/project.am
# FIXME: Why -c ?
BMENU+= -c
COMMON_FILES=$(top_srcdir)/common/cpright.texi $(top_builddir)/common/setup.texi
GENERATED_FILES=networkapp.texi driver.texi networktasks.texi testing.texi \
servers.texi decdriver.texi
FILES= networktasks.texi preface.texi
info_TEXINFOS = networking.texi
networking_TEXINFOS = $(FILES) $(COMMON_FILES) $(GENERATED_FILES)
$(PROJECT).dvi: networkflow.eps PCIreg.eps recvbd.eps
$(PROJECT).pdf: networkflow.pdf PCIreg.pdf recvbd.pdf
if USE_HTML
html_project_DATA += networkflow.jpg networkflow.png PCIreg.jpg recvbd.jpg
endif
networktasks.texi: networktasks.t
$(BMENU) -p "Preface" \
-u "Top" \
-n "Networking Driver" $<
driver.texi: driver.t
$(BMENU) -p "Network Task Structure and Data Flow" \
-u "Top" \
-n "Using Networking in an RTEMS Application" $<
networkapp.texi: networkapp.t
$(BMENU) -p "Write the Driver Statistic-Printing Function" \
-u "Top" \
-n "Testing the Driver" $<
testing.texi: testing.t
$(BMENU) -p "Time Synchronization Using NTP" \
-u "Top" \
-n "Network Servers" $<
servers.texi: servers.t
$(BMENU) -p "Throughput" \
-u "Top" \
-n "DEC 21140 Driver" $<
decdriver.texi: decdriver.t
$(BMENU) -p "Using Hooks" \
-u "Top" \
-n "Command and Variable Index" $<
PICTURE_FILES = \
PCIreg.eps PCIreg.jpg \
networkflow.eps networkflow.jpg networkflow.png \
recvbd.eps recvbd.jpg
EXTRA_DIST = *.t $(PICTURE_FILES)
Binary file not shown.
+1 -1
View File
@@ -80,7 +80,7 @@ There is no ASCII version of the PCI Device's Configuration Header Space Format
@end ifset
@ifset use-tex
@image{PCIreg,,}
@image{PCIreg}
@end ifset
@c @image{PCIreg}
Binary file not shown.
+1 -8
View File
@@ -23,14 +23,7 @@ NO ASCII VERSION OF THE TASKING FIGURE IS AVAILABLE
@end ifset
@ifset use-tex
@c for now use the ascii version
@example
@group
@c why does this not work for pdf?
@c @image{networkflow,5in,6in}
NO TEX VERSION OF THE TASKING FIGURE IS AVAILABLE
@end group
@end example
@image{networkflow,5in,6in}
@end ifset
@ifset use-html
Binary file not shown.
-107
View File
@@ -1,107 +0,0 @@
#
# COPYRIGHT (c) 1988-1999.
# On-Line Applications Research Corporation (OAR).
# All rights reserved.
#
# $Id$
#
PROJECT=new_chapters
include ../Make.config
all: html info ps pdf
dirs:
$(make-dirs)
COMMON_FILES=../common/cpright.texi
GENERATED_FILES= \
adminiface.texi confspace.texi \
dumpcontrol.texi eventlog.texi \
stackchk.texi rtmonuse.texi cpuuse.texi error.texi monitor.texi
FILES= $(PROJECT).texi \
$(COMMON_FILES) $(GENERATED_FILES)
INFOFILES=$(wildcard $(PROJECT) $(PROJECT)-*)
info: dirs $(FILES) $(PROJECT)
# cp $(PROJECT) $(PROJECT)-* $(INFO_INSTALL)
cp $(PROJECT) $(INFO_INSTALL)
$(PROJECT): $(FILES)
$(MAKEINFO) $(PROJECT).texi
dvi: dirs $(PROJECT).dvi
ps: dirs $(PROJECT).ps
pdf: dirs $(PROJECT).pdf
$(PROJECT).pdf: $(FILES)
$(TEXI2PDF) $(PROJECT).texi
cp $(PROJECT).pdf $(WWW_INSTALL)/$(PROJECT)
$(PROJECT).ps: $(PROJECT).dvi
dvips -o $(PROJECT).ps $(PROJECT).dvi
cp $(PROJECT).ps $(WWW_INSTALL)/$(PROJECT)
$(PROJECT).dvi: $(FILES)
$(TEXI2DVI) $(PROJECT).texi
cp $(PROJECT).dvi $(WWW_INSTALL)/$(PROJECT)
html: dirs $(FILES)
-mkdir -p $(WWW_INSTALL)/$(PROJECT)
-cd .. ; gmake headers
$(TEXI2WWW) $(TEXI2WWW_ARGS) -dir $(WWW_INSTALL)/$(PROJECT) \
$(PROJECT).texi
clean:
rm -f *.o $(PROG) *.txt core *.html $(PROJECT).pdf
rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE)
rm -f $(PROJECT) $(PROJECT)-* _* $(GENERATED_FILES)
eventlog.texi: eventlog.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
dumpcontrol.texi: dumpcontrol.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
confspace.texi: confspace.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
adminiface.texi: adminiface.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
stackchk.texi: stackchk.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
rtmonuse.texi: rtmonuse.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
cpuuse.texi: cpuuse.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
error.texi: error.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
monitor.texi: monitor.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
+75
View File
@@ -0,0 +1,75 @@
#
# COPYRIGHT (c) 1988-1999.
# On-Line Applications Research Corporation (OAR).
# All rights reserved.
#
# $Id$
#
AUTOMAKE_OPTIONS = foreign
PROJECT=new_chapters
include $(top_srcdir)/project.am
COMMON_FILES=$(top_srcdir)/common/cpright.texi
GENERATED_FILES= \
adminiface.texi confspace.texi \
dumpcontrol.texi eventlog.texi \
stackchk.texi rtmonuse.texi cpuuse.texi error.texi monitor.texi
FILES=
info_TEXINFOS = new_chapters.texi
new_chapters_TEXINFOS = $(FILES) $(COMMON_FILES) $(GENERATED_FILES)
eventlog.texi: eventlog.t
$(BMENU) -p "" \
-u "Top" \
-n "" $<
dumpcontrol.texi: dumpcontrol.t
$(BMENU) -p "" \
-u "Top" \
-n "" $<
confspace.texi: confspace.t
$(BMENU) -p "" \
-u "Top" \
-n "" $<
adminiface.texi: adminiface.t
$(BMENU) -p "" \
-u "Top" \
-n "" $<
stackchk.texi: stackchk.t
$(BMENU) -p "" \
-u "Top" \
-n "" $<
rtmonuse.texi: rtmonuse.t
$(BMENU) -p "" \
-u "Top" \
-n "" $<
cpuuse.texi: cpuuse.t
$(BMENU) -p "" \
-u "Top" \
-n "" $<
error.texi: error.t
$(BMENU) -p "" \
-u "Top" \
-n "" $<
monitor.texi: monitor.t
$(BMENU) -p "" \
-u "Top" \
-n "" $<
noinst_SCRIPTS = gen_section
EXTRA_DIST = *.t STATUS TODO $(noinst_SCRIPTS)
BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

@@ -6,16 +6,14 @@
# $Id$
#
AUTOMAKE_OPTIONS = foreign
PROJECT=porting
include ../Make.config
include $(top_srcdir)/project.am
all: html info ps pdf
COMMON_FILES=$(top_srcdir)/common/cpright.texi
dirs:
$(make-dirs)
COMMON_FILES=../common/cpright.texi
FILES=preface.texi developtools.texi sourcecode.texi cpumodels.texi \
cpuinit.texi interrupts.texi taskcontext.texi idlethread.texi \
prioritybitmap.texi codetuning.texi miscellaneous.texi $(COMMON_FILES)
@@ -24,88 +22,57 @@ GENERATED_FILES=developtools.texi sourcecode.texi cpumodels.texi \
cpuinit.texi interrupts.texi taskcontext.texi idlethread.texi \
prioritybitmap.texi codetuning.texi miscellaneous.texi
INFOFILES=$(wildcard $(PROJECT) $(PROJECT)-*)
info: dirs $(PROJECT)
cp $(PROJECT) $(PROJECT)-* $(INFO_INSTALL)
$(PROJECT): $(FILES)
$(MAKEINFO) $(PROJECT).texi
dvi: dirs $(PROJECT).dvi
ps: dirs $(PROJECT).ps
pdf: dirs $(PROJECT).pdf
$(PROJECT).pdf: $(FILES)
$(TEXI2PDF) $(PROJECT).texi
cp $(PROJECT).pdf $(WWW_INSTALL)/$(PROJECT)
$(PROJECT).ps: $(PROJECT).dvi
dvips -o $(PROJECT).ps $(PROJECT).dvi
cp $(PROJECT).ps $(WWW_INSTALL)/$(PROJECT)
$(PROJECT).dvi: $(FILES)
$(TEXI2DVI) $(PROJECT).texi
cp $(PROJECT).dvi $(WWW_INSTALL)/$(PROJECT)
html: dirs $(FILES)
-mkdir -p $(WWW_INSTALL)/$(PROJECT)
$(TEXI2WWW) $(TEXI2WWW_ARGS) -dir $(WWW_INSTALL)/$(PROJECT) \
$(PROJECT).texi
clean:
rm -f *.o $(PROG) *.txt core *.html $(PROJECT).pdf
rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE)
rm -f $(PROJECT) $(PROJECT)-* _* $(GENERATED_FILES)
info_TEXINFOS = porting.texi
porting_TEXINFOS = $(FILES) $(COMMON_FILES) $(GENERATED_FILES)
developtools.texi: developtools.t
$(BMENU) -p "Preface" \
-u "Top" \
-n "Source Code Organization" ${*}.t
-n "Source Code Organization" $<
sourcecode.texi: sourcecode.t
$(BMENU) -p "Development Tools" \
-u "Top" \
-n "CPU Model Variations" ${*}.t
-n "CPU Model Variations" $<
cpumodels.texi: cpumodels.t
$(BMENU) -p "Source Code Organization Introduction" \
-u "Top" \
-n "CPU Initialization" ${*}.t
-n "CPU Initialization" $<
cpuinit.texi: cpuinit.t
$(BMENU) -p "CPU Model Variations Coding Issues" \
-u "Top" \
-n "Interrupts" ${*}.t
-n "Interrupts" $<
interrupts.texi: interrupts.t
$(BMENU) -p "CPU Initialization Initializing the CPU" \
-u "Top" \
-n "Task Context Management" ${*}.t
-n "Task Context Management" $<
taskcontext.texi: taskcontext.t
$(BMENU) -p "Interrupts Pointer to _Thread_Dispatch Routine" \
-u "Top" \
-n "IDLE Thread" ${*}.t
-n "IDLE Thread" $<
idlethread.texi: idlethread.t
$(BMENU) -p "Task Context Management Restoring a Floating Point Context" \
-u "Top" \
-n "Priority Bitmap Manipulation" ${*}.t
-n "Priority Bitmap Manipulation" $<
prioritybitmap.texi: prioritybitmap.t
$(BMENU) -p "IDLE Thread Idle Thread Body" \
-u "Top" \
-n "Code Tuning Parameters" ${*}.t
-n "Code Tuning Parameters" $<
codetuning.texi: codetuning.t
$(BMENU) -p "Priority Bitmap Manipulation Bit Scan Support" \
-u "Top" \
-n "Miscellaneous" ${*}.t
-n "Miscellaneous" $<
miscellaneous.texi: miscellaneous.t
$(BMENU) -p "Code Tuning Parameters Partition Element Alignment" \
-u "Top" \
-n "Command and Variable Index" ${*}.t
-n "Command and Variable Index" $<
EXTRA_DIST = *.t
@@ -6,139 +6,113 @@
# $Id$
#
AUTOMAKE_OPTIONS = foreign
PROJECT=posix1003_1
include ../Make.config
include $(top_srcdir)/project.am
all: html info ps pdf
dirs:
$(make-dirs)
COMMON_FILES=../common/cpright.texi ../common/setup.texi
COMMON_FILES=$(top_srcdir)/common/cpright.texi $(top_builddir)/common/setup.texi
GENERATED_FILES=ch01.texi ch02.texi ch03.texi ch04.texi ch05.texi \
ch06.texi ch07.texi ch08.texi ch09.texi ch10.texi \
ch11.texi ch12.texi ch13.texi ch14.texi ch15.texi \
ch16.texi ch17.texi ch18.texi ch19.t ch19.texi
FILES= $(PROJECT).texi \
preface.texi $(GENERATED_FILES)
FILES= preface.texi
INFOFILES=$(wildcard $(PROJECT) $(PROJECT)-*)
info: dirs $(PROJECT)
#cp $(wildcard $(PROJECT) $(PROJECT)-*) $(INFO_INSTALL)
cp $(PROJECT) $(INFO_INSTALL)
$(PROJECT): $(FILES)
$(MAKEINFO) $(PROJECT).texi
dvi: dirs $(PROJECT).dvi
ps: dirs $(PROJECT).ps
pdf: dirs $(PROJECT).pdf
$(PROJECT).pdf: $(FILES)
$(TEXI2PDF) $(PROJECT).texi
cp $(PROJECT).pdf $(WWW_INSTALL)/$(PROJECT)
$(PROJECT).ps: $(PROJECT).dvi
dvips -o $(PROJECT).ps $(PROJECT).dvi
cp $(PROJECT).ps $(WWW_INSTALL)/$(PROJECT)
$(PROJECT).dvi: $(FILES)
$(TEXI2DVI) $(PROJECT).texi
cp $(PROJECT).dvi $(WWW_INSTALL)/$(PROJECT)
info_TEXINFOS = posix1003_1.texi
posix1003_1_TEXINFOS = $(FILES) $(COMMON_FILES) $(GENERATED_FILES)
ch01.texi: ch01.t
$(BMENU) -c -p "Preface" \
-u "Top" \
-n "Terminology and General Requirements" ${*}.t
-n "Terminology and General Requirements" $<
ch02.texi: ch02.t
$(BMENU) -c -p "Conformance" \
-u "Top" \
-n "Process Primitives" ${*}.t
-n "Process Primitives" $<
ch03.texi: ch03.t
$(BMENU) -c -p "Execution-Time Symbolic Constants for Portability Specifications" \
-u "Top" \
-n "Process Environment" ${*}.t
-n "Process Environment" $<
ch04.texi: ch04.t
$(BMENU) -c -p "Delay Process Execution" \
-u "Top" \
-n "Files and Directories" ${*}.t
-n "Files and Directories" $<
ch05.texi: ch05.t
$(BMENU) -c -p "Get Configurable System Variables" \
-u "Top" \
-n "Input and Output Primitives" ${*}.t
-n "Input and Output Primitives" $<
ch06.texi: ch06.t
$(BMENU) -c -p "Get Configurable Pathname Variables" \
-u "Top" \
-n "Device- and Class-Specific Functions" ${*}.t
-n "Device- and Class-Specific Functions" $<
ch07.texi: ch07.t
$(BMENU) -c -p " Asynchronous File Synchronization" \
-u "Top" \
-n "Language-Specific Services for the C Programming Language" ${*}.t
-n "Language-Specific Services for the C Programming Language" $<
ch08.texi: ch08.t
$(BMENU) -c -p "Set Foreground Process Group ID" \
-u "Top" \
-n "System Databases" ${*}.t
-n "System Databases" $<
ch09.texi: ch09.t
$(BMENU) -c -p "Pseudo-Random Sequence Generation Functions" \
-u "Top" \
-n "Data Interchange Format" ${*}.t
-n "Data Interchange Format" $<
ch10.texi: ch10.t
$(BMENU) -c -p "User Database Access" \
-u "Top" \
-n "Synchronization" ${*}.t
-n "Synchronization" $<
ch11.texi: ch11.t
$(BMENU) -c -p "Multiple Volumes" \
-u "Top" \
-n "Memory Management" ${*}.t
-n "Memory Management" $<
ch12.texi: ch12.t
$(BMENU) -c -p "Waiting on a Condition" \
-u "Top" \
-n "Execution Scheduling" ${*}.t
-n "Execution Scheduling" $<
ch13.texi: ch13.t
$(BMENU) -c -p "Remove a Shared Memory Object" \
-u "Top" \
-n "Clocks and Timers" ${*}.t
-n "Clocks and Timers" $<
ch14.texi: ch14.t
$(BMENU) -c -p "Change the Priority Ceiling of a Mutex" \
-u "Top" \
-n "Message Passing" ${*}.t
-n "Message Passing" $<
ch15.texi: ch15.t
$(BMENU) -c -p "High Resolution Sleep" \
-u "Top" \
-n "Thread Management" ${*}.t
-n "Thread Management" $<
ch16.texi: ch16.t
$(BMENU) -c -p "Get Message Queue Attributes" \
-u "Top" \
-n "Thread-Specific Data" ${*}.t
-n "Thread-Specific Data" $<
ch17.texi: ch17.t
$(BMENU) -c -p "Dynamic Package Initialization" \
-u "Top" \
-n "Thread Cancellation" ${*}.t
-n "Thread Cancellation" $<
ch18.texi: ch18.t
$(BMENU) -c -p "Thread-Specific Data Key Deletion" \
-u "Top" \
-n "Compliance Summary" ${*}.t
-n "Compliance Summary" $<
ch19.t: ch01.t ch02.t ch03.t ch04.t ch05.t ch06.t ch07.t ch08.t ch09.t \
ch10.t ch11.t ch12.t ch13.t ch14.t ch15.t ch16.t ch17.t ch18.t \
@@ -148,16 +122,8 @@ ch19.t: ch01.t ch02.t ch03.t ch04.t ch05.t ch06.t ch07.t ch08.t ch09.t \
ch19.texi: ch19.t
$(BMENU) -c -p "List of Cancellation Points" \
-u "Top" \
-n "Command and Variable Index" ${*}.t
html: dirs $(FILES)
-mkdir -p $(WWW_INSTALL)/$(PROJECT)
$(TEXI2WWW) $(TEXI2WWW_ARGS) -dir $(WWW_INSTALL)/$(PROJECT) \
$(PROJECT).texi
-n "Command and Variable Index" $<
clean:
rm -f *.o $(PROG) *.txt core $(PROJECT).pdf
rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE)
rm -f $(PROJECT) $(PROJECT)-* $(GENERATED_FILES)
rm -f *.fixed _*
noinst_SCRIPTS = summarize
EXTRA_DIST = *.t compliance_list summarize
-177
View File
@@ -1,177 +0,0 @@
#
# COPYRIGHT (c) 1988-1999.
# On-Line Applications Research Corporation (OAR).
# All rights reserved.
#
# $Id$
#
PROJECT=posix_users
include ../Make.config
all: html info ps pdf
dirs:
$(make-dirs)
COMMON_FILES=../common/cpright.texi
GENERATED_FILES= \
cancel.texi clock.texi cond.texi \
cspecific.texi device.texi files.texi \
io.texi key.texi memorymgmt.texi message.texi mutex.texi procenv.texi \
process.texi sched.texi semaphores.texi signal.texi status.texi \
systemdb.texi thread.texi timer.texi libc.texi libm.texi
FILES= posix_users.texi preface.texi \
$(COMMON_FILES) $(GENERATED_FILES)
INFOFILES=$(wildcard $(PROJECT) $(PROJECT)-*)
info: dirs $(FILES) $(PROJECT)
# cp $(PROJECT) $(PROJECT)-* $(INFO_INSTALL)
cp $(PROJECT) $(INFO_INSTALL)
$(PROJECT): $(FILES)
$(MAKEINFO) posix_users.texi
dvi: dirs $(PROJECT).dvi
ps: dirs $(PROJECT).ps
pdf: dirs $(PROJECT).pdf
$(PROJECT).pdf: $(FILES)
$(TEXI2PDF) $(PROJECT).texi
cp $(PROJECT).pdf $(WWW_INSTALL)/$(PROJECT)
$(PROJECT).ps: $(PROJECT).dvi
dvips -o $(PROJECT).ps $(PROJECT).dvi
cp $(PROJECT).ps $(WWW_INSTALL)/$(PROJECT)
$(PROJECT).dvi: $(FILES)
$(TEXI2DVI) posix_users.texi
cp $(PROJECT).dvi $(WWW_INSTALL)/$(PROJECT)
html: dirs $(FILES)
-mkdir -p $(WWW_INSTALL)/$(PROJECT)
-cd .. ; gmake headers
$(TEXI2WWW) $(TEXI2WWW_ARGS) -dir $(WWW_INSTALL)/$(PROJECT) \
posix_users.texi
clean:
rm -f *.o $(PROG) *.txt core *.html $(PROJECT).pdf
rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE)
rm -f $(PROJECT) $(PROJECT)-* _* $(GENERATED_FILES)
rm -f *.cps *.cpss *.fns *.jkys *.pgs *.tps *.vrs
process.texi: process.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
procenv.texi: procenv.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
files.texi: files.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
thread.texi: thread.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
signal.texi: signal.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
mutex.texi: mutex.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
cond.texi: cond.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
key.texi: key.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
clock.texi: clock.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
timer.texi: timer.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
sched.texi: sched.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
io.texi: io.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
device.texi: device.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
cspecific.texi: cspecific.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
semaphores.texi: semaphores.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
memorymgmt.texi: memorymgmt.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
message.texi: message.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
cancel.texi: cancel.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
systemdb.texi: systemdb.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
status.texi: status.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
libc.texi: libc.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
libm.texi: libm.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
+142
View File
@@ -0,0 +1,142 @@
#
# COPYRIGHT (c) 1988-1999.
# On-Line Applications Research Corporation (OAR).
# All rights reserved.
#
# $Id$
#
AUTOMAKE_OPTIONS = foreign
PROJECT=posix_users
include $(top_srcdir)/project.am
COMMON_FILES=$(top_srcdir)/common/cpright.texi
GENERATED_FILES= \
cancel.texi clock.texi cond.texi \
cspecific.texi device.texi files.texi \
io.texi key.texi memorymgmt.texi message.texi mutex.texi procenv.texi \
process.texi sched.texi semaphores.texi signal.texi status.texi \
systemdb.texi thread.texi timer.texi libc.texi libm.texi
FILES= preface.texi
info_TEXINFOS = posix_users.texi
posix_users_TEXINFOS = $(FILES) $(GENERATED_FILES)
process.texi: process.t
$(BMENU) -p "" \
-u "Top" \
-n "" $<
procenv.texi: procenv.t
$(BMENU) -p "" \
-u "Top" \
-n "" $<
files.texi: files.t
$(BMENU) -p "" \
-u "Top" \
-n "" $<
thread.texi: thread.t
$(BMENU) -p "" \
-u "Top" \
-n "" $<
signal.texi: signal.t
$(BMENU) -p "" \
-u "Top" \
-n "" $<
mutex.texi: mutex.t
$(BMENU) -p "" \
-u "Top" \
-n "" $<
cond.texi: cond.t
$(BMENU) -p "" \
-u "Top" \
-n "" $<
key.texi: key.t
$(BMENU) -p "" \
-u "Top" \
-n "" $<
clock.texi: clock.t
$(BMENU) -p "" \
-u "Top" \
-n "" $<
timer.texi: timer.t
$(BMENU) -p "" \
-u "Top" \
-n "" $<
sched.texi: sched.t
$(BMENU) -p "" \
-u "Top" \
-n "" $<
io.texi: io.t
$(BMENU) -p "" \
-u "Top" \
-n "" $<
device.texi: device.t
$(BMENU) -p "" \
-u "Top" \
-n "" $<
cspecific.texi: cspecific.t
$(BMENU) -p "" \
-u "Top" \
-n "" $<
semaphores.texi: semaphores.t
$(BMENU) -p "" \
-u "Top" \
-n "" $<
memorymgmt.texi: memorymgmt.t
$(BMENU) -p "" \
-u "Top" \
-n "" $<
message.texi: message.t
$(BMENU) -p "" \
-u "Top" \
-n "" $<
cancel.texi: cancel.t
$(BMENU) -p "" \
-u "Top" \
-n "" $<
systemdb.texi: systemdb.t
$(BMENU) -p "" \
-u "Top" \
-n "" $<
status.texi: status.t
$(BMENU) -p "" \
-u "Top" \
-n "" $<
libc.texi: libc.t
$(BMENU) -p "" \
-u "Top" \
-n "" $<
libm.texi: libm.t
$(BMENU) -p "" \
-u "Top" \
-n "" $<
noinst_SCRIPTS = gen_size_report
EXTRA_DIST = *.t gen_size_report
+72
View File
@@ -0,0 +1,72 @@
## $Id$
SUFFIXES += .t
## Texinfo support
TEXINFO_TEX = $(top_srcdir)/texinfo/texinfo.tex
MAINTAINERCLEANFILES += $(PROJECT) $(PROJECT)-[0-9] $(PROJECT)-[0-9][0-9]
MAINTAINERCLEANFILES += $(GENERATED_FILES)
## DVI support
dvidir = $(pkgdatadir)/dvi
## dvi_projectdir = $(dvidir)/$(PROJECT)
## PS support
psdir = $(pkgdatadir)/ps
## ps_projectdir = $(psdir)/$(PROJECT)
## PDF support
SUFFIXES += .pdf
pdfdir = $(pkgdatadir)/pdf
## pdf_projectdir = $(pdfdir)/$(PROJECT)
SUFFIXES += .eps
if EPSTOPDF
.eps.pdf:
$(EPSTOPDF) $< > $@
endif
if TEXI2PDF
.texi.pdf:
TEXINPUTS=$(srcdir)/$(top_srcdir)/texinfo:$$TEXINPUTS \
MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2PDF) $<
endif
CLEANFILES += $(PROJECT).pdf
## HTML
SUFFIXES += .html
html_projectdir = $(htmldir)/$(PROJECT)
TEXI2WWW_ARGS=\
-dirfile ../index.html \
-header $(top_builddir)/rtems_header.html \
-footer $(top_builddir)/rtems_footer.html \
-icons ../images
index.html $(PROJECT)*.html: $(PROJECT).texi \
$(top_builddir)/rtems_header.html $(top_builddir)/rtems_footer.html
$(TEXI2WWW) $(TEXI2WWW_ARGS) -base $(PROJECT) $<
MOSTLYCLEANFILES += index.html $(PROJECT)*.html
## Common installation points
if USE_HTML
html_project_DATA += index.html $(PROJECT)*.html
endif
if USE_DVI
dvi_DATA += $(PROJECT).dvi
endif
if USE_PS
ps_DATA += $(PROJECT).ps
endif
if USE_PDF
pdf_DATA += $(PROJECT).pdf
endif
-53
View File
@@ -1,53 +0,0 @@
#
# COPYRIGHT (c) 1988-1999.
# On-Line Applications Research Corporation (OAR).
# All rights reserved.
#
# $Id$
#
PROJECT=relnotes
include ../Make.config
all: html info ps pdf
dirs:
$(make-dirs)
COMMON_FILES=../common/cpright.texi
FILES=install.texi intro.texi probrep.texi relnotes.texi status.texi
info: dirs relnotes
cp $(PROJECT) $(wildcard $(PROJECT)-*) $(INFO_INSTALL)
relnotes: $(FILES)
$(MAKEINFO) $(PROJECT).texi
dvi: dirs $(PROJECT).dvi
ps: dirs $(PROJECT).ps
pdf: dirs $(PROJECT).pdf
$(PROJECT).pdf: $(FILES)
$(TEXI2PDF) $(PROJECT).texi
cp $(PROJECT).pdf $(WWW_INSTALL)/$(PROJECT)
$(PROJECT).ps: $(PROJECT).dvi
dvips -o $(PROJECT).ps $(PROJECT).dvi
cp $(PROJECT).ps $(WWW_INSTALL)/$(PROJECT)
$(PROJECT).dvi: $(FILES)
$(TEXI2DVI) $(PROJECT).texi
cp $(PROJECT).dvi $(WWW_INSTALL)/$(PROJECT)
html: dirs
-mkdir -p $(WWW_INSTALL)/relnotes
$(TEXI2WWW) $(TEXI2WWW_ARGS) -dir $(WWW_INSTALL)/$(PROJECT) \
$(PROJECT).texi
clean:
rm -f *.o $(PROG) *.txt core *.html $(PROJECT).pdf
rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE)
rm -f relnotes relnotes-* _*
+21
View File
@@ -0,0 +1,21 @@
#
# COPYRIGHT (c) 1988-1999.
# On-Line Applications Research Corporation (OAR).
# All rights reserved.
#
# $Id$
#
AUTOMAKE_OPTIONS = foreign
PROJECT=relnotes
include $(top_srcdir)/project.am
COMMON_FILES=$(top_srcdir)/common/cpright.texi
FILES=install.texi intro.texi probrep.texi relnotes.texi status.texi
info_TEXINFOS = relnotes.texi
relnotes_TEXINFOS = $(FILES) $(COMMON_FILES) $(GENERATED_FILES)

Some files were not shown because too many files have changed in this diff Show More