summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/dri-swrast/Makefile.am
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2013-11-02 15:33:07 +0000
committerEmil Velikov <[email protected]>2013-11-16 16:31:04 +0000
commit5b8c2c8f00a145d0e62edac9c92c1ef14d02651d (patch)
tree0ca9039b5b1c576a48824056ece8a489b02db7e0 /src/gallium/targets/dri-swrast/Makefile.am
parent38e0b7eeaa7f29b39bb08dbfbe55ae6b64236954 (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/targets/dri-swrast/Makefile.am')
-rw-r--r--src/gallium/targets/dri-swrast/Makefile.am9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/gallium/targets/dri-swrast/Makefile.am b/src/gallium/targets/dri-swrast/Makefile.am
index cddbbe32bb4..11166ae6987 100644
--- a/src/gallium/targets/dri-swrast/Makefile.am
+++ b/src/gallium/targets/dri-swrast/Makefile.am
@@ -23,17 +23,10 @@
include $(top_srcdir)/src/gallium/Automake.inc
AM_CFLAGS = \
- $(GALLIUM_CFLAGS) \
- $(PTHREAD_CFLAGS) \
$(EXPAT_CFLAGS) \
- $(LIBDRM_CFLAGS) \
- $(VISIBILITY_CFLAGS)
+ $(GALLIUM_DRI_CFLAGS)
AM_CPPFLAGS = \
-I$(top_srcdir)/src/gallium/winsys/sw/dri \
- -I$(top_srcdir)/src/gallium/drivers \
- -I$(top_srcdir)/src/gallium/winsys \
- -I$(top_srcdir)/src/mesa \
- -I$(top_srcdir)/src/mapi \
-I$(top_builddir)/src/mesa/drivers/dri/common \
-DGALLIUM_RBUG \
-DGALLIUM_TRACE \