Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2337 - (show annotations) (download)
Mon Jul 14 07:51:58 2014 UTC (9 years, 9 months ago) by niro
File size: 1151 byte(s)
-honor PNABROWSE_ICAROOT
1 include ../../../Makefile.inc
2
3 SCRIPTS = citrix.client.class citrix.conf query-citrix-browser citrix-session citrix-serverlist
4
5 PNABROWSE_ICAROOT = /opt/ica-client
6 PNABROWSE_EXECUTABLE = $(PNABROWSE_ICAROOT)/util/pnabrowse
7 PNABROWSE_CITRIX_BROWSER = ica
8 PNABROWSE_SERVER_EXCLUDE =
9 PNABROWSE_SESSION_EXCLUDE =
10
11 SCRIPT_SED_LINES += \
12 -e "s:@@PNABROWSE_ICAROOT@@:$(PNABROWSE_ICAROOT):g" \
13 -e "s:@@PNABROWSE_EXECUTABLE@@:$(PNABROWSE_EXECUTABLE):g" \
14 -e "s:@@PNABROWSE_CITRIX_BROWSER@@:$(PNABROWSE_CITRIX_BROWSER):g" \
15 -e "s:@@PNABROWSE_SERVER_EXCLUDE@@:$(PNABROWSE_SERVER_EXCLUDE):g" \
16 -e "s:@@PNABROWSE_SESSION_EXCLUDE@@:$(PNABROWSE_SESSION_EXCLUDE):g"
17
18 all: $(SCRIPTS)
19
20 install: all
21 $(INSTALL) -d $(DESTDIR)/$(SYSCONFDIR)/mcore
22 $(INSTALL) -m0644 citrix.conf $(DESTDIR)/$(SYSCONFDIR)/mcore
23 $(INSTALL) -d $(DESTDIR)/$(MCORE_LIBDIR)/include
24 $(INSTALL) -m0644 *.class $(DESTDIR)/$(MCORE_LIBDIR)/include
25 $(INSTALL) -m0755 query-citrix-browser $(DESTDIR)/$(MCORE_LIBDIR)
26 $(INSTALL) -m0755 citrix-session $(DESTDIR)/$(MCORE_LIBDIR)
27 $(INSTALL) -m0755 citrix-serverlist $(DESTDIR)/$(MCORE_LIBDIR)
28
29 clean:
30 rm -f $(SCRIPTS)
31
32 .PHONY: all install clean