Magellan Linux

Annotation of /mcore-src/trunk/mcore-tools/src/modules/basic-input/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: 583 byte(s)
-reworked Makefiles that they really support install-common, install-client and install install-control targets
1 niro 2195 include ../../../Makefile.inc
2    
3 niro 2509 SCRIPTS = input.client.class input.control.class
4 niro 2195
5     all: $(SCRIPTS)
6    
7 niro 2724 install: install-common install-client install-control all
8 niro 2509
9 niro 2724 install-common: all
10    
11 niro 2509 install-client: all
12 niro 2195 $(INSTALL) -d $(DESTDIR)/$(MCORE_LIBDIR)/include
13 niro 2509 $(INSTALL) -m0644 *.client.class $(DESTDIR)/$(MCORE_LIBDIR)/include
14 niro 2195
15 niro 2509 install-control: all
16     $(INSTALL) -d $(DESTDIR)/$(MCORE_LIBDIR)/include
17     $(INSTALL) -m0644 *.control.class $(DESTDIR)/$(MCORE_LIBDIR)/include
18    
19 niro 2195 clean:
20     rm -f $(SCRIPTS)
21    
22 niro 2724 .PHONY: install-common
23 niro 2509 .PHONY: install-client
24     .PHONY: install-control
25 niro 2195 .PHONY: all install clean