Makefile revision 124212
1# $FreeBSD: head/secure/lib/libssh/Makefile 124212 2004-01-07 11:17:23Z des $ 2 3LIB= ssh 4SRCS= authfd.c authfile.c bufaux.c buffer.c canohost.c channels.c \ 5 cipher.c cipher-aes.o cipher-bf1.o cipher-ctr.o cipher-3des1.o \ 6 compat.c compress.c crc32.c deattack.c fatal.c \ 7 hostfile.c log.c match.c moduli.c mpaux.c nchan.c packet.c \ 8 readpass.c rsa.c tildexpand.c ttymodes.c xmalloc.c atomicio.c \ 9 key.c dispatch.c kex.c mac.c uuencode.c misc.c \ 10 rijndael.c ssh-dss.c ssh-rsa.c dh.c kexdh.c kexgex.c \ 11 kexdhc.c kexgexc.c scard.c msg.c progressmeter.c dns.c \ 12 entropy.c scard-opensc.c gss-genr.c 13# Portability layer 14SRCS+= bsd-misc.c vis.c xcrypt.c xmmap.c 15# FreeBSD additions 16SRCS+= version.c 17 18.if defined(COMPAT_GETADDRINFO) 19SRCS+= getaddrinfo.c getnameinfo.c name6.c rcmd.c bindresvport.c 20.endif 21 22CFLAGS+= -I${SSHDIR} 23.if !defined(NO_KERBEROS) 24CFLAGS+= -DKRB5 -DHEIMDAL 25.endif 26 27NOLINT= true 28 29DPADD= ${LIBCRYPTO} ${LIBCRYPT} ${LIBZ} 30LDADD= -lcrypto -lcrypt -lz 31 32.include <bsd.lib.mk> 33 34.PATH: ${SSHDIR} ${SSHDIR}/openbsd-compat 35