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:43 joel Exp
|
7 |
|
|
#
|
8 |
|
|
|
9 |
|
|
|
10 |
|
|
PROJECT = i960
|
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 |
|
|
timeCVME961.texi
|
19 |
|
|
COMMON_FILES = $(top_srcdir)/common/setup.texi \
|
20 |
|
|
$(top_srcdir)/common/cpright.texi $(top_srcdir)/common/timemac.texi
|
21 |
|
|
|
22 |
|
|
FILES = preface.texi
|
23 |
|
|
|
24 |
|
|
info_TEXINFOS = i960.texi
|
25 |
|
|
i960_TEXINFOS = $(FILES) $(COMMON_FILES) $(GENERATED_FILES)
|
26 |
|
|
|
27 |
|
|
#
|
28 |
|
|
# Chapters which get automatic processing
|
29 |
|
|
#
|
30 |
|
|
|
31 |
|
|
$(srcdir)/cpumodel.texi: cpumodel.t
|
32 |
|
|
$(BMENU2) -p "Preface" \
|
33 |
|
|
-u "Top" \
|
34 |
|
|
-n "Calling Conventions" < $< > $@
|
35 |
|
|
|
36 |
|
|
$(srcdir)/callconv.texi: callconv.t
|
37 |
|
|
$(BMENU2) -p "CPU Model Dependent Features Floating Point Unit" \
|
38 |
|
|
-u "Top" \
|
39 |
|
|
-n "Memory Model" < $< > $@
|
40 |
|
|
|
41 |
|
|
$(srcdir)/memmodel.texi: memmodel.t
|
42 |
|
|
$(BMENU2) -p "Calling Conventions Leaf Procedures" \
|
43 |
|
|
-u "Top" \
|
44 |
|
|
-n "Interrupt Processing" < $< > $@
|
45 |
|
|
|
46 |
|
|
# Interrupt Chapter:
|
47 |
|
|
# 1. Replace Times and Sizes
|
48 |
|
|
# 2. Build Node Structure
|
49 |
|
|
$(srcdir)/intr.texi: intr_NOTIMES.t CVME961_TIMES
|
50 |
|
|
${REPLACE2} -p $(srcdir)/CVME961_TIMES $(srcdir)/intr_NOTIMES.t | \
|
51 |
|
|
$(BMENU2) -p "Memory Model Flat Memory Model" \
|
52 |
|
|
-u "Top" \
|
53 |
|
|
-n "Default Fatal Error Processing" > $@
|
54 |
|
|
|
55 |
|
|
$(srcdir)/fatalerr.texi: fatalerr.t
|
56 |
|
|
$(BMENU2) -p "Interrupt Processing Interrupt Stack" \
|
57 |
|
|
-u "Top" \
|
58 |
|
|
-n "Board Support Packages" < $< > $@
|
59 |
|
|
|
60 |
|
|
$(srcdir)/bsp.texi: bsp.t
|
61 |
|
|
$(BMENU2) -p "Default Fatal Error Processing Default Fatal Error Handler Operations" \
|
62 |
|
|
-u "Top" \
|
63 |
|
|
-n "Processor Dependent Information Table" < $< > $@
|
64 |
|
|
|
65 |
|
|
$(srcdir)/cputable.texi: cputable.t
|
66 |
|
|
$(BMENU2) -p "Board Support Packages Processor Initialization" \
|
67 |
|
|
-u "Top" \
|
68 |
|
|
-n "Memory Requirements" < $< > $@
|
69 |
|
|
|
70 |
|
|
# Worksheets Chapter:
|
71 |
|
|
# 1. Obtain the Shared File
|
72 |
|
|
# 2. Replace Times and Sizes
|
73 |
|
|
# 3. Build Node Structure
|
74 |
|
|
|
75 |
|
|
$(srcdir)/wksheets.texi: $(top_srcdir)/common/wksheets.t CVME961_TIMES
|
76 |
|
|
${REPLACE2} -p $(srcdir)/CVME961_TIMES \
|
77 |
|
|
$(top_srcdir)/common/wksheets.t | \
|
78 |
|
|
$(BMENU2) -p "Processor Dependent Information Table CPU Dependent Information Table" \
|
79 |
|
|
-u "Top" \
|
80 |
|
|
-n "Timing Specification" > $@
|
81 |
|
|
|
82 |
|
|
# Timing Specification Chapter:
|
83 |
|
|
# 1. Copy the Shared File
|
84 |
|
|
# 3. Build Node Structure
|
85 |
|
|
|
86 |
|
|
$(srcdir)/timing.texi: $(top_srcdir)/common/timing.t
|
87 |
|
|
$(BMENU2) -p "Memory Requirements RTEMS RAM Workspace Worksheet" \
|
88 |
|
|
-u "Top" \
|
89 |
|
|
-n "CVME961 Timing Data" < $< > $@
|
90 |
|
|
|
91 |
|
|
# Timing Data for BSP Chapter:
|
92 |
|
|
# 1. Copy the Shared File
|
93 |
|
|
# 2. Replace Times and Sizes
|
94 |
|
|
# 3. Build Node Structure
|
95 |
|
|
|
96 |
|
|
$(srcdir)/timeCVME961.texi: $(top_srcdir)/common/timetbl.t timeCVME961.t
|
97 |
|
|
cat $(srcdir)/timeCVME961.t $(top_srcdir)/common/timetbl.t >timeCVME961_.t
|
98 |
|
|
@echo >>timeCVME961_.t
|
99 |
|
|
@echo "@tex" >>timeCVME961_.t
|
100 |
|
|
@echo "\\global\\advance \\smallskipamount by 4pt" >>timeCVME961_.t
|
101 |
|
|
@echo "@end tex" >>timeCVME961_.t
|
102 |
|
|
${REPLACE2} -p $(srcdir)/CVME961_TIMES timeCVME961_.t | \
|
103 |
|
|
$(BMENU2) -p "Timing Specification Terminology" \
|
104 |
|
|
-u "Top" \
|
105 |
|
|
-n "Command and Variable Index" > $@
|
106 |
|
|
CLEANFILES += timeCVME961_.t
|
107 |
|
|
|
108 |
|
|
EXTRA_DIST = CVME961_TIMES bsp.t callconv.t cpumodel.t cputable.t fatalerr.t \
|
109 |
|
|
intr_NOTIMES.t memmodel.t timeCVME961.t
|