Makefile revision 255460
176264Sgreen# $FreeBSD: head/secure/usr.bin/sftp/Makefile 255460 2013-09-10 22:26:11Z des $ 276264Sgreen 3255460Sdes.include <bsd.own.mk> 4255460Sdes 576264SgreenPROG= sftp 6126282SdesSRCS= sftp.c sftp-client.c sftp-common.c sftp-glob.c progressmeter.c 7158519SdesCFLAGS+=-I${SSHDIR} -include ssh_namespace.h 876264Sgreen 9255460Sdes.if !defined(NO_SHARED) 10255460Sdes# required when linking with a dynamic libssh 11197679SdesSRCS+= roaming_dummy.c 12255460Sdes.endif 13197679Sdes 14255460SdesDPADD= ${LIBSSH} ${LIBEDIT} ${LIBNCURSES} 15255460SdesLDADD= -lssh -ledit -lncurses 16255386SdesUSEPRIVATELIB= ssh 1776264Sgreen 18255460Sdes.if ${MK_LDNS} != "no" 19255460SdesCFLAGS+= -DHAVE_LDNS=1 20255460Sdes#DPADD+= ${LIBLDNS} 21255460Sdes#LDADD+= -lldns 22255460Sdes#USEPRIVATELIB+= ldns 23255460Sdes.endif 24255460Sdes 25255460SdesDPADD+= ${LIBCRYPT} ${LIBCRYPTO} ${LIBZ} 26255460SdesLDADD+= -lcrypt -lcrypto -lz 27255460Sdes 2876264Sgreen.include <bsd.prog.mk> 2976264Sgreen 3076264Sgreen.PATH: ${SSHDIR} 31158529Sdes 32158529Sdes${OBJS} ${POBJS} ${SOBJS}: ssh_namespace.h 33