[Spice-devel] [PATCH 1/1] protocol: make-only build system
Christophe de Dinechin
christophe at dinechin.org
Thu Sep 27 15:18:07 UTC 2018
From: Christophe de Dinechin <dinechin at redhat.com>
This is the protocol part of a make-only build system that
can normally coexist with the existing two build systems.
The primary benefit of the proposed approach is top-level build,
i.e. a way to make it easier to build all of SPICE with correct
dependency tracking when you make local changes in protocol or
common. Last time I checked, it was also faster and easier to
maintain than the current alternatives
Signed-off-by: Christophe de Dinechin <dinechin at redhat.com>
---
Makefile | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
create mode 100644 Makefile
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..f186f4a
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,37 @@
+MIQ=make-it-quick/
+
+SPICE_HEADERS= \
+ barrier.h \
+ controller_prot.h \
+ end-packed.h \
+ enums.h \
+ error_codes.h \
+ foreign_menu_prot.h \
+ ipc_ring.h \
+ macros.h \
+ protocol.h \
+ qxl_dev.h \
+ qxl_windows.h \
+ stream-device.h \
+ start-packed.h \
+ stats.h \
+ types.h \
+ vd_agent.h \
+ vdi_dev.h
+
+PACKAGE_NAME=spice-protocol
+PACKAGE_VERSION=0.12.14
+PACKAGE_DESCRIPTION=SPICE protocol
+PACKAGE_URL=https://spice-space.org
+PACKAGE_REQUIRES=
+PACKAGE_BUGS=spice-devel at lists.freedesktop.org
+PACKAGE_PREFIX_HDR=$(PREFIX)include/spice-1/
+
+
+HDR_INSTALL=$(SPICE_HEADERS:%=spice/%)
+PREFIX_HDR=$(PREFIX)include/spice-1/spice/
+
+include $(MIQ)rules.mk
+
+$(MIQ)rules.mk:
+ git clone https://github.com/c3d/make-it-quick
--
2.13.5 (Apple Git-94)
More information about the Spice-devel
mailing list