freebsd-skq/usr.sbin/ctld/Makefile
trasz a992abf041 Bring in the new iSCSI target and initiator.
Reviewed by:	ken (parts)
Approved by:	re (delphij)
Sponsored by:	FreeBSD Foundation
2013-09-14 15:29:06 +00:00

22 lines
531 B
Makefile

# $FreeBSD$
PROG= ctld
SRCS= ctld.c discovery.c kernel.c keys.c log.c login.c parse.y pdu.c token.l y.tab.h
CFLAGS+= -I${.CURDIR}
CFLAGS+= -I${.CURDIR}/../../sys
CFLAGS+= -I${.CURDIR}/../../sys/cam/ctl
CFLAGS+= -I${.CURDIR}/../../sys/dev/iscsi
#CFLAGS+= -DICL_KERNEL_PROXY
MAN= ctld.8 ctl.conf.5
DPADD= ${LIBCAM} ${LIBSBUF} ${LIBBSDXML} ${LIBUTIL}
LDADD= -lbsdxml -lcam -lcrypto -lfl -lsbuf -lssl -lutil
YFLAGS+= -v
CLEANFILES= y.tab.c y.tab.h y.output
WARNS= 6
NO_WMISSING_VARIABLE_DECLARATIONS=
.include <bsd.prog.mk>