Inline Makefile.ssh.common
[dragonfly.git] / libexec / ssh-keysign / Makefile
1 # $FreeBSD: src/secure/libexec/ssh-keysign/Makefile,v 1.1.2.2 2003/02/03 17:31:12 des Exp $
2 .PATH: ${.CURDIR}/../../crypto/openssh
3
4 PROG=   ssh-keysign
5 SRCS=   ssh-keysign.c
6 SRCS+=  readconf.c uidswap.c
7 MAN=    ssh-keysign.8
8 .if defined(ENABLE_SUID_SSH)
9 BINMODE=4511
10 .endif
11
12 WARNS=  3
13
14 .if defined(XAUTH_PATH)
15 CFLAGS+= -DXAUTH_PATH=\"${XAUTH_PATH}\"
16 .endif
17
18 CFLAGS+=        -I${.CURDIR}/../../lib/libssh -I${.CURDIR}/../../crypto/openssh
19 CFLAGS+=        -I${.CURDIR}/../../crypto/libressl/include
20 DPADD=          ${LIBSSH} ${LIBCRYPTO} ${LIBUTIL} ${LIBZ}
21 LDADD=          -lprivate_ssh -lprivate_crypto -lutil -lz
22 LDFLAGS+=       -rpath /usr/lib/priv ${PRIVATELIB_LDFLAGS}
23
24 .include <bsd.prog.mk>