Contents of /mcore-src/trunk/mcore-tools/src/modules/Makefile
Parent Directory | Revision Log
Revision 2727 -
(show annotations)
(download)
Thu Jan 28 14:20:31 2016 UTC (8 years, 7 months ago) by niro
File size: 1296 byte(s)
Thu Jan 28 14:20:31 2016 UTC (8 years, 7 months ago) by niro
File size: 1296 byte(s)
-added scm-egk module
1 | include ../../Makefile.inc |
2 | |
3 | SUBDIRS = basic-input basic-kernel basic-system basic-version basic-video \ |
4 | citrix fluxbox grub2 hwinfo idesk lprng mage network tigervnc \ |
5 | pxeconfig helpdesk rdesktop scm-egk |
6 | |
7 | ifeq ($(SYSTEMINIT),systemd) |
8 | SUBDIRS += systemd |
9 | else |
10 | SUBDIRS += sysvinit |
11 | endif |
12 | |
13 | ifeq ($(SPLASH),plymouth) |
14 | SUBDIRS += plymouth |
15 | else |
16 | SUBDIRS += fbsplash |
17 | endif |
18 | |
19 | INSTALL_COMMONDIRS = $(SUBDIRS:%=install-common-%) |
20 | INSTALL_CLIENTDIRS = $(SUBDIRS:%=install-client-%) |
21 | INSTALL_CONTROLDIRS = $(SUBDIRS:%=install-control-%) |
22 | CLEANDIRS = $(SUBDIRS:%=clean-%) |
23 | |
24 | all: $(SUBDIRS) |
25 | |
26 | install: install-common install-client install-control all |
27 | |
28 | install-common: all |
29 | |
30 | install-client: $(INSTALL_CLIENTDIRS) all |
31 | |
32 | install-control: $(INSTALL_CONTROLDIRS) all |
33 | |
34 | clean: $(CLEANDIRS) |
35 | |
36 | $(SUBDIRS): |
37 | $(MAKE) -C $@ |
38 | |
39 | $(INSTALL_COMMONDIRS): |
40 | $(MAKE) -C $(@:install-common-%=%) install-common |
41 | |
42 | $(INSTALL_CLIENTDIRS): |
43 | $(MAKE) -C $(@:install-client-%=%) install-client |
44 | |
45 | $(INSTALL_CONTROLDIRS): |
46 | $(MAKE) -C $(@:install-control-%=%) install-control |
47 | |
48 | $(CLEANDIRS): |
49 | $(MAKE) -C $(@:clean-%=%) clean |
50 | |
51 | .PHONY: $(SUBDIRS) |
52 | .PHONY: $(INSTALL_COMMONDIRS) |
53 | .PHONY: $(INSTALL_CLIENTDIRS) |
54 | .PHONY: $(INSTALL_CONTROLDIRS) |
55 | .PHONY: $(CLEANDIRS) |
56 | .PHONY: install-common |
57 | .PHONY: install-client |
58 | .PHONY: install-control |
59 | .PHONY: all install clean |