diff options
author | Emil Velikov <[email protected]> | 2013-11-02 15:33:07 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2013-11-16 16:31:04 +0000 |
commit | 5b8c2c8f00a145d0e62edac9c92c1ef14d02651d (patch) | |
tree | 0ca9039b5b1c576a48824056ece8a489b02db7e0 /src/gallium/Automake.inc | |
parent | 38e0b7eeaa7f29b39bb08dbfbe55ae6b64236954 (diff) |
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 <[email protected]>
Diffstat (limited to 'src/gallium/Automake.inc')
-rw-r--r-- | src/gallium/Automake.inc | 13 |
1 files changed, 13 insertions, 0 deletions
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 \ |