summaryrefslogtreecommitdiff
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorPaul Traina <pst@FreeBSD.org>1997-05-01 16:17:57 +0000
committerPaul Traina <pst@FreeBSD.org>1997-05-01 16:17:57 +0000
commitb30249d957c26a43f28d71efb5bfe1fc823be68b (patch)
tree22117a295b00a228c9fcb55063f9d93b6b4737cb /gnu/usr.bin
parent83a04e4fb09d08daea2b7a7c1667fa3c50f37568 (diff)
Notes
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/gdb/gdb/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/gnu/usr.bin/gdb/gdb/Makefile b/gnu/usr.bin/gdb/gdb/Makefile
index 997593f0d6f4..35b17a1fc7e5 100644
--- a/gnu/usr.bin/gdb/gdb/Makefile
+++ b/gnu/usr.bin/gdb/gdb/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.13.2.2 1997/05/01 00:13:56 pst Exp $
+# $Id: Makefile,v 1.13.2.3 1997/05/01 00:27:48 pst Exp $
PROG = gdb
@@ -30,11 +30,10 @@ XSRCS = annotate.c blockframe.c breakpoint.c buildsym.c c-lang.c \
scm-valprint.c f-typeprint.c f-valprint.c nlmread.c \
callback.c
XSRCS+= i386-dis.c dis-buf.c disassemble.c
+SRCS+= init.c ${XSRCS}
CLEANFILES+= init.c
-SRCS+= ${.OBJDIR}/init.c ${XSRCS}
-
CFLAGS+= -I$(.CURDIR) -I${DESTDIR}/usr/include/readline -I$(.CURDIR)/../bfd
# use phkmalloc
CFLAGS+= -DNO_MMALLOC
@@ -82,8 +81,8 @@ DPADD+= ${.CURDIR}/../libiberty/libiberty.a
# of the functions might change, so this files needs to depend on all the
# object files that will be linked into gdb.
-${.OBJDIR}/init.c: ${XSRCS}
- @echo Making init.c
+init.c: ${XSRCS}
+ @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
@@ -112,7 +111,7 @@ ${.OBJDIR}/init.c: ${XSRCS}
esac ; \
done
@echo '}' >>init.c-tmp
- @mv init.c-tmp init.c
+ @mv init.c-tmp ${.TARGET}
.PRECIOUS: init.c