Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2352 - (show annotations) (download)
Mon Aug 24 11:03:25 2015 UTC (8 years, 8 months ago) by niro
File size: 1441 byte(s)
-added initial storefront support
1 include ../../../Makefile.inc
2
3 SCRIPTS = citrix.client.class citrix.conf query-citrix-browser citrix-session citrix-serverlist storefront-resolver
4
5 SYSTEM_ICAROOT = /opt/ica-client
6 PNABROWSE_EXECUTABLE = $(SYSTEM_ICAROOT)/util/pnabrowse
7 PNABROWSE_CITRIX_BROWSER = ica
8 PNABROWSE_SERVER_EXCLUDE =
9 PNABROWSE_SESSION_EXCLUDE =
10 STOREBROWSE_EXECUTABLE = $(SYSTEM_ICAROOT)/util/storebrowse
11 STOREFRONT_STORE = https://storefront
12
13 SCRIPT_SED_LINES += \
14 -e "s:@@SYSTEM_ICAROOT@@:$(SYSTEM_ICAROOT):g" \
15 -e "s:@@PNABROWSE_EXECUTABLE@@:$(PNABROWSE_EXECUTABLE):g" \
16 -e "s:@@PNABROWSE_CITRIX_BROWSER@@:$(PNABROWSE_CITRIX_BROWSER):g" \
17 -e "s:@@PNABROWSE_SERVER_EXCLUDE@@:$(PNABROWSE_SERVER_EXCLUDE):g" \
18 -e "s:@@PNABROWSE_SESSION_EXCLUDE@@:$(PNABROWSE_SESSION_EXCLUDE):g" \
19 -e "s:@@STOREBROWSE_EXECUTABLE@@:$(STOREBROWSE_EXECUTABLE):g" \
20 -e "s,@@STOREFRONT_STORE@@,$(STOREFRONT_STORE),g"
21
22 all: $(SCRIPTS)
23
24 install: all
25 $(INSTALL) -d $(DESTDIR)/$(SYSCONFDIR)/mcore
26 $(INSTALL) -m0644 citrix.conf $(DESTDIR)/$(SYSCONFDIR)/mcore
27 $(INSTALL) -d $(DESTDIR)/$(MCORE_LIBDIR)/include
28 $(INSTALL) -m0644 *.class $(DESTDIR)/$(MCORE_LIBDIR)/include
29 $(INSTALL) -m0755 query-citrix-browser $(DESTDIR)/$(MCORE_LIBDIR)
30 $(INSTALL) -m0755 citrix-session $(DESTDIR)/$(MCORE_LIBDIR)
31 $(INSTALL) -m0755 citrix-serverlist $(DESTDIR)/$(MCORE_LIBDIR)
32 $(INSTALL) -m0755 storefront-resolver $(DESTDIR)/$(MCORE_LIBDIR)
33
34 clean:
35 rm -f $(SCRIPTS)
36
37 .PHONY: all install clean