NetBSD/sbin/iscsid/Makefile
mlelstv 6fea88c26e Several improvents to iscsid
- debug log is now using syslog
- seperate options for log level and foreground mode
- writes a pidfile so that /etc/rc.d/iscsid works
  Now links with libutil for pidfile(), the functions login() and logout()
  needed to be renamed to avoid a conflict.
- drops the nothreads option
- handles signals to shut down gracefully
- the driver may also shut down the daemon when it terminates
  Currently this cannot work as the driver can only terminate when
  the daemon has closed the driver file handle.
2016-05-29 13:35:45 +00:00

22 lines
387 B
Makefile

# $NetBSD: Makefile,v 1.6 2016/05/29 13:35:45 mlelstv Exp $
PROG= iscsid
SRCS= iscsid_main.c iscsid_lists.c iscsid_driverif.c \
iscsid_discover.c iscsid_targets.c
CPPFLAGS+= -I${DESTDIR}/usr/include/dev/iscsi
CPPFLAGS+= -I${DESTDIR}/usr/include
CPPFLAGS+= -D_THREAD_SAFE
MAN= iscsid.8
LDADD = -lpthread -lisns -lutil
INCSDIR= /usr/include
INCS= iscsid.h
.include <bsd.prog.mk>