1# $FreeBSD$ 2 3.include <src.opts.mk> 4 5CFLAGS+=-I${SRCTOP}/contrib/libucl/include 6.PATH: ${SRCTOP}/contrib/libucl/include 7 8PACKAGE= iscsi 9PROG= ctld 10SRCS= chap.c ctld.c discovery.c isns.c kernel.c keys.c log.c 11SRCS+= login.c parse.y pdu.c token.l y.tab.h uclparse.c 12CFLAGS+= -I${.CURDIR} 13CFLAGS+= -I${SRCTOP}/sys 14CFLAGS+= -I${SRCTOP}/sys/cam/ctl 15CFLAGS+= -I${SRCTOP}/sys/dev/iscsi 16#CFLAGS+= -DICL_KERNEL_PROXY 17MAN= ctld.8 ctl.conf.5 18 19LIBADD= bsdxml md sbuf util ucl m nv 20 21YFLAGS+= -v 22CLEANFILES= y.tab.c y.tab.h y.output 23 24NO_WMISSING_VARIABLE_DECLARATIONS= 25 26.if ${MK_ISCSI} != "no" 27CFLAGS+= -DWANT_ISCSI 28.endif 29 30.include <bsd.prog.mk> 31