Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2519 - (show annotations) (download)
Mon Sep 14 12:12:48 2015 UTC (8 years, 7 months ago) by niro
File size: 2091 byte(s)
-import session to mysql database
1 include ../../../Makefile.inc
2
3 SCRIPTS = citrix.client.class citrix.control.class citrix.conf query-citrix-browser citrix-session citrix-serverlist storefront-resolver storefront-session storefront.client.class storefront.control.class storefront-cron
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 DEFAULT_STOREFRONT_STORE = https://storefront
12 STOREFRONT_ADDSTORE_REQUIRED = 1
13 STOREFRONT_SUBSCRIBE_APP = 1
14
15 SCRIPT_SED_LINES += \
16 -e "s:@@SYSTEM_ICAROOT@@:$(SYSTEM_ICAROOT):g" \
17 -e "s:@@PNABROWSE_EXECUTABLE@@:$(PNABROWSE_EXECUTABLE):g" \
18 -e "s:@@PNABROWSE_CITRIX_BROWSER@@:$(PNABROWSE_CITRIX_BROWSER):g" \
19 -e "s:@@PNABROWSE_SERVER_EXCLUDE@@:$(PNABROWSE_SERVER_EXCLUDE):g" \
20 -e "s:@@PNABROWSE_SESSION_EXCLUDE@@:$(PNABROWSE_SESSION_EXCLUDE):g" \
21 -e "s:@@STOREBROWSE_EXECUTABLE@@:$(STOREBROWSE_EXECUTABLE):g" \
22 -e "s,@@DEFAULT_STOREFRONT_STORE@@,$(DEFAULT_STOREFRONT_STORE),g" \
23 -e "s,@@STOREFRONT_ADDSTORE_REQUIRED@@,$(STOREFRONT_ADDSTORE_REQUIRED),g" \
24 -e "s,@@STOREFRONT_SUBSCRIBE_APP@@,$(STOREFRONT_SUBSCRIBE_APP),g"
25
26 all: $(SCRIPTS)
27
28 install: install-client install-control all
29
30 install-client: all
31 $(INSTALL) -d $(DESTDIR)/$(SYSCONFDIR)/mcore
32 $(INSTALL) -m0644 citrix.conf $(DESTDIR)/$(SYSCONFDIR)/mcore
33 $(INSTALL) -d $(DESTDIR)/$(MCORE_LIBDIR)/include
34 $(INSTALL) -m0644 *.client.class $(DESTDIR)/$(MCORE_LIBDIR)/include
35 $(INSTALL) -m0755 query-citrix-browser $(DESTDIR)/$(MCORE_LIBDIR)
36 $(INSTALL) -m0755 citrix-session $(DESTDIR)/$(MCORE_LIBDIR)
37 $(INSTALL) -m0755 citrix-serverlist $(DESTDIR)/$(MCORE_LIBDIR)
38 $(INSTALL) -m0755 storefront-resolver $(DESTDIR)/$(MCORE_LIBDIR)
39 $(INSTALL) -m0755 storefront-session $(DESTDIR)/$(MCORE_LIBDIR)
40
41 install-control: all
42 $(INSTALL) -d $(DESTDIR)/$(MCORE_LIBDIR)/include
43 $(INSTALL) -m0644 *.control.class $(DESTDIR)/$(MCORE_LIBDIR)/include
44
45 clean:
46 rm -f $(SCRIPTS)
47
48 .PHONY: install-client
49 .PHONY: install-control
50 .PHONY: all install clean