aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gallium/winsys/etnaviv/drm/Makefile.am3
-rw-r--r--src/gallium/winsys/etnaviv/drm/Makefile.sources3
2 files changed, 5 insertions, 1 deletions
diff --git a/src/gallium/winsys/etnaviv/drm/Makefile.am b/src/gallium/winsys/etnaviv/drm/Makefile.am
index 995b7095991..ed04d9516cd 100644
--- a/src/gallium/winsys/etnaviv/drm/Makefile.am
+++ b/src/gallium/winsys/etnaviv/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 = libetnavivdrm.la
-libetnavivdrm_la_SOURCES = etnaviv_drm_winsys.c
+libetnavivdrm_la_SOURCES = $(C_SOURCES)
diff --git a/src/gallium/winsys/etnaviv/drm/Makefile.sources b/src/gallium/winsys/etnaviv/drm/Makefile.sources
new file mode 100644
index 00000000000..f338b0848c4
--- /dev/null
+++ b/src/gallium/winsys/etnaviv/drm/Makefile.sources
@@ -0,0 +1,3 @@
+C_SOURCES := \
+ etnaviv_drm_public.h \
+ etnaviv_drm_winsys.c