summaryrefslogtreecommitdiff
path: root/libexec/ftpd/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 /libexec/ftpd/Makefile
initial import of NetBSD tree
Diffstat (limited to 'libexec/ftpd/Makefile')
-rw-r--r--libexec/ftpd/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/libexec/ftpd/Makefile b/libexec/ftpd/Makefile
new file mode 100644
index 00000000000..3b0e1ca2044
--- /dev/null
+++ b/libexec/ftpd/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.12 1995/04/11 02:44:45 cgd Exp $
+# @(#)Makefile 8.2 (Berkeley) 4/4/94
+
+PROG= ftpd
+CFLAGS+=-DHASSETPROCTITLE -DSKEY
+SRCS= ftpd.c ftpcmd.c logwtmp.c popen.c
+MAN= ftpd.8
+CLEANFILES+=ftpcmd.c y.tab.h
+.PATH: ${.CURDIR}/../../usr.bin/ftp ${.CURDIR}/../../usr.bin/login
+
+LDADD+= -lcrypt -lskey
+DPADD+= ${LIBCRYPT} ${LIBSKEY}
+
+.if defined(KERBEROS)
+SRCS+= klogin.c
+CFLAGS+= -DKERBEROS
+LDADD+= -lkrb -ldes
+DPADD+= ${LIBKRB} ${LIBDES}
+.endif
+
+.include <bsd.prog.mk>