source: rtems/doc/supplements/sparc/Makefile @ eff6983d

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

Making the stanza right and improving the way the isntall directories are built

  • Property mode set to 100644
File size: 2.1 KB
RevLine 
[ae68ff0]1#
[1e524995]2#  COPYRIGHT (c) 1988-1998.
[ae68ff0]3#  On-Line Applications Research Corporation (OAR).
4#  All rights reserved.
5#
[139b2e4a]6#  $Id$
7#
[ae68ff0]8
[3754660c]9PROJECT=sparc
10DISTRIBUTION_LEVEL=support
11
[ae68ff0]12include ../Make.config
13
14REPLACE=../tools/word-replace
15
[eff6983d]16all: html info ps
17
18dirs:
19        $(make-dirs)
[ae68ff0]20
21COMMON_FILES=../common/cpright.texi ../common/setup.texi \
22  ../common/timing.texi
23
24FILES= $(PROJECT).texi \
25  bsp.texi callconv.texi cpumodel.texi cputable.texi fatalerr.texi \
26  intr.texi memmodel.texi preface.texi timetbl.texi timedata.texi wksheets.texi
27
[eff6983d]28dirs:
29        $(make-dirs)
[ae68ff0]30
31INFOFILES=$(wildcard $(PROJECT) $(PROJECT)-*)
32
[eff6983d]33info: dirs c_sparc
[ae68ff0]34        cp c_$(PROJECT) c_$(PROJECT)-* $(INFO_INSTALL)
35
36c_sparc: $(FILES)
37        $(MAKEINFO) $(PROJECT).texi
38
39dvi: $(PROJECT).dvi
[eff6983d]40ps: dirs $(PROJECT).ps
[ae68ff0]41       
[eff6983d]42$(PROJECT).ps: dirs $(PROJECT).dvi
[ae68ff0]43        dvips -o $(PROJECT).ps $(PROJECT).dvi
44        cp $(PROJECT).ps $(PS_INSTALL)
45
46$(PROJECT).dvi: $(FILES)
47        $(TEXI2DVI) $(PROJECT).texi
48
49replace: timedata.texi
50
51intr.texi: intr.t SIS_TIMES
52        ${REPLACE} -p SIS_TIMES intr.t
53        mv intr.t.fixed intr.texi
54
55timetbl.t: ../common/timetbl.t
56        sed -e 's/TIMETABLE_NEXT_LINK/Command and Variable Index/' \
57            <../common/timetbl.t >timetbl.t
58
59timetbl.texi: timetbl.t SIS_TIMES
60        ${REPLACE} -p SIS_TIMES timetbl.t
61        mv timetbl.t.fixed timetbl.texi
62
63timedata.texi: timedata.t SIS_TIMES
64        ${REPLACE} -p SIS_TIMES timedata.t
65        mv timedata.t.fixed timedata.texi
66
67wksheets.t: ../common/wksheets.t
68        sed -e 's/WORKSHEETS_PREVIOUS_LINK/Processor Dependent Information Table CPU Dependent Information Table/' \
69            -e 's/WORKSHEETS_NEXT_LINK/ERC32 Timing Data/' \
70            <../common/wksheets.t >wksheets.t
71
72wksheets.texi: wksheets.t SIS_TIMES
73        ${REPLACE} -p SIS_TIMES wksheets.t
74        mv wksheets.t.fixed wksheets.texi
75
[eff6983d]76html: dirs dirs $(FILES)
[ae68ff0]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_sparc c_sparc-*
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.