blob: 35c1edc6f487bd960c80ad4ea1df38095f436d1a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# $OpenBSD: Makefile,v 1.65 2012/10/04 13:21:50 markus Exp $
.PATH: ${.CURDIR}/..
.include "${.CURDIR}/../Makefile.inc"
LIB= ssh
SRCS= authfd.c authfile.c bufaux.c bufec.c bufbn.c buffer.c canohost.c \
channels.c cipher.c cipher-3des1.c cipher-bf1.c cipher-ctr.c \
cleanup.c compat.c compress.c crc32.c deattack.c fatal.c \
hostfile.c log.c match.c nchan.c packet.c readpass.c \
rsa.c ttymodes.c xmalloc.c atomicio.c \
key.c dispatch.c kex.c mac.c uidswap.c uuencode.c misc.c \
ssh-dss.c ssh-rsa.c ssh-ecdsa.c dh.c kexdh.c kexgex.c kexecdh.c \
kexdhc.c kexgexc.c kexecdhc.c msg.c progressmeter.c dns.c \
monitor_fdpass.c umac.c addrmatch.c schnorr.c jpake.c ssh-pkcs11.c
SRCS+= umac128.c
CLEANFILES+= umac128.c
umac128.c: umac.c Makefile
sed \
-e "s/^#define UMAC_OUTPUT_LEN 8/#define UMAC_OUTPUT_LEN 16/" \
-e s/umac_new/umac128_new/g \
-e s/umac_update/umac128_update/g \
-e s/umac_final/umac128_final/g \
-e s/umac_delete/umac128_delete/g \
< ${.CURDIR}/../umac.c > ${.TARGET}
DEBUGLIBS= no
NOPROFILE= yes
NOPIC= yes
install:
@echo -n
.include <bsd.own.mk>
.if (${KERBEROS5:L} == "yes")
CFLAGS+= -DKRB5 -I${DESTDIR}/usr/include/kerberosV
SRCS+= gss-genr.c
CFLAGS+= -DGSSAPI
.endif # KERBEROS5
.include <bsd.lib.mk>
|