From b776b60a03d1087c5f8f744f0ebc0e0480a84372 Mon Sep 17 00:00:00 2001 From: jb Date: Wed, 11 Mar 1998 20:41:55 +0000 Subject: Don't share sources with i386-elf. That was too difficult. 8-( Add a bootstrap mode so that non-rtld versions of these objects can be built when bootstrapping the system with NetBSD tools, headers and libraries. Once the FreeBSD tools are built, the FreeBSD headers are installed and *then* these objects can be recompiled with the rtld references. Phew. --- lib/csu/alpha/Makefile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'lib/csu') diff --git a/lib/csu/alpha/Makefile b/lib/csu/alpha/Makefile index e25f050..63d64ef 100644 --- a/lib/csu/alpha/Makefile +++ b/lib/csu/alpha/Makefile @@ -1,10 +1,9 @@ # -# $Id: Makefile,v 1.1.1.1 1998/03/07 20:27:10 jdp Exp $ +# $Id: Makefile,v 1.2 1998/03/10 07:04:05 jb Exp $ # -.PATH: ${.CURDIR}/../i386-elf -SRCS= crt1.c crtbegin.c crtend.c crti.S crtn.S -OBJS= ${SRCS:N*.h:R:S/$/.o/g} +SRCS= crt1.c crtbegin.c crtend.c +OBJS= crt1.o crtbegin.o crtend.o SOBJS= crtbegin.so crtend.so CFLAGS+= -Wall -Wno-unused NOMAN= true @@ -12,6 +11,10 @@ NOPIC= true NOPROFILE= true INTERNALLIB= true +.ifndef BOOTSTRAP +CFLAGS+= -DHAVE_RTLD -I${.CURDIR}/../../../libexec/rtld-elf +.endif + all: ${OBJS} ${SOBJS} realinstall: -- cgit v1.1