Inline Makefile.ssh.common
[dragonfly.git] / libexec / sftp-server / Makefile
1 # $FreeBSD: src/secure/libexec/sftp-server/Makefile,v 1.1.2.3 2002/07/03 22:13:22 des Exp $
2 .PATH: ${.CURDIR}/../../crypto/openssh
3
4 PROG=   sftp-server
5 SRCS=   sftp-server.c
6 SRCS+=  sftp-common.c sftp-server-main.c
7 MAN=    sftp-server.8
8 WARNS?= 3
9
10 CFLAGS+=        -I${.CURDIR}/../../lib/libssh -I${.CURDIR}/../../crypto/openssh
11 CFLAGS+=        -I${.CURDIR}/../../crypto/libressl/include
12 DPADD=          ${LIBSSH} ${LIBCRYPTO} ${LIBUTIL} ${LIBZ}
13 LDADD=          -lprivate_ssh -lprivate_crypto -lutil -lz
14 LDFLAGS+=       -rpath /usr/lib/priv ${PRIVATELIB_LDFLAGS}
15
16 .include <bsd.prog.mk>