[ofa-general] [PATCH] opensm/Makefile.am: adding yacc-generated .h file as dependency

Yevgeny Kliteynik kliteyn at dev.mellanox.co.il
Mon Sep 1 08:03:28 PDT 2008


Hi Sasha,

Adding header file that is produced by yacc/bison to the
general dependencies. W/o it compiling of lex-generated
.c file sometimes fails.

Signed-off-by: Yevgeny Kliteynik <kliteyn at dev.mellanox.co.il>
---
 opensm/opensm/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/opensm/opensm/Makefile.am b/opensm/opensm/Makefile.am
index 7ca4c2a..f94842c 100644
--- a/opensm/opensm/Makefile.am
+++ b/opensm/opensm/Makefile.am
@@ -126,7 +126,7 @@ opensminclude_HEADERS = \
 	$(srcdir)/../include/opensm/osm_vl15intf.h \
 	$(top_builddir)/include/opensm/osm_version.h

-BUILT_SOURCES = osm_version
+BUILT_SOURCES = osm_version osm_qos_parser_y.h
 osm_version:
 	if [ -x $(top_srcdir)/../gen_ver.sh ] ; then \
 		ver_file=$(top_builddir)/include/opensm/osm_version.h ; \
-- 
1.5.1.4




More information about the general mailing list