source: rtems/doc/supplements/sparc/Makefile @ 139b2e4a

4.104.114.84.95
Last change on this file since 139b2e4a was 139b2e4a, checked in by Joel Sherrill <joel.sherrill@…>, on 06/04/97 at 18:32:07

added CVS Id string

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