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