Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

138 lines (131 sloc) 6.651 kB
SITE_DIR=$(shell python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")
.PHONY: noarch-install install sdk-install
.SUBDIRS: examples host-backup-restore poweron templates
noarch-install:
echo removed
install:
mkdir -p $(DESTDIR)$(BINDIR)
mkdir -p $(DESTDIR)$(VARPATCHDIR)
mkdir -p $(DESTDIR)$(VARPATCHDIR)/applied
mkdir -p $(DESTDIR)$(HOOKSDIR)
mkdir -p $(DESTDIR)$(ETCDIR)
mkdir -p $(DESTDIR)/etc/logrotate.d
mkdir -p $(DESTDIR)$(ETCDIR)/master.d
mkdir -p $(DESTDIR)$(LIBEXECDIR)
mkdir -p $(DESTDIR)/var/lib/xcp
mkdir -p $(DESTDIR)/usr/lib/systemd/system
$(IPROG) base-path $(DESTDIR)/etc/xapi.d
$(IPROG) sm_diagnostics $(DESTDIR)$(LIBEXECDIR)
$(IPROG) xn_diagnostics $(DESTDIR)$(LIBEXECDIR)
$(IPROG) thread_diagnostics $(DESTDIR)$(LIBEXECDIR)
$(IPROG) list_plugins $(DESTDIR)$(LIBEXECDIR)
mkdir -p $(DESTDIR)$(ETCDIR)/bugtool/xapi
mkdir -p $(DESTDIR)$(ETCDIR)/bugtool/xenopsd
$(IDATA) bugtool-plugin/xapi.xml $(DESTDIR)$(ETCDIR)/bugtool
$(IDATA) bugtool-plugin/xapi/stuff.xml $(DESTDIR)$(ETCDIR)/bugtool/xapi
$(IDATA) bugtool-plugin/xenopsd.xml $(DESTDIR)$(ETCDIR)/bugtool
$(IDATA) bugtool-plugin/xenopsd/stuff.xml $(DESTDIR)$(ETCDIR)/bugtool/xenopsd
$(IPROG) fence $(DESTDIR)$(LIBEXECDIR)
$(IPROG) xha-lc $(DESTDIR)$(LIBEXECDIR)
$(IPROG) xapi-health-check $(DESTDIR)$(LIBEXECDIR)
$(IPROG) license-check.py $(DESTDIR)$(LIBEXECDIR)
$(IPROG) mail-alarm $(DESTDIR)$(LIBEXECDIR)
$(IPROG) audit-logrotate $(DESTDIR)/etc/logrotate.d/audit
$(IPROG) xapi-logrotate $(DESTDIR)/etc/logrotate.d/xapi
$(IPROG) xapi-wait-init-complete $(DESTDIR)$(BINDIR)
$(IPROG) xapi-autostart-vms $(DESTDIR)$(BINDIR)
$(IPROG) udhcpd.skel $(DESTDIR)$(ETCDIR)/udhcpd.skel
$(IDATA) xapi.conf $(DESTDIR)$(XAPICONF)
$(IPROG) db.conf.skel $(DESTDIR)$(ETCDIR)/db.conf
$(IPROG) rio.db.conf.skel $(DESTDIR)$(ETCDIR)/db.conf.rio
mkdir -p $(DESTDIR)/etc/init.d
mkdir -p $(DESTDIR)/etc/rc.d/init.d
$(IPROG) init.d-xapi $(DESTDIR)/etc/rc.d/init.d/xapi
$(IPROG) init.d-xapissl $(DESTDIR)$(LIBEXECDIR)/xapissl
$(IPROG) init.d-xapi-domains $(DESTDIR)/etc/rc.d/init.d/xapi-domains
$(IPROG) init.d-management-interface $(DESTDIR)/etc/rc.d/init.d/management-interface
$(IPROG) init.d-genptoken $(DESTDIR)/etc/rc.d/init.d/genptoken
$(IPROG) init.d-save-boot-info $(DESTDIR)/etc/rc.d/init.d/save-boot-info
$(IPROG) init.d-attach-static-vdis $(DESTDIR)/etc/rc.d/init.d/attach-static-vdis
$(IPROG) init.d-v6d $(DESTDIR)/etc/rc.d/init.d/v6d
$(IPROG) cdrommon@.service $(DESTDIR)/usr/lib/systemd/system/cdrommon@.service
$(IDATA) v6d-logrotate $(DESTDIR)/etc/logrotate.d/v6d
mkdir -p $(DESTDIR)$(ETCDIR)/master.d
$(IPROG) on-master-start $(DESTDIR)$(ETCDIR)/master.d/01-example
$(IPROG) mpathalert-daemon $(DESTDIR)$(ETCDIR)/master.d/03-mpathalert-daemon
mkdir -p $(DESTDIR)/etc/sysconfig
$(IPROG) sysconfig-xapi $(DESTDIR)/etc/sysconfig/xapi
$(IPROG) generate_ssl_cert $(DESTDIR)$(LIBEXECDIR)
$(IPROG) fix_firewall.sh $(DESTDIR)$(BINDIR)
mkdir -p $(DESTDIR)$(OPTDIR)/debug
$(IPROG) debug_ha_query_liveset $(DESTDIR)$(OPTDIR)/debug
$(IPROG) xe-scsi-dev-map $(DESTDIR)$(BINDIR)
$(IPROG) xe-mount-iso-sr $(DESTDIR)$(BINDIR)
$(IPROG) xe-reset-networking $(DESTDIR)$(BINDIR)
$(IPROG) xe-set-iscsi-iqn $(DESTDIR)$(BINDIR)
$(IPROG) xe-toolstack-restart $(DESTDIR)$(BINDIR)
$(IPROG) xe-xentrace $(DESTDIR)$(BINDIR)
$(IPROG) xe-edit-bootloader $(DESTDIR)$(BINDIR)
$(IPROG) xe-get-network-backend $(DESTDIR)$(BINDIR)
$(IPROG) xe-enable-all-plugin-metrics $(DESTDIR)$(BINDIR)
$(IPROG) static-vdis $(DESTDIR)$(BINDIR)
$(IPROG) with-vdi $(DESTDIR)$(OPTDIR)/debug
$(IPROG) pool.conf $(DESTDIR)$(ETCDIR)
mkdir -p $(DESTDIR)/etc/pam.d
$(IPROG) pam.d-xapi $(DESTDIR)/etc/pam.d/xapi
$(IPROG) upload-wrapper logs-download $(DESTDIR)$(LIBEXECDIR)
mkdir -p $(DESTDIR)$(OPTDIR)/packages/iso #omg XXX
$(IPROG) interface-reconfigure $(DESTDIR)$(LIBEXECDIR)
$(IPROG) InterfaceReconfigure.py $(DESTDIR)$(LIBEXECDIR)
$(IPROG) InterfaceReconfigureBridge.py $(DESTDIR)$(LIBEXECDIR)
$(IPROG) InterfaceReconfigureVswitch.py $(DESTDIR)$(LIBEXECDIR)
$(IPROG) interface-visualise $(DESTDIR)$(LIBEXECDIR)
$(IPROG) xapi-rolling-upgrade-miami $(DESTDIR)$(LIBEXECDIR)/xapi-rolling-upgrade
$(IPROG) set-hostname $(DESTDIR)$(LIBEXECDIR)
$(IPROG) update-mh-info $(DESTDIR)$(LIBEXECDIR)
$(IPROG) host-bugreport-upload $(DESTDIR)$(LIBEXECDIR)/host-bugreport-upload
$(IPROG) host-display $(DESTDIR)$(LIBEXECDIR)
$(IPROG) xe-backup-metadata $(DESTDIR)$(BINDIR)
$(IPROG) xe-restore-metadata $(DESTDIR)$(BINDIR)
$(IPROG) link-vms-by-sr.py $(DESTDIR)$(LIBEXECDIR)
$(IPROG) print-custom-templates $(DESTDIR)$(LIBEXECDIR)
$(IPROG) backup-sr-metadata.py $(DESTDIR)$(LIBEXECDIR)
$(IPROG) restore-sr-metadata.py $(DESTDIR)$(LIBEXECDIR)
$(IPROG) probe-device-for-file $(DESTDIR)$(LIBEXECDIR)
$(IPROG) backup-metadata-cron $(DESTDIR)$(LIBEXECDIR)
$(IPROG) pbis-force-domain-leave $(DESTDIR)$(LIBEXECDIR)
$(IPROG) init.d-perfmon $(DESTDIR)/etc/rc.d/init.d/perfmon
mkdir -p $(DESTDIR)/etc/sysconfig
$(IPROG) sysconfig-perfmon $(DESTDIR)/etc/sysconfig/perfmon
$(IPROG) perfmon $(DESTDIR)$(BINDIR)
mkdir -p $(DESTDIR)$(PLUGINDIR)
$(IPROG) plugins/perfmon $(DESTDIR)$(PLUGINDIR)
$(IPROG) plugins/extauth-hook $(DESTDIR)$(PLUGINDIR)
$(IPROG) plugins/extauth-hook-AD.py $(DESTDIR)$(PLUGINDIR)
$(IPROG) plugins/iovirt $(DESTDIR)$(PLUGINDIR)
$(IPROG) plugins/install-supp-pack $(DESTDIR)$(PLUGINDIR)
$(IPROG) plugins/disk-space $(DESTDIR)$(PLUGINDIR)
mkdir -p $(DESTDIR)$(HOOKSDIR)/host-post-declare-dead
$(IPROG) 10resetvdis $(DESTDIR)$(HOOKSDIR)/host-post-declare-dead
mkdir -p $(DESTDIR)/etc/bash_completion.d
$(IPROG) xe-switch-network-backend-bash-completion $(DESTDIR)/etc/bash_completion.d/xe-switch-network-backend
$(IPROG) xe-switch-network-backend $(DESTDIR)$(BINDIR)
$(IPROG) xe-syslog-reconfigure $(DESTDIR)$(LIBEXECDIR)
$(IPROG) xe-install-supplemental-pack $(DESTDIR)$(BINDIR)
$(IPROG) xe-enable-ipv6 $(DESTDIR)$(BINDIR)
$(IPROG) hfx_filename $(DESTDIR)$(BINDIR)
$(IPROG) pv2hvm $(DESTDIR)$(BINDIR)
mkdir -p $(DESTDIR)/etc/cron.daily
$(IDATA) license-check $(DESTDIR)/etc/cron.daily/
mkdir -p $(DESTDIR)/opt/xensource/gpg
$(IDATA) gpg/secring.gpg $(DESTDIR)/opt/xensource/gpg/
$(IDATA) gpg/pubring.gpg $(DESTDIR)/opt/xensource/gpg/
$(IDATA) gpg/trustdb.gpg $(DESTDIR)/opt/xensource/gpg/
sdk-install: install
mkdir -p $(SDK)
cp motd $(SDK)/motd
$(IPROG) init.d-sdkinit $(DESTDIR)/etc/rc.d/init.d/sdkinit
mkdir -p $(DESTDIR)$(SITE_DIR)/xen/lowlevel
touch $(DESTDIR)$(SITE_DIR)/xen/__init__.py
touch $(DESTDIR)$(SITE_DIR)/xen/lowlevel/__init__.py
cp xc.py $(DESTDIR)$(SITE_DIR)/xen/lowlevel
Jump to Line
Something went wrong with that request. Please try again.