NetBSD/usr.sbin/iscsi/iscsiconfig/Makefile
agc 756acb0ef7 Add an initial makefile for the iscsiconfig utility. We don't yet descend
into this directory, so no addition to the sets as yet.
2006-02-20 09:01:39 +00:00

19 lines
448 B
Makefile

# $NetBSD: Makefile,v 1.1 2006/02/20 09:01:39 agc Exp $
.include <bsd.own.mk>
DIST= ${.CURDIR}/../../../dist/iscsi
.PATH: ${DIST}/src
PROG= iscsiconfig
SRCS= tests.c initiator.c osd_ops.c iscsiconfig.c
CPPFLAGS+= -DCONFIG_ISCSI_DEBUG -D_FILE_OFFSET_BITS=64
CPPFLAGS+= -I${DIST}/include -I${.CURDIR}/../include
CPPFLAGS+= -pthread
LDADD+= -L${LIBDIR} -Wl,-R${LIBDIR} -liscsi
LDFLAGS+= -pthread
MAN= iscsiconfig.8
WARNS=4
.include <bsd.prog.mk>