Generate demarshallers in client

This commit is contained in:
Alexander Larsson 2010-05-26 13:59:51 +02:00
parent b228d18d5c
commit 17bbef4df3
2 changed files with 12 additions and 2 deletions

View File

@ -1,8 +1,13 @@
NULL =
SUBDIRS = $(red_target)
SUBDIRS = . $(red_target)
DIST_SUBDIRS = x11 #windows
spice_built_sources = generated_demarshallers.cpp
generated_demarshallers.cpp: $(top_srcdir)/spice.proto
$(PYTHON) $(top_srcdir)/spice_codegen.py --generate-demarshallers --client --include common.h $(top_srcdir)/spice.proto generated_demarshallers.cpp
RED_COMMON_SRCS = \
application.cpp \
application.h \
@ -90,4 +95,8 @@ RED_COMMON_SRCS = \
utils.h \
$(NULL)
EXTRA_DIST = $(RED_COMMON_SRCS)
MAINTAINERCLEANFILES = $(spice_built_sources)
EXTRA_DIST = $(RED_COMMON_SRCS) $(spice_built_sources)
BUILT_SOURCES = $(spice_built_sources)

View File

@ -25,6 +25,7 @@ AC_CANONICAL_HOST
AC_PROG_LIBTOOL
AM_PROG_CC_C_O
AC_C_BIGENDIAN
AC_PATH_PROGS(PYTHON, python2 python)
SPICE_LT_VERSION=m4_format("%d:%d:%d", 1, 0, 0)
AC_SUBST(SPICE_LT_VERSION)