NetBSD/usr.bin/login/Makefile

34 lines
587 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.18 1997/10/12 14:07:38 mycroft Exp $
# @(#)Makefile 8.1 (Berkeley) 7/19/93
1993-03-21 12:45:37 +03:00
1997-10-11 23:19:11 +04:00
WARNS?= 1
1993-03-21 12:45:37 +03:00
PROG= login
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
.include <bsd.own.mk>
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
1997-10-12 17:10:16 +04:00
.ifdef KERBEROS5
SRCS+= k5login.c
1997-10-12 17:10:16 +04:00
CPPFLAGS+=-DKERBEROS5
DPADD+= ${LIBKRB5} ${LIBCRYPTO}
LDADD+= -lkrb5 -lcrypto -lcom_err
1997-10-12 17:10:16 +04:00
.elifdef KERBEROS
SRCS+= klogin.c
1997-10-12 17:10:16 +04:00
CPPFLAGS+=-DKERBEROS
DPADD+= ${LIBKRB} ${LIBDES}
LDADD+= -lkrb -ldes
.endif
.include <bsd.prog.mk>