Magellan Linux

Annotation of /mcore-src/trunk/mcore-tools/src/modules/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2505 - (hide annotations) (download)
Fri Sep 11 09:53:05 2015 UTC (8 years, 8 months ago) by niro
File size: 671 byte(s)
-install basic-version
1 niro 2211 include ../../Makefile.inc
2    
3 niro 2505 SUBDIRS = basic-input basic-system basic-version basic-video citrix fluxbox grub2 \
4 niro 2211 hwinfo idesk lprng mage network tigervnc
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 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