freebsd-dev/secure/lib/libssh/Makefile

61 lines
1.8 KiB
Makefile
Raw Normal View History

# $FreeBSD$
.include <src.opts.mk>
LIB= ssh
PRIVATELIB= true
SHLIB_MAJOR= 5
2016-01-19 18:28:23 +00:00
SRCS= ssh_api.c ssherr.c sshbuf.c sshkey.c sshbuf-getput-basic.c \
sshbuf-misc.c sshbuf-getput-crypto.c krl.c bitmap.c
2016-01-19 18:28:23 +00:00
SRCS+= authfd.c authfile.c bufaux.c bufbn.c bufec.c buffer.c \
canohost.c channels.c cipher.c cipher-aes.c cipher-aesctr.c \
cipher-bf1.c cipher-ctr.c cipher-3des1.c cleanup.c \
2016-01-19 18:28:23 +00:00
compat.c crc32.c deattack.c fatal.c hostfile.c \
log.c match.c md-sha256.c moduli.c nchan.c packet.c opacket.c \
readpass.c rsa.c ttymodes.c xmalloc.c addrmatch.c \
2016-01-19 18:28:23 +00:00
atomicio.c key.c dispatch.c mac.c uidswap.c uuencode.c misc.c \
2011-05-04 07:34:44 +00:00
monitor_fdpass.c rijndael.c ssh-dss.c ssh-ecdsa.c ssh-rsa.c dh.c \
2014-01-31 13:12:02 +00:00
msg.c progressmeter.c dns.c entropy.c umac.c umac128.c \
2016-01-19 18:28:23 +00:00
ssh-pkcs11.c smult_curve25519_ref.c \
poly1305.c chacha.c cipher-chachapoly.c \
ssh-ed25519.c digest-openssl.c digest-libc.c hmac.c \
sc25519.c ge25519.c fe25519.c ed25519.c verify.c hash.c blocks.c \
kex.c kexdh.c kexgex.c kexecdh.c kexc25519.c \
kexdhc.c kexgexc.c kexecdhc.c kexc25519c.c \
2016-03-11 00:15:29 +00:00
kexdhs.c kexgexs.c kexecdhs.c kexc25519s.c \
platform-pledge.c
PACKAGE= ssh
# gss-genr.c should be in $SRCS but causes linking problems, so it is
# compiled directly into sshd instead.
# Portability layer
2014-03-25 11:05:34 +00:00
SRCS+= bcrypt_pbkdf.c blowfish.c bsd-misc.c explicit_bzero.c fmt_scaled.c \
2016-01-20 22:57:10 +00:00
glob.c openssl-compat.c port-tun.c realpath.c strtonum.c \
timingsafe_bcmp.c vis.c xcrypt.c xmmap.c
.if ${MK_LDNS} == "no"
SRCS+= getrrsetbyname.c
.else
LDNSDIR= ${.CURDIR}/../../../contrib/ldns
CFLAGS+= -DHAVE_LDNS=1 -I${LDNSDIR}
SRCS+= getrrsetbyname-ldns.c
2014-11-25 21:18:18 +00:00
LIBADD+= ldns
2002-11-06 22:54:58 +00:00
.endif
CFLAGS+= -I${SSHDIR} -include ssh_namespace.h
SRCS+= ssh_namespace.h
.if ${MK_KERBEROS_SUPPORT} != "no"
CFLAGS+= -include krb5_config.h
SRCS+= krb5_config.h
.endif
NO_LINT=
2014-11-25 21:18:18 +00:00
LIBADD+= crypto crypt z
.include <bsd.lib.mk>
2002-11-06 22:54:58 +00:00
.PATH: ${SSHDIR} ${SSHDIR}/openbsd-compat