From 5b8c2c8f00a145d0e62edac9c92c1ef14d02651d Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Sat, 2 Nov 2013 15:33:07 +0000 Subject: targets/dri: compact compiler flags into Automake.inc Greatly reduce duplication and provide a sane minimum of CFLAGS for all DRI targets. Note: This commit adds VISIBILITY_CFLAGS to the following: * freedreno * i915 * ilo * nouveau * vmwgfx Signed-off-by: Emil Velikov --- src/gallium/Automake.inc | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/gallium/Automake.inc') diff --git a/src/gallium/Automake.inc b/src/gallium/Automake.inc index 5ed6a3d852c..2a3ad21d20c 100644 --- a/src/gallium/Automake.inc +++ b/src/gallium/Automake.inc @@ -26,6 +26,19 @@ GALLIUM_DRIVER_CXXFLAGS = \ $(DEFINES) \ $(VISIBILITY_CXXFLAGS) +GALLIUM_DRI_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 \ + -I$(top_srcdir)/src/mesa \ + -I$(top_srcdir)/src/mapi \ + $(DEFINES) \ + $(PTHREAD_CFLAGS) \ + $(LIBDRM_CFLAGS) \ + $(VISIBILITY_CFLAGS) + GALLIUM_VIDEO_CFLAGS = \ -I$(top_srcdir)/include \ -I$(top_srcdir)/src/gallium/include \ -- cgit v1.2.3