Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2724 - (hide annotations) (download)
Mon Dec 21 09:31:33 2015 UTC (8 years, 4 months ago) by niro
File size: 534 byte(s)
-reworked Makefiles that they really support install-common, install-client and install install-control targets
1 niro 2166 include ../../../Makefile.inc
2    
3 niro 2647 SCRIPTS = sysvinit.client.class mcore-system-service
4 niro 2166
5     all: $(SCRIPTS)
6    
7 niro 2724 install: install-common install-client install-control all
8    
9     install-common: all
10    
11     install-client: all
12 niro 2166 $(INSTALL) -d $(DESTDIR)/$(MCORE_LIBDIR)/include
13 niro 2724 $(INSTALL) -m0644 *.client.class $(DESTDIR)/$(MCORE_LIBDIR)/include
14 niro 2647 $(INSTALL) -m0755 mcore-system-service $(DESTDIR)/$(MCORE_LIBDIR)
15 niro 2166
16 niro 2724 install-control: all
17    
18 niro 2166 clean:
19     rm -f $(SCRIPTS)
20    
21 niro 2724 .PHONY: install-common
22     .PHONY: install-client
23     .PHONY: install-control
24 niro 2166 .PHONY: all install clean