From: Christophe de Dinechin <[email protected]>

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 <[email protected]>
---
 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=
[email protected]
+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)

_______________________________________________
Spice-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to