1994-09-30 13:26:15 +00:00
|
|
|
# From: @(#)Makefile 8.1 (Berkeley) 7/19/93
|
1997-01-11 07:16:35 +00:00
|
|
|
# $Id: Makefile,v 1.13 1995/05/30 06:31:25 rgrimes Exp $
|
1994-05-27 12:33:43 +00:00
|
|
|
|
|
|
|
PROG= login
|
1994-08-21 19:26:22 +00:00
|
|
|
MAN1= login.1
|
|
|
|
MAN5= login.access.5
|
1994-10-19 00:03:45 +00:00
|
|
|
SRCS= login.c login_access.c login_fbtab.c
|
|
|
|
|
1997-01-11 07:16:35 +00:00
|
|
|
#Uncomment to activate login_auth
|
|
|
|
#Warning: requires src/libexec/login_* auth modules
|
|
|
|
#LC_AUTH=-DLOGIN_CAP_AUTH
|
|
|
|
CFLAGS+=-DSKEY -DLOGIN_ACCESS -DLOGALL -DLOGIN_CAP $(LC_AUTH)
|
1994-09-30 13:26:15 +00:00
|
|
|
|
1995-01-14 22:57:41 +00:00
|
|
|
.if defined(KLOGIN_PARANOID)
|
|
|
|
CFLAGS+=-DKLOGIN_PARANOID
|
|
|
|
.endif
|
|
|
|
|
1995-05-30 06:41:30 +00:00
|
|
|
DPADD= ${LIBUTIL} ${LIBSKEY} ${LIBMD} ${LIBCRYPT}
|
1995-03-18 17:18:15 +00:00
|
|
|
LDADD= -lutil -lskey -lmd -lcrypt
|
1994-10-19 00:03:45 +00:00
|
|
|
|
1997-01-11 07:16:35 +00:00
|
|
|
.if exists(${DESTDIR}/usr/lib/libkrb.a) && defined(MAKE_EBONES) && !defined(LC_AUTH)
|
1994-09-30 13:26:15 +00:00
|
|
|
CFLAGS+=-DKERBEROS
|
|
|
|
SRCS+= klogin.c
|
|
|
|
DPADD+= ${LIBKRB} ${LIBDES}
|
|
|
|
LDADD+= -lkrb -ldes
|
1994-11-20 23:23:28 +00:00
|
|
|
DISTRIBUTION= krb
|
1994-09-30 13:26:15 +00:00
|
|
|
.endif
|
|
|
|
|
1994-05-27 12:33:43 +00:00
|
|
|
BINOWN= root
|
|
|
|
BINMODE=4555
|
|
|
|
INSTALLFLAGS=-fschg
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|