Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2720 - (hide annotations) (download)
Fri Dec 18 14:13:48 2015 UTC (8 years, 5 months ago) by niro
File size: 706 byte(s)
-make the helpdesk information configurable via the global database
1 niro 2211 include ../../Makefile.inc
2    
3 niro 2650 SUBDIRS = basic-input basic-kernel basic-system basic-version basic-video \
4 niro 2720 citrix fluxbox grub2 hwinfo idesk lprng mage network tigervnc \
5     pxeconfig helpdesk
6 niro 2211
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     INSTALLDIRS = $(SUBDIRS:%=install-%)
20     CLEANDIRS = $(SUBDIRS:%=clean-%)
21    
22 niro 2233 all: $(SUBDIRS)
23    
24     install: $(INSTALLDIRS)
25    
26     clean: $(CLEANDIRS)
27    
28 niro 2211 $(SUBDIRS):
29     $(MAKE) -C $@
30    
31     $(INSTALLDIRS):
32     $(MAKE) -C $(@:install-%=%) install
33    
34     $(CLEANDIRS):
35     $(MAKE) -C $(@:clean-%=%) clean
36    
37    
38 niro 2233 .PHONY: $(SUBDIRS)
39     .PHONY: $(INSTALLDIRS)
40     .PHONY: $(CLEANDIRS)
41 niro 2211 .PHONY: all install clean