1 | # |
---|
2 | # COPYRIGHT (c) 1988-1998. |
---|
3 | # On-Line Applications Research Corporation (OAR). |
---|
4 | # All rights reserved. |
---|
5 | # |
---|
6 | # $Id$ |
---|
7 | # |
---|
8 | |
---|
9 | PROJECT=rgdb_specs |
---|
10 | DISTRIBUTION_LEVEL=public |
---|
11 | |
---|
12 | include ../Make.config |
---|
13 | |
---|
14 | all: html info ps |
---|
15 | |
---|
16 | dirs: |
---|
17 | $(make-dirs) |
---|
18 | |
---|
19 | COMMON_FILES=../common/cpright.texi ../common/setup.texi |
---|
20 | |
---|
21 | GENERATED_FILES= \ |
---|
22 | intro.texi revision.texi objectives.texi gdbinternals.texi \ |
---|
23 | interfacing.texi comm.texi daemon.texi conclusion.texi |
---|
24 | |
---|
25 | FILES=$(PROJECT).texi $(GENERATED_FILES) |
---|
26 | |
---|
27 | INFOFILES=$(wildcard $(PROJECT) $(PROJECT)-*) |
---|
28 | |
---|
29 | info: dirs $(PROJECT) |
---|
30 | #cp $(wildcard $(PROJECT) $(PROJECT)-*) $(INFO_INSTALL) |
---|
31 | # cp $(PROJECT) $(INFO_INSTALL) |
---|
32 | |
---|
33 | $(PROJECT): $(FILES) |
---|
34 | $(MAKEINFO) $(PROJECT).texi |
---|
35 | |
---|
36 | dvi: $(PROJECT).dvi |
---|
37 | ps: 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 | |
---|
48 | html: dirs $(FILES) |
---|
49 | -mkdir -p $(WWW_INSTALL)/$(PROJECT) |
---|
50 | $(TEXI2WWW) $(TEXI2WWW_ARGS) -dir $(WWW_INSTALL)/$(PROJECT) \ |
---|
51 | $(PROJECT).texi |
---|
52 | |
---|
53 | clean: |
---|
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 | |
---|
63 | intro.texi: intro.t Makefile |
---|
64 | $(BMENU) -c -p "Top" \ |
---|
65 | -u "Top" \ |
---|
66 | -n "Document Revision History" ${*}.t |
---|
67 | |
---|
68 | revision.texi: revision.t Makefile |
---|
69 | $(BMENU) -c -p "Introduction" \ |
---|
70 | -u "Top" \ |
---|
71 | -n "Objectives" ${*}.t |
---|
72 | |
---|
73 | objectives.texi: objectives.t Makefile |
---|
74 | $(BMENU) -c -p "Document Revision History" \ |
---|
75 | -u "Top" \ |
---|
76 | -n "A Rapid Tour of GDB Internals" ${*}.t |
---|
77 | |
---|
78 | gdbinternals.texi: gdbinternals.t Makefile |
---|
79 | $(BMENU) -c -p "Implied Restrictions" \ |
---|
80 | -u "Top" \ |
---|
81 | -n "Interfacing GDB with RTEMS as a Target" ${*}.t |
---|
82 | |
---|
83 | interfacing.texi: interfacing.t Makefile |
---|
84 | $(BMENU) -c -p "A Rapid Tour of GDB Internals" \ |
---|
85 | -u "Top" \ |
---|
86 | -n "Communication with GDB" ${*}.t |
---|
87 | |
---|
88 | comm.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 | |
---|
93 | daemon.texi: daemon.t Makefile |
---|
94 | $(BMENU) -c -p "Communication with GDB" \ |
---|
95 | -u "Top" \ |
---|
96 | -n "Conclusion" ${*}.t |
---|
97 | |
---|
98 | conclusion.texi: conclusion.t Makefile |
---|
99 | $(BMENU) -c -p "Output of a Debug Session with the Prototype" \ |
---|
100 | -u "Top" \ |
---|
101 | -n "" ${*}.t |
---|
102 | |
---|
103 | |
---|