mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-common
synced 2026-08-24 14:31:55 +00:00
spice-protocol/spice/enums.h: rebuild from spice.proto
This file was hand generated until now, resulting in the wierd situation where it is different for spice-gtk and spice-server even though they both use the same spice-common and spice-protocol (or at least close) versions. This patch generates the enums.h files from spice-common. While that file is actually in the spice-protocol submodule, it cannot be generated from spice-protocol since it lacks access to spice.proto and spice_codegen.py. So in affect whenvever it will differ the spice-protocol module will become dirty and hence hopefully commited with the new enums.h. enums.h is generated from spice.proto is a superset of that generated from spice1.proto.
This commit is contained in:
parent
2449260c81
commit
b49c4794ee
@ -14,7 +14,7 @@ SERVER_MARSHALLERS = \
|
||||
$(srcdir)/generated_server_marshallers.h \
|
||||
$(NULL)
|
||||
|
||||
BUILT_SOURCES = $(CLIENT_MARSHALLERS) $(SERVER_MARSHALLERS)
|
||||
BUILT_SOURCES = $(CLIENT_MARSHALLERS) $(SERVER_MARSHALLERS) $(top_srcdir)/spice-protocol/spice/enums.h
|
||||
|
||||
noinst_LTLIBRARIES = libspice-common.la libspice-common-server.la libspice-common-client.la
|
||||
libspice_common_la_SOURCES = \
|
||||
@ -122,6 +122,9 @@ generated_server_marshallers.c: $(top_srcdir)/spice.proto $(MARSHALLERS_DEPS)
|
||||
generated_server_marshallers.h: $(top_srcdir)/spice.proto $(MARSHALLERS_DEPS)
|
||||
$(AM_V_GEN)$(PYTHON) $(top_srcdir)/spice_codegen.py --generate-marshallers $(STRUCTS) --server --include messages.h -H $< $@ >/dev/null
|
||||
|
||||
$(top_srcdir)/spice-protocol/spice/enums.h: $(top_srcdir)/spice.proto $(MARSHALLERS_DEPS)
|
||||
$(AM_V_GEN)$(PYTHON) $(top_srcdir)/spice_codegen.py --generate-enums $< $@ >/dev/null
|
||||
|
||||
EXTRA_DIST = \
|
||||
$(CLIENT_MARSHALLERS) \
|
||||
$(SERVER_MARSHALLERS) \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user