summaryrefslogtreecommitdiffstats
path: root/doc/rgdb_specs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--doc/rgdb_specs/Makefile114
-rw-r--r--doc/rgdb_specs/Makefile.am83
2 files changed, 83 insertions, 114 deletions
diff --git a/doc/rgdb_specs/Makefile b/doc/rgdb_specs/Makefile
deleted file mode 100644
index ddd3f70146..0000000000
--- a/doc/rgdb_specs/Makefile
+++ /dev/null
@@ -1,114 +0,0 @@
-#
-# COPYRIGHT (c) 1988-1999.
-# On-Line Applications Research Corporation (OAR).
-# All rights reserved.
-#
-# $Id$
-#
-
-PROJECT=rgdb_specs
-
-include ../Make.config
-
-all: html info ps pdf
-
-dirs:
- $(make-dirs)
-
-COMMON_FILES=../common/cpright.texi ../common/setup.texi
-
-GENERATED_FILES= \
- intro.texi revision.texi objectives.texi gdbinternals.texi \
- interfacing.texi comm.texi daemon.texi conclusion.texi
-
-FILES=$(PROJECT).texi $(GENERATED_FILES)
-
-INFOFILES=$(wildcard $(PROJECT) $(PROJECT)-*)
-
-info: dirs $(PROJECT)
- #cp $(wildcard $(PROJECT) $(PROJECT)-*) $(INFO_INSTALL)
- # cp $(PROJECT) $(INFO_INSTALL)
-
-$(PROJECT): $(FILES)
- $(MAKEINFO) $(PROJECT).texi
-
-dvi: dirs $(PROJECT).dvi
-ps: dirs $(PROJECT).ps
-pdf: dirs $(PROJECT).pdf
-
-$(PROJECT).pdf: $(FILES)
- $(TEXI2PDF) $(PROJECT).texi
- cp $(PROJECT).pdf $(WWW_INSTALL)/$(PROJECT)
-
-$(PROJECT).ps: $(PROJECT).dvi
- dvips -o $(PROJECT).ps $(PROJECT).dvi
- cp $(PROJECT).ps $(WWW_INSTALL)/$(PROJECT)
-
-$(PROJECT).dvi: $(FILES)
- $(TEXI2DVI) $(PROJECT).texi
- cp $(PROJECT).dvi $(WWW_INSTALL)/$(PROJECT)
-
-html: dirs $(FILES)
- -mkdir -p $(WWW_INSTALL)/$(PROJECT)
- cp $(wildcard *.jpg) $(WWW_INSTALL)/$(PROJECT)
- $(TEXI2WWW) $(TEXI2WWW_ARGS) -dir $(WWW_INSTALL)/$(PROJECT) \
- $(PROJECT).texi
-
-clean:
- rm -f *.o $(PROG) *.txt core $(PROJECT).pdf
- rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE)
- rm -f $(PROJECT) $(PROJECT)-* $(GENERATED_FILES)
- rm -f *.fixed _*
-
-#
-# Process Automatically Generated Files
-#
-
-intro.texi: intro.t Makefile
- $(BMENU) -c -p "Top" \
- -u "Top" \
- -n "Document Revision History" ${*}.t
-
-revision.texi: revision.t Makefile
- $(BMENU) -c -p "Introduction" \
- -u "Top" \
- -n "Objectives" ${*}.t
-
-objectives.texi: objectives.t Makefile
- $(BMENU) -c -p "Document Revision History" \
- -u "Top" \
- -n "A Rapid Tour of GDB Internals" ${*}.t
-
-gdbinternals.texi: gdbinternals.t Makefile
- $(BMENU) -c -p "Implied Restrictions" \
- -u "Top" \
- -n "Interfacing GDB with RTEMS as a Target" ${*}.t
-
-interfacing.texi: interfacing.t Makefile
- $(BMENU) -c -p "A Rapid Tour of GDB Internals" \
- -u "Top" \
- -n "Communication with GDB" ${*}.t
-
-comm.texi: comm.t Makefile
- $(BMENU) -c -p "Interfacing GDB with RTEMS as a Target" \
- -u "Top" \
- -n "RTEMS Debugger Server Daemon" ${*}.t
-
-daemon.texi: daemon.t Makefile
- $(BMENU) -c -p "Communication with GDB" \
- -u "Top" \
- -n "Conclusion" ${*}.t
-
-conclusion.texi: conclusion.t Makefile
- $(BMENU) -c -p "Output of a Debug Session with the Prototype" \
- -u "Top" \
- -n "" ${*}.t
-
-convert:
- /usr/bin/gs -dMaxBitmap=300000000 -g4500x5500 -sDEVICE=pdfwrite -q -dNOPAUSE -dSAFER -sOutputFile=garde.pdf -- garde.eps -c -quit
- /usr/bin/gs -dMaxBitmap=300000000 -g4500x5500 -sDEVICE=pdfwrite -q -dNOPAUSE -dSAFER -sOutputFile=layers.pdf -- layers.eps -c -quit
- /usr/bin/gs -dMaxBitmap=300000000 -g4500x5500 -sDEVICE=pdfwrite -q -dNOPAUSE -dSAFER -sOutputFile=process.pdf -- process.eps -c -quit
- /usr/bin/gs -dMaxBitmap=300000000 -g4500x5500 -sDEVICE=pdfwrite -q -dNOPAUSE -dSAFER -sOutputFile=seqinit.pdf -- seqinit.eps -c -quit
- /usr/bin/gs -dMaxBitmap=300000000 -g4500x5500 -sDEVICE=pdfwrite -q -dNOPAUSE -dSAFER -sOutputFile=seqbreak.pdf -- seqbreak.eps -c -quit
- /usr/bin/gs -dMaxBitmap=300000000 -g4500x5500 -sDEVICE=pdfwrite -q -dNOPAUSE -dSAFER -sOutputFile=seqdetach.pdf -- seqdetach.eps -c -quit
-
diff --git a/doc/rgdb_specs/Makefile.am b/doc/rgdb_specs/Makefile.am
new file mode 100644
index 0000000000..af58592c16
--- /dev/null
+++ b/doc/rgdb_specs/Makefile.am
@@ -0,0 +1,83 @@
+#
+# COPYRIGHT (c) 1988-1999.
+# On-Line Applications Research Corporation (OAR).
+# All rights reserved.
+#
+# $Id$
+#
+
+AUTOMAKE_OPTIONS = foreign
+
+PROJECT=rgdb_specs
+
+include $(top_srcdir)/project.am
+
+COMMON_FILES=$(top_srcdir)/common/cpright.texi $(top_builddir)/common/setup.texi
+
+GENERATED_FILES= \
+ intro.texi revision.texi objectives.texi gdbinternals.texi \
+ interfacing.texi comm.texi daemon.texi conclusion.texi
+
+FILES=
+
+info_TEXINFOS = rgdb_specs.texi
+rgdb_specs_TEXINFOS = $(FILES) $(COMMON_FILES) $(GENERATED_FILES)
+
+JPEG_FILES = layers.jpg process.jpg seqinit.jpg seqbreak.jpg seqdetach.jpg
+
+if USE_HTML
+html_project_DATA += $(JPEG_FILES)
+endif
+
+#
+# Process Automatically Generated Files
+#
+
+intro.texi: intro.t
+ $(BMENU) -c -p "Top" \
+ -u "Top" \
+ -n "Document Revision History" $<
+
+revision.texi: revision.t
+ $(BMENU) -c -p "Introduction" \
+ -u "Top" \
+ -n "Objectives" $<
+
+objectives.texi: objectives.t
+ $(BMENU) -c -p "Document Revision History" \
+ -u "Top" \
+ -n "A Rapid Tour of GDB Internals" $<
+
+gdbinternals.texi: gdbinternals.t
+ $(BMENU) -c -p "Implied Restrictions" \
+ -u "Top" \
+ -n "Interfacing GDB with RTEMS as a Target" $<
+
+interfacing.texi: interfacing.t
+ $(BMENU) -c -p "A Rapid Tour of GDB Internals" \
+ -u "Top" \
+ -n "Communication with GDB" $<
+
+comm.texi: comm.t
+ $(BMENU) -c -p "Interfacing GDB with RTEMS as a Target" \
+ -u "Top" \
+ -n "RTEMS Debugger Server Daemon" $<
+
+daemon.texi: daemon.t
+ $(BMENU) -c -p "Communication with GDB" \
+ -u "Top" \
+ -n "Conclusion" $<
+
+conclusion.texi: conclusion.t
+ $(BMENU) -c -p "Output of a Debug Session with the Prototype" \
+ -u "Top" \
+ -n "" $<
+
+noinst_DATA = \
+layers.eps layers.pdf \
+process.eps process.pdf \
+seqdetach.eps seqdetach.pdf \
+seqbreak.eps seqbreak.pdf \
+seqinit.eps seqinit.pdf
+
+EXTRA_DIST = *.t $(noinst_DATA) $(JPEG_FILES)