Signed-off-by: Frediano Ziglio <fzig...@redhat.com>
Acked-by: Christophe Fergeau <cferg...@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

_______________________________________________
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to