[ofa-general] [PATCH] Opensm/Makefile.am: Change for flex version 2.5.4
Yevgeny Kliteynik
kliteyn at mellanox.co.il
Wed Aug 29 06:59:14 PDT 2007
Thanks.
There's still problem with yacc/bison.
I'll issue a patch shortly - looks like I have to go back to moving and
renaming files in Makefile, because I can't find the way to tell yacc to
generate header with a specific name instead of the default one.
-- Yevgeny
Hal Rosenstock wrote:
> opensm/Makefile.am: Change for flex version 2.5.4
>
> Signed-off-by: Hal Rosenstock <hal.rosenstock at gmail.com>
>
> diff --git a/opensm/opensm/Makefile.am b/opensm/opensm/Makefile.am
> index b738cbe..abfa913 100644
> --- a/opensm/opensm/Makefile.am
> +++ b/opensm/opensm/Makefile.am
> @@ -63,7 +63,7 @@ osm_qos_parser_y.c: $(srcdir)/osm_qos_parser.y
> $(srcdir)/../include/opensm/osm_q
> $(YACC) -y -d $(srcdir)/osm_qos_parser.y -o
> $(srcdir)/osm_qos_parser_y.c
> --defines=$(srcdir)/../include/opensm/osm_qos_parser_y.h
> --name-prefix=__qos_parser_
>
> osm_qos_parser_l.c: $(srcdir)/osm_qos_parser.l
> $(srcdir)/../include/opensm/osm_qos_policy.h
> - $(LEX) --prefix=__qos_parser_ -o $(srcdir)/osm_qos_parser_l.c
> $(srcdir)/osm_qos_parser.l
> + $(LEX) -P__qos_parser_ -o$(srcdir)/osm_qos_parser_l.c
> $(srcdir)/osm_qos_parser.l
>
> if OSMV_OPENIB
> opensm_CFLAGS = -Wall $(OSMV_CFLAGS) -fno-strict-aliasing
> -DVENDOR_RMPP_SUPPORT -DDUAL_SIDED_RMPP $(DBGFLAGS)
> -D_XOPEN_SOURCE=600 -D_BSD_SOURCE=1
> _______________________________________________
> general mailing list
> general at lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
>
> To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
>
>
More information about the general
mailing list