From 5241c2a92358e1a424a12e7e1b18650bda58c720 Mon Sep 17 00:00:00 2001 From: cjs Date: Thu, 29 May 1997 15:13:00 +0000 Subject: [PATCH] These makefiles need to include bsd.own.mk early-on so that they know BUILDDIR and OBJDIR. --- lib/csu/arm32/Makefile | 4 +++- lib/csu/m68k/Makefile | 4 +++- lib/csu/mips/Makefile | 4 +++- lib/csu/ns32k/Makefile | 4 +++- lib/csu/powerpc/Makefile | 4 +++- lib/csu/sparc/Makefile | 4 +++- lib/csu/vax/Makefile | 4 +++- 7 files changed, 21 insertions(+), 7 deletions(-) diff --git a/lib/csu/arm32/Makefile b/lib/csu/arm32/Makefile index 79916b19b163..218873d36674 100644 --- a/lib/csu/arm32/Makefile +++ b/lib/csu/arm32/Makefile @@ -1,10 +1,12 @@ -# $NetBSD: Makefile,v 1.5 1997/05/26 03:56:24 cjs Exp $ +# $NetBSD: Makefile,v 1.6 1997/05/29 15:13:00 cjs Exp $ # from: @(#)Makefile 5.6 (Berkeley) 5/22/91 CFLAGS+= -DLIBC_SCCS -I${.CURDIR}/.. OBJS= crt0.o gcrt0.o scrt0.o mcrt0.o CLEANFILES+= core a.out +.include # for OBJDIR and BUILDDIR + all: ${OBJS} crt0.o: crt0.c diff --git a/lib/csu/m68k/Makefile b/lib/csu/m68k/Makefile index 80b68f7a2c7c..95a7f391c21c 100644 --- a/lib/csu/m68k/Makefile +++ b/lib/csu/m68k/Makefile @@ -1,10 +1,12 @@ -# $NetBSD: Makefile,v 1.10 1997/05/26 03:56:45 cjs Exp $ +# $NetBSD: Makefile,v 1.11 1997/05/29 15:13:04 cjs Exp $ # from: @(#)Makefile 5.5 (Berkeley) 5/21/91 CFLAGS+= -DLIBC_SCCS -I${.CURDIR}/.. OBJS= crt0.o gcrt0.o scrt0.o SRCS= crt0.c +.include # for OBJDIR and BUILDDIR + all: ${OBJS} crt0.o: ${SRCS} diff --git a/lib/csu/mips/Makefile b/lib/csu/mips/Makefile index b997f9fead6c..8ace29d41517 100644 --- a/lib/csu/mips/Makefile +++ b/lib/csu/mips/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 1997/05/26 03:56:57 cjs Exp $ +# $NetBSD: Makefile,v 1.13 1997/05/29 15:13:07 cjs Exp $ # from: @(#)Makefile 8.1 (Berkeley) 6/1/93 CFLAGS+= -DLIBC_SCCS -fPIC -DPIC -DDYNAMIC -DELFSIZE=32 @@ -7,6 +7,8 @@ CFLAGS+= -DLIBC_SCCS -fPIC -DPIC -DDYNAMIC -DELFSIZE=32 OBJS= crt0.o gcrt0.o crtn.o # crtbegin.o crtend.o CLEANFILES+= core a.out +.include # for OBJDIR and BUILDDIR + all: ${OBJS} crt0.o: crt0.c diff --git a/lib/csu/ns32k/Makefile b/lib/csu/ns32k/Makefile index 46d9e0c646e5..e819742c7aad 100644 --- a/lib/csu/ns32k/Makefile +++ b/lib/csu/ns32k/Makefile @@ -1,10 +1,12 @@ -# $NetBSD: Makefile,v 1.11 1997/05/26 03:57:02 cjs Exp $ +# $NetBSD: Makefile,v 1.12 1997/05/29 15:13:09 cjs Exp $ # from: @(#)Makefile 5.5 (Berkeley) 5/21/91 CFLAGS+= -DLIBC_SCCS -I${.CURDIR}/.. OBJS= crt0.o gcrt0.o scrt0.o SRCS= crt0.c +.include # for OBJDIR and BUILDDIR + all: ${OBJS} crt0.o: ${SRCS} diff --git a/lib/csu/powerpc/Makefile b/lib/csu/powerpc/Makefile index 94ff322fbcbf..9a2e52cd32c3 100644 --- a/lib/csu/powerpc/Makefile +++ b/lib/csu/powerpc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 1997/05/26 03:57:14 cjs Exp $ +# $NetBSD: Makefile,v 1.3 1997/05/29 15:13:12 cjs Exp $ CFLAGS+= -DLIBC_SCCS -DPIC # -DDYNAMIC CFLAGS+= -I${.CURDIR}/../../../libexec/ld.elf_so @@ -7,6 +7,8 @@ OBJS= crt0.o gcrt0.o crtbegin.o crtend.o CLEANFILES+= core a.out +.include # for OBJDIR and BUILDDIR + all: ${OBJS} crt0.o: crt0.c diff --git a/lib/csu/sparc/Makefile b/lib/csu/sparc/Makefile index 01c375af7749..589e6731c408 100644 --- a/lib/csu/sparc/Makefile +++ b/lib/csu/sparc/Makefile @@ -1,10 +1,12 @@ -# $NetBSD: Makefile,v 1.11 1997/05/26 03:57:22 cjs Exp $ +# $NetBSD: Makefile,v 1.12 1997/05/29 15:13:14 cjs Exp $ # from: @(#)Makefile 5.5 (Berkeley) 5/21/91 CFLAGS+= -DLIBC_SCCS -I${.CURDIR}/.. OBJS= crt0.o gcrt0.o scrt0.o SRCS= crt0.c +.include # for OBJDIR and BUILDDIR + all: ${OBJS} crt0.o: ${SRCS} diff --git a/lib/csu/vax/Makefile b/lib/csu/vax/Makefile index 5d8a22e00122..9c648becfae5 100644 --- a/lib/csu/vax/Makefile +++ b/lib/csu/vax/Makefile @@ -1,10 +1,12 @@ -# $NetBSD: Makefile,v 1.6 1997/05/26 03:57:32 cjs Exp $ +# $NetBSD: Makefile,v 1.7 1997/05/29 15:13:16 cjs Exp $ # from: @(#)Makefile 5.6 (Berkeley) 5/22/91 CFLAGS+= -DLIBC_SCCS -I${.CURDIR}/.. OBJS= crt0.o gcrt0.o scrt0.o CLEANFILES+= core a.out +.include # for OBJDIR and BUILDDIR + all: ${OBJS} crt0.o: crt0.c