[ofw] [PATCH] DAPL v2.0: build: add extended header files to EXTRA_DIST and fix missing backslash

Davis, Arlin R arlin.r.davis at intel.com
Fri Aug 19 11:33:55 PDT 2011


Signed-off-by: Arlin Davis <arlin.r.davis at intel.com>
---
 Makefile.am |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 55fe45b..1f74378 100755
--- a/Makefile.am
+++ b/Makefile.am
@@ -18,14 +18,18 @@ endif
 if EXT_TYPE_IB
 XFLAGS = -DDAT_EXTENSIONS
 XPROGRAMS = dapl/openib_common/ib_extensions.c
+XHEADERS =
+XLIBS =
 if COLL_TYPE_FCA
 XFLAGS += -DDAT_IB_COLLECTIVES -DDAT_FCA_PROVIDER
 XPROGRAMS += dapl/openib_common/collectives/fca_provider.c
-XLIBS = -lfca
+XHEADERS += dapl/openib_common/collectives/ib_collectives.h dapl/openib_common/collectives/fca_provider.h
+XLIBS += -lfca
 endif
 else
 XFLAGS =
 XPROGRAMS =
+XHEADERS =
 XLIBS =
 endif
 
@@ -504,7 +508,7 @@ EXTRA_DIST = dat/common/dat_dictionary.h \
 	     dapl/include/dapl_ipoib_names.h \
 	     dapl/include/dapl_vendor.h \
 	     dapl/openib_common/dapl_ib_dto.h \
-	     dapl/openib_common/dapl_ib_common.h 
+	     dapl/openib_common/dapl_ib_common.h \
 	     dapl/openib_cma/dapl_ib_util.h \
 	     dapl/openib_cma/linux/openib_osd.h \
 	     dapl/openib_scm/dapl_ib_util.h \
@@ -546,7 +550,7 @@ EXTRA_DIST = dat/common/dat_dictionary.h \
 	     test/dapltest/include/dapl_transaction_stats.h \
 	     test/dapltest/include/dapl_transaction_test.h \
 	     test/dapltest/include/dapl_version.h \
-	     test/dapltest/mdep/linux/dapl_mdep_user.h $(XPROGRAMS)
+	     test/dapltest/mdep/linux/dapl_mdep_user.h $(XHEADERS)
 	 
 dist-hook: dapl.spec 
 	cp dapl.spec $(distdir)
-- 
1.7.3





More information about the ofw mailing list