summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorpst <pst@FreeBSD.org>1997-05-01 16:24:37 +0000
committerpst <pst@FreeBSD.org>1997-05-01 16:24:37 +0000
commitdded68c16d0aacdde8a9c62f5ad9fdc24292a974 (patch)
treebafd7bad3bcef1673ceaef9978f5ef462d560fe8 /gnu
parent72be0dfd4cb9f8ae32a6172534e99aadc59ff86b (diff)
downloadFreeBSD-src-dded68c16d0aacdde8a9c62f5ad9fdc24292a974.zip
FreeBSD-src-dded68c16d0aacdde8a9c62f5ad9fdc24292a974.tar.gz
Clean up merge from 2.2 (without spamming peter's changes)
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/binutils/gdb/Makefile11
-rw-r--r--gnu/usr.bin/gdb/gdb/Makefile11
2 files changed, 8 insertions, 14 deletions
diff --git a/gnu/usr.bin/binutils/gdb/Makefile b/gnu/usr.bin/binutils/gdb/Makefile
index 8a8fc51..c9e751e 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
diff --git a/gnu/usr.bin/gdb/gdb/Makefile b/gnu/usr.bin/gdb/gdb/Makefile
index 8a8fc51..c9e751e 100644
--- a/gnu/usr.bin/gdb/gdb/Makefile
+++ b/gnu/usr.bin/gdb/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
OpenPOWER on IntegriCloud