summaryrefslogtreecommitdiff
path: root/src/gallium/winsys/freedreno
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2013-09-22 16:29:48 +0100
committerTom Stellard <thomas.stellard@amd.com>2013-10-01 07:29:52 -0700
commit16661a9d84f44ecb2d56d953297b35edffb18ae6 (patch)
tree0c869c99da292bc25861a0a9b1af5fea799666e1 /src/gallium/winsys/freedreno
parent5d7690991ab211a09ecf49e49f8a6e5d261fa540 (diff)
winsys/freedreno/drm: consolidate C sources list into Makefile.sources
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
Diffstat (limited to 'src/gallium/winsys/freedreno')
-rw-r--r--src/gallium/winsys/freedreno/drm/Makefile.am3
-rw-r--r--src/gallium/winsys/freedreno/drm/Makefile.sources2
2 files changed, 4 insertions, 1 deletions
diff --git a/src/gallium/winsys/freedreno/drm/Makefile.am b/src/gallium/winsys/freedreno/drm/Makefile.am
index 58f69d119c2..8a74dcdbad1 100644
--- a/src/gallium/winsys/freedreno/drm/Makefile.am
+++ b/src/gallium/winsys/freedreno/drm/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 = \
@@ -29,4 +30,4 @@ AM_CFLAGS = \
noinst_LTLIBRARIES = libfreedrenodrm.la
-libfreedrenodrm_la_SOURCES = freedreno_drm_winsys.c
+libfreedrenodrm_la_SOURCES = $(C_SOURCES)
diff --git a/src/gallium/winsys/freedreno/drm/Makefile.sources b/src/gallium/winsys/freedreno/drm/Makefile.sources
new file mode 100644
index 00000000000..18a8f283a8c
--- /dev/null
+++ b/src/gallium/winsys/freedreno/drm/Makefile.sources
@@ -0,0 +1,2 @@
+C_SOURCES := \
+ freedreno_drm_winsys.c