2002-10-01 18:07:26 +04:00
|
|
|
# $NetBSD: Makefile,v 1.15 2002/10/01 14:07:50 itojun Exp $
|
2001-12-12 15:24:19 +03:00
|
|
|
|
|
|
|
NOLINT= # defined
|
|
|
|
NOMAN= # defined
|
|
|
|
NOPIC= # defined
|
|
|
|
NOPROFILE= # defined
|
2000-07-25 20:32:24 +04:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
|
|
|
# Prevent recursion.
|
|
|
|
LIBSSHOBJDIR=${.OBJDIR}
|
|
|
|
|
|
|
|
LIB= ssh
|
2002-03-08 05:00:50 +03:00
|
|
|
SRCS= authfd.c authfile.c bufaux.c buffer.c canohost.c channels.c \
|
|
|
|
cipher.c compat.c compress.c crc32.c deattack.c fatal.c \
|
2000-07-25 20:32:24 +04:00
|
|
|
hostfile.c log.c match.c mpaux.c nchan.c packet.c readpass.c \
|
2002-10-01 18:07:26 +04:00
|
|
|
rsa.c tildexpand.c ttymodes.c xmalloc.c atomicio.c \
|
2001-02-14 04:06:48 +03:00
|
|
|
key.c dispatch.c kex.c mac.c uuencode.c misc.c \
|
2001-09-27 07:24:01 +04:00
|
|
|
rijndael.c ssh-dss.c ssh-rsa.c dh.c kexdh.c kexgex.c \
|
2002-06-24 09:48:24 +04:00
|
|
|
scard.c monitor_wrap.c monitor_fdpass.c msg.c
|
2001-02-07 20:05:31 +03:00
|
|
|
SRCS+= random.c
|
2002-10-01 18:07:26 +04:00
|
|
|
SRCS+= readpassphrase.c getpeereid.c
|
2000-07-25 20:32:24 +04:00
|
|
|
|
|
|
|
# only needed during build - prevent installation of library
|
|
|
|
libinstall::
|
|
|
|
|
Split the notion of building Hesiod, Kerberos, S/key, and YP
infrastructure and using that infrastructure in programs.
* MKHESIOD, MKKERBEROS, MKSKEY, and MKYP control building
of the infratsructure (libraries, support programs, etc.)
* USE_HESIOD, USE_KERBEROS, USE_SKEY, and USE_YP control
building of support for using the corresponding API
in various libraries/programs that can use it.
As discussed on tech-toolchain.
2002-03-22 21:10:19 +03:00
|
|
|
.if (${USE_KERBEROS} != "no")
|
2001-03-04 03:41:27 +03:00
|
|
|
CPPFLAGS+= -DKRB5 -DAFS -I${DESTDIR}/usr/include/krb5
|
2000-07-25 20:32:24 +04:00
|
|
|
CPPFLAGS+= -DKRB4 -I${DESTDIR}/usr/include/kerberosIV
|
2001-03-04 03:41:27 +03:00
|
|
|
SRCS+= radix.c
|
2000-07-25 20:32:24 +04:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|