[Spice-devel] [PATCH spice-server v2 4/8] Add reds_stat to compiled software

Frediano Ziglio fziglio at redhat.com
Fri Oct 14 13:01:09 UTC 2016


Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
Acked-by: Christophe Fergeau <cfergeau at redhat.com>
---
 Makefile.am       |  2 +-
 configure.ac      |  1 +
 tools/Makefile.am | 19 +++++++++++++++++++
 3 files changed, 21 insertions(+), 1 deletion(-)
 create mode 100644 tools/Makefile.am

diff --git a/Makefile.am b/Makefile.am
index 7eb0f28..5272d5a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,7 +1,7 @@
 NULL =
 ACLOCAL_AMFLAGS = -I m4
 
-SUBDIRS = spice-common server docs
+SUBDIRS = spice-common server docs tools
 
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = spice-server.pc
diff --git a/configure.ac b/configure.ac
index 483f18b..68aed15 100644
--- a/configure.ac
+++ b/configure.ac
@@ -272,6 +272,7 @@ server/spice-version.h
 server/tests/Makefile
 docs/Makefile
 docs/manual/Makefile
+tools/Makefile
 ])
 
 dnl ==========================================================================
diff --git a/tools/Makefile.am b/tools/Makefile.am
new file mode 100644
index 0000000..03980c5
--- /dev/null
+++ b/tools/Makefile.am
@@ -0,0 +1,19 @@
+NULL =
+
+AM_CPPFLAGS = \
+	$(COMMON_CFLAGS) \
+	$(SPICE_PROTOCOL_CFLAGS) \
+	$(WARN_CFLAGS) \
+	$(NULL)
+
+AM_LDFLAGS = \
+	$(LIBRT) \
+	$(NULL)
+
+noinst_PROGRAMS = \
+	reds_stat \
+	$(NULL)
+
+reds_stat_SOURCES = \
+	reds_stat.c \
+	$(NULL)
-- 
2.7.4



More information about the Spice-devel mailing list