Annotation of /mcore-src/trunk/mcore-tools/src/modules/Makefile
Parent Directory | Revision Log
Revision 2650 -
(hide annotations)
(download)
Tue Nov 10 14:46:13 2015 UTC (8 years, 6 months ago) by niro
File size: 684 byte(s)
Tue Nov 10 14:46:13 2015 UTC (8 years, 6 months ago) by niro
File size: 684 byte(s)
-added basic kernel modules support
1 | niro | 2211 | include ../../Makefile.inc |
2 | |||
3 | niro | 2650 | SUBDIRS = basic-input basic-kernel basic-system basic-version basic-video \ |
4 | citrix fluxbox grub2 hwinfo idesk lprng mage network tigervnc | ||
5 | niro | 2211 | |
6 | ifeq ($(SYSTEMINIT),systemd) | ||
7 | SUBDIRS += systemd | ||
8 | else | ||
9 | SUBDIRS += sysvinit | ||
10 | endif | ||
11 | |||
12 | ifeq ($(SPLASH),plymouth) | ||
13 | SUBDIRS += plymouth | ||
14 | else | ||
15 | SUBDIRS += fbsplash | ||
16 | endif | ||
17 | |||
18 | INSTALLDIRS = $(SUBDIRS:%=install-%) | ||
19 | CLEANDIRS = $(SUBDIRS:%=clean-%) | ||
20 | |||
21 | niro | 2233 | all: $(SUBDIRS) |
22 | |||
23 | install: $(INSTALLDIRS) | ||
24 | |||
25 | clean: $(CLEANDIRS) | ||
26 | |||
27 | niro | 2211 | $(SUBDIRS): |
28 | $(MAKE) -C $@ | ||
29 | |||
30 | $(INSTALLDIRS): | ||
31 | $(MAKE) -C $(@:install-%=%) install | ||
32 | |||
33 | $(CLEANDIRS): | ||
34 | $(MAKE) -C $(@:clean-%=%) clean | ||
35 | |||
36 | |||
37 | niro | 2233 | .PHONY: $(SUBDIRS) |
38 | .PHONY: $(INSTALLDIRS) | ||
39 | .PHONY: $(CLEANDIRS) | ||
40 | niro | 2211 | .PHONY: all install clean |