]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - secure/libexec/ssh-pkcs11-helper/Makefile
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / secure / libexec / ssh-pkcs11-helper / Makefile
1 # $FreeBSD$
2
3 .include <bsd.own.mk>
4
5 PROG=   ssh-pkcs11-helper
6 SRCS=   ssh-pkcs11.c ssh-pkcs11-helper.c
7 MAN=    ssh-pkcs11-helper.8
8 CFLAGS+=-I${SSHDIR} -include ssh_namespace.h
9
10 .if !defined(NO_SHARED)
11 # required when linking with a dynamic libssh
12 SRCS+=  roaming_dummy.c
13 .endif
14
15 DPADD=  ${LIBSSH}
16 LDADD=  -lssh
17 USEPRIVATELIB= ssh
18
19 .if ${MK_LDNS} != "no"
20 CFLAGS+=        -DHAVE_LDNS=1
21 #DPADD+=        ${LIBLDNS}
22 #LDADD+=        -lldns
23 #USEPRIVATELIB+= ldns
24 .endif
25
26 DPADD+= ${LIBCRYPT} ${LIBCRYPTO} ${LIBZ}
27 LDADD+= -lcrypt -lcrypto -lz
28
29 .include <bsd.prog.mk>
30
31 .PATH:  ${SSHDIR}
32
33 ${OBJS} ${POBJS} ${SOBJS}: ssh_namespace.h