[ofa-general] [PATCH] osm: QoS parser - fixing yacc command
Yevgeny Kliteynik
kliteyn at dev.mellanox.co.il
Thu Aug 30 08:39:47 PDT 2007
Fixing bison command to more general yacc syntax
Signed-off-by: Yevgeny Kliteynik <kliteyn at dev.mellanox.co.il>
---
opensm/opensm/Makefile.am | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/opensm/opensm/Makefile.am b/opensm/opensm/Makefile.am
index abfa913..4ab7227 100644
--- a/opensm/opensm/Makefile.am
+++ b/opensm/opensm/Makefile.am
@@ -60,7 +60,8 @@ opensm_SOURCES = main.c osm_console.c osm_db_files.c \
osm_qos_parser_y.c osm_qos_parser_l.c osm_qos_policy.c
osm_qos_parser_y.c: $(srcdir)/osm_qos_parser.y $(srcdir)/../include/opensm/osm_qos_policy.h
- $(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_
+ $(YACC) -d -o $(srcdir)/osm_qos_parser_y.c -p__qos_parser_ $(srcdir)/osm_qos_parser.y
+ mv -f y.tab.h $(srcdir)/../include/opensm/osm_qos_parser_y.h
osm_qos_parser_l.c: $(srcdir)/osm_qos_parser.l $(srcdir)/../include/opensm/osm_qos_policy.h
$(LEX) -P__qos_parser_ -o$(srcdir)/osm_qos_parser_l.c $(srcdir)/osm_qos_parser.l
--
1.5.1.4
More information about the general
mailing list