| 1 |
ifeq ($(filter i386 amd64 x32 arm64,$(DEB_HOST_ARCH)),) |
| 2 |
|
| 3 |
|
| 4 |
include $(top_rulesdir)/Makefile.inc |
| 5 |
|
| 6 |
else |
| 7 |
|
| 8 |
PROGS = \ |
| 9 |
hv_kvp_daemon \ |
| 10 |
hv_vss_daemon |
| 11 |
|
| 12 |
installdir = /usr/sbin |
| 13 |
|
| 14 |
include $(top_rulesdir)/Makefile.inc |
| 15 |
|
| 16 |
install-local: install-hvkvpd-scripts |
| 17 |
|
| 18 |
install-hvkvpd-scripts: installdir = /usr/libexec/hypervkvpd |
| 19 |
install-hvkvpd-scripts: hv_get_dhcp_info.sh hv_get_dns_info.sh |
| 20 |
@for p in $^; do \ |
| 21 |
echo " install -D -m755 '$$p' '$(DESTDIR)/$(installdir)/$$(basename $$p .sh)'"; \ |
| 22 |
install -D -m755 \ |
| 23 |
"$$p" "$(DESTDIR)/$(installdir)/$$(basename $$p .sh)"; \ |
| 24 |
done |
| 25 |
|
| 26 |
endif |