2000-09-10 09:43:29 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2014-05-06 04:22:01 +00:00
|
|
|
.include <src.opts.mk>
|
2013-09-10 22:26:11 +00:00
|
|
|
|
2000-09-10 09:43:29 +00:00
|
|
|
PROG= sftp-server
|
2008-08-01 02:48:36 +00:00
|
|
|
SRCS= sftp-server.c sftp-common.c sftp-server-main.c
|
2001-03-26 14:53:33 +00:00
|
|
|
MAN= sftp-server.8
|
2006-05-13 13:47:45 +00:00
|
|
|
CFLAGS+=-I${SSHDIR} -include ssh_namespace.h
|
2015-12-07 16:08:09 +00:00
|
|
|
SRCS+= ssh_namespace.h
|
2001-03-26 14:53:33 +00:00
|
|
|
|
2014-11-25 21:18:18 +00:00
|
|
|
LIBADD= ssh
|
2000-09-10 09:43:29 +00:00
|
|
|
|
2013-09-10 22:26:11 +00:00
|
|
|
.if ${MK_LDNS} != "no"
|
|
|
|
CFLAGS+= -DHAVE_LDNS=1
|
|
|
|
#DPADD+= ${LIBLDNS}
|
|
|
|
#LDADD+= -lldns
|
|
|
|
.endif
|
|
|
|
|
2000-09-10 09:43:29 +00:00
|
|
|
.include <bsd.prog.mk>
|
|
|
|
|
2001-03-26 14:53:33 +00:00
|
|
|
.PATH: ${SSHDIR}
|