summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/Makefile.inc
blob: e476588ba1e75fc3a223debcb242b6346a669dd9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#	$OpenBSD: Makefile.inc,v 1.15 2001/06/23 17:11:01 markus Exp $

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

CFLAGS+=	-Wall
#CFLAGS+=	-Werror
CFLAGS+=	-Wpointer-arith
CFLAGS+=	-Wno-uninitialized
#CFLAGS+=	-Wstrict-prototypes
CFLAGS+=	-Wmissing-prototypes

#DEBUG=-g

.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