Contents of /mcore-src/trunk/mcore-tools/src/modules/Makefile
Parent Directory | Revision Log
Revision 2676 -
(show annotations)
(download)
Fri Dec 11 09:25:55 2015 UTC (8 years, 6 months ago) by niro
File size: 694 byte(s)
Fri Dec 11 09:25:55 2015 UTC (8 years, 6 months ago) by niro
File size: 694 byte(s)
-added pxeconfig 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 pxeconfig |
5 | |
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 | all: $(SUBDIRS) |
22 | |
23 | install: $(INSTALLDIRS) |
24 | |
25 | clean: $(CLEANDIRS) |
26 | |
27 | $(SUBDIRS): |
28 | $(MAKE) -C $@ |
29 | |
30 | $(INSTALLDIRS): |
31 | $(MAKE) -C $(@:install-%=%) install |
32 | |
33 | $(CLEANDIRS): |
34 | $(MAKE) -C $(@:clean-%=%) clean |
35 | |
36 | |
37 | .PHONY: $(SUBDIRS) |
38 | .PHONY: $(INSTALLDIRS) |
39 | .PHONY: $(CLEANDIRS) |
40 | .PHONY: all install clean |