remove almost all the ability to build netbsd with an a.out target.
we're ELF now, and there are many missing checks against OBJECT_FMT.
if we ever consider switching, the we can figure out what new ones
we need but for now it's just clutter.
this doesn't remove any of the support for exec_aout or any actually
required-for-boot a.out support, only the ability to build a netbsd
release in a.out format. ie, most of this code has been dead for
over a decade.
i've tested builds on vax, amd64, i386, mac68k, macppc, sparc, atari,
amiga, shark, cats, dreamcast, landisk, mmeye and x68k. this covers
the 5 MACHINE_ARCH's affected, and all the other arch code touched.
it also includes some actual run-time testing of sparc, i386 and
shark, and i performed binary comparison upon amiga and x68k as well.
some minor details relevant:
- move shlib.[ch] from ld.aout_so into ldconfig proper, and cut them
down to only the parts ldconfig needs
- remove various unused source files
- switch amiga bootblocks to using elf2bb.h instead of aout2bb.h
2010-07-06 09:59:50 +04:00
|
|
|
# $NetBSD: Makefile,v 1.47 2010/07/06 05:59:53 mrg Exp $
|
1998-12-17 14:34:10 +03:00
|
|
|
|
remove almost all the ability to build netbsd with an a.out target.
we're ELF now, and there are many missing checks against OBJECT_FMT.
if we ever consider switching, the we can figure out what new ones
we need but for now it's just clutter.
this doesn't remove any of the support for exec_aout or any actually
required-for-boot a.out support, only the ability to build a netbsd
release in a.out format. ie, most of this code has been dead for
over a decade.
i've tested builds on vax, amd64, i386, mac68k, macppc, sparc, atari,
amiga, shark, cats, dreamcast, landisk, mmeye and x68k. this covers
the 5 MACHINE_ARCH's affected, and all the other arch code touched.
it also includes some actual run-time testing of sparc, i386 and
shark, and i performed binary comparison upon amiga and x68k as well.
some minor details relevant:
- move shlib.[ch] from ld.aout_so into ldconfig proper, and cut them
down to only the parts ldconfig needs
- remove various unused source files
- switch amiga bootblocks to using elf2bb.h instead of aout2bb.h
2010-07-06 09:59:50 +04:00
|
|
|
.include <bsd.own.mk> # for MKPIC definition
|
2002-11-12 17:33:48 +03:00
|
|
|
|
remove almost all the ability to build netbsd with an a.out target.
we're ELF now, and there are many missing checks against OBJECT_FMT.
if we ever consider switching, the we can figure out what new ones
we need but for now it's just clutter.
this doesn't remove any of the support for exec_aout or any actually
required-for-boot a.out support, only the ability to build a netbsd
release in a.out format. ie, most of this code has been dead for
over a decade.
i've tested builds on vax, amd64, i386, mac68k, macppc, sparc, atari,
amiga, shark, cats, dreamcast, landisk, mmeye and x68k. this covers
the 5 MACHINE_ARCH's affected, and all the other arch code touched.
it also includes some actual run-time testing of sparc, i386 and
shark, and i performed binary comparison upon amiga and x68k as well.
some minor details relevant:
- move shlib.[ch] from ld.aout_so into ldconfig proper, and cut them
down to only the parts ldconfig needs
- remove various unused source files
- switch amiga bootblocks to using elf2bb.h instead of aout2bb.h
2010-07-06 09:59:50 +04:00
|
|
|
.if ${MKPIC} != "no" && exists(ld.so.${MACHINE_ARCH}.uue)
|
2000-09-12 03:23:21 +04:00
|
|
|
|
|
|
|
FILES= ld.so
|
2000-09-12 20:39:51 +04:00
|
|
|
FILESDIR= /usr/libexec
|
2000-09-12 03:23:21 +04:00
|
|
|
FILESMODE= ${BINMODE}
|
2004-03-19 11:07:22 +03:00
|
|
|
UUDECODE_FILES= ld.so.${MACHINE_ARCH}
|
|
|
|
UUDECODE_FILES_RENAME_${UUDECODE_FILES}= ld.so
|
2000-09-12 03:23:21 +04:00
|
|
|
|
2000-09-12 20:39:51 +04:00
|
|
|
all dependall: ${FILES}
|
2000-09-12 03:23:21 +04:00
|
|
|
|
2004-03-19 11:07:22 +03:00
|
|
|
ld.so: ld.so.${MACHINE_ARCH}
|
2000-09-12 03:23:21 +04:00
|
|
|
|
1997-06-23 17:25:41 +04:00
|
|
|
.endif
|
|
|
|
|
2001-05-06 17:54:04 +04:00
|
|
|
MAN= ld.aout_so.1
|
1993-10-17 00:54:08 +03:00
|
|
|
|
2004-03-19 11:07:22 +03:00
|
|
|
.include <bsd.files.mk>
|
1993-10-17 00:54:08 +03:00
|
|
|
.include <bsd.prog.mk>
|