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.
This commit is contained in:
John Birrell 1998-03-11 20:41:55 +00:00
parent 1901906aa6
commit f672a042cf
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=34487

View File

@ -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: