kmalloc: Avoid code duplication.
[dragonfly.git] / lib / libssh / Makefile
bloba729cb8f693185f90bcddb932b408f2999a3bf8b
1 LIB= private_ssh
2 SHLIB_MAJOR= 4
3 PRIVATELIB=
5 SRCS= ssh_api.c \
6 ssherr.c \
7 sshbuf.c \
8 sshkey.c \
9 sshbuf-getput-basic.c \
10 sshbuf-misc.c \
11 sshbuf-getput-crypto.c \
12 krl.c \
13 bitmap.c
14 SRCS+= authfd.c authfile.c bufaux.c bufbn.c bufec.c buffer.c \
15 canohost.c channels.c cipher.c \
16 cipher-bf1.c cipher-3des1.c cleanup.c \
17 compat.c crc32.c deattack.c fatal.c hostfile.c \
18 log.c match.c moduli.c nchan.c packet.c opacket.c \
19 readpass.c rsa.c ttymodes.c xmalloc.c addrmatch.c \
20 atomicio.c key.c dispatch.c mac.c uidswap.c uuencode.c misc.c utf8.c \
21 monitor_fdpass.c rijndael.c ssh-dss.c ssh-ecdsa.c ssh-rsa.c dh.c \
22 msg.c progressmeter.c dns.c entropy.c umac.c umac128.c \
23 ssh-pkcs11.c smult_curve25519_ref.c \
24 poly1305.c chacha.c cipher-chachapoly.c \
25 ssh-ed25519.c digest-openssl.c hmac.c \
26 sc25519.c ge25519.c fe25519.c ed25519.c verify.c hash.c blocks.c \
27 kex.c kexdh.c kexgex.c kexecdh.c kexc25519.c \
28 kexdhc.c kexgexc.c kexecdhc.c kexc25519c.c \
29 kexdhs.c kexgexs.c kexecdhs.c kexc25519s.c \
30 platform-pledge.c platform-tracing.c
31 # Portability layer
32 SRCS+= bcrypt_pbkdf.c blowfish.c bsd-misc.c explicit_bzero.c \
33 getrrsetbyname.c glob.c openssl-compat.c \
34 port-tun.c reallocarray.c realpath.c timingsafe_bcmp.c vis.c
36 # only when USE_BUILTIN_RIJNDAEL
37 #SRCS+= cipher-aes.c
39 # only when GSSAPI
40 #SRCS+= gss-genr.c
42 # only when !OPENSSL_HAVE_EVPCTR
43 #SRCS+= cipher-ctr.c
45 # only when !HAVE_EVP_SHA256
46 #SRCS+= md-sha256.c
48 MAN= moduli.5
50 WARNS?= 2
51 NO_STRICT_ALIASING=
53 .include "../../Makefile.ssh.common"
54 .include <bsd.lib.mk>