Annotation of /mcore-src/trunk/mcore-tools/src/modules/citrix/Makefile
Parent Directory | Revision Log
Revision 2352 -
(hide annotations)
(download)
Mon Aug 24 11:03:25 2015 UTC (8 years, 8 months ago) by niro
File size: 1441 byte(s)
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 | niro | 2178 | include ../../../Makefile.inc |
2 | |||
3 | niro | 2352 | SCRIPTS = citrix.client.class citrix.conf query-citrix-browser citrix-session citrix-serverlist storefront-resolver |
4 | niro | 2178 | |
5 | niro | 2352 | SYSTEM_ICAROOT = /opt/ica-client |
6 | PNABROWSE_EXECUTABLE = $(SYSTEM_ICAROOT)/util/pnabrowse | ||
7 | niro | 2259 | PNABROWSE_CITRIX_BROWSER = ica |
8 | PNABROWSE_SERVER_EXCLUDE = | ||
9 | PNABROWSE_SESSION_EXCLUDE = | ||
10 | niro | 2352 | STOREBROWSE_EXECUTABLE = $(SYSTEM_ICAROOT)/util/storebrowse |
11 | STOREFRONT_STORE = https://storefront | ||
12 | niro | 2259 | |
13 | SCRIPT_SED_LINES += \ | ||
14 | niro | 2352 | -e "s:@@SYSTEM_ICAROOT@@:$(SYSTEM_ICAROOT):g" \ |
15 | niro | 2259 | -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 | niro | 2352 | -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 | niro | 2259 | |
22 | niro | 2178 | all: $(SCRIPTS) |
23 | |||
24 | install: all | ||
25 | niro | 2259 | $(INSTALL) -d $(DESTDIR)/$(SYSCONFDIR)/mcore |
26 | $(INSTALL) -m0644 citrix.conf $(DESTDIR)/$(SYSCONFDIR)/mcore | ||
27 | niro | 2178 | $(INSTALL) -d $(DESTDIR)/$(MCORE_LIBDIR)/include |
28 | $(INSTALL) -m0644 *.class $(DESTDIR)/$(MCORE_LIBDIR)/include | ||
29 | niro | 2272 | $(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 | niro | 2352 | $(INSTALL) -m0755 storefront-resolver $(DESTDIR)/$(MCORE_LIBDIR) |
33 | niro | 2178 | |
34 | clean: | ||
35 | rm -f $(SCRIPTS) | ||
36 | |||
37 | .PHONY: all install clean |