source: rtems/doc/rgdb_specs/Makefile @ 65beca61

4.104.114.84.95
Last change on this file since 65beca61 was 65beca61, checked in by Joel Sherrill <joel.sherrill@…>, on 04/02/99 at 17:41:37

Now at least a version of the figures shows up in the html although
there are no captions.

  • 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        cp $(wildcard *.jpg) $(WWW_INSTALL)/$(PROJECT)
51        $(TEXI2WWW) $(TEXI2WWW_ARGS) -dir $(WWW_INSTALL)/$(PROJECT) \
52            $(PROJECT).texi
53
54clean:
55        rm -f *.o $(PROG) *.txt core
56        rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE)
57        rm -f $(PROJECT) $(PROJECT)-* $(GENERATED_FILES)
58        rm -f *.fixed _*
59
60#
61#  Process Automatically Generated Files
62#
63
64intro.texi: intro.t Makefile
65        $(BMENU) -c -p "Top" \
66            -u "Top" \
67            -n "Document Revision History" ${*}.t
68
69revision.texi: revision.t Makefile
70        $(BMENU) -c -p "Introduction" \
71            -u "Top" \
72            -n "Objectives" ${*}.t
73
74objectives.texi: objectives.t Makefile
75        $(BMENU) -c -p "Document Revision History" \
76            -u "Top" \
77            -n "A Rapid Tour of GDB Internals" ${*}.t
78
79gdbinternals.texi: gdbinternals.t Makefile
80        $(BMENU) -c -p "Implied Restrictions" \
81            -u "Top" \
82            -n "Interfacing GDB with RTEMS as a Target" ${*}.t
83
84interfacing.texi: interfacing.t Makefile
85        $(BMENU) -c -p "A Rapid Tour of GDB Internals" \
86            -u "Top" \
87            -n "Communication with GDB" ${*}.t
88
89comm.texi: comm.t Makefile
90        $(BMENU) -c -p "Interfacing GDB with RTEMS as a Target" \
91            -u "Top" \
92            -n "RTEMS Debugger Server Daemon" ${*}.t
93
94daemon.texi: daemon.t Makefile
95        $(BMENU) -c -p "Communication with GDB" \
96            -u "Top" \
97            -n "Conclusion" ${*}.t
98
99conclusion.texi: conclusion.t Makefile
100        $(BMENU) -c -p "Output of a Debug Session with the Prototype" \
101            -u "Top" \
102            -n "" ${*}.t
103
104
Note: See TracBrowser for help on using the repository browser.