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,9 +21,13 @@ dirs:
COMMON_FILES=../../common/cpright.texi ../../common/setup.texi \
../../common/timing.texi
GENERATED_FILES= \
wksheets.texi
FILES= $(PROJECT).texi \
bsp.texi callconv.texi cpumodel.texi cputable.texi fatalerr.texi \
intr.texi memmodel.texi preface.texi timetbl.texi timedata.texi wksheets.texi
intr.texi memmodel.texi preface.texi timetbl.texi timedata.texi \
$(GENERATED_FILES)
info: dirs c_hppa1_1
cp c_$(PROJECT) $(INFO_INSTALL)
@@ -43,6 +47,10 @@ $(PROJECT).dvi: $(FILES)
replace: timedata.texi
#
# Chapters which get automatic processing
#
intr.texi: intr.t TIMES
${REPLACE} -p TIMES intr.t
mv intr.t.fixed intr.texi
@@ -59,14 +67,22 @@ timedata.texi: timedata.t TIMES
${REPLACE} -p 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/HP-7100 Timing Data/' \
<../../common/wksheets.t >wksheets.t
# Worksheets Chapter:
# 1. Obtain the Shared File
# 2. Replace Times and Sizes
# 3. Build Node Structure
wksheets.texi: wksheets.t TIMES
${REPLACE} -p TIMES wksheets.t
mv wksheets.t.fixed wksheets.texi
wksheets_NOTIMES.t: ../../common/wksheets.t
cp ../../common/wksheets.t wksheets_NOTIMES.t
wksheets.t: wksheets_NOTIMES.t TIMES
${REPLACE} -p TIMES wksheets_NOTIMES.t
mv wksheets_NOTIMES.t.fixed wksheets.t
wksheets.texi: wksheets.t Makefile
$(BMENU) -p "Processor Dependent Information Table CPU Dependent Information Table" \
-u "Top" \
-n "HP-7100 Timing Data" ${*}.t
html: dirs $(FILES)
-mkdir -p $(WWW_INSTALL)/c_$(PROJECT)
@@ -78,7 +94,7 @@ clean:
rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE)
rm -f $(PROJECT) $(PROJECT)-*
rm -f c_hppa1_1 c_hppa1_1-*
rm -f timedata.texi timetbl.texi intr.texi wksheets.texi
rm -f timetbl.t wksheets.t
rm -f timedata.texi timetbl.texi timetbl.t intr.texi
rm -f wksheets.t wksheets_NOTIMES.t $(GENERATED_FILES)
rm -f *.fixed _*

View File

@@ -21,9 +21,13 @@ dirs:
COMMON_FILES=../../common/cpright.texi ../../common/setup.texi \
../../common/timing.texi
GENERATED_FILES= \
wksheets.texi
FILES= $(PROJECT).texi \
bsp.texi callconv.texi cpumodel.texi cputable.texi fatalerr.texi \
intr.texi memmodel.texi preface.texi timetbl.texi timedata.texi wksheets.texi
intr.texi memmodel.texi preface.texi timetbl.texi timedata.texi \
$(GENERATED_FILES)
info: dirs c_i386
cp c_$(PROJECT) c_$(PROJECT)-* $(INFO_INSTALL)
@@ -43,6 +47,10 @@ $(PROJECT).dvi: $(FILES)
replace: timedata.texi
#
# Chapters which get automatic processing
#
intr.texi: intr.t FORCE386_TIMES
${REPLACE} -p FORCE386_TIMES intr.t
mv intr.t.fixed intr.texi
@@ -59,14 +67,22 @@ timedata.texi: timedata.t FORCE386_TIMES
${REPLACE} -p FORCE386_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/CPU386 Timing Data/' \
<../../common/wksheets.t >wksheets.t
# Worksheets Chapter:
# 1. Obtain the Shared File
# 2. Replace Times and Sizes
# 3. Build Node Structure
wksheets.texi: wksheets.t FORCE386_TIMES
${REPLACE} -p FORCE386_TIMES wksheets.t
mv wksheets.t.fixed wksheets.texi
wksheets_NOTIMES.t: ../../common/wksheets.t
cp ../../common/wksheets.t wksheets_NOTIMES.t
wksheets.t: wksheets_NOTIMES.t FORCE386_TIMES
${REPLACE} -p FORCE386_TIMES wksheets_NOTIMES.t
mv wksheets_NOTIMES.t.fixed wksheets.t
wksheets.texi: wksheets.t Makefile
$(BMENU) -p "Processor Dependent Information Table CPU Dependent Information Table" \
-u "Top" \
-n "CPU386 Timing Data" ${*}.t
html: dirs $(FILES)
-mkdir -p $(WWW_INSTALL)/c_i386
@@ -78,7 +94,7 @@ clean:
rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE)
rm -f $(PROJECT) $(PROJECT)-*
rm -f c_i386 c_i386-*
rm -f timedata.texi timetbl.texi intr.texi wksheets.texi
rm -f timetbl.t wksheets.t
rm -f timedata.texi timetbl.texi intr.texi $(GENERATED_FILES)
rm -f timetbl.t wksheets.t wksheets_NOTIMES.t
rm -f *.fixed _*

View File

@@ -21,9 +21,13 @@ dirs:
COMMON_FILES=../../common/cpright.texi ../../common/setup.texi \
../../common/timing.texi
GENERATED_FILES= \
wksheets.texi
FILES= $(PROJECT).texi \
bsp.texi callconv.texi cpumodel.texi cputable.texi fatalerr.texi \
intr.texi memmodel.texi preface.texi timetbl.texi timedata.texi wksheets.texi
intr.texi memmodel.texi preface.texi timetbl.texi timedata.texi \
$(GENERATED_FILES)
info: dirs c_i960
cp c_$(PROJECT) $(INFO_INSTALL)
@@ -43,6 +47,10 @@ $(PROJECT).dvi: $(FILES)
replace: timedata.texi
#
# Chapters which get automatic processing
#
intr.texi: intr.t CVME961_TIMES
${REPLACE} -p CVME961_TIMES intr.t
mv intr.t.fixed intr.texi
@@ -59,14 +67,22 @@ timedata.texi: timedata.t CVME961_TIMES
${REPLACE} -p CVME961_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/CVME961 Timing Data/' \
<../../common/wksheets.t >wksheets.t
# Worksheets Chapter:
# 1. Obtain the Shared File
# 2. Replace Times and Sizes
# 3. Build Node Structure
wksheets.texi: wksheets.t CVME961_TIMES
${REPLACE} -p CVME961_TIMES wksheets.t
mv wksheets.t.fixed wksheets.texi
wksheets_NOTIMES.t: ../../common/wksheets.t
cp ../../common/wksheets.t wksheets_NOTIMES.t
wksheets.t: wksheets_NOTIMES.t CVME961_TIMES
${REPLACE} -p CVME961_TIMES wksheets_NOTIMES.t
mv wksheets_NOTIMES.t.fixed wksheets.t
wksheets.texi: wksheets.t Makefile
$(BMENU) -p "Processor Dependent Information Table CPU Dependent Information Table" \
-u "Top" \
-n "CVME961 Timing Data" ${*}.t
html: dirs $(FILES)
-mkdir -p $(WWW_INSTALL)/c_i960
@@ -78,7 +94,7 @@ clean:
rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE)
rm -f $(PROJECT) $(PROJECT)-*
rm -f c_i960 c_i960-*
rm -f timedata.texi timetbl.texi intr.texi wksheets.texi
rm -f timetbl.t wksheets.t
rm -f timedata.texi timetbl.texi timetbl.t intr.texi $(GENERATED_FILES)
rm -f wksheets.t wksheets_NOTIMES.t
rm -f *.fixed _*

View File

@@ -21,9 +21,13 @@ dirs:
COMMON_FILES=../../common/cpright.texi ../../common/setup.texi \
../../common/timing.texi
GENERATED_FILES= \
wksheets.texi
FILES= $(PROJECT).texi \
bsp.texi callconv.texi cpumodel.texi cputable.texi fatalerr.texi \
intr.texi memmodel.texi preface.texi timetbl.texi timedata.texi wksheets.texi
intr.texi memmodel.texi preface.texi timetbl.texi timedata.texi \
$(GENERATED_FILES)
info: dirs c_m68k
cp c_$(PROJECT) c_$(PROJECT)-* $(INFO_INSTALL)
@@ -43,13 +47,17 @@ $(PROJECT).dvi: $(FILES)
replace: timedata.texi
#
# Chapters which get automatic processing
#
intr.texi: intr.t MVME136_TIMES
${REPLACE} -p MVME136_TIMES intr.t
mv intr.t.fixed intr.texi
timetbl.t: ../../common/timetbl.t
sed -e 's/TIMETABLE_NEXT_LINK/Command and Variable Index/' \
<../../common/timetbl.t >timetbl.t
<../../common/timetbl.t >timetbl.t
timetbl.texi: timetbl.t MVME136_TIMES
${REPLACE} -p MVME136_TIMES timetbl.t
@@ -59,14 +67,22 @@ timedata.texi: timedata.t MVME136_TIMES
${REPLACE} -p MVME136_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
# Worksheets Chapter:
# 1. Obtain the Shared File
# 2. Replace Times and Sizes
# 3. Build Node Structure
wksheets.texi: wksheets.t MVME136_TIMES
${REPLACE} -p MVME136_TIMES wksheets.t
mv wksheets.t.fixed wksheets.texi
wksheets_NOTIMES.t: ../../common/wksheets.t
cp ../../common/wksheets.t wksheets_NOTIMES.t
wksheets.t: wksheets_NOTIMES.t MVME136_TIMES
${REPLACE} -p MVME136_TIMES wksheets_NOTIMES.t
mv wksheets_NOTIMES.t.fixed wksheets.t
wksheets.texi: wksheets.t Makefile
$(BMENU) -p "Processor Dependent Information Table CPU Dependent Information Table" \
-u "Top" \
-n "MVME136 Timing Data" ${*}.t
html: dirs $(FILES)
-mkdir -p $(WWW_INSTALL)/c_m68k
@@ -78,6 +94,6 @@ clean:
rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE)
rm -f $(PROJECT) $(PROJECT)-*
rm -f c_m68k c_m68k-*
rm -f timedata.texi timetbl.texi intr.texi wksheets.texi
rm -f timetbl.t wksheets.t
rm -f timedata.texi timetbl.texi intr.texi $(GENERATED_FILES)
rm -f timetbl.t wksheets.t wksheets_NOTIMES.t
rm -f *.fixed _*

View File

@@ -21,10 +21,14 @@ dirs:
COMMON_FILES=../../common/cpright.texi ../../common/setup.texi \
../../common/timing.texi
GENERATED_FILES= \
wksheets.texi
FILES= $(PROJECT).texi \
bsp.texi callconv.texi cpumodel.texi cputable.texi fatalerr.texi \
intr.texi memmodel.texi preface.texi timetbl.texi timedata.texi \
timedatadmv177.texi timetbldmv177.texi wksheets.texi
timedatadmv177.texi timetbldmv177.texi \
$(GENERATED_FILES)
INFOFILES=$(wildcard $(PROJECT) $(PROJECT)-*)
@@ -46,6 +50,10 @@ $(PROJECT).dvi: $(FILES)
replace: timedata.texi
#
# Chapters which get automatic processing
#
intr.texi: intr.t PSIM_TIMES
${REPLACE} -p PSIM_TIMES intr.t
mv intr.t.fixed intr.texi
@@ -74,14 +82,22 @@ timedatadmv177.texi: timedatadmv177.t DMV177_TIMES
${REPLACE} -p DMV177_TIMES timedatadmv177.t
mv timedatadmv177.t.fixed timedatadmv177.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/PSIM Timing Data/' \
<../../common/wksheets.t >wksheets.t
# Worksheets Chapter:
# 1. Obtain the Shared File
# 2. Replace Times and Sizes
# 3. Build Node Structure
wksheets.texi: wksheets.t PSIM_TIMES
${REPLACE} -p PSIM_TIMES wksheets.t
mv wksheets.t.fixed wksheets.texi
wksheets_NOTIMES.t: ../../common/wksheets.t
cp ../../common/wksheets.t wksheets_NOTIMES.t
wksheets.t: wksheets_NOTIMES.t PSIM_TIMES
${REPLACE} -p PSIM_TIMES wksheets_NOTIMES.t
mv wksheets_NOTIMES.t.fixed wksheets.t
wksheets.texi: wksheets.t Makefile
$(BMENU) -p "Processor Dependent Information Table CPU Dependent Information Table" \
-u "Top" \
-n "PSIM Timing Data" ${*}.t
html: dirs $(FILES)
-mkdir -p $(WWW_INSTALL)/c_$(PROJECT)
@@ -93,8 +109,8 @@ 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.texi wksheets.texi
rm -f timedata.texi timetbl.texi intr.texi $(GENERATED_FILES)
rm -f timedatadmv177.texi timetbldmv177.texi
rm -f timetbl.t wksheets.t
rm -f timetbl.t wksheets.t wksheets_NOTIMES.t
rm -f *.fixed _*

View File

@@ -21,9 +21,13 @@ dirs:
COMMON_FILES=../../common/cpright.texi ../../common/setup.texi \
../../common/timing.texi
GENERATED_FILES= \
wksheets.texi
FILES= $(PROJECT).texi \
bsp.texi callconv.texi cpumodel.texi cputable.texi fatalerr.texi \
intr.texi memmodel.texi preface.texi timetbl.texi timedata.texi wksheets.texi
intr.texi memmodel.texi preface.texi timetbl.texi timedata.texi \
$(GENERATED_FILES)
INFOFILES=$(wildcard $(PROJECT) $(PROJECT)-*)
@@ -45,6 +49,10 @@ $(PROJECT).dvi: $(FILES)
replace: timedata.texi
#
# Chapters which get automatic processing
#
intr.texi: intr.t SIS_TIMES
${REPLACE} -p SIS_TIMES intr.t
mv intr.t.fixed intr.texi
@@ -61,14 +69,22 @@ timedata.texi: timedata.t SIS_TIMES
${REPLACE} -p SIS_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/ERC32 Timing Data/' \
<../../common/wksheets.t >wksheets.t
# Worksheets Chapter:
# 1. Obtain the Shared File
# 2. Replace Times and Sizes
# 3. Build Node Structure
wksheets.texi: wksheets.t SIS_TIMES
${REPLACE} -p SIS_TIMES wksheets.t
mv wksheets.t.fixed wksheets.texi
wksheets_NOTIMES.t: ../../common/wksheets.t
cp ../../common/wksheets.t wksheets_NOTIMES.t
wksheets.t: wksheets_NOTIMES.t SIS_TIMES
${REPLACE} -p SIS_TIMES wksheets_NOTIMES.t
mv wksheets_NOTIMES.t.fixed wksheets.t
wksheets.texi: wksheets.t Makefile
$(BMENU) -p "Processor Dependent Information Table CPU Dependent Information Table" \
-u "Top" \
-n "ERC32 Timing Data" ${*}.t
html: dirs $(FILES)
-mkdir -p $(WWW_INSTALL)/c_$(PROJECT)
@@ -80,7 +96,7 @@ clean:
rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE)
rm -f $(PROJECT) $(PROJECT)-*
rm -f c_sparc c_sparc-*
rm -f timedata.texi timetbl.texi intr.texi wksheets.texi
rm -f timetbl.t wksheets.t
rm -f timedata.texi timetbl.texi intr.texi $(GENERATED_FILES)
rm -f timetbl.t wksheets.t wksheets_NOTIMES.t
rm -f *.fixed _*

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::