1# $FreeBSD: head/secure/lib/libssh/Makefile 69593 2000-12-05 03:01:33Z green $
| 1# $FreeBSD: head/secure/lib/libssh/Makefile 74818 2001-03-26 14:53:33Z ru $
|
2# 3
| 2# 3
|
4SSHSRC= ${.CURDIR}/../../../crypto/openssh 5
| |
6LIB= ssh 7SRCS= authfd.c authfile.c bufaux.c buffer.c canohost.c channels.c \ 8 cipher.c compat.c compress.c crc32.c deattack.c \ 9 hostfile.c log.c match.c mpaux.c nchan.c packet.c readpass.c \ 10 rsa.c tildexpand.c ttymodes.c uidswap.c xmalloc.c atomicio.c \ 11 key.c dispatch.c dsa.c kex.c hmac.c uuencode.c util.c \ 12 cli.c rijndael.c 13
| 4LIB= ssh 5SRCS= authfd.c authfile.c bufaux.c buffer.c canohost.c channels.c \ 6 cipher.c compat.c compress.c crc32.c deattack.c \ 7 hostfile.c log.c match.c mpaux.c nchan.c packet.c readpass.c \ 8 rsa.c tildexpand.c ttymodes.c uidswap.c xmalloc.c atomicio.c \ 9 key.c dispatch.c dsa.c kex.c hmac.c uuencode.c util.c \ 10 cli.c rijndael.c 11
|
14NOPIC= yes
| 12NOPIC= yes 13INTERNALLIB= yes 14INTERNALSTATICLIB= yes
|
15
| 15
|
16install: 17
| |
18.if defined(COMPAT_GETADDRINFO) 19SRCS+= getaddrinfo.c getnameinfo.c name6.c rcmd.c bindresvport.c 20.endif 21
| 16.if defined(COMPAT_GETADDRINFO) 17SRCS+= getaddrinfo.c getnameinfo.c name6.c rcmd.c bindresvport.c 18.endif 19
|
22.include <bsd.own.mk> 23 24.PATH: ${SSHSRC} 25.PATH: ${SSHSRC}/lib 26
| |
27.if defined(MAKE_KERBEROS4) && \ 28 ((${MAKE_KERBEROS4} == "yes") || (${MAKE_KERBEROS4} == "YES")) 29CFLAGS+= -DKRB4 30.endif # MAKE_KERBEROS4 31 32.if defined(MAKE_KERBEROS5) && \ 33 ((${MAKE_KERBEROS5} == "yes") || (${MAKE_KERBEROS5} == "YES")) 34CFLAGS+= -DKRB5 35.endif # MAKE_KERBEROS5 36 37CFLAGS+= -DSKEY 38DPADD+= ${LIBOPIE} 39LDADD+= -lopie 40SRCS+= auth-skey.c auth2-skey.c
| 20.if defined(MAKE_KERBEROS4) && \ 21 ((${MAKE_KERBEROS4} == "yes") || (${MAKE_KERBEROS4} == "YES")) 22CFLAGS+= -DKRB4 23.endif # MAKE_KERBEROS4 24 25.if defined(MAKE_KERBEROS5) && \ 26 ((${MAKE_KERBEROS5} == "yes") || (${MAKE_KERBEROS5} == "YES")) 27CFLAGS+= -DKRB5 28.endif # MAKE_KERBEROS5 29 30CFLAGS+= -DSKEY 31DPADD+= ${LIBOPIE} 32LDADD+= -lopie 33SRCS+= auth-skey.c auth2-skey.c
|
| 34
|
41.include <bsd.lib.mk>
| 35.include <bsd.lib.mk>
|
| 36 37.PATH: ${SSHDIR} ${SSHDIR}/lib
|
| |