The automake files from iscsiuio are somewhat oldish.
So update them to the current standard.

Signed-off-by: Hannes Reinecke <h...@suse.de>
---
 Makefile                                 | 3 +++
 iscsiuio/configure.ac                    | 4 ++--
 iscsiuio/src/apps/brcm-iscsi/Makefile.am | 2 +-
 iscsiuio/src/apps/dhcpc/Makefile.am      | 2 +-
 iscsiuio/src/uip/Makefile.am             | 2 +-
 iscsiuio/src/unix/Makefile.am            | 2 +-
 iscsiuio/src/unix/libs/Makefile.am       | 2 +-
 7 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/Makefile b/Makefile
index 0b7bb98..1d9bc11 100644
--- a/Makefile
+++ b/Makefile
@@ -49,6 +49,9 @@ utils/open-isns/Makefile: utils/open-isns/configure 
utils/open-isns/Makefile.in
 iscsiuio/Makefile: iscsiuio/configure iscsiuio/Makefile.in
        cd iscsiuio; ./configure
 
+iscsiuio/configure: iscsiuio/configure.ac
+       cd iscsiuio; autoreconf
+
 kernel: force
        $(MAKE) -C kernel
        @echo "Kernel Compilation complete          Output file"
diff --git a/iscsiuio/configure.ac b/iscsiuio/configure.ac
index 381b94d..4faee9e 100644
--- a/iscsiuio/configure.ac
+++ b/iscsiuio/configure.ac
@@ -13,9 +13,9 @@ dnl
 PACKAGE=iscsiuio
 VERSION=0.7.8.2
 
-AC_INIT(iscsiuio, 0.7.8.2, eddie....@broadcom.com)
+AC_INIT([iscsiuio], [0.7.8.2], [eddie....@broadcom.com])
 
-AM_INIT_AUTOMAKE($PACKAGE, $VERSION)
+AM_INIT_AUTOMAKE
 AC_CONFIG_HEADER(config.h)
 AC_PATH_PROGS(BASH, bash)
 
diff --git a/iscsiuio/src/apps/brcm-iscsi/Makefile.am 
b/iscsiuio/src/apps/brcm-iscsi/Makefile.am
index fb4d661..00cbd8e 100644
--- a/iscsiuio/src/apps/brcm-iscsi/Makefile.am
+++ b/iscsiuio/src/apps/brcm-iscsi/Makefile.am
@@ -1,4 +1,4 @@
-INCLUDES =     -I${top_srcdir}/src/unix                \
+AM_CFLAGS =    -I${top_srcdir}/src/unix                \
                -I${top_srcdir}/src/uip                 \
                -I${top_srcdir}/src/apps/dhcpc          \
                -I${top_srcdir}/src/apps/brcm-iscsi     \
diff --git a/iscsiuio/src/apps/dhcpc/Makefile.am 
b/iscsiuio/src/apps/dhcpc/Makefile.am
index b8a7bbf..1c97993 100644
--- a/iscsiuio/src/apps/dhcpc/Makefile.am
+++ b/iscsiuio/src/apps/dhcpc/Makefile.am
@@ -1,4 +1,4 @@
-INCLUDES =     -I${top_srcdir}/src/unix                \
+AM_CFLAGS =    -I${top_srcdir}/src/unix                \
                -I${top_srcdir}/src/uip                 \
                -I${top_srcdir}/src/apps/dhcpc          \
                -I${top_srcdir}/src/apps/brcm-iscsi     \
diff --git a/iscsiuio/src/uip/Makefile.am b/iscsiuio/src/uip/Makefile.am
index 2d20573..65c1286 100644
--- a/iscsiuio/src/uip/Makefile.am
+++ b/iscsiuio/src/uip/Makefile.am
@@ -1,4 +1,4 @@
-INCLUDES =     -I${top_srcdir}/src/unix                \
+AM_CFLAGS =    -I${top_srcdir}/src/unix                \
                -I${top_srcdir}/src/apps/dhcpc          \
                -I${top_srcdir}/src/apps/brcm-iscsi     \
                -I${top_srcdir}/../include              \
diff --git a/iscsiuio/src/unix/Makefile.am b/iscsiuio/src/unix/Makefile.am
index ef853a7..898691d 100644
--- a/iscsiuio/src/unix/Makefile.am
+++ b/iscsiuio/src/unix/Makefile.am
@@ -1,6 +1,6 @@
 SUBDIRS= libs
 
-INCLUDES = -I${top_srcdir}/src/uip             \
+AM_CFLAGS = -I${top_srcdir}/src/uip            \
           -I${top_srcdir}/src/apps/brcm-iscsi  \
           -I${top_srcdir}/src/apps/dhcpc       \
           -I${top_srcdir}/src/unix/libs        \
diff --git a/iscsiuio/src/unix/libs/Makefile.am 
b/iscsiuio/src/unix/libs/Makefile.am
index 19a1323..890415f 100644
--- a/iscsiuio/src/unix/libs/Makefile.am
+++ b/iscsiuio/src/unix/libs/Makefile.am
@@ -1,4 +1,4 @@
-INCLUDES = -I${top_srcdir}/src/uip             \
+AM_CFLAGS = -I${top_srcdir}/src/uip            \
           -I${top_srcdir}/src/unix             \
           -I${top_srcdir}/src/unix/libs        \
            -I${top_srcdir}/src/apps/dhcpc      \
-- 
1.8.1.4

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to open-iscsi+unsubscr...@googlegroups.com.
To post to this group, send email to open-iscsi@googlegroups.com.
Visit this group at http://groups.google.com/group/open-iscsi.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to