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