summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ctld/Makefile
blob: 664dc22efbb131f4c87ec5115369f0c12402acca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# $FreeBSD$

CFLAGS+=-I${.CURDIR}/../../contrib/libucl/include
.PATH:  ${.CURDIR}/../../contrib/libucl/include

PROG=		ctld
SRCS=		chap.c ctld.c discovery.c isns.c kernel.c keys.c log.c
SRCS+=		login.c parse.y pdu.c token.l y.tab.h uclparse.c
CFLAGS+=	-I${.CURDIR}
CFLAGS+=	-I${.CURDIR}/../../sys
CFLAGS+=	-I${.CURDIR}/../../sys/cam/ctl
CFLAGS+=	-I${.CURDIR}/../../sys/dev/iscsi
#CFLAGS+=	-DICL_KERNEL_PROXY
MAN=		ctld.8 ctl.conf.5

LIBADD=		bsdxml l md sbuf util ucl m

YFLAGS+=	-v
CLEANFILES=	y.tab.c y.tab.h y.output

WARNS=		6
NO_WMISSING_VARIABLE_DECLARATIONS=

.include <bsd.prog.mk>
OpenPOWER on IntegriCloud