2 SUBDIRS:= libibcommon libibumad libibmad opensm infiniband-diags
7 $(foreach dir, $(SUBDIRS), \
8 if [ ! -z "$(force)" -o ! -x $(dir)/configure ] ; then \
9 ( cd $(dir) && ./autogen.sh && ./configure $(CONFIG_OPTS) ) \
11 elif [ ! -e $(dir)/Makefile ] ; then \
12 ( cd $(dir) && ./configure $(CONFIG_OPTS) ) \
21 $(foreach dir, $(SUBDIRS), $(MAKE) -C $(dir) $@ && ) echo $@ done