summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-05-04 16:31:41 +0000
committerbde <bde@FreeBSD.org>1998-05-04 16:31:41 +0000
commit48c3a2da34058ef512613b1cb2dd85274963a9db (patch)
tree0129b1815be3e5e7dca7fac6c3b7b9474fccaf51 /gnu
parentb8225980196b2c1982521b5c1e72a74bb212f29e (diff)
downloadFreeBSD-src-48c3a2da34058ef512613b1cb2dd85274963a9db.zip
FreeBSD-src-48c3a2da34058ef512613b1cb2dd85274963a9db.tar.gz
Fixed races in `make -jN' using new yacc rules. This also fixes plain
`make' (without a previous `make depend').
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/binutils/ld/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/gnu/usr.bin/binutils/ld/Makefile b/gnu/usr.bin/binutils/ld/Makefile
index 284a423..011545f 100644
--- a/gnu/usr.bin/binutils/ld/Makefile
+++ b/gnu/usr.bin/binutils/ld/Makefile
@@ -1,5 +1,5 @@
#
-# $Id: Makefile,v 1.2 1998/03/08 08:08:39 peter Exp $
+# $Id: Makefile,v 1.1 1998/03/12 02:55:20 jdp Exp $
#
.include "../Makefile.inc0"
@@ -9,7 +9,7 @@
PROG= ld
SCRIPTDIR= /usr/libdata/ldscripts
SRCS+= ldcref.c ldctor.c ldemul.c ldexp.c ldfile.c \
- ldgram.c ldlang.c ldlex.l ldmain.c ldmisc.c \
+ ldgram.y ldlang.c ldlex.l ldmain.c ldmisc.c \
ldver.c ldwrite.c lexsup.c mri.c
CFLAGS+= -DDEFAULT_EMULATION=\"${EMULATION}\"
CFLAGS+= -DSCRIPTDIR=\"${DESTDIR}/usr/libdata\"
@@ -17,14 +17,8 @@ CFLAGS+= -DTARGET=\"${TARGET}\"
CFLAGS+= -I${SRCDIR}/ld
LDADD+= -L${RELTOP}/libbfd -lbfd
LDADD+= -L${RELTOP}/libiberty -liberty
-CLEANFILES+= ldgram.c ldgram.h ldlex.c
CLEANDIRS+= ldscripts
-beforedepend: ldgram.c ldgram.h ldlex.c
-
-ldgram.c ldgram.h: ldgram.y
- ${YACC} ${YFLAGS} -o ${.TARGET:S/.h$/.c/} ${.ALLSRC}
-
afterinstall:
${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
${LDSCRIPTS:S|^|ldscripts/|} ${DESTDIR}${SCRIPTDIR}
OpenPOWER on IntegriCloud