4c92852a80
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
43 lines
1.0 KiB
Makefile
43 lines
1.0 KiB
Makefile
# $NetBSD: Makefile,v 1.7 2010/07/06 05:59:52 mrg Exp $
|
|
|
|
# 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
|
|
#
|
|
|
|
NOPIC= # defined
|
|
#NOPROFILE= # defined
|
|
#NOLINT= # defined
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
# XXX There's a bit of work to do before we can enable warnings.
|
|
WARNS= 0
|
|
|
|
LIB= crypto_idea
|
|
CPPFLAGS+= -Dlib${LIB} -I. -I${OPENSSLSRC}/crypto -I${OPENSSLSRC}
|
|
|
|
CRYPTODIST= ${NETBSDSRCDIR}/crypto/dist
|
|
|
|
.include "${NETBSDSRCDIR}/crypto/Makefile.openssl"
|
|
|
|
.PATH: ${OPENSSLSRC} ${OPENSSLSRC}/crypto/idea ${OPENSSLSRC}/crypto/evp
|
|
|
|
CPPFLAGS+= -I${OPENSSLSRC}/crypto/idea
|
|
SRCS+= i_cbc.c i_skey.c e_idea.c c_allc.c
|
|
|
|
AFLAGS+= -DELF
|
|
|
|
.include <bsd.lib.mk>
|