diff options
Diffstat (limited to 'doc/rgdb_specs/Makefile')
-rw-r--r-- | doc/rgdb_specs/Makefile | 113 |
1 files changed, 113 insertions, 0 deletions
diff --git a/doc/rgdb_specs/Makefile b/doc/rgdb_specs/Makefile new file mode 100644 index 0000000000..349421b38f --- /dev/null +++ b/doc/rgdb_specs/Makefile @@ -0,0 +1,113 @@ +# +# COPYRIGHT (c) 1988-1998. +# On-Line Applications Research Corporation (OAR). +# All rights reserved. +# +# $Id$ +# + +PROJECT=rgdb_specs +DISTRIBUTION_LEVEL=public + +include ../Make.config + +all: html info ps + +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: $(PROJECT).dvi +ps: dirs $(PROJECT).ps + +$(PROJECT).ps: $(PROJECT).dvi + dvips -o $(PROJECT).ps $(PROJECT).dvi + cp $(PROJECT).ps $(PS_INSTALL) + +# run texi2dvi twice to generate the xref's properly. +$(PROJECT).dvi: $(FILES) + $(TEXI2DVI) $(PROJECT).texi + texi2dvi $(PROJECT).texi + +html: dirs $(FILES) + -mkdir -p $(WWW_INSTALL)/$(PROJECT) + $(TEXI2WWW) $(TEXI2WWW_ARGS) -dir $(WWW_INSTALL)/$(PROJECT) \ + $(PROJECT).texi + +clean: + rm -f *.o $(PROG) *.txt core + rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE) + rm -f $(PROJECT) $(PROJECT)-* $(GENERATED_FILES) + rm -f *.fixed _* network.t + +# +# Process Automatically Generated Files +# + +@include intro.texi +@include revision.texi +@include objectives.texi +@include gdbinternals.texi +@include interfacing.texi +@include comm.texi +@include daemon.texi +@include conclusion.texi + +intro.texi: intro.t Makefile + $(BMENU) -p "Top" \ + -u "Top" \ + -n "" ${*}.t + +revision.texi: revision.t Makefile + $(BMENU) -p "Top" \ + -u "Top" \ + -n "" ${*}.t + +objectives.texi: objectives.t Makefile + $(BMENU) -p "Top" \ + -u "Top" \ + -n "" ${*}.t + +gdbinternals.texi: gdbinternals.t Makefile + $(BMENU) -p "Top" \ + -u "Top" \ + -n "" ${*}.t + +interfacing.texi: interfacing.t Makefile + $(BMENU) -p "Top" \ + -u "Top" \ + -n "" ${*}.t + +comm.texi: comm.t Makefile + $(BMENU) -p "Top" \ + -u "Top" \ + -n "" ${*}.t + +daemon.texi: daemon.t Makefile + $(BMENU) -p "Top" \ + -u "Top" \ + -n "" ${*}.t + +conclusion.texi: conclusion.t Makefile + $(BMENU) -p "Top" \ + -u "Top" \ + -n "" ${*}.t + + |