aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/gdb
diff options
context:
space:
mode:
authorPaul Traina <pst@FreeBSD.org>1997-05-01 16:24:37 +0000
committerPaul Traina <pst@FreeBSD.org>1997-05-01 16:24:37 +0000
commit371bcb2ecd092bcba7c36b98b7bc918e603df8f8 (patch)
tree3adfd9e78704f46f78a64372204ddee8955ee9e7 /gnu/usr.bin/binutils/gdb
parente3b1e729c9bff12715ba504dd00d92ffcbf06ef8 (diff)
downloadsrc-371bcb2ecd092bcba7c36b98b7bc918e603df8f8.tar.gz
src-371bcb2ecd092bcba7c36b98b7bc918e603df8f8.zip
Clean up merge from 2.2 (without spamming peter's changes)
Notes
Notes: svn path=/head/; revision=25355
Diffstat (limited to 'gnu/usr.bin/binutils/gdb')
-rw-r--r--gnu/usr.bin/binutils/gdb/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/gnu/usr.bin/binutils/gdb/Makefile b/gnu/usr.bin/binutils/gdb/Makefile
index 8a8fc519c943..c9e751e25c70 100644
--- a/gnu/usr.bin/binutils/gdb/Makefile
+++ b/gnu/usr.bin/binutils/gdb/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.25 1997/05/01 00:26:43 pst Exp $
+# $Id: Makefile,v 1.26 1997/05/01 13:40:57 peter Exp $
PROG = gdb
@@ -38,7 +38,7 @@ CFLAGS+= -DNO_MMALLOC
# uncomment the next line if you want to debug gdb
#CFLAGS+= -g
-CLEANFILES+= c-exp.c f-exp.c m2-exp.c init.c y.tab.h
+CLEANFILES+= c-exp.c f-exp.c m2-exp.c init.c y.tab.h init.c-tmp
beforedepend: c-exp.c f-exp.c m2-exp.c init.c
.if exists(${.OBJDIR}/../bfd)
@@ -83,8 +83,7 @@ DPADD+= ${.CURDIR}/../libiberty/libiberty.a
# object files that will be linked into gdb.
init.c: ${XSRCS}
- @echo Making init.c
- echo ${.ALLSRC}
+ @echo Making ${.TARGET}
@rm -f init.c-tmp
@echo '/* Do not modify this file. */' >init.c-tmp
@echo '/* It is created automatically by the Makefile. */'>>init.c-tmp
@@ -110,9 +109,7 @@ init.c: ${XSRCS}
esac ; \
done
@echo '}' >>init.c-tmp
- @mv init.c-tmp init.c
-
-CLEANFILES+= init.c-tmp
+ @mv init.c-tmp ${.TARGET}
.PRECIOUS: init.c