libssh: Trim sources that create empty objects.
[dragonfly.git] / secure / lib / libssh / Makefile
CommitLineData
138e5d1c 1LIB= private_ssh
d44be920 2SHLIB_MAJOR= 4
e5c0b1f7
PA
3SRCS= ssh_api.c \
4 ssherr.c \
fc35bd50
PA
5 sshbuf.c \
6 sshkey.c \
7 sshbuf-getput-basic.c \
8 sshbuf-misc.c \
e5c0b1f7
PA
9 sshbuf-getput-crypto.c \
10 krl.c \
11 bitmap.c
12SRCS+= authfd.c authfile.c bufaux.c bufbn.c bufec.c buffer.c \
04f207b3 13 canohost.c channels.c cipher.c \
14 cipher-bf1.c cipher-3des1.c cleanup.c \
e5c0b1f7 15 compat.c crc32.c deattack.c fatal.c hostfile.c \
04f207b3 16 log.c match.c moduli.c nchan.c packet.c opacket.c \
53789510 17 readpass.c rsa.c ttymodes.c xmalloc.c addrmatch.c \
e5c0b1f7 18 atomicio.c key.c dispatch.c mac.c uidswap.c uuencode.c misc.c utf8.c \
ecc6d00a 19 monitor_fdpass.c rijndael.c ssh-dss.c ssh-ecdsa.c ssh-rsa.c dh.c \
04f207b3 20 msg.c progressmeter.c dns.c entropy.c umac.c umac128.c \
e5c0b1f7
PA
21 ssh-pkcs11.c smult_curve25519_ref.c \
22 poly1305.c chacha.c cipher-chachapoly.c \
fc35bd50 23 ssh-ed25519.c digest-openssl.c hmac.c \
e5c0b1f7
PA
24 sc25519.c ge25519.c fe25519.c ed25519.c verify.c hash.c blocks.c \
25 kex.c kexdh.c kexgex.c kexecdh.c kexc25519.c \
26 kexdhc.c kexgexc.c kexecdhc.c kexc25519c.c \
27 kexdhs.c kexgexs.c kexecdhs.c kexc25519s.c \
28 platform-pledge.c platform-tracing.c
984263bc 29# Portability layer
fc35bd50
PA
30SRCS+= bcrypt_pbkdf.c blowfish.c bsd-misc.c explicit_bzero.c \
31 getrrsetbyname.c glob.c openssl-compat.c \
e5c0b1f7 32 port-tun.c reallocarray.c realpath.c timingsafe_bcmp.c vis.c
984263bc 33
04f207b3 34# only when USE_BUILTIN_RIJNDAEL
35#SRCS+= cipher-aes.c
36
37# only when GSSAPI
38#SRCS+= gss-genr.c
39
40# only when !OPENSSL_HAVE_EVPCTR
41#SRCS+= cipher-ctr.c
42
43# only when !HAVE_EVP_SHA256
44#SRCS+= md-sha256.c
45
c70a37d8
SW
46MAN= moduli.5
47
9be608cb 48WARNS?= 2
0de090e1 49NO_STRICT_ALIASING=
4e6c6560 50
aaba24ac
JM
51SHLIBDIR?= /usr/lib/priv
52LIBDIR?= ${SHLIBDIR}
53PROFLIBDIR?= ${SHLIBDIR}/profile
7d5cd361 54
9c45a0f5 55.include "../../Makefile.ssh.common"
984263bc 56.include <bsd.lib.mk>