NetBSD/usr.bin/login/Makefile

29 lines
542 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.12 1997/08/16 13:50:43 lukem Exp $
# @(#)Makefile 8.1 (Berkeley) 7/19/93
1993-03-21 12:45:37 +03:00
PROG= login
SRCS= login.c
1994-05-24 10:50:57 +04:00
DPADD= ${LIBUTIL} ${LIBCRYPT} ${LIBSKEY}
LDADD= -lutil -lcrypt -lskey
CFLAGS+= -DSKEY
LDSTATIC= -static
WARNS?= 1
.if defined(KERBEROS5)
SRCS+= k5login.c
DPADD+= ${LIBKRB5} ${LIBCRYPTO}
LDADD+= -lkrb5 -lcrypto
CFLAGS+= -DKERBEROS5
.elif defined(KERBEROS)
SRCS+= klogin.c
DPADD+= ${LIBKRB} ${LIBDES}
LDADD+= -lkrb -ldes
CFLAGS+= -DKERBEROS
.endif
1993-04-27 03:13:43 +04:00
1993-03-21 12:45:37 +03:00
BINOWN= root
BINMODE=4555
INSTALLFLAGS=-fschg
1993-03-21 12:45:37 +03:00
.include <bsd.prog.mk>