summaryrefslogtreecommitdiffstats
path: root/secure/libexec/ssh-pkcs11-helper/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'secure/libexec/ssh-pkcs11-helper/Makefile')
-rw-r--r--secure/libexec/ssh-pkcs11-helper/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/secure/libexec/ssh-pkcs11-helper/Makefile b/secure/libexec/ssh-pkcs11-helper/Makefile
new file mode 100644
index 0000000..a8d681e
--- /dev/null
+++ b/secure/libexec/ssh-pkcs11-helper/Makefile
@@ -0,0 +1,29 @@
+# $FreeBSD$
+
+.include <src.opts.mk>
+
+PROG= ssh-pkcs11-helper
+SRCS= ssh-pkcs11.c ssh-pkcs11-helper.c
+MAN= ssh-pkcs11-helper.8
+CFLAGS+=-I${SSHDIR} -include ssh_namespace.h
+
+.if !defined(NO_SHARED)
+# required when linking with a dynamic libssh
+SRCS+= roaming_dummy.c
+.endif
+
+LIBADD= ssh
+
+.if ${MK_LDNS} != "no"
+CFLAGS+= -DHAVE_LDNS=1
+#DPADD+= ${LIBLDNS}
+#LDADD+= -lldns
+.endif
+
+LIBADD+= crypto
+
+.include <bsd.prog.mk>
+
+.PATH: ${SSHDIR}
+
+${OBJS} ${POBJS} ${SOBJS}: ssh_namespace.h
OpenPOWER on IntegriCloud