linux/debian/build/tools/hv/Makefile

27 lines
538 B
Makefile

ifeq ($(filter i386 amd64 x32,$(DEB_BUILD_ARCH)),)
# Build nothing
include ../../Makefile.inc
else
PROGS = \
hv_fcopy_daemon \
hv_kvp_daemon \
hv_vss_daemon \
check-hyperv
OUTDIR = tools/hv
prefix = /usr/sbin
include ../../Makefile.inc
install-local-progs: $(PROGS)
@for p in $(filter-out check-hyperv,$^); do \
echo " install -m755 '$$p' '$(DESTDIR)/$(prefix)'"; \
install -D -m755 "$$p" "$(DESTDIR)/$(prefix)/$$(basename $$p)"; \
done
install -D -m755 check-hyperv '$(DESTDIR)/lib/hyperv-daemons/check-hyperv'
endif