summaryrefslogtreecommitdiff
path: root/libexec/ftpd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/ftpd/Makefile')
-rw-r--r--libexec/ftpd/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/libexec/ftpd/Makefile b/libexec/ftpd/Makefile
index fe7ffd1a2c093..53cef2613b249 100644
--- a/libexec/ftpd/Makefile
+++ b/libexec/ftpd/Makefile
@@ -2,16 +2,19 @@
PROG= ftpd
-CFLAGS+=-I${.CURDIR}/../../usr.bin/ftp -DSETPROCTITLE
-SRCS= ftpd.c ftpcmd.c glob.c logwtmp.c popen.c vers.c
+CFLAGS+=-I${.CURDIR}/../../usr.bin/ftp \
+ -DSETPROCTITLE -DSKEY
+SRCS= ftpd.c ftpcmd.c glob.c logwtmp.c popen.c vers.c skey-stuff.c
MAN8= ftpd.8
CLEANFILES+=ftpcmd.c y.tab.h
.PATH: ${.CURDIR}/../../usr.bin/ftp
+DPADD+= /usr/lib/libskey.a
+LDADD+= -lskey
+
.if exists(/usr/lib/libcrypt.a)
DPADD+= ${LIBCRYPT}
LDADD+= -lcrypt
.endif
-
.include <bsd.prog.mk>