Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


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