From bce4bf525feda14fd2eb6ee84590e032465d6976 Mon Sep 17 00:00:00 2001 From: Roland Pesch Date: Mon, 20 May 1991 19:19:41 +0000 Subject: [PATCH] * Makefile.dist, doc/gdb.texinfo: respectively create, and use, the new target "rdl-apps.texinfo" which captures the Makefile variable that records where to find the Readline libraries. --- gdb/ChangeLog | 11 +++++++++++ gdb/Makefile.dist | 10 +++++++--- gdb/Makefile.in | 35 ++++++++++++++++++++++------------- 3 files changed, 40 insertions(+), 16 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 04a19e4ad4f..d6462c0b551 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,16 @@ +Mon May 20 12:15:04 1991 Roland H. Pesch (pesch at fowanton.cygnus.com) + + * Makefile.dist, doc/gdb.texinfo: respectively create, and use, + the new target "rdl-apps.texinfo" which captures the Makefile + variable that records where to find the Readline libraries. + Sun May 19 05:36:59 1991 John Gilmore (gnu at cygint.cygnus.com) + * tahoe-pinsn.c: #include "tahoe-opcode.h", not "opcode.h". + * tm-tahoe.h (FIX_CALL_DUMMY): Ignore more parameters. + * defs.h (const, volatile): Only define if not already defined. + * Makefile.dist (gdb.tar.Z): Create doc subdir w/out CVS/RCS crud. + * README: Update for release 3.95. * config.gdb: Don't create readline dir in subdir builds. * main.c: Include with "..." form for non-system include files, diff --git a/gdb/Makefile.dist b/gdb/Makefile.dist index 7d79caf2853..7dbd84bbe70 100755 --- a/gdb/Makefile.dist +++ b/gdb/Makefile.dist @@ -432,7 +432,7 @@ clean: rm -f init.c init.o version.c rm -f gdb core gdb.tar gdb.tar.Z make.log rm -f gdb[0-9] - rm -f gdb.dvi gdb-all* + rm -f gdb.dvi rdl-apps.texinfo gdb-all* distclean: clean expread.tab.c TAGS rm -f tm.h xm.h config.status @@ -444,11 +444,15 @@ realclean: clean rm -f tm.h xm.h config.status rm -f Makefile +rdl-apps.texinfo: ${READLINE_DIR}/inc-readline.texinfo \ + ${READLINE_DIR}/inc-history.texinfo + echo "@include ${READLINE_DIR}/inc-readline.texinfo" >rdl-apps.texinfo + echo "@include ${READLINE_DIR}/inc-history.texinfo" >>rdl-apps.texinfo + gdb-all.texinfo: ${srcdir}/doc/gdb.texinfo ${M4} $(srcdir)/doc/pretex.m4 $(srcdir)/doc/none.m4 $(srcdir)/doc/all.m4 $(srcdir)/doc/gdb.texinfo >gdb-all.texinfo -gdb.dvi : gdb-all.texinfo ${READLINE_DIR}/inc-readline.texinfo \ - ${READLINE_DIR}/inc-history.texinfo +gdb.dvi : gdb-all.texinfo rdl-apps.texinfo tex gdb-all.texinfo texindex gdb-all.?? tex gdb-all.texinfo diff --git a/gdb/Makefile.in b/gdb/Makefile.in index b9f1fd280f0..7dbd84bbe70 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -202,18 +202,21 @@ POSSLIBS = $(POSSLIBS_MAINDIR) TESTS = testbpt.c testfun.c testrec.c testreg.c testregs.c -# tdesc-lib cannot be named simply tdesc, because if if it were GNU make +# tdesc-lib cannot be named simply tdesc, because if it were, GNU make # would try to make it from tdesc.c. # tdesc-lib removed from the list due to Motorola copyrights...gnu@cygnus.com OTHERS = Makefile.dist depend alldeps.mak Makefile.sdir \ createtags munch config.gdb config.status \ ChangeLog ChangeLog-3.x \ - README TODO TAGS WHATS.NEW \ + README TODO TAGS WHATS.NEW Projects \ .gdbinit COPYING expread.tab.c \ - copying.c Projects Convex.notes copying.awk \ + copying.c Convex.notes copying.awk \ saber.suppress standalone.c stuff.c kdb-start.c \ - putenv.c \ - hp-include # tests + putenv.c + +# Subdirectories of gdb, which should be included in their entirety in +# gdb-xxx.tar.Z: +TARDIRS = doc hp-include # tests DEPFILES= ${TDEPFILES} ${XDEPFILES} @@ -308,7 +311,8 @@ Makefile: $(Makefiles) alldeps.mak: ${srcdir}/tconfig ${srcdir}/xconfig rm -f alldeps.mak alldeps.tmp allparam.tmp allconfig.tmp for i in `ls -d ${srcdir}/tconfig/*[0-9A-Za-z] \ - ${srcdir}/xconfig/*[0-9A-Za-z] | grep -v RCS` ; do \ + ${srcdir}/xconfig/*[0-9A-Za-z] | \ + grep -v RCS | grep -v CVS.adm | grep -v SCCS` ; do \ echo $$i >>allconfig.tmp; \ awk <$$i ' \ $$1 == "TDEPFILES=" || $$1 == "XDEPFILES=" { \ @@ -405,13 +409,14 @@ TAGS: ${TAGFILES} tags: TAGS # FIXME: Get alldeps.mak up to date, config.gdb none, THEN make gdb.tar.Z! -gdb.tar.Z: ${TARFILES} +gdb.tar.Z: ${TARFILES} ${TARDIRS} rm -f gdb.tar; rm -rf $(DIST) mkdir $(DIST) cd $(DIST) ; for i in ${TARFILES} ; do ln -s ../$$i . ; done - mkdir doc - cd doc; for i in ../doc/*.tex* ../doc/*.m4; \ - do ln -s $$i . ; done + cd $(DIST); for i in ${TARDIRS}; do \ + (mkdir $$i; cd $$i; \ + ln -s ../../$$i/* .; \ + rm -rf SCCS CVS.adm RCS); done mkdir $(DIST)/xconfig ${DIST}/tconfig cd $(DIST)/tconfig ; \ for i in $(ALLCONFIG) ; do ln -s ../../$$i ../$$i ; done @@ -427,7 +432,7 @@ clean: rm -f init.c init.o version.c rm -f gdb core gdb.tar gdb.tar.Z make.log rm -f gdb[0-9] - rm -f gdb.dvi gdb-all* + rm -f gdb.dvi rdl-apps.texinfo gdb-all* distclean: clean expread.tab.c TAGS rm -f tm.h xm.h config.status @@ -439,11 +444,15 @@ realclean: clean rm -f tm.h xm.h config.status rm -f Makefile +rdl-apps.texinfo: ${READLINE_DIR}/inc-readline.texinfo \ + ${READLINE_DIR}/inc-history.texinfo + echo "@include ${READLINE_DIR}/inc-readline.texinfo" >rdl-apps.texinfo + echo "@include ${READLINE_DIR}/inc-history.texinfo" >>rdl-apps.texinfo + gdb-all.texinfo: ${srcdir}/doc/gdb.texinfo ${M4} $(srcdir)/doc/pretex.m4 $(srcdir)/doc/none.m4 $(srcdir)/doc/all.m4 $(srcdir)/doc/gdb.texinfo >gdb-all.texinfo -gdb.dvi : gdb-all.texinfo ${READLINE_DIR}/inc-readline.texinfo \ - ${READLINE_DIR}/inc-history.texinfo +gdb.dvi : gdb-all.texinfo rdl-apps.texinfo tex gdb-all.texinfo texindex gdb-all.?? tex gdb-all.texinfo