summaryrefslogtreecommitdiff
path: root/usr.sbin/iscsictl/Makefile
blob: 9a3dc1e01f9bd288de479f48c293891769731082 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#	$OpenBSD: Makefile,v 1.6 2014/04/21 20:20:37 claudio Exp $

.PATH:		${.CURDIR}/../iscsid

PROG=	iscsictl
SRCS=	iscsictl.c parse.y parser.c
SRCS+=	util.c

MAN=	iscsictl.8 iscsi.conf.5

CFLAGS+= -Wall
CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes
CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual
CFLAGS+= -Wsign-compare
CFLAGS+= -I${.CURDIR} -I${.CURDIR}/../iscsid
YFLAGS=
LDADD= -lutil
DPADD+= ${LIBUTIL}

.include <bsd.prog.mk>