29 lines
664 B
Makefile
29 lines
664 B
Makefile
# $NetBSD: Makefile,v 1.5 2019/10/13 07:28:06 mrg Exp $
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
USE_FORT?= yes # network protocol library
|
|
|
|
LIB= iscsi
|
|
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+= ${GCC_NO_FORMAT_TRUNCATION}
|
|
|
|
.include <bsd.lib.mk>
|