758f3a64bd
1) Don't spit out an error message if Kerberos is installed but not yet set up. 2) Don't attempt to verify the ticket you got back, as workstations are not intended to have srvtab files of their own. Both behaviors can be re-enabled with KLOGIN_PARANOID.
31 lines
624 B
Makefile
31 lines
624 B
Makefile
# From: @(#)Makefile 8.1 (Berkeley) 7/19/93
|
|
# $Id: Makefile,v 1.10 1994/11/20 23:20:33 wollman Exp $
|
|
|
|
PROG= login
|
|
MAN1= login.1
|
|
MAN5= login.access.5
|
|
SRCS= login.c login_access.c login_fbtab.c
|
|
|
|
CFLAGS+=-DLOGIN_ACCESS -DSKEY -DLOGALL
|
|
|
|
.if defined(KLOGIN_PARANOID)
|
|
CFLAGS+=-DKLOGIN_PARANOID
|
|
.endif
|
|
|
|
DPADD= ${LIBUTIL} ${LIBCRYPT} ${LIBSKEY} ${LIBMD}
|
|
LDADD= -lutil -lcrypt -lskey -lmd
|
|
|
|
.if exists(${DESTDIR}/usr/lib/libkrb.a) && defined(MAKE_EBONES)
|
|
CFLAGS+=-DKERBEROS
|
|
SRCS+= klogin.c
|
|
DPADD+= ${LIBKRB} ${LIBDES}
|
|
LDADD+= -lkrb -ldes
|
|
DISTRIBUTION= krb
|
|
.endif
|
|
|
|
BINOWN= root
|
|
BINMODE=4555
|
|
INSTALLFLAGS=-fschg
|
|
|
|
.include <bsd.prog.mk>
|