summaryrefslogtreecommitdiff
path: root/crypto/openssh/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssh/Makefile.inc')
-rw-r--r--crypto/openssh/Makefile.inc11
1 files changed, 11 insertions, 0 deletions
diff --git a/crypto/openssh/Makefile.inc b/crypto/openssh/Makefile.inc
new file mode 100644
index 000000000000..fddf3da2feb0
--- /dev/null
+++ b/crypto/openssh/Makefile.inc
@@ -0,0 +1,11 @@
+CFLAGS+= -I${.CURDIR}/..
+
+.include <bsd.obj.mk>
+
+.if exists(${.CURDIR}/../lib/${__objdir})
+LDADD+= -L${.CURDIR}/../lib/${__objdir} -lssh
+DPADD+= ${.CURDIR}/../lib/${__objdir}/libssh.a
+.else
+LDADD+= -L${.CURDIR}/../lib -lssh
+DPADD+= ${.CURDIR}/../lib/libssh.a
+.endif