NetBSD/lib/Makefile
itojun 8d26d03189 repair openssl (libcrypto) for non-32bit architecture.
don't use unsigned long where 32bit unsigned variable is asked for.
use u_int32_t.  (not sure if uint32_t is better or not, but anyway,
u_int32_t <-> uint32_t should not raise binary compatibility issue)
PR10921.

TODO: have arch-dependent Makefiles where we supply -DFOO for optimization.
(do not change size of variable though)

XXX: we should actually nuke all other #ifdef in /usr/include/openssl/*.h,
however, that needs a lot of work and will make future openssl upgrade harder.

remove RC5 and IDEA by default.  build them separately as
libcrypto_{rc5,idea}.a.  put dummy function, which is "warning to stderr
and exit(1)".  NOCRYPTO_{RC5,IDEA} are obsoleted.
PR10883.
2000-09-30 00:23:28 +00:00

41 lines
1.0 KiB
Makefile

# $NetBSD: Makefile,v 1.64 2000/09/30 00:23:28 itojun Exp $
# from: @(#)Makefile 5.25.1.1 (Berkeley) 5/7/91
.include <bsd.own.mk>
SUBDIR= csu libarch libbz2 libc libcompat libcrypt libcurses libedit \
libkvm libl libm libmenu libossaudio libpcap libposix \
libresolv librmt librpcsvc libskey libterm libusb libutil libwrap \
liby libz
# XXX Crypto bits must be done before libtelnet.
.if (${MKCRYPTO} != "no")
# OpenSSL libraries. NOTE! WE DO NOT TRAVERSE INTO libdes FOR A REASON!
SUBDIR+= libcrypto libssl
# Heimdal Kerberos 5 libraries
SUBDIR+= libroken libvers libcom_err libsl libss libasn1 libkrb5 libhdb \
libkadm5 libkadm5srv libkadm5clnt libgssapi
# KTH Kerberos 4 libraries
SUBDIR+= libkrb libkdb libkadm libkafs
SUBDIR+= libkstream
.if (${MKCRYPTO_IDEA} != "no")
SUBDIR+= libcrypto_idea
.endif # MKCRYPTO_IDEA != no
.if (${MKCRYPTO_RC5} != "no")
SUBDIR+= libcrypto_rc5
.endif # MKCRYPTO_RC5 != no
.endif # MKCRYPTO != no
SUBDIR+= libtelnet
# IPv6/IPsec
SUBDIR+= libipsec
.include <bsd.subdir.mk>