source: rtems/doc/supplements/m68k/Makefile @ 2aaac528

4.104.114.84.95
Last change on this file since 2aaac528 was 2aaac528, checked in by Joel Sherrill <joel.sherrill@…>, on 04/11/98 at 15:20:22

Corrected paths after moving all supplements into a subdirectory.

  • 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=m68k
10DISTRIBUTION_LEVEL=support
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
28info: dirs c_m68k
29        cp c_$(PROJECT) c_$(PROJECT)-* $(INFO_INSTALL)
30
31c_m68k: $(FILES)
32        $(MAKEINFO) $(PROJECT).texi
33
34dvi: $(PROJECT).dvi
35ps: dirs $(PROJECT).ps
36       
37$(PROJECT).ps: $(PROJECT).dvi
38        dvips -o $(PROJECT).ps $(PROJECT).dvi
39        cp $(PROJECT).ps $(PS_INSTALL)
40
41$(PROJECT).dvi: $(FILES)
42        $(TEXI2DVI) $(PROJECT).texi
43
44replace: timedata.texi
45
46intr.texi: intr.t MVME136_TIMES
47        ${REPLACE} -p MVME136_TIMES intr.t
48        mv intr.t.fixed intr.texi
49
50timetbl.t: ../../common/timetbl.t
51        sed -e 's/TIMETABLE_NEXT_LINK/Command and Variable Index/' \
52            <../../common/timetbl.t >timetbl.t
53
54timetbl.texi: timetbl.t MVME136_TIMES
55        ${REPLACE} -p MVME136_TIMES timetbl.t
56        mv timetbl.t.fixed timetbl.texi
57
58timedata.texi: timedata.t MVME136_TIMES
59        ${REPLACE} -p MVME136_TIMES timedata.t
60        mv timedata.t.fixed timedata.texi
61
62wksheets.t: ../../common/wksheets.t
63        sed -e 's/WORKSHEETS_PREVIOUS_LINK/Processor Dependent Information Table CPU Dependent Information Table/' \
64            -e 's/WORKSHEETS_NEXT_LINK/MC68020 Timing Data/' \
65            <../../common/wksheets.t >wksheets.t
66
67wksheets.texi: wksheets.t MVME136_TIMES
68        ${REPLACE} -p MVME136_TIMES wksheets.t
69        mv wksheets.t.fixed wksheets.texi
70
71html: dirs $(FILES)
72        -mkdir -p $(WWW_INSTALL)/c_m68k
73        $(TEXI2WWW) $(TEXI2WWW_ARGS) -dir $(WWW_INSTALL)/c_$(PROJECT) \
74            $(PROJECT).texi
75
76clean:
77        rm -f *.o $(PROG) *.txt core
78        rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE)
79        rm -f $(PROJECT) $(PROJECT)-*
80        rm -f c_m68k c_m68k-*
81        rm -f timedata.texi timetbl.texi intr.texi wksheets.texi
82        rm -f timetbl.t wksheets.t
83        rm -f *.fixed _*
Note: See TracBrowser for help on using the repository browser.