1# $FreeBSD: head/secure/lib/libssh/Makefile 139106 2004-12-21 09:33:47Z ru $
| 1# $FreeBSD: head/secure/lib/libssh/Makefile 147007 2005-06-05 15:47:07Z des $
|
2 3LIB= ssh
| 2 3LIB= ssh
|
| 4SHLIB_MAJOR= 2
|
4SRCS= acss.c authfd.c authfile.c bufaux.c buffer.c \ 5 canohost.c channels.c cipher.c cipher-acss.c cipher-aes.c \ 6 cipher-bf1.c cipher-ctr.c cipher-3des1.c cleanup.c \ 7 compat.c compress.c crc32.c deattack.c fatal.c hostfile.c \ 8 log.c match.c moduli.c mpaux.c nchan.c packet.c \ 9 readpass.c rsa.c tildexpand.c ttymodes.c xmalloc.c \ 10 atomicio.c key.c dispatch.c kex.c mac.c uidswap.c uuencode.c misc.c \ 11 monitor_fdpass.c rijndael.c ssh-dss.c ssh-rsa.c dh.c kexdh.c \ 12 kexgex.c kexdhc.c kexgexc.c scard.c msg.c progressmeter.c dns.c \ 13 entropy.c scard-opensc.c
| 5SRCS= acss.c authfd.c authfile.c bufaux.c buffer.c \ 6 canohost.c channels.c cipher.c cipher-acss.c cipher-aes.c \ 7 cipher-bf1.c cipher-ctr.c cipher-3des1.c cleanup.c \ 8 compat.c compress.c crc32.c deattack.c fatal.c hostfile.c \ 9 log.c match.c moduli.c mpaux.c nchan.c packet.c \ 10 readpass.c rsa.c tildexpand.c ttymodes.c xmalloc.c \ 11 atomicio.c key.c dispatch.c kex.c mac.c uidswap.c uuencode.c misc.c \ 12 monitor_fdpass.c rijndael.c ssh-dss.c ssh-rsa.c dh.c kexdh.c \ 13 kexgex.c kexdhc.c kexgexc.c scard.c msg.c progressmeter.c dns.c \ 14 entropy.c scard-opensc.c
|
| 15 16# gss-genr.c should be in $SRCS but causes linking problems, so it is 17# compiled directly into sshd instead. 18
|
14# Portability layer 15SRCS+= bsd-closefrom.c bsd-misc.c getrrsetbyname.c vis.c xcrypt.c xmmap.c 16# FreeBSD additions 17SRCS+= version.c 18 19.if defined(COMPAT_GETADDRINFO) 20SRCS+= getaddrinfo.c getnameinfo.c name6.c rcmd.c bindresvport.c 21.endif 22 23CFLAGS+= -I${SSHDIR} 24DPADD= ${LIBZ} 25LDADD= -lz 26 27.if !defined(NO_KERBEROS)
| 19# Portability layer 20SRCS+= bsd-closefrom.c bsd-misc.c getrrsetbyname.c vis.c xcrypt.c xmmap.c 21# FreeBSD additions 22SRCS+= version.c 23 24.if defined(COMPAT_GETADDRINFO) 25SRCS+= getaddrinfo.c getnameinfo.c name6.c rcmd.c bindresvport.c 26.endif 27 28CFLAGS+= -I${SSHDIR} 29DPADD= ${LIBZ} 30LDADD= -lz 31 32.if !defined(NO_KERBEROS)
|
28CFLAGS+= -DGSSAPI -DKRB5 -DHEIMDAL
| 33CFLAGS+= -DGSSAPI -DHAVE_GSSAPI_H=1 -DKRB5 -DHEIMDAL
|
29DPADD+= ${LIBGSSAPI} ${LIBKRB5} ${LIBASN1} ${LIBCOM_ERR} ${LIBMD} ${LIBROKEN} 30LDADD+= -lgssapi -lkrb5 -lasn1 -lcom_err -lmd -lroken 31.endif 32 33NO_LINT= 34 35DPADD+= ${LIBCRYPTO} ${LIBCRYPT} 36LDADD+= -lcrypto -lcrypt 37 38.include <bsd.lib.mk> 39 40.PATH: ${SSHDIR} ${SSHDIR}/openbsd-compat
| 34DPADD+= ${LIBGSSAPI} ${LIBKRB5} ${LIBASN1} ${LIBCOM_ERR} ${LIBMD} ${LIBROKEN} 35LDADD+= -lgssapi -lkrb5 -lasn1 -lcom_err -lmd -lroken 36.endif 37 38NO_LINT= 39 40DPADD+= ${LIBCRYPTO} ${LIBCRYPT} 41LDADD+= -lcrypto -lcrypt 42 43.include <bsd.lib.mk> 44 45.PATH: ${SSHDIR} ${SSHDIR}/openbsd-compat
|