Sync usage with man page.
[netbsd-mini2440.git] / external / bsd / iscsi / initiator / Makefile
blob00709e4c6603ad8cebb93685fa758010421fb06f
1 # $NetBSD: Makefile,v 1.4 2009/06/20 17:58:21 agc Exp $
3 .sinclude "${.CURDIR}/../Makefile.inc"
5 .include <bsd.own.mk>
7 USE_FORT?=yes # network client/local server
9 ISCSIDIST= ${.CURDIR}/../dist
10 .PATH: ${ISCSIDIST}/src/initiator
12 PROG=iscsi-initiator
13 SRCS=iscsi-initiator.c virtdir.c libkmod.c
14 LDADD+= -lrefuse -liscsi
15 DPADD+= ${LIBREFUSE} ${LIBISCSI}
16 CPPFLAGS+= -I${ISCSIDIST}/include
17 CPPFLAGS+= -pthread
18 LDFLAGS+= -pthread
19 MAN=iscsi-initiator.8
20 WARNS=4
22 .ifdef MODULAR_KERNEL
23 CPPFLAGS+= -DUSE_LIBKMOD
24 LDADD+= -lprop
25 DPADD+= ${LIBPROP}
26 .endif
28 .include <bsd.prog.mk>