NetBSD/usr.bin/login/Makefile

32 lines
608 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.30 2000/06/23 06:01:16 thorpej Exp $
# @(#)Makefile 8.1 (Berkeley) 7/19/93
1993-03-21 12:45:37 +03:00
.include <bsd.own.mk>
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
2000-01-13 15:43:19 +03:00
CPPFLAGS+=-DLOGIN_CAP
1997-10-11 23:19:11 +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
.if (${MKKERBEROS} != "no")
SRCS+= k5login.c
CPPFLAGS+=-DKERBEROS5 -I${DESTDIR}/usr/include/krb5
LDADD+= -lkrb5 -lcrypto -lasn1 -lcom_err -lroken
SRCS+= klogin.c
CPPFLAGS+=-DKERBEROS -I${DESTDIR}/usr/include/kerberosIV
LDADD+= -lkrb
.endif
1999-07-13 02:11:37 +04:00
.include <bsd.prog.mk>