1997-10-19 07:44:21 +04:00
|
|
|
# $NetBSD: Makefile,v 1.19 1997/10/19 03:44:25 lukem Exp $
|
1994-12-23 09:52:56 +03:00
|
|
|
# @(#)Makefile 8.1 (Berkeley) 7/19/93
|
1993-03-21 12:45:37 +03:00
|
|
|
|
|
|
|
PROG= login
|
1994-12-23 09:52:56 +03:00
|
|
|
SRCS= login.c
|
1997-10-11 23:19:11 +04:00
|
|
|
DPADD+= ${LIBUTIL} ${LIBCRYPT}
|
|
|
|
LDADD+= -lutil -lcrypt
|
1997-10-12 16:54:55 +04:00
|
|
|
BINOWN= root
|
|
|
|
BINMODE=4555
|
|
|
|
INSTALLFLAGS=-fschg
|
1997-10-11 23:19:11 +04:00
|
|
|
|
1997-10-12 18:07:38 +04:00
|
|
|
.include <bsd.own.mk>
|
1997-10-12 16:39:17 +04:00
|
|
|
|
1997-10-12 17:10:16 +04:00
|
|
|
.ifdef SKEY
|
1997-10-12 16:54:55 +04:00
|
|
|
CPPFLAGS+=-DSKEY
|
1997-10-11 23:19:11 +04:00
|
|
|
DPADD+= ${LIBSKEY}
|
|
|
|
LDADD+= -lskey
|
|
|
|
.endif
|
1994-03-30 06:49:15 +04:00
|
|
|
|
1997-10-12 17:10:16 +04:00
|
|
|
.ifdef KERBEROS5
|
1994-12-23 09:52:56 +03:00
|
|
|
SRCS+= k5login.c
|
1997-10-12 17:10:16 +04:00
|
|
|
CPPFLAGS+=-DKERBEROS5
|
1994-07-26 01:11:08 +04:00
|
|
|
DPADD+= ${LIBKRB5} ${LIBCRYPTO}
|
1997-08-19 21:26:13 +04:00
|
|
|
LDADD+= -lkrb5 -lcrypto -lcom_err
|
1997-10-12 17:10:16 +04:00
|
|
|
.elifdef KERBEROS
|
1994-12-23 09:52:56 +03:00
|
|
|
SRCS+= klogin.c
|
1997-10-12 17:10:16 +04:00
|
|
|
CPPFLAGS+=-DKERBEROS
|
1994-03-30 06:49:15 +04:00
|
|
|
DPADD+= ${LIBKRB} ${LIBDES}
|
|
|
|
LDADD+= -lkrb -ldes
|
|
|
|
.endif
|
1997-10-12 18:07:38 +04:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|