Annotation of /mcore-src/trunk/mcore-tools/dracut/Makefile
Parent Directory | Revision Log
Revision 2724 -
(hide annotations)
(download)
Mon Dec 21 09:31:33 2015 UTC (8 years, 5 months ago) by niro
File size: 1014 byte(s)
Mon Dec 21 09:31:33 2015 UTC (8 years, 5 months ago) by niro
File size: 1014 byte(s)
-reworked Makefiles that they really support install-common, install-client and install install-control targets
1 | niro | 2333 | # $Id$ |
2 | |||
3 | include ../Makefile.inc | ||
4 | |||
5 | SUBDIRS = mcored mcored-citrix | ||
6 | |||
7 | niro | 2724 | INSTALL_COMMONDIRS = $(SUBDIRS:%=install-common-%) |
8 | INSTALL_CLIENTDIRS = $(SUBDIRS:%=install-client-%) | ||
9 | INSTALL_CONTROLDIRS = $(SUBDIRS:%=install-control-%) | ||
10 | niro | 2333 | CLEANDIRS = $(SUBDIRS:%=clean-%) |
11 | |||
12 | all: $(SUBDIRS) | ||
13 | |||
14 | niro | 2724 | install: install-common install-client install-control all |
15 | niro | 2333 | |
16 | niro | 2724 | install-common: $(INSTALL_COMMONDIRS) all |
17 | |||
18 | install-client: $(INSTALL_CLIENTDIRS) all | ||
19 | |||
20 | install-control: $(INSTALL_CONTROLDIRS) all | ||
21 | |||
22 | niro | 2333 | clean: $(CLEANDIRS) |
23 | |||
24 | $(SUBDIRS): | ||
25 | $(MAKE) -C $@ | ||
26 | |||
27 | niro | 2724 | $(INSTALL_COMMONDIRS): |
28 | $(MAKE) -C $(@:install-common-%=%) install-common | ||
29 | niro | 2333 | |
30 | niro | 2724 | $(INSTALL_CLIENTDIRS): |
31 | $(MAKE) -C $(@:install-client-%=%) install-client | ||
32 | |||
33 | $(INSTALL_CONTROLDIRS): | ||
34 | $(MAKE) -C $(@:install-control-%=%) install-control | ||
35 | |||
36 | niro | 2333 | $(CLEANDIRS): |
37 | $(MAKE) -C $(@:clean-%=%) clean | ||
38 | |||
39 | .PHONY: $(SUBDIRS) | ||
40 | niro | 2724 | .PHONY: $(INSTALL_COMMONDIRS) |
41 | .PHONY: $(INSTALL_CLIENTDIRS) | ||
42 | .PHONY: $(INSTALL_CONTROLDIRS) | ||
43 | niro | 2333 | .PHONY: $(CLEANDIRS) |
44 | niro | 2724 | .PHONY: install-common |
45 | .PHONY: install-client | ||
46 | .PHONY: install-control | ||
47 | niro | 2333 | .PHONY: all install clean |