xref: /dragonfly/lib/libssh/Makefile (revision 6e9ab18e)
1LIB=	private_ssh
2SHLIB_MAJOR= 4
3PRIVATELIB=
4
5SRCS=	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
14SRCS+=	authfd.c authfile.c bufaux.c bufbn.c bufec.c buffer.c \
15	canohost.c channels.c cipher.c \
16	cleanup.c \
17	compat.c crc32.c fatal.c hostfile.c \
18	log.c match.c moduli.c nchan.c packet.c opacket.c \
19	readpass.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 platform-misc.c
31# Portability layer
32SRCS+=	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 \
35	recallocarray.c
36
37# only when USE_BUILTIN_RIJNDAEL
38#SRCS+=	cipher-aes.c
39
40# only when GSSAPI
41#SRCS+=	gss-genr.c
42
43# only when !OPENSSL_HAVE_EVPCTR
44#SRCS+=	cipher-ctr.c
45
46# only when !HAVE_EVP_SHA256
47#SRCS+=	md-sha256.c
48
49MAN=	moduli.5
50
51WARNS?=	2
52NO_STRICT_ALIASING=
53
54.include "../../Makefile.ssh.common"
55.include <bsd.lib.mk>
56