Worksheets now generated from a common file and the node info structure

is generated automatically.
This commit is contained in:
Joel Sherrill
1998-10-19 15:06:22 +00:00
parent fdf9cb6032
commit c59eb6164d
8 changed files with 194 additions and 85 deletions

View File

@@ -21,14 +21,15 @@ dirs:
COMMON_FILES=../../common/cpright.texi ../../common/setup.texi \
../../common/timing.texi
FILES= $(PROJECT).texi preface.texi \
$(COMMON_FILES) $(GENERATED_FILES)
GENERATED_FILES=\
cpumodel.texi callconv.texi memmodel.texi intr.texi fatalerr.texi \
bsp.texi cputable.texi
bsp.texi cputable.texi wksheets.texi
# timetbl.texi timedata.texi wksheets.texi
FILES= $(PROJECT).texi preface.texi \
$(COMMON_FILES) $(GENERATED_FILES)
info: dirs c_$(PROJECT)
@echo NEED TO INSTALL THE INFO FILES
#cp c_$(PROJECT) c_$(PROJECT)-* $(INFO_INSTALL)
@@ -65,15 +66,18 @@ memmodel.texi: memmodel.t Makefile
-u "Top" \
-n "" ${*}.t
# Interrupt Chapter:
# 1. Replace Times and Sizes
# 2. Build Node Structure
intr.t: intr_NOTIMES.t BSP_TIMES
${REPLACE} -p BSP_TIMES intr_NOTIMES.t
mv intr_NOTIMES.t.fixed intr.t
intr.texi: intr.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
intr.t: intr_NOTIMES.t BSP_TIMES
${REPLACE} -p BSP_TIMES intr_NOTIMES.t
mv intr_NOTIMES.t.fixed intr.t
fatalerr.texi: fatalerr.t Makefile
$(BMENU) -p "" \
-u "Top" \
@@ -89,29 +93,37 @@ cputable.texi: cputable.t Makefile
-u "Top" \
-n "" ${*}.t
# Worksheets Chapter:
# 1. Specialize the Shared File
# 2. Replace Times and Sizes
# 3. Build Node Structure
wksheets_NOTIMES.t: ../../common/wksheets.t
cp ../../common/wksheets.t wksheets_NOTIMES.t
wksheets.t: wksheets_NOTIMES.t BSP_TIMES
${REPLACE} -p BSP_TIMES wksheets_NOTIMES.t
mv wksheets_NOTIMES.t.fixed wksheets.t
wksheets.texi: wksheets.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
replace: timedata.texi
timetbl.t: ../../common/timetbl.t
sed -e 's/TIMETABLE_NEXT_LINK/Command and Variable Index/' \
<../../common/timetbl.t >timetbl.t
timetbl.texi: timetbl.t MVME136_TIMES
${REPLACE} -p MVME136_TIMES timetbl.t
timetbl.texi: timetbl.t BSP_TIMES
${REPLACE} -p BSP_TIMES timetbl.t
mv timetbl.t.fixed timetbl.texi
timedata.texi: timedata.t MVME136_TIMES
${REPLACE} -p MVME136_TIMES timedata.t
timedata.texi: timedata.t BSP_TIMES
${REPLACE} -p BSP_TIMES timedata.t
mv timedata.t.fixed timedata.texi
wksheets.t: ../../common/wksheets.t
sed -e 's/WORKSHEETS_PREVIOUS_LINK/Processor Dependent Information Table CPU Dependent Information Table/' \
-e 's/WORKSHEETS_NEXT_LINK/MVME136 Timing Data/' \
<../../common/wksheets.t >wksheets.t
wksheets.texi: wksheets.t MVME136_TIMES
${REPLACE} -p MVME136_TIMES wksheets.t
mv wksheets.t.fixed wksheets.texi
html: dirs $(FILES)
-mkdir -p $(WWW_INSTALL)/c_$(PROJECT)
$(TEXI2WWW) $(TEXI2WWW_ARGS) -dir $(WWW_INSTALL)/c_$(PROJECT) \
@@ -122,6 +134,7 @@ clean:
rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE)
rm -f $(PROJECT) $(PROJECT)-*
rm -f c_$(PROJECT) c_$(PROJECT)-*
rm -f timedata.texi timetbl.texi intr.t wksheets.texi
rm -f timetbl.t wksheets.t
rm -f wksheets.t wksheets_NOTIMES.t
#rm -f timedata.texi timetbl.texi intr.t
#rm -f timetbl.t
rm -f *.fixed _* $(GENERATED_FILES)

View File

@@ -71,7 +71,7 @@ END-INFO-DIR-ENTRY
@include fatalerr.texi
@include bsp.texi
@include cputable.texi
@c @include wksheets.texi
@include wksheets.texi
@c @include ../../common/timing.texi
@c @include timedata.texi
@ifinfo
@@ -90,7 +90,7 @@ Applications Supplement.
* Default Fatal Error Processing::
* Board Support Packages::
* Processor Dependent Information Table::
** Memory Requirements::
* Memory Requirements::
** Timing Specification::
** MVME136 Timing Data::
* Command and Variable Index::