* 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.
This commit is contained in:
Roland Pesch 1991-05-20 19:19:41 +00:00
parent a02da681db
commit bce4bf525f
3 changed files with 40 additions and 16 deletions

View File

@ -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) 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. * README: Update for release 3.95.
* config.gdb: Don't create readline dir in subdir builds. * config.gdb: Don't create readline dir in subdir builds.
* main.c: Include with "..." form for non-system include files, * main.c: Include with "..." form for non-system include files,

View File

@ -432,7 +432,7 @@ clean:
rm -f init.c init.o version.c rm -f init.c init.o version.c
rm -f gdb core gdb.tar gdb.tar.Z make.log rm -f gdb core gdb.tar gdb.tar.Z make.log
rm -f gdb[0-9] 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 distclean: clean expread.tab.c TAGS
rm -f tm.h xm.h config.status rm -f tm.h xm.h config.status
@ -444,11 +444,15 @@ realclean: clean
rm -f tm.h xm.h config.status rm -f tm.h xm.h config.status
rm -f Makefile 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 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 ${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 \ gdb.dvi : gdb-all.texinfo rdl-apps.texinfo
${READLINE_DIR}/inc-history.texinfo
tex gdb-all.texinfo tex gdb-all.texinfo
texindex gdb-all.?? texindex gdb-all.??
tex gdb-all.texinfo tex gdb-all.texinfo

View File

@ -202,18 +202,21 @@ POSSLIBS = $(POSSLIBS_MAINDIR)
TESTS = testbpt.c testfun.c testrec.c testreg.c testregs.c 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. # would try to make it from tdesc.c.
# tdesc-lib removed from the list due to Motorola copyrights...gnu@cygnus.com # tdesc-lib removed from the list due to Motorola copyrights...gnu@cygnus.com
OTHERS = Makefile.dist depend alldeps.mak Makefile.sdir \ OTHERS = Makefile.dist depend alldeps.mak Makefile.sdir \
createtags munch config.gdb config.status \ createtags munch config.gdb config.status \
ChangeLog ChangeLog-3.x \ ChangeLog ChangeLog-3.x \
README TODO TAGS WHATS.NEW \ README TODO TAGS WHATS.NEW Projects \
.gdbinit COPYING expread.tab.c \ .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 \ saber.suppress standalone.c stuff.c kdb-start.c \
putenv.c \ putenv.c
hp-include # tests
# Subdirectories of gdb, which should be included in their entirety in
# gdb-xxx.tar.Z:
TARDIRS = doc hp-include # tests
DEPFILES= ${TDEPFILES} ${XDEPFILES} DEPFILES= ${TDEPFILES} ${XDEPFILES}
@ -308,7 +311,8 @@ Makefile: $(Makefiles)
alldeps.mak: ${srcdir}/tconfig ${srcdir}/xconfig alldeps.mak: ${srcdir}/tconfig ${srcdir}/xconfig
rm -f alldeps.mak alldeps.tmp allparam.tmp allconfig.tmp rm -f alldeps.mak alldeps.tmp allparam.tmp allconfig.tmp
for i in `ls -d ${srcdir}/tconfig/*[0-9A-Za-z] \ 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; \ echo $$i >>allconfig.tmp; \
awk <$$i ' \ awk <$$i ' \
$$1 == "TDEPFILES=" || $$1 == "XDEPFILES=" { \ $$1 == "TDEPFILES=" || $$1 == "XDEPFILES=" { \
@ -405,13 +409,14 @@ TAGS: ${TAGFILES}
tags: TAGS tags: TAGS
# FIXME: Get alldeps.mak up to date, config.gdb none, THEN make gdb.tar.Z! # 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) rm -f gdb.tar; rm -rf $(DIST)
mkdir $(DIST) mkdir $(DIST)
cd $(DIST) ; for i in ${TARFILES} ; do ln -s ../$$i . ; done cd $(DIST) ; for i in ${TARFILES} ; do ln -s ../$$i . ; done
mkdir doc cd $(DIST); for i in ${TARDIRS}; do \
cd doc; for i in ../doc/*.tex* ../doc/*.m4; \ (mkdir $$i; cd $$i; \
do ln -s $$i . ; done ln -s ../../$$i/* .; \
rm -rf SCCS CVS.adm RCS); done
mkdir $(DIST)/xconfig ${DIST}/tconfig mkdir $(DIST)/xconfig ${DIST}/tconfig
cd $(DIST)/tconfig ; \ cd $(DIST)/tconfig ; \
for i in $(ALLCONFIG) ; do ln -s ../../$$i ../$$i ; done 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 init.c init.o version.c
rm -f gdb core gdb.tar gdb.tar.Z make.log rm -f gdb core gdb.tar gdb.tar.Z make.log
rm -f gdb[0-9] 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 distclean: clean expread.tab.c TAGS
rm -f tm.h xm.h config.status rm -f tm.h xm.h config.status
@ -439,11 +444,15 @@ realclean: clean
rm -f tm.h xm.h config.status rm -f tm.h xm.h config.status
rm -f Makefile 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 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 ${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 \ gdb.dvi : gdb-all.texinfo rdl-apps.texinfo
${READLINE_DIR}/inc-history.texinfo
tex gdb-all.texinfo tex gdb-all.texinfo
texindex gdb-all.?? texindex gdb-all.??
tex gdb-all.texinfo tex gdb-all.texinfo