From bd362fbfbae10a220e8a9ee4222384ca270475c4 Mon Sep 17 00:00:00 2001 From: uwe Date: Tue, 29 Jul 2003 23:31:46 +0000 Subject: [PATCH] Adapt to bsd.dep.mk changes. --- gnu/usr.bin/gcc3/f771/Makefile | 8 ++++---- gnu/usr.bin/gcc3/frontend/Makefile | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/gnu/usr.bin/gcc3/f771/Makefile b/gnu/usr.bin/gcc3/f771/Makefile index 89b7da0c6791..943d7c619a77 100644 --- a/gnu/usr.bin/gcc3/f771/Makefile +++ b/gnu/usr.bin/gcc3/f771/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2003/07/25 17:19:24 mrg Exp $ +# $NetBSD: Makefile,v 1.3 2003/07/29 23:35:25 uwe Exp $ PROG= f771 SRCS= ${G_F77_OBJS:.o=.c} main.c @@ -7,6 +7,8 @@ CPPFLAGS+= -I${DIST}/gcc/f -I. HOST_CPPFLAGS+= -I${GCCARCH} -DUSE_HCONFIG= \ ${G_ALL_CFLAGS:M-D*} ${G_INCLUDES:M-I*:N-I.*} +.include "../Makefile.backend" + fini: fini.c ${HOST_LINK.c} -o $@ $> ${HOSTLIBIBERTY} CLEANFILES+= fini @@ -17,13 +19,11 @@ CLEANFILES+= str-${f}.h str-${f}.j str-${f}.h str-${f}.j: str-${f}.fin fini ./fini ${>:M*.fin} str-${f}.j str-${f}.h -${OBJS} .depend: str-${f}.h +${OBJS} ${DEPENDSRCS}: str-${f}.h .endfor CLEANFILES+= main.c -.include "../Makefile.backend" - main.c: ${DIST}/gcc/main.c rm -f main.c ln -s $> main.c diff --git a/gnu/usr.bin/gcc3/frontend/Makefile b/gnu/usr.bin/gcc3/frontend/Makefile index 47a0bf9356a0..4489a4ec8b1f 100644 --- a/gnu/usr.bin/gcc3/frontend/Makefile +++ b/gnu/usr.bin/gcc3/frontend/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2003/07/29 07:26:23 mrg Exp $ +# $NetBSD: Makefile,v 1.3 2003/07/29 23:31:46 uwe Exp $ NOLINKLIB= # defined NOLINT= # defined @@ -18,7 +18,7 @@ HOST_CPPFLAGS+= -I${GCCARCH} ${G_ALL_CFLAGS:M-D*} ${G_INCLUDES:M-I*:N-I.*} .include -${OBJS} .depend: multilib.h specs.h +${OBJS} ${DEPENDSRCS}: multilib.h specs.h .PATH: ${DIST}/gcc