summaryrefslogtreecommitdiffstats
path: root/src/gallium/Automake.inc
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2013-11-02 15:33:07 +0000
committerEmil Velikov <emil.l.velikov@gmail.com>2013-11-16 16:31:04 +0000
commit5b8c2c8f00a145d0e62edac9c92c1ef14d02651d (patch)
tree0ca9039b5b1c576a48824056ece8a489b02db7e0 /src/gallium/Automake.inc
parent38e0b7eeaa7f29b39bb08dbfbe55ae6b64236954 (diff)
downloadexternal_mesa3d-5b8c2c8f00a145d0e62edac9c92c1ef14d02651d.zip
external_mesa3d-5b8c2c8f00a145d0e62edac9c92c1ef14d02651d.tar.gz
external_mesa3d-5b8c2c8f00a145d0e62edac9c92c1ef14d02651d.tar.bz2
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 <emil.l.velikov@gmail.com>
Diffstat (limited to 'src/gallium/Automake.inc')
-rw-r--r--src/gallium/Automake.inc13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/gallium/Automake.inc b/src/gallium/Automake.inc
index 5ed6a3d..2a3ad21 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 \