winsys/etnaviv: automake: introduce Makefile.sources
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 12 Jan 2017 18:49:41 +0000 (18:49 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 12 Jan 2017 19:30:15 +0000 (19:30 +0000)
... and list the public header within it.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
src/gallium/winsys/etnaviv/drm/Makefile.am
src/gallium/winsys/etnaviv/drm/Makefile.sources [new file with mode: 0644]

index 995b70959919ffd59847bf10964af04101065114..ed04d9516cdc101ebf24f944db9f139291398bcc 100644 (file)
@@ -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 (file)
index 0000000..f338b08
--- /dev/null
@@ -0,0 +1,3 @@
+C_SOURCES := \
+       etnaviv_drm_public.h \
+       etnaviv_drm_winsys.c