1994-07-26 01:11:08 +04:00
|
|
|
# from: @(#)Makefile 8.1 (Berkeley) 7/19/93
|
|
|
|
# $Id: Makefile,v 1.9 1994/07/25 21:11:08 brezak Exp $
|
1993-03-21 12:45:37 +03:00
|
|
|
|
|
|
|
PROG= login
|
1994-07-26 01:11:08 +04:00
|
|
|
SRCS= klogin.c k5login.c login.c
|
1994-05-24 10:50:57 +04:00
|
|
|
DPADD= ${LIBUTIL} ${LIBCRYPT} ${LIBSKEY}
|
|
|
|
LDADD= -lutil -lcrypt -lskey
|
1994-07-26 01:11:08 +04:00
|
|
|
CFLAGS+= -DSKEY
|
1994-03-30 06:49:15 +04:00
|
|
|
|
1994-07-26 01:11:08 +04:00
|
|
|
.if defined(KERBEROS5)
|
|
|
|
CFLAGS+= -DKERBEROS5
|
|
|
|
DPADD+= ${LIBKRB5} ${LIBCRYPTO}
|
|
|
|
LDADD+= -lkrb5 -lcrypto
|
|
|
|
.elif defined(KERBEROS)
|
1994-03-30 06:49:15 +04:00
|
|
|
CFLAGS+= -DKERBEROS
|
|
|
|
DPADD+= ${LIBKRB} ${LIBDES}
|
|
|
|
LDADD+= -lkrb -ldes
|
|
|
|
.endif
|
1993-04-27 03:13:43 +04:00
|
|
|
|
1993-03-21 12:45:37 +03:00
|
|
|
BINOWN= root
|
|
|
|
BINMODE=4555
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|