2002-03-18 09:55:03 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.31 2002/02/22 12:20:34 markus Exp $
|
2001-05-04 03:57:05 +00:00
|
|
|
|
2000-02-24 14:29:47 +00:00
|
|
|
.PATH: ${.CURDIR}/..
|
|
|
|
|
|
|
|
LIB= ssh
|
|
|
|
SRCS= authfd.c authfile.c bufaux.c buffer.c canohost.c channels.c \
|
2002-03-18 09:55:03 +00:00
|
|
|
cipher.c compat.c compress.c crc32.c deattack.c fatal.c \
|
2000-02-24 14:29:47 +00:00
|
|
|
hostfile.c log.c match.c mpaux.c nchan.c packet.c readpass.c \
|
2000-03-26 07:07:24 +00:00
|
|
|
rsa.c tildexpand.c ttymodes.c uidswap.c xmalloc.c atomicio.c \
|
2001-05-04 03:57:05 +00:00
|
|
|
key.c dispatch.c kex.c mac.c uuencode.c misc.c \
|
2002-03-18 09:55:03 +00:00
|
|
|
rijndael.c ssh-dss.c ssh-rsa.c dh.c kexdh.c kexgex.c \
|
|
|
|
scard.c
|
2000-02-24 14:29:47 +00:00
|
|
|
|
2002-03-18 09:55:03 +00:00
|
|
|
DEBUGLIBS= no
|
2000-02-24 14:29:47 +00:00
|
|
|
NOPROFILE= yes
|
|
|
|
NOPIC= yes
|
|
|
|
|
|
|
|
install:
|
|
|
|
@echo -n
|
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2000-09-10 08:31:17 +00:00
|
|
|
.if (${KERBEROS:L} == "yes")
|
2000-03-26 07:07:24 +00:00
|
|
|
CFLAGS+= -DKRB4 -I${DESTDIR}/usr/include/kerberosIV
|
2000-09-10 08:31:17 +00:00
|
|
|
.if (${AFS:L} == "yes")
|
2000-02-24 14:29:47 +00:00
|
|
|
CFLAGS+= -DAFS
|
|
|
|
SRCS+= radix.c
|
|
|
|
.endif # AFS
|
|
|
|
.endif # KERBEROS
|
|
|
|
|
2002-03-18 09:55:03 +00:00
|
|
|
.if (${KERBEROS5:L} == "yes")
|
|
|
|
CFLAGS+= -DKRB5 -I${DESTDIR}/usr/include/kerberosV
|
|
|
|
.endif # KERBEROS5
|
|
|
|
|
2000-02-24 14:29:47 +00:00
|
|
|
.include <bsd.lib.mk>
|