From e9928f4610592161e10fde57eb79183df114902b Mon Sep 17 00:00:00 2001 From: bde Date: Thu, 4 Jun 1998 06:26:23 +0000 Subject: 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. --- gnu/usr.bin/binutils/ld/Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/gnu/usr.bin/binutils/ld/Makefile b/gnu/usr.bin/binutils/ld/Makefile index 39d1bce..edc42f2 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= -- cgit v1.1