summaryrefslogtreecommitdiff
path: root/extras/multipath-tools/Makefile
blob: fa8830082b65b3fc9fd144ba12d96bc531e5f353 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Makefile
#
# Copyright (C) 2003 Christophe Varoqui, <christophe.varoqui@free.fr>

SUBDIRS = libdevmapper devmap_name multipath multipathd

recurse:
	@for dir in $(SUBDIRS); do\
	$(MAKE) -C $$dir ; \
	done

recurse_clean:
	@for dir in $(SUBDIRS); do\
	$(MAKE) -C $$dir clean ; \
	done

recurse_install:
	@for dir in $(SUBDIRS); do\
	$(MAKE) -C $$dir install ; \
	done

recurse_uninstall:
	@for dir in $(SUBDIRS); do\
	$(MAKE) -C $$dir uninstall ; \
	done

all:	recurse
	@echo ""
	@echo "Make complete"

clean:	recurse_clean
	@echo ""
	@echo "Make complete"

spotless: clean

install:	recurse_install
	@echo ""
	@echo "Make complete"

uninstall:	recurse_uninstall
	@echo ""
	@echo "Make complete"