1# $FreeBSD$ 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 9SRCS+= ssh_namespace.h 10 11.if !defined(NO_SHARED) 12# required when linking with a dynamic libssh 13SRCS+= roaming_dummy.c 14.endif 15 16LIBADD= ssh 17 18.if ${MK_LDNS} != "no" 19CFLAGS+= -DHAVE_LDNS=1 20#DPADD+= ${LIBLDNS} 21#LDADD+= -lldns 22.endif 23 24LIBADD+= crypto 25 26.include <bsd.prog.mk> 27 28.PATH: ${SSHDIR} 29