From 97e72c06bd4e31774b39c94fcef1bdf4aaa03137 Mon Sep 17 00:00:00 2001 From: Fred Fish Date: Fri, 30 Apr 1993 06:28:30 +0000 Subject: [PATCH] * Makefile.in (make-proto-testsuite.dir): New target to make prototype testsuite tree. * Makefile.in (TAGS): Remove use of DEPFILES, it may be empty. In any case, it is a subset of the ALLDEPFILES list, which is part of SOURCES, which is part of TAGFILES, so it's redundant. --- gdb/ChangeLog | 6 ++++++ gdb/Makefile.in | 19 +++++++++++++++---- 2 files changed, 21 insertions(+), 4 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 831b09cd160..29d298dc257 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,11 @@ Thu Apr 29 12:03:23 1993 Fred Fish (fnf@cygnus.com) + * Makefile.in (make-proto-testsuite.dir): New target to make + prototype testsuite tree. + * Makefile.in (TAGS): Remove use of DEPFILES, it may be empty. + In any case, it is a subset of the ALLDEPFILES list, which is + part of SOURCES, which is part of TAGFILES, so it's redundant. + * Makefile.in (VERSION): Bump to 4.8.4. Thu Apr 29 08:46:22 1993 Jim Kingdon (kingdon@cygnus.com) diff --git a/gdb/Makefile.in b/gdb/Makefile.in index bd107fad0bf..7716f6ffeb6 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -606,9 +606,6 @@ TAGS: ${TAGFILES} etags `find ${srcdir}/config -name $(TM_FILE) -print` \ `find ${srcdir}/config -name ${XM_FILE} -print` \ `find ${srcdir}/config -name ${NAT_FILE} -print` \ - `for i in ${DEPFILES}; do \ - echo ${srcdir}/$$i | sed -e 's/\.o$$/\.c/' ;\ - done` \ ${TAGFILES} tags: TAGS @@ -681,6 +678,20 @@ make-proto-gdb-1: ${TARFILES} ${TARDIRS} gdb.info done chmod og=u `find . -print` +# Build a proto-testsuite.dir. +make-proto-testsuite.dir: force_update + rm -rf proto-testsuite.dir + mkdir proto-testsuite.dir + rootme=`pwd`/ ; export rootme ; \ + for i in `find testsuite -type f -print`; do \ + (cd proto-testsuite.dir ; \ + dir=`dirname $$i`; \ + if test -d $$dir; then true; else mkdir -p $$dir; fi; \ + ln -s $${rootme}/$$i $$i;); \ + done + find proto-testsuite.dir -name Makefile -exec rm {} \; + find proto-testsuite.dir -name config.status -exec rm {} \; + clean: @$(MAKE) $(FLAGS_TO_PASS) DO=clean "DODIRS=$(SUBDIRS)" subdir_do rm -f *.o ${ADD_FILES} *~ @@ -886,7 +897,7 @@ unexport CHILLFLAGS CHILL_LIB CHILL_FOR_TARGET : # This is the end of "Makefile.in". When built into "Makefile" # by the configure script, two things are added below this point: -# alldeps.mak -- defintions of all files that are used in +# alldeps.mak -- definitions of all files that are used in # host- or target-dependent configurations # depend -- what .o files depend on what .c and .h files, # for all configurations. -- 2.30.2