[ofa-general] [PATCH] opensm/Makefile.am: Fix dependency for 'make -j2'
Yevgeny Kliteynik
kliteyn at dev.mellanox.co.il
Tue Aug 5 08:41:41 PDT 2008
Fix dependency for 'make -j2' - QoS parser generated
files weren't specified correctly.
Signed-off-by: Yevgeny Kliteynik <kliteyn at dev.mellanox.co.il>
---
opensm/opensm/Makefile.am | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/opensm/opensm/Makefile.am b/opensm/opensm/Makefile.am
index 76f6b23..f748024 100644
--- a/opensm/opensm/Makefile.am
+++ b/opensm/opensm/Makefile.am
@@ -59,13 +59,14 @@ opensm_SOURCES = main.c osm_console_io.c osm_console.c osm_db_files.c \
osm_vl15intf.c osm_vl_arb_rcv.c \
st.c osm_perfmgr.c osm_perfmgr_db.c \
osm_event_plugin.c osm_dump.c \
- osm_qos_parser_y.c osm_qos_parser_l.c osm_qos_policy.c
+ $(srcdir)/osm_qos_parser_y.c $(srcdir)/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
+$(srcdir)/osm_qos_parser_y.c: $(srcdir)/osm_qos_parser.y $(srcdir)/../include/opensm/osm_qos_policy.h
$(YACC) -d -o $(srcdir)/osm_qos_parser_y.c -p__qos_parser_ $(srcdir)/osm_qos_parser.y
mv -f $(srcdir)/osm_qos_parser_y.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 osm_qos_parser_y.c
+$(srcdir)/osm_qos_parser_l.c: $(srcdir)/osm_qos_parser.l $(srcdir)/../include/opensm/osm_qos_policy.h osm_qos_parser_y.c
$(LEX) -P__qos_parser_ -o$(srcdir)/osm_qos_parser_l.c $(srcdir)/osm_qos_parser.l
if OSMV_OPENIB
--
1.5.1.4
More information about the general
mailing list