Makefile revision 275077
1# $FreeBSD: head/secure/libexec/ssh-pkcs11-helper/Makefile 275077 2014-11-25 21:18:18Z bapt $
2
3.include <src.opts.mk>
4
5PROG=	ssh-pkcs11-helper
6SRCS=	ssh-pkcs11.c ssh-pkcs11-helper.c
7MAN=	ssh-pkcs11-helper.8
8CFLAGS+=-I${SSHDIR} -include ssh_namespace.h
9
10.if !defined(NO_SHARED)
11# required when linking with a dynamic libssh
12SRCS+=	roaming_dummy.c
13.endif
14
15LIBADD=	ssh
16
17.if ${MK_LDNS} != "no"
18CFLAGS+=	-DHAVE_LDNS=1
19#DPADD+=	${LIBLDNS}
20#LDADD+=	-lldns
21#USEPRIVATELIB+= ldns
22.endif
23
24LIBADD+=	crypt crypto z
25
26.include <bsd.prog.mk>
27
28.PATH:	${SSHDIR}
29
30${OBJS} ${POBJS} ${SOBJS}: ssh_namespace.h
31