1# $FreeBSD: releng/10.3/usr.sbin/ctld/Makefile 286219 2015-08-03 07:20:33Z trasz $ 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} ${LIBL} ${LIBMD} ${LIBSBUF} ${LIBUTIL} 14LDADD= -lbsdxml -ll -lmd -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