From f7ac1d5989699d31f02b120d3f8cb51b7159dbb5 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Sat, 2 Nov 2013 02:02:47 +0000 Subject: gallium/winsys: compact compiler flags into Automake.inc Cleanup the duplicating flags and consolidate into a sigle variable. Note: this patch adds VISIBILITY_CFLAGS to the following targets * freedreno/drm * i915/{drm,sw} * nouveau/drm * sw/fbdev * sw/null * sw/wayland * sw/wrapper * sw/xlib Signed-off-by: Emil Velikov --- src/gallium/Automake.inc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/gallium/Automake.inc') diff --git a/src/gallium/Automake.inc b/src/gallium/Automake.inc index 86e9b1e2027..f67b2951f42 100644 --- a/src/gallium/Automake.inc +++ b/src/gallium/Automake.inc @@ -50,3 +50,9 @@ GALLIUM_VDPAU_LIB_DEPS = \ $(VDPAU_LIBS) \ $(LIBDRM_LIBS) +GALLIUM_WINSYS_CFLAGS = \ + -I$(top_srcdir)/include \ + -I$(top_srcdir)/src/gallium/include \ + -I$(top_srcdir)/src/gallium/auxiliary \ + $(DEFINES) \ + $(VISIBILITY_CFLAGS) -- cgit v1.2.3