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