targets/xvmc: use drop duplicated compiler flags
authorEmil Velikov <emil.l.velikov@gmail.com>
Sat, 9 Nov 2013 22:53:15 +0000 (22:53 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Sat, 16 Nov 2013 16:31:03 +0000 (16:31 +0000)
Automake.inc already has GALLIUM_VIDEO_CFLAGS, which
provide the essential compiler flags needed.

Note: this commit adds VISIBILITY_CFLAGS to nouveau.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
src/gallium/targets/r600/xvmc/Makefile.am
src/gallium/targets/xvmc-nouveau/Makefile.am

index 44cd511d74732e2ce857127d5fe7085177efe1a8..367f597dd84c8d5db18271ce8fcfc7bf30775ce5 100644 (file)
 include $(top_srcdir)/src/gallium/Automake.inc
 
 AM_CFLAGS = \
-       $(GALLIUM_CFLAGS) \
-       $(PTHREAD_CFLAGS) \
-       $(LIBDRM_CFLAGS) \
-       $(VISIBILITY_CFLAGS)
-AM_CPPFLAGS = \
-       -I$(top_srcdir)/src/gallium/drivers \
-       -I$(top_srcdir)/src/gallium/winsys
+       $(GALLIUM_VIDEO_CFLAGS)
 
 xvmcdir = $(XVMC_LIB_INSTALL_DIR)
 xvmc_LTLIBRARIES = libXvMCr600.la
index f3d6b1e8ab3779e944660d61e5a2139d3edcb3d6..37013f1eb113009131caab721d623cbd5a9b31cc 100644 (file)
 include $(top_srcdir)/src/gallium/Automake.inc
 
 AM_CFLAGS = \
-       $(GALLIUM_CFLAGS) \
-       $(PTHREAD_CFLAGS) \
-       $(LIBDRM_CFLAGS)
-AM_CPPFLAGS = \
-       -I$(top_srcdir)/src/gallium/drivers \
-       -I$(top_srcdir)/src/gallium/winsys
+       $(GALLIUM_VIDEO_CFLAGS)
 
 xvmcdir = $(XVMC_LIB_INSTALL_DIR)
 xvmc_LTLIBRARIES = libXvMCnouveau.la