From 17bbef4df334bd8d98d3960143f229d753b4b0a3 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Wed, 26 May 2010 13:59:51 +0200 Subject: Generate demarshallers in client --- client/Makefile.am | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'client/Makefile.am') diff --git a/client/Makefile.am b/client/Makefile.am index 55bc0f82..ab80bfbd 100644 --- a/client/Makefile.am +++ b/client/Makefile.am @@ -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) -- cgit