]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - contrib/ofed/management/Makefile
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.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