Re: [PATCH 13/18] Add reds_stat to compiled software

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Sep 26, 2016 at 09:12:46AM +0100, Frediano Ziglio wrote:
> Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx>
> ---
>  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 f8284f6..a194204 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)

Fwiw, automake will automatically look for reds_stat.c when trying to
build the reds_stat PROGRAMS. So reds_stat_SOURCES isn't strictly
needed. But I personally prefer to have it explicit.

Acked-by: Christophe Fergeau <cfergeau@xxxxxxxxxx>

Christophe

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

Attachment: signature.asc
Description: PGP signature

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

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]