aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1998-06-04 06:26:23 +0000
committerBruce Evans <bde@FreeBSD.org>1998-06-04 06:26:23 +0000
commitc35f4af5786670c10cca5781f7a7f4056a70c4ac (patch)
tree72a63cf7c7c855999f99d1789f495bdeedffdf53 /gnu
parentad6833e47593081f7d720bb6f6467d12fd57362c (diff)
downloadsrc-c35f4af5786670c10cca5781f7a7f4056a70c4ac.tar.gz
src-c35f4af5786670c10cca5781f7a7f4056a70c4ac.zip
Don't use beforedepend; just put generated headers in SRCS. ldgram.h
was already put in SRCS by the general yacc rules. Putting ldemul-list.h in SRCS fixes races in `make -jN' when .depend hasn't been made. Don't forget to clean ldemul-list.h.
Notes
Notes: svn path=/head/; revision=36623
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/binutils/ld/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/gnu/usr.bin/binutils/ld/Makefile b/gnu/usr.bin/binutils/ld/Makefile
index 39d1bce91c14..edc42f249f04 100644
--- a/gnu/usr.bin/binutils/ld/Makefile
+++ b/gnu/usr.bin/binutils/ld/Makefile
@@ -1,5 +1,5 @@
#
-# $Id: Makefile,v 1.4 1998/05/11 09:33:55 jb Exp $
+# $Id: Makefile,v 1.5 1998/06/03 18:00:49 peter Exp $
#
.include "../Makefile.inc0"
@@ -8,7 +8,7 @@
PROG= ld
SCRIPTDIR= /usr/libdata/ldscripts
-SRCS+= ldcref.c ldctor.c ldemul.c ldexp.c ldfile.c \
+SRCS+= ldcref.c ldctor.c ldemul.c ldemul-list.h ldexp.c ldfile.c \
ldgram.y ldlang.c ldlex.l ldmain.c ldmisc.c \
ldver.c ldwrite.c lexsup.c mri.c
CFLAGS+= -DSCRIPTDIR=\"${DESTDIR}/usr/libdata\"
@@ -18,8 +18,7 @@ LDADD+= -L${RELTOP}/libiberty -liberty
DPADD+= ${RELTOP}/libbfd/libbfd.a
DPADD+= ${RELTOP}/libiberty/libiberty.a
CLEANDIRS+= ldscripts
-
-beforedepend: ldemul-list.h ldgram.h
+CLEANFILES+= ldemul-list.h
EMXFR=
EMLST=