diff options
author | jb <jb@FreeBSD.org> | 1998-03-11 20:41:55 +0000 |
---|---|---|
committer | jb <jb@FreeBSD.org> | 1998-03-11 20:41:55 +0000 |
commit | b776b60a03d1087c5f8f744f0ebc0e0480a84372 (patch) | |
tree | a689d2747e16715b02ec0d4042589fff12f4b774 /lib/csu/alpha | |
parent | ccb7460b92b5ef1d98f70bf2495561105fb769cb (diff) | |
download | FreeBSD-src-b776b60a03d1087c5f8f744f0ebc0e0480a84372.zip FreeBSD-src-b776b60a03d1087c5f8f744f0ebc0e0480a84372.tar.gz |
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.
Diffstat (limited to 'lib/csu/alpha')
-rw-r--r-- | lib/csu/alpha/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
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: |