NetBSD/lib/Makefile
dyoung 4758291178 Fix the checkflist for builds without Kerberos 4 (MKKERBEROS4=no)
and without Kerberos 4 & 5 (MKKERBEROS=no). Previously checkflist
complained of missing files.

* move kerberos- and kerberos 4-only files into new flists,
  distrib/sets/lists/*/krb.*

* make the flist generators grok MKKERBEROS{,4} variables

* fix Makefiles which treat MKKERBEROS=no as MKKERBEROS5=no.
  9 out of 10 experts agree that it is ludicrous to build w/
  KERBEROS4 and w/o KERBEROS5.

* fix header files, also, which treat MKKERBEROS=no as MKKERBEROS5=no.

* omit some Kerberos-only subdirectories from the build as
  MKKERBEROS{,4} indicate

(I acknowledge the sentiment that flists are the wrong way to go,
and that the makefiles should produce the metalog directly.  That
sounds to me like the right way to go, but I am not prepared to do
revamp all the makefiles.  While my approach is expedient, it fits
painlessly within the current build architecture until we are
delivered from flist purgatory, and it does not postpone our
delivery. Fair enough?)
2003-12-11 09:46:26 +00:00

57 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.88 2003/12/11 09:46:27 dyoung Exp $
# from: @(#)Makefile 5.25.1.1 (Berkeley) 5/7/91
.include <bsd.own.mk>
SUBDIR= csu libc .WAIT libarch libbsdmalloc libbz2 libcdk libcompat libcrypt \
libcurses libedit libevent libform libintl libkvm libl libm libmagic \
libmenu libossaudio libpcap libpci libpmc libposix libpthread \
libpthread_dbg libresolv librmt librpcsvc librt libterm libusbhid \
libutil libwrap liby libz
.if (${MKSKEY} != "no")
SUBDIR+= libskey
.endif
# XXX Crypto bits must be done before libtelnet.
.if (${MKCRYPTO} != "no")
# OpenSSL libraries.
SUBDIR+= libcrypto libssl libdes
.if (${MKCRYPTO_IDEA} != "no")
SUBDIR+= libcrypto_idea
.endif # MKCRYPTO_IDEA != no
.if (${MKCRYPTO_MDC2} != "no")
SUBDIR+= libcrypto_mdc2
.endif # MKCRYPTO_MDC2 != no
.if (${MKCRYPTO_RC5} != "no")
SUBDIR+= libcrypto_rc5
.endif # MKCRYPTO_RC5 != no
.endif # MKCRYPTO != no
.if (${MKKERBEROS} != "no")
# Heimdal Kerberos 5 libraries
SUBDIR+= libroken libvers libcom_err libsl libss libasn1 libkrb5 libhdb \
libkadm5srv libkadm5clnt libgssapi libkafs
.if (${MKKERBEROS4} != "no")
# KTH Kerberos 4 libraries
SUBDIR+= libkrb libkdb libkadm
SUBDIR+= libkstream
.endif # MKKERBEROS4 != no
.endif # MKKERBEROS != no
SUBDIR+= libtelnet
# IPv6/IPsec
SUBDIR+= libipsec
# I18N modules
SUBDIR+= i18n_module
.include <bsd.subdir.mk>