aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmil Velikov2014-08-24 13:26:14 -0500
committerEmil Velikov2014-09-01 10:06:01 -0500
commit4255d3d51dfe85be93d3e246f24b7bb56950a8c2 (patch)
treeee08aee5a3d0350f40e53cc17a3926662a074b99 /Makefile.am
parent02b3ad7e19e3a73453a68354f9f3fa6224c38bfe (diff)
downloadexternal-libgbm-4255d3d51dfe85be93d3e246f24b7bb56950a8c2.tar.gz
external-libgbm-4255d3d51dfe85be93d3e246f24b7bb56950a8c2.tar.xz
external-libgbm-4255d3d51dfe85be93d3e246f24b7bb56950a8c2.zip
libdrm, freedreno, intel, nouveau, radeon: add Makefile.sources
Will be used to consolidate the required sources lists as well as the install-able headers. This is turn will help us to avoid the duplication with the upcoming Android build support. v2: Rename the headers variable to *_H_FILES. v3: Rebase on top of symbol visibility patches. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am14
1 files changed, 4 insertions, 10 deletions
diff --git a/Makefile.am b/Makefile.am
index 65680da9..fab2a9a6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -18,6 +18,8 @@
18# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 18# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 19# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20 20
21include Makefile.sources
22
21ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} 23ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
22 24
23pkgconfigdir = @pkgconfigdir@ 25pkgconfigdir = @pkgconfigdir@
@@ -62,18 +64,10 @@ libdrm_la_CPPFLAGS = -I$(top_srcdir)/include/drm
62AM_CFLAGS = \ 64AM_CFLAGS = \
63 $(VALGRIND_CFLAGS) 65 $(VALGRIND_CFLAGS)
64 66
65libdrm_la_SOURCES = \ 67libdrm_la_SOURCES = $(LIBDRM_FILES)
66 xf86drm.c \
67 xf86drmHash.c \
68 xf86drmRandom.c \
69 xf86drmSL.c \
70 xf86drmMode.c \
71 xf86atomic.h \
72 libdrm.h \
73 libdrm_lists.h
74 68
75libdrmincludedir = ${includedir} 69libdrmincludedir = ${includedir}
76libdrminclude_HEADERS = xf86drm.h xf86drmMode.h 70libdrminclude_HEADERS = $(LIBDRM_H_FILES)
77 71
78EXTRA_DIST = libdrm.pc.in include/drm/* 72EXTRA_DIST = libdrm.pc.in include/drm/*
79 73