NetBSD/external/bsd/iscsi/lib/Makefile

29 lines
666 B
Makefile
Raw Normal View History

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