[Mesa-dev] [PATCH 25/29] st/xvmc: consolidate C sources list into Makefile.sources

Christian König deathsimple at vodafone.de
Mon Sep 23 00:29:02 PDT 2013


Am 22.09.2013 22:29, schrieb Emil Velikov:
> Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>

Reviewed-by: Christian König <christian.koenig at amd.com>

> ---
>   src/gallium/state_trackers/xvmc/Makefile.am      | 8 ++------
>   src/gallium/state_trackers/xvmc/Makefile.sources | 6 ++++++
>   2 files changed, 8 insertions(+), 6 deletions(-)
>   create mode 100644 src/gallium/state_trackers/xvmc/Makefile.sources
>
> diff --git a/src/gallium/state_trackers/xvmc/Makefile.am b/src/gallium/state_trackers/xvmc/Makefile.am
> index 008c50a..c110912 100644
> --- a/src/gallium/state_trackers/xvmc/Makefile.am
> +++ b/src/gallium/state_trackers/xvmc/Makefile.am
> @@ -20,6 +20,7 @@
>   # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
>   # DEALINGS IN THE SOFTWARE.
>   
> +include Makefile.sources
>   include $(top_srcdir)/src/gallium/Automake.inc
>   
>   AM_CFLAGS = \
> @@ -28,12 +29,7 @@ AM_CFLAGS = \
>   
>   noinst_LTLIBRARIES = libxvmctracker.la
>   
> -libxvmctracker_la_SOURCES = \
> -	block.c \
> -	surface.c \
> -	context.c \
> -	subpicture.c \
> -	attributes.c
> +libxvmctracker_la_SOURCES = $(C_SOURCES)
>   
>   check_PROGRAMS = \
>   	tests/test_context \
> diff --git a/src/gallium/state_trackers/xvmc/Makefile.sources b/src/gallium/state_trackers/xvmc/Makefile.sources
> new file mode 100644
> index 0000000..8609801
> --- /dev/null
> +++ b/src/gallium/state_trackers/xvmc/Makefile.sources
> @@ -0,0 +1,6 @@
> +C_SOURCES := \
> +	block.c \
> +	surface.c \
> +	context.c \
> +	subpicture.c \
> +	attributes.c



More information about the mesa-dev mailing list