Magellan Linux

Contents of /mcore-src/trunk/mcore-tools/src/modules/helpdesk/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2722 - (show annotations) (download)
Fri Dec 18 14:39:35 2015 UTC (8 years, 4 months ago) by niro
File size: 729 byte(s)
-added mcore-helpdesk-{unit,phone} helper scripts
1 include ../../../Makefile.inc
2
3 SCRIPTS = helpdesk.client.class helpdesk.control.class mcore-helpdesk-unit mcore-helpdesk-phone
4
5 all: $(SCRIPTS)
6
7 install: install-client install-control all
8
9 install-client: all
10 $(INSTALL) -d $(DESTDIR)/$(MCORE_LIBDIR)/include
11 $(INSTALL) -m0644 *.client.class $(DESTDIR)/$(MCORE_LIBDIR)/include
12 $(INSTALL) -d $(DESTDIR)/$(BINDIR)
13 $(INSTALL) -m0755 mcore-helpdesk-unit $(DESTDIR)/$(BINDIR)
14 $(INSTALL) -m0755 mcore-helpdesk-phone $(DESTDIR)/$(BINDIR)
15
16 install-control: all
17 $(INSTALL) -d $(DESTDIR)/$(MCORE_LIBDIR)/include
18 $(INSTALL) -m0644 *.control.class $(DESTDIR)/$(MCORE_LIBDIR)/include
19
20 clean:
21 rm -f $(SCRIPTS)
22
23 .PHONY: install-client
24 .PHONY: install-control
25 .PHONY: all install clean