build - Rewire secure, remove conflicts from libmd, libcrypt
[dragonfly.git] / lib / libssh / Makefile
1 LIB=    private_ssh
2 SHLIB_MAJOR= 4
3 SRCS=   ssh_api.c \
4         ssherr.c \
5         sshbuf.c \
6         sshkey.c \
7         sshbuf-getput-basic.c \
8         sshbuf-misc.c \
9         sshbuf-getput-crypto.c \
10         krl.c \
11         bitmap.c
12 SRCS+=  authfd.c authfile.c bufaux.c bufbn.c bufec.c buffer.c \
13         canohost.c channels.c cipher.c \
14         cipher-bf1.c cipher-3des1.c cleanup.c \
15         compat.c crc32.c deattack.c fatal.c hostfile.c \
16         log.c match.c moduli.c nchan.c packet.c opacket.c \
17         readpass.c rsa.c ttymodes.c xmalloc.c addrmatch.c \
18         atomicio.c key.c dispatch.c mac.c uidswap.c uuencode.c misc.c utf8.c \
19         monitor_fdpass.c rijndael.c ssh-dss.c ssh-ecdsa.c ssh-rsa.c dh.c \
20         msg.c progressmeter.c dns.c entropy.c umac.c umac128.c \
21         ssh-pkcs11.c smult_curve25519_ref.c \
22         poly1305.c chacha.c cipher-chachapoly.c \
23         ssh-ed25519.c digest-openssl.c hmac.c \
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
29 # Portability layer
30 SRCS+=  bcrypt_pbkdf.c blowfish.c bsd-misc.c explicit_bzero.c \
31         getrrsetbyname.c glob.c openssl-compat.c \
32         port-tun.c reallocarray.c realpath.c timingsafe_bcmp.c vis.c
33
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
46 MAN=    moduli.5
47
48 WARNS?= 2
49 NO_STRICT_ALIASING=
50
51 SHLIBDIR?=      /usr/lib/priv
52 LIBDIR?=        ${SHLIBDIR}
53 PROFLIBDIR?=    ${SHLIBDIR}/profile
54
55 .include "../../Makefile.ssh.common"
56 .include <bsd.lib.mk>