#	$NetBSD: Makefile.frag,v 1.4 2000/05/30 06:57:31 aidan Exp $

.ifdef KERBEROS5
SRCS+=  k5login.c
CPPFLAGS+=-DKERBEROS5
DPADD+= ${LIBKRB5} ${LIBK5CRYPTO} ${LIBCOM_ERR}
LDADD+= -lkrb5 -lk5crypto
.ifndef KERBEROS
# force libcom_err to be the last thing linked in.  In this case, the
# krb4 section will take care of adding it.
LDADD+= -lcom_err
.endif
.endif
.ifdef KERBEROS
SRCS+=  klogin.c
CPPFLAGS+=-DKERBEROS
DPADD+= ${LIBKRB} ${LIBDES} ${LIBCOM_ERR}
LDADD+= -lkrb -ldes -lcom_err
.endif
