summaryrefslogtreecommitdiffstats
path: root/contrib/ofed/management/Makefile
blob: 863c3aa163c34173cdc3a036f0e1bb20f03bb552 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

SUBDIRS:= libibcommon libibumad libibmad opensm infiniband-diags

all:

config:
	$(foreach dir, $(SUBDIRS), \
		if [ ! -z "$(force)" -o ! -x $(dir)/configure ] ; then \
			( cd $(dir) && ./autogen.sh && ./configure $(CONFIG_OPTS) ) \
				|| exit 1 ; \
		elif [ ! -e $(dir)/Makefile ] ; then \
			( cd $(dir) && ./configure $(CONFIG_OPTS) ) \
				|| exit 1 ; \
		fi ; )

automake: force=1
automake: config

all install: config
all install clean:
	$(foreach dir, $(SUBDIRS), $(MAKE) -C $(dir) $@ && ) echo $@ done
OpenPOWER on IntegriCloud