[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [RFC 4/6] Makefile: install qemu-api.h as include/qemu-plug
From: |
Emilio G. Cota |
Subject: |
[Qemu-devel] [RFC 4/6] Makefile: install qemu-api.h as include/qemu-plugin.h |
Date: |
Wed, 6 Sep 2017 16:28:46 -0400 |
Signed-off-by: Emilio G. Cota <address@hidden>
---
Makefile | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index ef72148..326867e 100644
--- a/Makefile
+++ b/Makefile
@@ -602,8 +602,10 @@ ifneq (,$(findstring qemu-ga,$(TOOLS)))
endif
endif
+install-includedir:
+ $(INSTALL_DIR) "$(DESTDIR)$(includedir)"
-install: all $(if $(BUILD_DOCS),install-doc) install-datadir
install-localstatedir
+install: all $(if $(BUILD_DOCS),install-doc) install-datadir
install-localstatedir install-includedir
ifneq ($(TOOLS),)
$(call install-prog,$(subst
qemu-ga,qemu-ga$(EXESUF),$(TOOLS)),$(DESTDIR)$(bindir))
endif
@@ -626,6 +628,9 @@ endif
ifeq ($(CONFIG_GTK),y)
$(MAKE) -C po $@
endif
+ifeq ($(CONFIG_PLUGINS),y)
+ $(INSTALL_DATA) $(SRC_PATH)/include/qemu/plugin-api.h
"$(DESTDIR)$(includedir)/qemu-plugin.h"
+endif
$(INSTALL_DIR) "$(DESTDIR)$(qemu_datadir)/keymaps"
set -e; for x in $(KEYMAPS); do \
$(INSTALL_DATA) $(SRC_PATH)/pc-bios/keymaps/$$x
"$(DESTDIR)$(qemu_datadir)/keymaps"; \
--
2.7.4
- [Qemu-devel] [RFC 0/6] initial plugin support, Emilio G. Cota, 2017/09/06
- [Qemu-devel] [RFC 6/6] linux-user: support -plugin option, Emilio G. Cota, 2017/09/06
- [Qemu-devel] [RFC 3/6] configure: add --enable-plugins, Emilio G. Cota, 2017/09/06
- [Qemu-devel] [RFC 4/6] Makefile: install qemu-api.h as include/qemu-plugin.h,
Emilio G. Cota <=
- [Qemu-devel] [RFC 5/6] vl: support -plugin option, Emilio G. Cota, 2017/09/06
- [Qemu-devel] [RFC 1/6] tcg: keep a pointer to the current TB in TCGContext, Emilio G. Cota, 2017/09/06
- [Qemu-devel] [RFC 2/6] plugin: add initial plugin support, Emilio G. Cota, 2017/09/06
- Re: [Qemu-devel] [RFC 0/6] initial plugin support, Peter Maydell, 2017/09/14
- Re: [Qemu-devel] [RFC 0/6] initial plugin support, Stefan Hajnoczi, 2017/09/18