targets/xvmc: consolidate lib deps into Automake.inc
authorEmil Velikov <emil.l.velikov@gmail.com>
Sat, 9 Nov 2013 22:55:59 +0000 (22:55 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Sat, 16 Nov 2013 16:31:04 +0000 (16:31 +0000)
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
src/gallium/Automake.inc
src/gallium/targets/r600/xvmc/Makefile.am
src/gallium/targets/xvmc-nouveau/Makefile.am

index f33bc37c8c6d514a4c8b23965af6db192c1de456..5ed6a3d852c758610892ced1a719c928535f52d9 100644 (file)
@@ -57,6 +57,12 @@ GALLIUM_VDPAU_LIB_DEPS = \
        $(VDPAU_LIBS) \
        $(LIBDRM_LIBS)
 
+GALLIUM_XVMC_LIB_DEPS = \
+       $(top_builddir)/src/gallium/auxiliary/libgallium.la \
+       $(top_builddir)/src/gallium/state_trackers/xvmc/libxvmctracker.la \
+       $(XVMC_LIBS) \
+       $(LIBDRM_LIBS)
+
 GALLIUM_WINSYS_CFLAGS = \
        -I$(top_srcdir)/include \
        -I$(top_srcdir)/src/gallium/include \
index 1a75f52738030ebe6ec69066217312b7d7edcb6d..a21da80ad0004dcfaf547b35f1ff2a598637c5f5 100644 (file)
@@ -36,14 +36,11 @@ libXvMCr600_la_LDFLAGS = \
        $(GALLIUM_XVMC_LINKER_FLAGS)
 
 libXvMCr600_la_LIBADD = \
-       $(top_builddir)/src/gallium/auxiliary/libgallium.la \
        $(top_builddir)/src/gallium/drivers/r600/libr600.la \
-       $(top_builddir)/src/gallium/state_trackers/xvmc/libxvmctracker.la \
        $(top_builddir)/src/gallium/winsys/radeon/drm/libradeonwinsys.la \
        $(top_builddir)/src/gallium/drivers/trace/libtrace.la \
+       $(GALLIUM_XVMC_LIB_DEPS) \
        $(GALLIUM_DRI_LIB_DEPS) \
-       $(XVMC_LIBS) \
-       $(LIBDRM_LIBS) \
        $(RADEON_LIBS)
 
 if HAVE_MESA_LLVM
index 4328c055542c74c88bb378915303ba6bb1c6dc46..bd30e4de39801346682e674cdca9146c87777ef0 100644 (file)
@@ -37,14 +37,11 @@ libXvMCnouveau_la_LDFLAGS = \
        $(GALLIUM_XVMC_LINKER_FLAGS)
 
 libXvMCnouveau_la_LIBADD = \
-       $(top_builddir)/src/gallium/auxiliary/libgallium.la \
-       $(top_builddir)/src/gallium/state_trackers/xvmc/libxvmctracker.la \
        $(top_builddir)/src/gallium/winsys/nouveau/drm/libnouveaudrm.la \
        $(top_builddir)/src/gallium/drivers/nouveau/libnouveau.la \
        $(top_builddir)/src/gallium/drivers/trace/libtrace.la \
+       $(GALLIUM_XVMC_LIB_DEPS) \
        $(GALLIUM_DRI_LIB_DEPS) \
-       $(XVMC_LIBS) \
-       $(LIBDRM_LIBS) \
        $(NOUVEAU_LIBS)
 
 if HAVE_MESA_LLVM