NetBSD/gnu/usr.bin/Makefile
mrg 4c92852a80 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 05:59:50 +00:00

27 lines
385 B
Makefile

# $NetBSD: Makefile,v 1.133 2010/07/06 05:59:51 mrg Exp $
.include <bsd.own.mk>
SUBDIR+= bc
SUBDIR+= c89 c99
SUBDIR+= dc diffutils gkermit grep
SUBDIR+= rcs send-pr texinfo
.if ${MKGROFF} != "no"
SUBDIR+= groff
.endif
SUBDIR+= gettext
.if ${MKGDB} != "no"
.if ${HAVE_GDB} == "6"
SUBDIR+= gdb6
.endif
.endif
.if ${MKGCCCMDS} != "no"
SUBDIR+= gcc4
.endif
.include <bsd.subdir.mk>