source: rtems/doc/supplements/sparc/Makefile @ 3754660c

4.104.114.84.95
Last change on this file since 3754660c was 3754660c, checked in by Joel Sherrill <joel.sherrill@…>, on 03/30/98 at 14:27:11

Added distribution level to each manual

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