1994-12-23 09:52:56 +03:00
|
|
|
# $NetBSD: Makefile,v 1.10 1994/12/23 06:52:56 jtc Exp $
|
|
|
|
# @(#)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
|
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)
|
1994-12-23 09:52:56 +03:00
|
|
|
SRCS+= k5login.c
|
1994-07-26 01:11:08 +04:00
|
|
|
DPADD+= ${LIBKRB5} ${LIBCRYPTO}
|
|
|
|
LDADD+= -lkrb5 -lcrypto
|
1994-12-23 09:52:56 +03:00
|
|
|
CFLAGS+= -DKERBEROS5
|
1994-07-26 01:11:08 +04:00
|
|
|
.elif defined(KERBEROS)
|
1994-12-23 09:52:56 +03:00
|
|
|
SRCS+= klogin.c
|
1994-03-30 06:49:15 +04:00
|
|
|
DPADD+= ${LIBKRB} ${LIBDES}
|
|
|
|
LDADD+= -lkrb -ldes
|
1994-12-23 09:52:56 +03:00
|
|
|
CFLAGS+= -DKERBEROS
|
1994-03-30 06:49:15 +04:00
|
|
|
.endif
|
1993-04-27 03:13:43 +04:00
|
|
|
|
1993-03-21 12:45:37 +03:00
|
|
|
BINOWN= root
|
|
|
|
BINMODE=4555
|
1994-12-23 09:52:56 +03:00
|
|
|
INSTALLFLAGS=-fschg
|
1993-03-21 12:45:37 +03:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|