source: rtems/doc/supplements/powerpc/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
Line 
1#
2#  COPYRIGHT (c) 1988-1998.
3#  On-Line Applications Research Corporation (OAR).
4#  All rights reserved.
5#
6#  $Id$
7#
8
9PROJECT=powerpc
10DISTRIBUTION_LEVEL=internal
11
12include ../Make.config
13
14REPLACE=../tools/word-replace
15
16all: html info ps
17
18dirs:
19        $(make-dirs)
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
28INFOFILES=$(wildcard $(PROJECT) $(PROJECT)-*)
29
30info: dirs c_$(PROJECT)
31        cp c_$(PROJECT) c_$(PROJECT)-* $(INFO_INSTALL)
32
33c_$(PROJECT): $(FILES)
34        $(MAKEINFO) $(PROJECT).texi
35
36dvi: $(PROJECT).dvi
37ps: dirs $(PROJECT).ps
38       
39$(PROJECT).ps: $(PROJECT).dvi
40        dvips -o $(PROJECT).ps $(PROJECT).dvi
41        cp $(PROJECT).ps $(PS_INSTALL)
42
43$(PROJECT).dvi: $(FILES)
44        $(TEXI2DVI) $(PROJECT).texi
45
46replace: timedata.texi
47
48intr.texi: intr.t PSIM_TIMES
49        ${REPLACE} -p PSIM_TIMES intr.t
50        mv intr.t.fixed intr.texi
51
52timetbl.t: ../common/timetbl.t
53        sed -e 's/TIMETABLE_NEXT_LINK/Command and Variable Index/' \
54            <../common/timetbl.t >timetbl.t
55
56timetbl.texi: timetbl.t PSIM_TIMES
57        ${REPLACE} -p PSIM_TIMES timetbl.t
58        mv timetbl.t.fixed timetbl.texi
59
60timedata.texi: timedata.t PSIM_TIMES
61        ${REPLACE} -p PSIM_TIMES timedata.t
62        mv timedata.t.fixed timedata.texi
63
64wksheets.t: ../common/wksheets.t
65        sed -e 's/WORKSHEETS_PREVIOUS_LINK/Processor Dependent Information Table CPU Dependent Information Table/' \
66            -e 's/WORKSHEETS_NEXT_LINK/PPC603e Timing Data/' \
67            <../common/wksheets.t >wksheets.t
68
69wksheets.texi: wksheets.t PSIM_TIMES
70        ${REPLACE} -p PSIM_TIMES wksheets.t
71        mv wksheets.t.fixed wksheets.texi
72
73html: dirs $(FILES)
74        -mkdir -p $(WWW_INSTALL)/c_$(PROJECT)
75        $(TEXI2WWW) $(TEXI2WWW_ARGS) -dir $(WWW_INSTALL)/c_$(PROJECT) \
76            $(PROJECT).texi
77
78clean:
79        rm -f *.o $(PROG) *.txt core
80        rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE)
81        rm -f $(PROJECT) $(PROJECT)-*
82        rm -f c_$(PROJECT) c_$(PROJECT)-*
83        rm -f timedata.texi timetbl.texi intr.texi wksheets.texi
84        rm -f timetbl.t wksheets.t
85        rm -f *.fixed _*
86
Note: See TracBrowser for help on using the repository browser.