summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/Makefile.inc
blob: 89fdf4394dd1e53b173f682204357816dbb24344 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#	$OpenBSD: Makefile.inc,v 1.13 2001/01/29 01:58:14 niklas Exp $

CFLAGS+=	-I${.CURDIR}/..

CFLAGS+=	-Wall

.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