summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/sw/fbdev
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/winsys/sw/fbdev')
-rw-r--r--src/gallium/winsys/sw/fbdev/Makefile.am3
-rw-r--r--src/gallium/winsys/sw/fbdev/Makefile.sources3
-rw-r--r--src/gallium/winsys/sw/fbdev/SConscript5
3 files changed, 6 insertions, 5 deletions
diff --git a/src/gallium/winsys/sw/fbdev/Makefile.am b/src/gallium/winsys/sw/fbdev/Makefile.am
index 93abe816185..2953376d288 100644
--- a/src/gallium/winsys/sw/fbdev/Makefile.am
+++ b/src/gallium/winsys/sw/fbdev/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 = libfbdev.la
-libfbdev_la_SOURCES = fbdev_sw_winsys.c
+libfbdev_la_SOURCES = $(C_SOURCES)
diff --git a/src/gallium/winsys/sw/fbdev/Makefile.sources b/src/gallium/winsys/sw/fbdev/Makefile.sources
new file mode 100644
index 00000000000..dd48051cfd5
--- /dev/null
+++ b/src/gallium/winsys/sw/fbdev/Makefile.sources
@@ -0,0 +1,3 @@
+C_SOURCES := \
+ fbdev_sw_winsys.c \
+ fbdev_sw_winsys.h
diff --git a/src/gallium/winsys/sw/fbdev/SConscript b/src/gallium/winsys/sw/fbdev/SConscript
index 3b5b4ff1c07..bf504ad28d8 100644
--- a/src/gallium/winsys/sw/fbdev/SConscript
+++ b/src/gallium/winsys/sw/fbdev/SConscript
@@ -11,13 +11,10 @@ if env['platform'] == 'linux':
env.Append(CPPPATH = [
'#/src/gallium/include',
'#/src/gallium/auxiliary',
- '#/src/gallium/drivers',
])
ws_fbdev = env.ConvenienceLibrary(
target = 'ws_fbdev',
- source = [
- 'fbdev_sw_winsys.c',
- ]
+ source = env.ParseSourceList('Makefile.sources', 'C_SOURCES'),
)
Export('ws_fbdev')