Makefile (3095060f) Makefile (e34d2894)
1# $OpenBSD: Makefile,v 1.90 2016/09/28 16:33:07 djm Exp $
1# $OpenBSD: Makefile,v 1.91 2017/12/10 19:37:57 deraadt Exp $
2
3.PATH: ${.CURDIR}/..
2
3.PATH: ${.CURDIR}/..
4.include "${.CURDIR}/../Makefile.inc"
5
4
5SRCS= sshd.c auth-rhosts.c auth-passwd.c sshpty.c sshlogin.c servconf.c \
6 serverloop.c auth.c auth2.c auth-options.c session.c auth2-chall.c \
7 groupaccess.c auth-bsdauth.c auth2-hostbased.c auth2-kbdint.c \
8 auth2-none.c auth2-passwd.c auth2-pubkey.c monitor.c monitor_wrap.c \
9 sftp-server.c sftp-common.c sandbox-pledge.c
10
11umac128.c: umac.c
12 sed \
13 -e "s/^#define UMAC_OUTPUT_LEN 8/#define UMAC_OUTPUT_LEN 16/" \
14 -e s/umac_new/umac128_new/g \
15 -e s/umac_update/umac128_update/g \
16 -e s/umac_final/umac128_final/g \
17 -e s/umac_delete/umac128_delete/g \
18 < ${.CURDIR}/../umac.c > ${.TARGET}
19
20SRCS+= addrmatch.c atomicio.c authfd.c authfile.c bitmap.c blocks.c bufaux.c \
21 bufbn.c bufec.c buffer.c canohost.c chacha.c channels.c \
22 cipher-chachapoly.c cipher.c compat.c crc32.c dh.c digest-openssl.c \
23 dispatch.c dns.c ed25519.c fatal.c fe25519.c ge25519.c hash.c hmac.c \
24 hostfile.c kex.c kexc25519.c kexc25519c.c kexc25519s.c kexdh.c \
25 kexdhc.c kexdhs.c kexecdh.c kexecdhc.c kexecdhs.c kexgex.c kexgexc.c \
26 kexgexs.c key.c krl.c log.c mac.c match.c misc.c monitor_fdpass.c \
27 msg.c nchan.c opacket.c packet.c poly1305.c progressmeter.c readpass.c \
28 sc25519.c smult_curve25519_ref.c ssh-dss.c ssh-ecdsa.c ssh-ed25519.c \
29 ssh-pkcs11.c ssh-rsa.c sshbuf-getput-basic.c sshbuf-getput-crypto.c \
30 sshbuf-misc.c sshbuf.c ssherr.c sshkey.c ttymodes.c uidswap.c umac.c \
31 umac128.c utf8.c uuencode.c verify.c xmalloc.c
32
6PROG= sshd
7BINOWN= root
8BINMODE=555
9BINDIR= /usr/sbin
10MAN= sshd.8 sshd_config.5
11
33PROG= sshd
34BINOWN= root
35BINMODE=555
36BINDIR= /usr/sbin
37MAN= sshd.8 sshd_config.5
38
12SRCS= sshd.c auth-rhosts.c auth-passwd.c \
13 sshpty.c sshlogin.c servconf.c serverloop.c \
14 auth.c auth2.c auth-options.c session.c \
15 auth2-chall.c groupaccess.c \
16 auth-bsdauth.c auth2-hostbased.c auth2-kbdint.c \
17 auth2-none.c auth2-passwd.c auth2-pubkey.c \
18 monitor.c monitor_wrap.c \
19 sftp-server.c sftp-common.c \
20 sandbox-pledge.c
21
22.include <bsd.own.mk> # for KERBEROS and AFS
23
24KERBEROS5=no
25
26.if (${KERBEROS5:L} == "yes")
27CFLAGS+=-DKRB5 -I${DESTDIR}/usr/include/kerberosV -DGSSAPI
28SRCS+= auth-krb5.c auth2-gss.c gss-serv.c gss-serv-krb5.c
29.endif

--- 16 unchanged lines hidden ---
39.include <bsd.own.mk> # for KERBEROS and AFS
40
41KERBEROS5=no
42
43.if (${KERBEROS5:L} == "yes")
44CFLAGS+=-DKRB5 -I${DESTDIR}/usr/include/kerberosV -DGSSAPI
45SRCS+= auth-krb5.c auth2-gss.c gss-serv.c gss-serv-krb5.c
46.endif

--- 16 unchanged lines hidden ---