2013-09-14 16:29:06 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2016-02-03 15:45:13 +00:00
|
|
|
CFLAGS+=-I${.CURDIR}/../../contrib/libucl/include
|
|
|
|
.PATH: ${.CURDIR}/../../contrib/libucl/include
|
|
|
|
|
2013-09-14 16:29:06 +01:00
|
|
|
PROG= ctld
|
2014-10-25 13:50:26 +01:00
|
|
|
SRCS= chap.c ctld.c discovery.c isns.c kernel.c keys.c log.c
|
2016-02-03 15:45:13 +00:00
|
|
|
SRCS+= login.c parse.y pdu.c token.l y.tab.h uclparse.c
|
2013-09-14 16:29:06 +01:00
|
|
|
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
|
|
|
|
|
2016-02-03 15:45:13 +00:00
|
|
|
LIBADD= bsdxml l md sbuf util ucl m
|
2013-09-14 16:29:06 +01:00
|
|
|
|
|
|
|
YFLAGS+= -v
|
|
|
|
CLEANFILES= y.tab.c y.tab.h y.output
|
|
|
|
|
|
|
|
WARNS= 6
|
|
|
|
NO_WMISSING_VARIABLE_DECLARATIONS=
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|