1# $FreeBSD$ 2 3.include <src.opts.mk> 4 5PROG= sftp 6SRCS= sftp.c sftp-client.c sftp-common.c sftp-glob.c progressmeter.c 7CFLAGS+=-I${SSHDIR} -include ssh_namespace.h 8 9.if !defined(NO_SHARED) 10# required when linking with a dynamic libssh 11SRCS+= roaming_dummy.c 12.endif 13 14LIBADD= ssh edit 15 16.if ${MK_LDNS} != "no" 17CFLAGS+= -DHAVE_LDNS=1 18#DPADD+= ${LIBLDNS} 19#LDADD+= -lldns 20#USEPRIVATELIB+= ldns 21.endif 22 23.include <bsd.prog.mk> 24 25.PATH: ${SSHDIR} 26 27${OBJS} ${POBJS} ${SOBJS}: ssh_namespace.h 28