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