[891d63bd] | 1 | # |
---|
| 2 | # COPYRIGHT (c) 1988-2002. |
---|
| 3 | # On-Line Applications Research Corporation (OAR). |
---|
| 4 | # All rights reserved. |
---|
| 5 | # |
---|
| 6 | # $Id$ |
---|
| 7 | # |
---|
| 8 | |
---|
| 9 | AUTOMAKE_OPTIONS = foreign 1.5 |
---|
| 10 | |
---|
| 11 | PROJECT = mips |
---|
| 12 | EDITION = 1 |
---|
| 13 | |
---|
| 14 | include $(top_srcdir)/project.am |
---|
| 15 | include $(top_srcdir)/supplements/supplement.am |
---|
| 16 | |
---|
| 17 | GENERATED_FILES = cpumodel.texi callconv.texi memmodel.texi intr.texi \ |
---|
| 18 | fatalerr.texi bsp.texi cputable.texi wksheets.texi timing.texi \ |
---|
| 19 | timeBSP.texi |
---|
| 20 | |
---|
| 21 | COMMON_FILES = $(top_srcdir)/common/setup.texi \ |
---|
| 22 | $(top_srcdir)/common/cpright.texi $(top_srcdir)/common/timemac.texi |
---|
| 23 | |
---|
| 24 | FILES = preface.texi |
---|
| 25 | |
---|
| 26 | info_TEXINFOS = mips.texi |
---|
| 27 | mips_TEXINFOS = $(FILES) $(COMMON_FILES) $(GENERATED_FILES) |
---|
| 28 | |
---|
| 29 | # |
---|
| 30 | # Chapters which get automatic processing |
---|
| 31 | # |
---|
| 32 | |
---|
| 33 | $(srcdir)/cpumodel.texi: cpumodel.t |
---|
| 34 | $(BMENU2) -p "Preface" \ |
---|
| 35 | -u "Top" \ |
---|
| 36 | -n "Calling Conventions" < $< > $@ |
---|
| 37 | |
---|
| 38 | $(srcdir)/callconv.texi: callconv.t |
---|
| 39 | $(BMENU2) -p "CPU Model Dependent Features Another Optional Feature" \ |
---|
| 40 | -u "Top" \ |
---|
| 41 | -n "Memory Model" < $< > $@ |
---|
| 42 | |
---|
| 43 | $(srcdir)/memmodel.texi: memmodel.t |
---|
| 44 | $(BMENU2) -p "Calling Conventions User-Provided Routines" \ |
---|
| 45 | -u "Top" \ |
---|
| 46 | -n "Interrupt Processing" < $< > $@ |
---|
| 47 | |
---|
| 48 | # Interrupt Chapter: |
---|
| 49 | # 1. Replace Times and Sizes |
---|
| 50 | # 2. Build Node Structure |
---|
| 51 | $(srcdir)/intr.texi: intr_NOTIMES.t BSP_TIMES |
---|
| 52 | ${REPLACE2} -p $(srcdir)/BSP_TIMES $(srcdir)/intr_NOTIMES.t | \ |
---|
| 53 | $(BMENU2) -p "Memory Model Flat Memory Model" \ |
---|
| 54 | -u "Top" \ |
---|
| 55 | -n "Default Fatal Error Processing" > $@ |
---|
| 56 | |
---|
| 57 | $(srcdir)/fatalerr.texi: fatalerr.t |
---|
| 58 | $(BMENU2) -p "Interrupt Processing Interrupt Stack" \ |
---|
| 59 | -u "Top" \ |
---|
| 60 | -n "Board Support Packages" < $< > $@ |
---|
| 61 | |
---|
| 62 | $(srcdir)/bsp.texi: bsp.t |
---|
| 63 | $(BMENU2) -p "Default Fatal Error Processing Default Fatal Error Handler Operations" \ |
---|
| 64 | -u "Top" \ |
---|
| 65 | -n "Processor Dependent Information Table" < $< > $@ |
---|
| 66 | |
---|
| 67 | $(srcdir)/cputable.texi: cputable.t |
---|
| 68 | $(BMENU2) -p "Board Support Packages Processor Initialization" \ |
---|
| 69 | -u "Top" \ |
---|
| 70 | -n "Memory Requirements" < $< > $@ |
---|
| 71 | |
---|
| 72 | # Worksheets Chapter: |
---|
| 73 | # 1. Copy the Shared File |
---|
| 74 | # 2. Replace Times and Sizes |
---|
| 75 | # 3. Build Node Structure |
---|
| 76 | |
---|
| 77 | $(srcdir)/wksheets.texi: $(top_srcdir)/common/wksheets.t BSP_TIMES |
---|
| 78 | ${REPLACE2} -p $(srcdir)/BSP_TIMES \ |
---|
| 79 | $(top_srcdir)/common/wksheets.t | \ |
---|
| 80 | $(BMENU2) -p "Processor Dependent Information Table CPU Dependent Information Table" \ |
---|
| 81 | -u "Top" \ |
---|
| 82 | -n "Timing Specification" > $@ |
---|
| 83 | |
---|
| 84 | # Timing Specification Chapter: |
---|
| 85 | # 1. Copy the Shared File |
---|
| 86 | # 3. Build Node Structure |
---|
| 87 | |
---|
| 88 | $(srcdir)/timing.texi: $(top_srcdir)/common/timing.t |
---|
| 89 | $(BMENU2) -p "Memory Requirements RTEMS RAM Workspace Worksheet" \ |
---|
| 90 | -u "Top" \ |
---|
| 91 | -n "BSP_FOR_TIMES Timing Data" < $< > $@ |
---|
| 92 | |
---|
| 93 | # Timing Data for BSP Chapter: |
---|
| 94 | # 1. Copy the Shared File |
---|
| 95 | # 2. Replace Times and Sizes |
---|
| 96 | # 3. Build Node Structure |
---|
| 97 | |
---|
| 98 | $(srcdir)/timeBSP.texi: $(top_srcdir)/common/timetbl.t timeBSP.t |
---|
| 99 | cat $(srcdir)/timeBSP.t $(top_srcdir)/common/timetbl.t >timeBSP_.t |
---|
| 100 | @echo >>timeBSP_.t |
---|
| 101 | @echo "@tex" >>timeBSP_.t |
---|
| 102 | @echo "\\global\\advance \\smallskipamount by 4pt" >>timeBSP_.t |
---|
| 103 | @echo "@end tex" >>timeBSP_.t |
---|
| 104 | ${REPLACE2} -p $(srcdir)/BSP_TIMES timeBSP_.t | \ |
---|
| 105 | $(BMENU2) -p "Timing Specification Terminology" \ |
---|
| 106 | -u "Top" \ |
---|
| 107 | -n "Command and Variable Index" > $@ |
---|
| 108 | CLEANFILES += timeBSP_.t |
---|
| 109 | |
---|
| 110 | EXTRA_DIST = BSP_TIMES bsp.t callconv.t cpumodel.t cputable.t fatalerr.t \ |
---|
| 111 | intr_NOTIMES.t memmodel.t timeBSP.t |
---|