summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/sshd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/ssh/sshd/Makefile')
-rw-r--r--usr.bin/ssh/sshd/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/usr.bin/ssh/sshd/Makefile b/usr.bin/ssh/sshd/Makefile
new file mode 100644
index 00000000000..ec784594295
--- /dev/null
+++ b/usr.bin/ssh/sshd/Makefile
@@ -0,0 +1,24 @@
+.PATH: ${.CURDIR}/..
+
+PROG= sshd
+BINOWN= root
+BINGRP= root
+BINMODE=555
+BINDIR= /usr/sbin
+LDADD= -lkrb -lcrypto -ldes -lgmp -lutil -lz
+MAN= sshd.8
+
+SRCS= sshd.c auth-rhosts.c auth-passwd.c auth-rsa.c auth-rh-rsa.c pty.c \
+ log-server.c login.c hostfile.c canohost.c servconf.c tildexpand.c \
+ uidswap.c serverloop.c rsa.c randoms.c \
+ ssh_md5.c buffer.c packet.c xmalloc.c ttymodes.c channels.c bufaux.c \
+ authfd.c authfile.c crc32.c rsaglue.c match.c mpaux.c minfd.c cipher.c \
+ compress.c
+
+gen_minfd: gen_minfd.c
+
+minfd.o: minfd.h
+minfd.h: gen_minfd
+ ./gen_minfd $(USER_SHELLS) > minfd.h
+
+.include<bsd.prog.mk>