summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2017-01-12 18:49:41 +0000
committerEmil Velikov <[email protected]>2017-01-12 19:30:15 +0000
commita5f0cdb36f9dd06866e62c7094939ccd62db7caa (patch)
tree03c99c072111d6e9d56aa684312fa78a463fde9e
parent0467700536e332985a2f6fcc67163a088934b1b9 (diff)
winsys/etnaviv: automake: introduce Makefile.sources
... and list the public header within it. Signed-off-by: Emil Velikov <[email protected]>
-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