diff options
author | Emil Velikov <[email protected]> | 2013-11-02 02:02:47 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2013-11-16 16:31:03 +0000 |
commit | f7ac1d5989699d31f02b120d3f8cb51b7159dbb5 (patch) | |
tree | 1496bfdd66ce80107b664c8a6a84fba6ae56e74f /src/gallium/winsys/sw | |
parent | 096b988360158d4cf3c92d52d26f9f098774ba1d (diff) |
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 <[email protected]>
Diffstat (limited to 'src/gallium/winsys/sw')
-rw-r--r-- | src/gallium/winsys/sw/dri/Makefile.am | 5 | ||||
-rw-r--r-- | src/gallium/winsys/sw/fbdev/Makefile.am | 4 | ||||
-rw-r--r-- | src/gallium/winsys/sw/null/Makefile.am | 4 | ||||
-rw-r--r-- | src/gallium/winsys/sw/wayland/Makefile.am | 4 | ||||
-rw-r--r-- | src/gallium/winsys/sw/wrapper/Makefile.am | 4 | ||||
-rw-r--r-- | src/gallium/winsys/sw/xlib/Makefile.am | 4 |
6 files changed, 12 insertions, 13 deletions
diff --git a/src/gallium/winsys/sw/dri/Makefile.am b/src/gallium/winsys/sw/dri/Makefile.am index d987c159d3b..182825e6695 100644 --- a/src/gallium/winsys/sw/dri/Makefile.am +++ b/src/gallium/winsys/sw/dri/Makefile.am @@ -22,9 +22,8 @@ include $(top_srcdir)/src/gallium/Automake.inc -AM_CPPFLAGS = \ - $(GALLIUM_CFLAGS) \ - $(VISIBILITY_CFLAGS) +AM_CFLAGS = \ + $(GALLIUM_WINSYS_CFLAGS) noinst_LTLIBRARIES = libswdri.la diff --git a/src/gallium/winsys/sw/fbdev/Makefile.am b/src/gallium/winsys/sw/fbdev/Makefile.am index 801f68993f7..93abe816185 100644 --- a/src/gallium/winsys/sw/fbdev/Makefile.am +++ b/src/gallium/winsys/sw/fbdev/Makefile.am @@ -22,8 +22,8 @@ include $(top_srcdir)/src/gallium/Automake.inc -AM_CPPFLAGS = \ - $(GALLIUM_CFLAGS) +AM_CFLAGS = \ + $(GALLIUM_WINSYS_CFLAGS) noinst_LTLIBRARIES = libfbdev.la diff --git a/src/gallium/winsys/sw/null/Makefile.am b/src/gallium/winsys/sw/null/Makefile.am index fb450dd0035..17b52ccd617 100644 --- a/src/gallium/winsys/sw/null/Makefile.am +++ b/src/gallium/winsys/sw/null/Makefile.am @@ -22,8 +22,8 @@ include $(top_srcdir)/src/gallium/Automake.inc -AM_CPPFLAGS = \ - $(GALLIUM_CFLAGS) +AM_CFLAGS = \ + $(GALLIUM_WINSYS_CFLAGS) noinst_LTLIBRARIES = libws_null.la diff --git a/src/gallium/winsys/sw/wayland/Makefile.am b/src/gallium/winsys/sw/wayland/Makefile.am index 40ec7d92d1e..0cb47a17343 100644 --- a/src/gallium/winsys/sw/wayland/Makefile.am +++ b/src/gallium/winsys/sw/wayland/Makefile.am @@ -22,8 +22,8 @@ include $(top_srcdir)/src/gallium/Automake.inc -AM_CPPFLAGS = \ - $(GALLIUM_CFLAGS) \ +AM_CFLAGS = \ + $(GALLIUM_WINSYS_CFLAGS) \ $(WAYLAND_CFLAGS) noinst_LTLIBRARIES = libws_wayland.la diff --git a/src/gallium/winsys/sw/wrapper/Makefile.am b/src/gallium/winsys/sw/wrapper/Makefile.am index 3dcd6ad488c..d8bbd9e097d 100644 --- a/src/gallium/winsys/sw/wrapper/Makefile.am +++ b/src/gallium/winsys/sw/wrapper/Makefile.am @@ -22,8 +22,8 @@ include $(top_srcdir)/src/gallium/Automake.inc -AM_CPPFLAGS = \ - $(GALLIUM_CFLAGS) +AM_CFLAGS = \ + $(GALLIUM_WINSYS_CFLAGS) noinst_LTLIBRARIES = libwsw.la diff --git a/src/gallium/winsys/sw/xlib/Makefile.am b/src/gallium/winsys/sw/xlib/Makefile.am index ea6b7429d86..a38189c0fee 100644 --- a/src/gallium/winsys/sw/xlib/Makefile.am +++ b/src/gallium/winsys/sw/xlib/Makefile.am @@ -22,8 +22,8 @@ include $(top_srcdir)/src/gallium/Automake.inc -AM_CPPFLAGS = \ - $(GALLIUM_CFLAGS) \ +AM_CFLAGS = \ + $(GALLIUM_WINSYS_CFLAGS) \ $(X11_INCLUDES) noinst_LTLIBRARIES = libws_xlib.la |