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.endif 21 22.include <bsd.prog.mk> 23 24.PATH: ${SSHDIR} 25 26${OBJS} ${POBJS} ${SOBJS}: ssh_namespace.h 27