]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - contrib/ofed/management/Makefile
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
[FreeBSD/stable/10.git] / contrib / ofed / management / Makefile
1
2 SUBDIRS:= libibcommon libibumad libibmad opensm infiniband-diags
3
4 all:
5
6 config:
7         $(foreach dir, $(SUBDIRS), \
8                 if [ ! -z "$(force)" -o ! -x $(dir)/configure ] ; then \
9                         ( cd $(dir) && ./autogen.sh && ./configure $(CONFIG_OPTS) ) \
10                                 || exit 1 ; \
11                 elif [ ! -e $(dir)/Makefile ] ; then \
12                         ( cd $(dir) && ./configure $(CONFIG_OPTS) ) \
13                                 || exit 1 ; \
14                 fi ; )
15
16 automake: force=1
17 automake: config
18
19 all install: config
20 all install clean:
21         $(foreach dir, $(SUBDIRS), $(MAKE) -C $(dir) $@ && ) echo $@ done