1.include <src.opts.mk> 2 3CFLAGS+=-I${SRCTOP}/contrib/libucl/include 4.PATH: ${SRCTOP}/contrib/libucl/include 5 6PACKAGE= iscsi 7PROG= ctld 8SRCS= ctld.c discovery.c isns.c kernel.c 9SRCS+= login.c parse.y token.l y.tab.h uclparse.c 10CFLAGS+= -I${.CURDIR} 11CFLAGS+= -I${SRCTOP}/sys 12CFLAGS+= -I${SRCTOP}/sys/cam/ctl 13CFLAGS+= -I${SRCTOP}/sys/dev/iscsi 14CFLAGS+= -I${SRCTOP}/lib/libiscsiutil 15#CFLAGS+= -DICL_KERNEL_PROXY 16NO_WCAST_ALIGN= 17MAN= ctld.8 ctl.conf.5 18 19LIBADD= bsdxml iscsiutil 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