aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1993-04-30 06:28:30 +0000
committerFred Fish <fnf@specifix.com>1993-04-30 06:28:30 +0000
commit97e72c06bd4e31774b39c94fcef1bdf4aaa03137 (patch)
treed35514e748cd63a698dc029889d5922e07783b79
parent690f0433d031026f4f788a3128490711eef41caa (diff)
downloadgdb-97e72c06bd4e31774b39c94fcef1bdf4aaa03137.zip
gdb-97e72c06bd4e31774b39c94fcef1bdf4aaa03137.tar.gz
gdb-97e72c06bd4e31774b39c94fcef1bdf4aaa03137.tar.bz2
* 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.
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/Makefile.in19
2 files changed, 21 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 831b09c..29d298d 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 bd107fa..7716f6f 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.