source: rtems/doc/rgdb_specs/Makefile @ 64e0f6c4

4.104.114.84.95
Last change on this file since 64e0f6c4 was 64e0f6c4, checked in by Joel Sherrill <joel.sherrill@…>, on 04/02/99 at 17:23:36

Can now produce html, info, and PostScript? without errors. Links
between chapters are correct.

  • Property mode set to 100644
File size: 2.4 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=rgdb_specs
10DISTRIBUTION_LEVEL=public
11
12include ../Make.config
13
14all: html info ps
15
16dirs:
17        $(make-dirs)
18
19COMMON_FILES=../common/cpright.texi ../common/setup.texi
20
21GENERATED_FILES= \
22    intro.texi revision.texi objectives.texi gdbinternals.texi \
23    interfacing.texi comm.texi daemon.texi conclusion.texi
24
25FILES=$(PROJECT).texi $(GENERATED_FILES)
26
27INFOFILES=$(wildcard $(PROJECT) $(PROJECT)-*)
28
29info: dirs $(PROJECT)
30        #cp $(wildcard $(PROJECT) $(PROJECT)-*) $(INFO_INSTALL)
31        # cp $(PROJECT) $(INFO_INSTALL)
32
33$(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# run texi2dvi twice to generate the xref's properly.
44$(PROJECT).dvi: $(FILES)
45        $(TEXI2DVI) $(PROJECT).texi
46        texi2dvi $(PROJECT).texi
47
48html: dirs $(FILES)
49        -mkdir -p $(WWW_INSTALL)/$(PROJECT)
50        $(TEXI2WWW) $(TEXI2WWW_ARGS) -dir $(WWW_INSTALL)/$(PROJECT) \
51            $(PROJECT).texi
52
53clean:
54        rm -f *.o $(PROG) *.txt core
55        rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE)
56        rm -f $(PROJECT) $(PROJECT)-* $(GENERATED_FILES)
57        rm -f *.fixed _* network.t
58
59#
60#  Process Automatically Generated Files
61#
62
63intro.texi: intro.t Makefile
64        $(BMENU) -c -p "Top" \
65            -u "Top" \
66            -n "Document Revision History" ${*}.t
67
68revision.texi: revision.t Makefile
69        $(BMENU) -c -p "Introduction" \
70            -u "Top" \
71            -n "Objectives" ${*}.t
72
73objectives.texi: objectives.t Makefile
74        $(BMENU) -c -p "Document Revision History" \
75            -u "Top" \
76            -n "A Rapid Tour of GDB Internals" ${*}.t
77
78gdbinternals.texi: gdbinternals.t Makefile
79        $(BMENU) -c -p "Implied Restrictions" \
80            -u "Top" \
81            -n "Interfacing GDB with RTEMS as a Target" ${*}.t
82
83interfacing.texi: interfacing.t Makefile
84        $(BMENU) -c -p "A Rapid Tour of GDB Internals" \
85            -u "Top" \
86            -n "Communication with GDB" ${*}.t
87
88comm.texi: comm.t Makefile
89        $(BMENU) -c -p "Interfacing GDB with RTEMS as a Target" \
90            -u "Top" \
91            -n "RTEMS Debugger Server Daemon" ${*}.t
92
93daemon.texi: daemon.t Makefile
94        $(BMENU) -c -p "Communication with GDB" \
95            -u "Top" \
96            -n "Conclusion" ${*}.t
97
98conclusion.texi: conclusion.t Makefile
99        $(BMENU) -c -p "Output of a Debug Session with the Prototype" \
100            -u "Top" \
101            -n "" ${*}.t
102
103
Note: See TracBrowser for help on using the repository browser.