[bea606a] | 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 | |
---|
| 11 | include ../Make.config |
---|
| 12 | |
---|
[ed11cadf] | 13 | all: html info ps pdf |
---|
[bea606a] | 14 | |
---|
| 15 | dirs: |
---|
| 16 | $(make-dirs) |
---|
| 17 | |
---|
| 18 | COMMON_FILES=../common/cpright.texi ../common/setup.texi |
---|
| 19 | |
---|
| 20 | GENERATED_FILES= \ |
---|
| 21 | intro.texi revision.texi objectives.texi gdbinternals.texi \ |
---|
| 22 | interfacing.texi comm.texi daemon.texi conclusion.texi |
---|
| 23 | |
---|
| 24 | FILES=$(PROJECT).texi $(GENERATED_FILES) |
---|
| 25 | |
---|
| 26 | INFOFILES=$(wildcard $(PROJECT) $(PROJECT)-*) |
---|
| 27 | |
---|
| 28 | info: dirs $(PROJECT) |
---|
| 29 | #cp $(wildcard $(PROJECT) $(PROJECT)-*) $(INFO_INSTALL) |
---|
| 30 | # cp $(PROJECT) $(INFO_INSTALL) |
---|
| 31 | |
---|
| 32 | $(PROJECT): $(FILES) |
---|
| 33 | $(MAKEINFO) $(PROJECT).texi |
---|
| 34 | |
---|
| 35 | dvi: $(PROJECT).dvi |
---|
| 36 | ps: dirs $(PROJECT).ps |
---|
[ed11cadf] | 37 | pdf: dirs $(PROJECT).pdf |
---|
| 38 | |
---|
| 39 | $(PROJECT).pdf: $(FILES) |
---|
| 40 | $(TEXI2PDF) $(PROJECT).texi |
---|
| 41 | cp $(PROJECT).pdf $(PDF_INSTALL) |
---|
[bea606a] | 42 | |
---|
| 43 | $(PROJECT).ps: $(PROJECT).dvi |
---|
| 44 | dvips -o $(PROJECT).ps $(PROJECT).dvi |
---|
| 45 | cp $(PROJECT).ps $(PS_INSTALL) |
---|
| 46 | |
---|
| 47 | # run texi2dvi twice to generate the xref's properly. |
---|
| 48 | $(PROJECT).dvi: $(FILES) |
---|
| 49 | $(TEXI2DVI) $(PROJECT).texi |
---|
| 50 | texi2dvi $(PROJECT).texi |
---|
| 51 | |
---|
| 52 | html: dirs $(FILES) |
---|
| 53 | -mkdir -p $(WWW_INSTALL)/$(PROJECT) |
---|
[65beca61] | 54 | cp $(wildcard *.jpg) $(WWW_INSTALL)/$(PROJECT) |
---|
[bea606a] | 55 | $(TEXI2WWW) $(TEXI2WWW_ARGS) -dir $(WWW_INSTALL)/$(PROJECT) \ |
---|
| 56 | $(PROJECT).texi |
---|
| 57 | |
---|
| 58 | clean: |
---|
[ed11cadf] | 59 | rm -f *.o $(PROG) *.txt core *.pdf |
---|
[bea606a] | 60 | rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE) |
---|
| 61 | rm -f $(PROJECT) $(PROJECT)-* $(GENERATED_FILES) |
---|
[65beca61] | 62 | rm -f *.fixed _* |
---|
[bea606a] | 63 | |
---|
| 64 | # |
---|
| 65 | # Process Automatically Generated Files |
---|
| 66 | # |
---|
| 67 | |
---|
| 68 | intro.texi: intro.t Makefile |
---|
[64e0f6c4] | 69 | $(BMENU) -c -p "Top" \ |
---|
[bea606a] | 70 | -u "Top" \ |
---|
[64e0f6c4] | 71 | -n "Document Revision History" ${*}.t |
---|
[bea606a] | 72 | |
---|
| 73 | revision.texi: revision.t Makefile |
---|
[64e0f6c4] | 74 | $(BMENU) -c -p "Introduction" \ |
---|
[bea606a] | 75 | -u "Top" \ |
---|
[64e0f6c4] | 76 | -n "Objectives" ${*}.t |
---|
[bea606a] | 77 | |
---|
| 78 | objectives.texi: objectives.t Makefile |
---|
[64e0f6c4] | 79 | $(BMENU) -c -p "Document Revision History" \ |
---|
[bea606a] | 80 | -u "Top" \ |
---|
[64e0f6c4] | 81 | -n "A Rapid Tour of GDB Internals" ${*}.t |
---|
[bea606a] | 82 | |
---|
| 83 | gdbinternals.texi: gdbinternals.t Makefile |
---|
[64e0f6c4] | 84 | $(BMENU) -c -p "Implied Restrictions" \ |
---|
[bea606a] | 85 | -u "Top" \ |
---|
[64e0f6c4] | 86 | -n "Interfacing GDB with RTEMS as a Target" ${*}.t |
---|
[bea606a] | 87 | |
---|
| 88 | interfacing.texi: interfacing.t Makefile |
---|
[64e0f6c4] | 89 | $(BMENU) -c -p "A Rapid Tour of GDB Internals" \ |
---|
[bea606a] | 90 | -u "Top" \ |
---|
[64e0f6c4] | 91 | -n "Communication with GDB" ${*}.t |
---|
[bea606a] | 92 | |
---|
| 93 | comm.texi: comm.t Makefile |
---|
[64e0f6c4] | 94 | $(BMENU) -c -p "Interfacing GDB with RTEMS as a Target" \ |
---|
[bea606a] | 95 | -u "Top" \ |
---|
[64e0f6c4] | 96 | -n "RTEMS Debugger Server Daemon" ${*}.t |
---|
[bea606a] | 97 | |
---|
| 98 | daemon.texi: daemon.t Makefile |
---|
[64e0f6c4] | 99 | $(BMENU) -c -p "Communication with GDB" \ |
---|
[bea606a] | 100 | -u "Top" \ |
---|
[64e0f6c4] | 101 | -n "Conclusion" ${*}.t |
---|
[bea606a] | 102 | |
---|
| 103 | conclusion.texi: conclusion.t Makefile |
---|
[64e0f6c4] | 104 | $(BMENU) -c -p "Output of a Debug Session with the Prototype" \ |
---|
[bea606a] | 105 | -u "Top" \ |
---|
| 106 | -n "" ${*}.t |
---|
| 107 | |
---|
[30cd82f8] | 108 | garde.eps |
---|
| 109 | layers.eps |
---|
| 110 | process.eps |
---|
| 111 | seq_init.eps |
---|
| 112 | seq_break.eps |
---|
| 113 | seq_detach.eps |
---|
| 114 | convert: |
---|
| 115 | /usr/bin/gs -dMaxBitmap=300000000 -g4500x5500 -sDEVICE=pdfwrite -q -dNOPAUSE -dSAFER -sOutputFile=garde.pdf -- garde.eps -c -quit |
---|
| 116 | /usr/bin/gs -dMaxBitmap=300000000 -g4500x5500 -sDEVICE=pdfwrite -q -dNOPAUSE -dSAFER -sOutputFile=layers.pdf -- layers.eps -c -quit |
---|
| 117 | /usr/bin/gs -dMaxBitmap=300000000 -g4500x5500 -sDEVICE=pdfwrite -q -dNOPAUSE -dSAFER -sOutputFile=process.pdf -- process.eps -c -quit |
---|
| 118 | /usr/bin/gs -dMaxBitmap=300000000 -g4500x5500 -sDEVICE=pdfwrite -q -dNOPAUSE -dSAFER -sOutputFile=seq_init.pdf -- seq_init.eps -c -quit |
---|
| 119 | /usr/bin/gs -dMaxBitmap=300000000 -g4500x5500 -sDEVICE=pdfwrite -q -dNOPAUSE -dSAFER -sOutputFile=seq_break.pdf -- seq_break.eps -c -quit |
---|
| 120 | /usr/bin/gs -dMaxBitmap=300000000 -g4500x5500 -sDEVICE=pdfwrite -q -dNOPAUSE -dSAFER -sOutputFile=seq_detach.pdf -- PCIreg.eps -c -quit |
---|