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.7 2010/07/06 05:59:53 mrg Exp $
|
2000-09-30 04:24:52 +04:00
|
|
|
|
|
|
|
# RCSid:
|
|
|
|
# Id: Makefile,v 1.33 1998/11/11 11:53:53 sjg Exp
|
|
|
|
#
|
|
|
|
# @(#) Copyright (c) 1994 Simon J. Gerraty
|
|
|
|
#
|
|
|
|
# This file is provided in the hope that it will
|
|
|
|
# be of use. There is absolutely NO WARRANTY.
|
|
|
|
# Permission to copy, redistribute or otherwise
|
|
|
|
# use this file is hereby granted provided that
|
|
|
|
# the above copyright notice and this notice are
|
|
|
|
# left intact.
|
|
|
|
#
|
|
|
|
# Please send copies of changes and bug-fixes to:
|
|
|
|
# sjg@quick.com.au
|
|
|
|
#
|
|
|
|
|
2001-12-12 03:51:00 +03:00
|
|
|
NOPIC= # defined
|
|
|
|
#NOPROFILE= # defined
|
|
|
|
#NOLINT= # defined
|
|
|
|
|
2000-09-30 04:24:52 +04:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
|
|
|
# XXX There's a bit of work to do before we can enable warnings.
|
2001-12-12 03:51:00 +03:00
|
|
|
WARNS= 0
|
2000-09-30 04:24:52 +04:00
|
|
|
|
2001-12-12 03:51:00 +03:00
|
|
|
LIB= crypto_rc5
|
2002-09-01 10:01:13 +04:00
|
|
|
CPPFLAGS+= -Dlib${LIB} -I. -I${OPENSSLSRC}/crypto -I${OPENSSLSRC}
|
2000-09-30 04:24:52 +04:00
|
|
|
|
2002-08-19 13:41:27 +04:00
|
|
|
CRYPTODIST= ${NETBSDSRCDIR}/crypto/dist
|
2000-09-30 04:24:52 +04:00
|
|
|
|
2002-08-19 13:41:27 +04:00
|
|
|
.include "${NETBSDSRCDIR}/crypto/Makefile.openssl"
|
2000-09-30 04:24:52 +04:00
|
|
|
|
2001-12-12 03:51:00 +03:00
|
|
|
.PATH: ${OPENSSLSRC} ${OPENSSLSRC}/crypto/rc5 ${OPENSSLSRC}/crypto/evp
|
|
|
|
|
2000-09-30 04:24:52 +04:00
|
|
|
CPPFLAGS+= -I${OPENSSLSRC}/crypto/rc5
|
2001-12-12 03:51:00 +03:00
|
|
|
SRCS+= rc5_skey.c rc5_enc.c e_rc5.c c_allc.c
|
2000-09-30 04:24:52 +04:00
|
|
|
|
2001-12-12 03:51:00 +03:00
|
|
|
AFLAGS+= -DELF
|
2000-09-30 04:24:52 +04:00
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|