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

Sasha Khapyorsky sashak at voltaire.com
Tue Sep 2 06:37:20 PDT 2008


Hi Yevgeny,

On 18:03 Mon 01 Sep     , Yevgeny Kliteynik wrote:
> 
> Adding header file that is produced by yacc/bison to the
> general dependencies. W/o it compiling of lex-generated
> .c file sometimes fails.

Do you have a log of failure?

Sasha

> 
> 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