source: rtems/doc/supplements/i960/Makefile @ ae68ff0

4.104.114.84.95
Last change on this file since ae68ff0 was ae68ff0, checked in by Joel Sherrill <joel.sherrill@…>, on 05/27/97 at 12:40:11

Initial revision

  • Property mode set to 100644
File size: 2.0 KB
Line 
1#
2#  COPYRIGHT (c) 1996.
3#  On-Line Applications Research Corporation (OAR).
4#  All rights reserved.
5#
6
7include ../Make.config
8
9PROJECT=i960
10REPLACE=../tools/word-replace
11
12all: 
13
14COMMON_FILES=../common/cpright.texi ../common/setup.texi \
15  ../common/timing.texi
16
17FILES= $(PROJECT).texi \
18  bsp.texi callconv.texi cpumodel.texi cputable.texi fatalerr.texi \
19  intr.texi memmodel.texi preface.texi timetbl.texi timedata.texi wksheets.texi
20
21all:
22
23info: c_i960
24        cp c_$(PROJECT) $(INFO_INSTALL)
25
26c_i960: $(FILES)
27        $(MAKEINFO) $(PROJECT).texi
28
29vinfo: info
30        $(INFO) -f c_i960
31
32dvi: $(PROJECT).dvi
33ps: $(PROJECT).ps
34       
35$(PROJECT).ps: $(PROJECT).dvi
36        dvips -o $(PROJECT).ps $(PROJECT).dvi
37        cp $(PROJECT).ps $(PS_INSTALL)
38
39dv: dvi
40        $(XDVI) $(PROJECT).dvi
41
42view: ps
43        $(GHOSTVIEW) $(PROJECT).ps
44
45$(PROJECT).dvi: $(FILES)
46        $(TEXI2DVI) $(PROJECT).texi
47
48replace: timedata.texi
49
50intr.texi: intr.t CVME961_TIMES
51        ${REPLACE} -p CVME961_TIMES intr.t
52        mv intr.t.fixed intr.texi
53
54timetbl.t: ../common/timetbl.t
55        sed -e 's/TIMETABLE_NEXT_LINK/Command and Variable Index/' \
56            <../common/timetbl.t >timetbl.t
57
58timetbl.texi: timetbl.t CVME961_TIMES
59        ${REPLACE} -p CVME961_TIMES timetbl.t
60        mv timetbl.t.fixed timetbl.texi
61
62timedata.texi: timedata.t CVME961_TIMES
63        ${REPLACE} -p CVME961_TIMES timedata.t
64        mv timedata.t.fixed timedata.texi
65
66wksheets.t: ../common/wksheets.t
67        sed -e 's/WORKSHEETS_PREVIOUS_LINK/Processor Dependent Information Table CPU Dependent Information Table/' \
68            -e 's/WORKSHEETS_NEXT_LINK/i960CA Timing Data/' \
69            <../common/wksheets.t >wksheets.t
70
71wksheets.texi: wksheets.t CVME961_TIMES
72        ${REPLACE} -p CVME961_TIMES wksheets.t
73        mv wksheets.t.fixed wksheets.texi
74
75html: $(FILES)
76        -mkdir $(WWW_INSTALL)/c_i960
77        $(TEXI2WWW) $(TEXI2WWW_ARGS) -dir $(WWW_INSTALL)/c_$(PROJECT) \
78            $(PROJECT).texi
79
80clean:
81        rm -f *.o $(PROG) *.txt core
82        rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE)
83        rm -f $(PROJECT) $(PROJECT)-*
84        rm -f c_i960 c_i960-*
85        rm -f timedata.texi timetbl.texi intr.texi wksheets.texi
86        rm -f timetbl.t wksheets.t
87        rm -f *.fixed _*
88
Note: See TracBrowser for help on using the repository browser.