summaryrefslogtreecommitdiff
path: root/usr.bin/login/Makefile
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-10-18 08:53:40 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-10-18 08:53:40 +0000
commitd6583bb2a13f329cf0332ef2570eb8bb8fc0e39c (patch)
treeece253b876159b39c620e62b6c9b1174642e070e /usr.bin/login/Makefile
initial import of NetBSD tree
Diffstat (limited to 'usr.bin/login/Makefile')
-rw-r--r--usr.bin/login/Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/usr.bin/login/Makefile b/usr.bin/login/Makefile
new file mode 100644
index 00000000000..aa470331c52
--- /dev/null
+++ b/usr.bin/login/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.10 1994/12/23 06:52:56 jtc Exp $
+# @(#)Makefile 8.1 (Berkeley) 7/19/93
+
+PROG= login
+SRCS= login.c
+DPADD= ${LIBUTIL} ${LIBCRYPT} ${LIBSKEY}
+LDADD= -lutil -lcrypt -lskey
+CFLAGS+= -DSKEY
+
+.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
+
+BINOWN= root
+BINMODE=4555
+INSTALLFLAGS=-fschg
+
+.include <bsd.prog.mk>