2023-06-03 12:09:01 +03:00
|
|
|
# $NetBSD: Makefile,v 1.6 2023/06/03 09:09:03 lukem Exp $
|
2009-06-22 01:11:16 +04:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2012-01-01 05:19:20 +04:00
|
|
|
USE_FORT?= yes # network protocol library
|
2009-06-22 01:11:16 +04:00
|
|
|
|
|
|
|
LIB= iscsi
|
2009-06-30 06:59:15 +04:00
|
|
|
SRCS= conffile.c disk.c util.c parameters.c protocol.c storage.c
|
2009-06-25 17:47:09 +04:00
|
|
|
SRCS+= netmask.c md5c.c md5hl.c uuid.c
|
|
|
|
SRCS+= initiator.c target.c
|
2009-06-22 01:11:16 +04:00
|
|
|
CPPFLAGS+= -DCONFIG_ISCSI_DEBUG -DHAVE_CONFIG_H
|
2009-06-25 17:47:09 +04:00
|
|
|
CPPFLAGS+= -I${ISCSIDIST}/include
|
2009-06-22 01:11:16 +04:00
|
|
|
CPPFLAGS+= -pthread
|
|
|
|
LDFLAGS+= -pthread
|
2009-06-25 17:47:09 +04:00
|
|
|
MAN= libiscsi.3
|
2009-06-22 01:11:16 +04:00
|
|
|
WARNS=4
|
|
|
|
|
2009-06-25 17:47:09 +04:00
|
|
|
INCS+= iscsi.h
|
|
|
|
INCSDIR=/usr/include
|
2009-06-22 01:11:16 +04:00
|
|
|
|
2009-06-25 17:47:09 +04:00
|
|
|
ISCSIDIST= ${.CURDIR}/../dist
|
|
|
|
.PATH: ${ISCSIDIST}/src/lib ${ISCSIDIST}/include
|
|
|
|
|
|
|
|
LIBDPLIBS+= pthread ${.CURDIR}/../../../../lib/libpthread
|
2009-06-22 01:11:16 +04:00
|
|
|
|
2023-06-03 12:09:01 +03:00
|
|
|
COPTS.target.c+= ${CC_WNO_FORMAT_TRUNCATION}
|
2019-10-13 10:28:04 +03:00
|
|
|
|
2009-06-22 01:11:16 +04:00
|
|
|
.include <bsd.lib.mk>
|