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