targets/vdpau: compact compiler flags into Automake.inc
Store the compiler flags into a variable, in order to minimise flags duplication (amongst vdpau and xvmc). Note: this commit add VISIBILITY_CFLAGS to the nouveau target Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
This commit is contained in:
parent
7dac1b470a
commit
23588a9c04
|
@ -25,3 +25,14 @@ GALLIUM_DRIVER_CXXFLAGS = \
|
|||
-I$(top_srcdir)/src/gallium/drivers \
|
||||
$(DEFINES) \
|
||||
$(VISIBILITY_CXXFLAGS)
|
||||
|
||||
GALLIUM_VIDEO_CFLAGS = \
|
||||
-I$(top_srcdir)/include \
|
||||
-I$(top_srcdir)/src/gallium/include \
|
||||
-I$(top_srcdir)/src/gallium/auxiliary \
|
||||
-I$(top_srcdir)/src/gallium/drivers \
|
||||
-I$(top_srcdir)/src/gallium/winsys \
|
||||
$(DEFINES) \
|
||||
$(PTHREAD_CFLAGS) \
|
||||
$(LIBDRM_CFLAGS) \
|
||||
$(VISIBILITY_CFLAGS)
|
||||
|
|
|
@ -23,13 +23,7 @@
|
|||
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)
|
||||
|
||||
vdpaudir = $(VDPAU_LIB_INSTALL_DIR)
|
||||
vdpau_LTLIBRARIES = libvdpau_r600.la
|
||||
|
|
|
@ -23,13 +23,7 @@
|
|||
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)
|
||||
|
||||
vdpaudir = $(VDPAU_LIB_INSTALL_DIR)
|
||||
vdpau_LTLIBRARIES = libvdpau_radeonsi.la
|
||||
|
|
|
@ -23,12 +23,7 @@
|
|||
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)
|
||||
|
||||
vdpaudir = $(VDPAU_LIB_INSTALL_DIR)
|
||||
vdpau_LTLIBRARIES = libvdpau_nouveau.la
|
||||
|
|
Loading…
Reference in New Issue