Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2272 - (show annotations) (download)
Tue Jan 14 13:20:35 2014 UTC (10 years, 3 months ago) by niro
File size: 1055 byte(s)
-split citrix.client.class.in to single programs named citrix-serverlist, citrix-session and query-citrix-browser to make things more modular and simpler
1 include ../../../Makefile.inc
2
3 SCRIPTS = citrix.client.class citrix.conf query-citrix-browser citrix-session citrix-serverlist
4
5 PNABROWSE_EXECUTABLE = /opt/ica-client/util/pnabrowse
6 PNABROWSE_CITRIX_BROWSER = ica
7 PNABROWSE_SERVER_EXCLUDE =
8 PNABROWSE_SESSION_EXCLUDE =
9
10 SCRIPT_SED_LINES += \
11 -e "s:@@PNABROWSE_EXECUTABLE@@:$(PNABROWSE_EXECUTABLE):g" \
12 -e "s:@@PNABROWSE_CITRIX_BROWSER@@:$(PNABROWSE_CITRIX_BROWSER):g" \
13 -e "s:@@PNABROWSE_SERVER_EXCLUDE@@:$(PNABROWSE_SERVER_EXCLUDE):g" \
14 -e "s:@@PNABROWSE_SESSION_EXCLUDE@@:$(PNABROWSE_SESSION_EXCLUDE):g"
15
16 all: $(SCRIPTS)
17
18 install: all
19 $(INSTALL) -d $(DESTDIR)/$(SYSCONFDIR)/mcore
20 $(INSTALL) -m0644 citrix.conf $(DESTDIR)/$(SYSCONFDIR)/mcore
21 $(INSTALL) -d $(DESTDIR)/$(MCORE_LIBDIR)/include
22 $(INSTALL) -m0644 *.class $(DESTDIR)/$(MCORE_LIBDIR)/include
23 $(INSTALL) -m0755 query-citrix-browser $(DESTDIR)/$(MCORE_LIBDIR)
24 $(INSTALL) -m0755 citrix-session $(DESTDIR)/$(MCORE_LIBDIR)
25 $(INSTALL) -m0755 citrix-serverlist $(DESTDIR)/$(MCORE_LIBDIR)
26
27 clean:
28 rm -f $(SCRIPTS)
29
30 .PHONY: all install clean