[ofa-general] [PATCH] management/*/Makefile.am: fix include paths
Sasha Khapyorsky
sashak at voltaire.com
Wed Sep 19 03:47:55 PDT 2007
Fix include paths for management libraries and diags builds - since
it will always linked against installed libs, we will use only installed
external header files for build.
Signed-off-by: Sasha Khapyorsky <sashak at voltaire.com>
---
infiniband-diags/Makefile.am | 7 +------
libibmad/Makefile.am | 5 +----
libibumad/Makefile.am | 3 +--
3 files changed, 3 insertions(+), 12 deletions(-)
diff --git a/infiniband-diags/Makefile.am b/infiniband-diags/Makefile.am
index aad0020..ca18178 100644
--- a/infiniband-diags/Makefile.am
+++ b/infiniband-diags/Makefile.am
@@ -1,10 +1,5 @@
-INCLUDES = -I include \
- -I$(srcdir)/../libibcommon/include/infiniband \
- -I$(srcdir)/../libibumad/include/infiniband \
- -I$(srcdir)/../libibmad/include/infiniband \
- -I$(srcdir)/../opensm/include \
- -I$(includedir)/infiniband
+INCLUDES = -I$(srcdir)/include -I$(includedir) -I$(includedir)/infiniband
if DEBUG
DBGFLAGS = -ggdb -D_DEBUG_
diff --git a/libibmad/Makefile.am b/libibmad/Makefile.am
index 6f4fb95..974616e 100644
--- a/libibmad/Makefile.am
+++ b/libibmad/Makefile.am
@@ -1,10 +1,7 @@
SUBDIRS = .
-INCLUDES = -I$(srcdir)/include/infiniband \
- -I$(srcdir)/../libibcommon/include/infiniband \
- -I$(srcdir)/../libibumad/include/infiniband \
- -I$(includedir)/infiniband
+INCLUDES = -I$(srcdir)/include/infiniband -I$(includedir)
lib_LTLIBRARIES = libibmad.la
diff --git a/libibumad/Makefile.am b/libibumad/Makefile.am
index be65673..dad6168 100644
--- a/libibumad/Makefile.am
+++ b/libibumad/Makefile.am
@@ -1,8 +1,7 @@
SUBDIRS = .
-INCLUDES = -I$(srcdir)/include/infiniband \
- -I$(srcdir)/../libibcommon/include/infiniband
+INCLUDES = -I$(srcdir)/include/infiniband -I$(includedir)
man_MANS = man/umad_debug.3 man/umad_get_ca.3 \
man/umad_get_ca_portguids.3 man/umad_get_cas_names.3 \
--
1.5.3.rc2.29.gc4640f
More information about the general
mailing list