diff options
author | bde <bde@FreeBSD.org> | 1998-06-04 06:26:23 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-06-04 06:26:23 +0000 |
commit | e9928f4610592161e10fde57eb79183df114902b (patch) | |
tree | 1a0f81579c0804ecb07658559ec858023fe57fe6 /gnu | |
parent | 4892ab73e5744592c3600d8f63581db3366f2241 (diff) | |
download | FreeBSD-src-e9928f4610592161e10fde57eb79183df114902b.zip FreeBSD-src-e9928f4610592161e10fde57eb79183df114902b.tar.gz |
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.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/binutils/ld/Makefile | 7 |
1 files 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= |