summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/sw/dri
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2014-08-17 20:15:07 +0100
committerEmil Velikov <[email protected]>2014-08-28 21:24:39 +0100
commit95603e259b6afdab50c4330696a8fbede80327f1 (patch)
tree0899ea6641a30d5f5ecd44a44e26697f183797be /src/gallium/winsys/sw/dri
parentf0ae81cc1317a144626f2d0160942936a4c20457 (diff)
winsys/sw: automake: consistently use Makefile.sources
- Include the headers within. - Update scons to use them. - Drop useless include (gallium/drivers) from scons. Signed-off-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gallium/winsys/sw/dri')
-rw-r--r--src/gallium/winsys/sw/dri/Makefile.am3
-rw-r--r--src/gallium/winsys/sw/dri/Makefile.sources3
-rw-r--r--src/gallium/winsys/sw/dri/SConscript5
3 files changed, 6 insertions, 5 deletions
diff --git a/src/gallium/winsys/sw/dri/Makefile.am b/src/gallium/winsys/sw/dri/Makefile.am
index 182825e6695..1917b00ca8e 100644
--- a/src/gallium/winsys/sw/dri/Makefile.am
+++ b/src/gallium/winsys/sw/dri/Makefile.am
@@ -20,6 +20,7 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# DEALINGS IN THE SOFTWARE.
+include Makefile.sources
include $(top_srcdir)/src/gallium/Automake.inc
AM_CFLAGS = \
@@ -27,4 +28,4 @@ AM_CFLAGS = \
noinst_LTLIBRARIES = libswdri.la
-libswdri_la_SOURCES = dri_sw_winsys.c
+libswdri_la_SOURCES = $(C_SOURCES)
diff --git a/src/gallium/winsys/sw/dri/Makefile.sources b/src/gallium/winsys/sw/dri/Makefile.sources
new file mode 100644
index 00000000000..5f9178fdb53
--- /dev/null
+++ b/src/gallium/winsys/sw/dri/Makefile.sources
@@ -0,0 +1,3 @@
+C_SOURCES := \
+ dri_sw_winsys.c \
+ dri_sw_winsys.h
diff --git a/src/gallium/winsys/sw/dri/SConscript b/src/gallium/winsys/sw/dri/SConscript
index f8e1fa6cfd8..434d13bd6f8 100644
--- a/src/gallium/winsys/sw/dri/SConscript
+++ b/src/gallium/winsys/sw/dri/SConscript
@@ -11,13 +11,10 @@ if env['platform'] in ('linux', 'sunos'):
env.Append(CPPPATH = [
'#/src/gallium/include',
'#/src/gallium/auxiliary',
- '#/src/gallium/drivers',
])
ws_dri = env.ConvenienceLibrary(
target = 'ws_dri',
- source = [
- 'dri_sw_winsys.c',
- ]
+ source = env.ParseSourceList('Makefile.sources', 'C_SOURCES'),
)
Export('ws_dri')