Edit

IABSD.fr/src/usr.bin/ssh/ssh-keyscan

Branch :

  • Show log

    Commit

  • Author : dtucker
    Date : 2020-01-23 10:24:29
    Hash : d2d1ddc0
    Message : Make zlib optional. This adds a "ZLIB" build time option that allows building without zlib compression and associated options. With feedback from markus@, ok djm@

  • Makefile
  • #	$OpenBSD: Makefile,v 1.16 2020/01/23 10:24:30 dtucker Exp $
    
    .PATH:		${.CURDIR}/..
    
    SRCS=	ssh-keyscan.c
    SRCS+=	atomicio.c cleanup.c compat.c hostfile.c ssh_api.c dns.c
    SRCS+=	${SRCS_BASE} ${SRCS_KEX} ${SRCS_KEXC} ${SRCS_KEXS} ${SRCS_KEY} \
    	${SRCS_PKT} ${SRCS_UTL} ${SRCS_SK_CLIENT}
    PROG=	ssh-keyscan
    
    BINDIR=	/usr/bin
    
    .include <bsd.prog.mk>
    
    LDADD+= -lcrypto -lutil
    DPADD+= ${LIBCRYPTO} ${LIBUTIL}
    
    .if (${ZLIB:L} == "yes")
    LDADD+=	-lz
    DPADD+=	${LIBZ}
    .endif