1# $FreeBSD$ 2 3PROG= ctld 4SRCS= chap.c ctld.c discovery.c isns.c kernel.c keys.c log.c 5SRCS+= login.c parse.y pdu.c token.l y.tab.h 6CFLAGS+= -I${.CURDIR} 7CFLAGS+= -I${.CURDIR}/../../sys 8CFLAGS+= -I${.CURDIR}/../../sys/cam/ctl 9CFLAGS+= -I${.CURDIR}/../../sys/dev/iscsi 10#CFLAGS+= -DICL_KERNEL_PROXY 11MAN= ctld.8 ctl.conf.5 12 13DPADD= ${LIBBSDXML} ${LIBCRYPTO} ${LIBL} ${LIBSBUF} ${LIBUTIL} 14LDADD= -lbsdxml -lcrypto -ll -lsbuf -lutil 15 16YFLAGS+= -v 17CLEANFILES= y.tab.c y.tab.h y.output 18 19WARNS= 6 20NO_WMISSING_VARIABLE_DECLARATIONS= 21 22.include <bsd.prog.mk> 23