1997-08-16 17:50:43 +04:00
|
|
|
# $NetBSD: Makefile,v 1.12 1997/08/16 13:50:43 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
|
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
|
1997-06-23 16:47:45 +04:00
|
|
|
LDSTATIC= -static
|
1997-08-16 17:50:43 +04:00
|
|
|
WARNS?= 1
|
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>
|