diff --git a/usr.sbin/iscsi/harness/Makefile b/usr.sbin/iscsi/harness/Makefile index ed247e5fb3e0..c229546c2ec8 100644 --- a/usr.sbin/iscsi/harness/Makefile +++ b/usr.sbin/iscsi/harness/Makefile @@ -1,4 +1,6 @@ -# $NetBSD: Makefile,v 1.1 2006/02/08 18:57:49 agc Exp $ +# $NetBSD: Makefile,v 1.2 2007/10/26 19:04:21 agc Exp $ + +.sinclude "${.CURDIR}/../../Makefile.inc" .include @@ -7,7 +9,7 @@ DIST= ${.CURDIR}/../../../dist/iscsi PROG= iscsi-harness SRCS= tests.c osd_ops.c initiator.c iscsi-harness.c -CPPFLAGS+= -DCONFIG_ISCSI_DEBUG -D_FILE_OFFSET_BITS=64 +CPPFLAGS+= -DCONFIG_ISCSI_DEBUG CPPFLAGS+= -I${DIST}/include -I${.CURDIR}/../include CPPFLAGS+= -pthread LDADD+= -L${LIBDIR} -Wl,-R${LIBDIR} -liscsi diff --git a/usr.sbin/iscsi/target/Makefile b/usr.sbin/iscsi/target/Makefile index 650899db1925..247880282fb0 100644 --- a/usr.sbin/iscsi/target/Makefile +++ b/usr.sbin/iscsi/target/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2007/05/28 12:06:35 tls Exp $ +# $NetBSD: Makefile,v 1.3 2007/10/26 19:04:21 agc Exp $ .sinclude "${.CURDIR}/../../Makefile.inc" @@ -11,7 +11,7 @@ DIST= ${.CURDIR}/../../../dist/iscsi PROG= iscsi-target SRCS= iscsi-target.c -CPPFLAGS+= -DCONFIG_ISCSI_DEBUG -D_FILE_OFFSET_BITS=64 +CPPFLAGS+= -DCONFIG_ISCSI_DEBUG CPPFLAGS+= -I${DIST}/include CPPFLAGS+= -pthread LDADD+= -liscsi