include ../../../Makefile.inc SCRIPTS = citrix.client.class citrix.conf query-citrix-browser citrix-session citrix-serverlist storefront-resolver SYSTEM_ICAROOT = /opt/ica-client PNABROWSE_EXECUTABLE = $(SYSTEM_ICAROOT)/util/pnabrowse PNABROWSE_CITRIX_BROWSER = ica PNABROWSE_SERVER_EXCLUDE = PNABROWSE_SESSION_EXCLUDE = STOREBROWSE_EXECUTABLE = $(SYSTEM_ICAROOT)/util/storebrowse STOREFRONT_STORE = https://storefront SCRIPT_SED_LINES += \ -e "s:@@SYSTEM_ICAROOT@@:$(SYSTEM_ICAROOT):g" \ -e "s:@@PNABROWSE_EXECUTABLE@@:$(PNABROWSE_EXECUTABLE):g" \ -e "s:@@PNABROWSE_CITRIX_BROWSER@@:$(PNABROWSE_CITRIX_BROWSER):g" \ -e "s:@@PNABROWSE_SERVER_EXCLUDE@@:$(PNABROWSE_SERVER_EXCLUDE):g" \ -e "s:@@PNABROWSE_SESSION_EXCLUDE@@:$(PNABROWSE_SESSION_EXCLUDE):g" \ -e "s:@@STOREBROWSE_EXECUTABLE@@:$(STOREBROWSE_EXECUTABLE):g" \ -e "s,@@STOREFRONT_STORE@@,$(STOREFRONT_STORE),g" all: $(SCRIPTS) install: all $(INSTALL) -d $(DESTDIR)/$(SYSCONFDIR)/mcore $(INSTALL) -m0644 citrix.conf $(DESTDIR)/$(SYSCONFDIR)/mcore $(INSTALL) -d $(DESTDIR)/$(MCORE_LIBDIR)/include $(INSTALL) -m0644 *.class $(DESTDIR)/$(MCORE_LIBDIR)/include $(INSTALL) -m0755 query-citrix-browser $(DESTDIR)/$(MCORE_LIBDIR) $(INSTALL) -m0755 citrix-session $(DESTDIR)/$(MCORE_LIBDIR) $(INSTALL) -m0755 citrix-serverlist $(DESTDIR)/$(MCORE_LIBDIR) $(INSTALL) -m0755 storefront-resolver $(DESTDIR)/$(MCORE_LIBDIR) clean: rm -f $(SCRIPTS) .PHONY: all install clean