diff options
author | Emil Velikov | 2014-08-24 13:26:14 -0500 |
---|---|---|
committer | Emil Velikov | 2014-09-01 10:06:01 -0500 |
commit | 4255d3d51dfe85be93d3e246f24b7bb56950a8c2 (patch) | |
tree | ee08aee5a3d0350f40e53cc17a3926662a074b99 /Makefile.am | |
parent | 02b3ad7e19e3a73453a68354f9f3fa6224c38bfe (diff) | |
download | external-libdrm-4255d3d51dfe85be93d3e246f24b7bb56950a8c2.tar.gz external-libdrm-4255d3d51dfe85be93d3e246f24b7bb56950a8c2.tar.xz external-libdrm-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.am | 14 |
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 | ||
21 | include Makefile.sources | ||
22 | |||
21 | ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} | 23 | ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} |
22 | 24 | ||
23 | pkgconfigdir = @pkgconfigdir@ | 25 | pkgconfigdir = @pkgconfigdir@ |
@@ -62,18 +64,10 @@ libdrm_la_CPPFLAGS = -I$(top_srcdir)/include/drm | |||
62 | AM_CFLAGS = \ | 64 | AM_CFLAGS = \ |
63 | $(VALGRIND_CFLAGS) | 65 | $(VALGRIND_CFLAGS) |
64 | 66 | ||
65 | libdrm_la_SOURCES = \ | 67 | libdrm_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 | ||
75 | libdrmincludedir = ${includedir} | 69 | libdrmincludedir = ${includedir} |
76 | libdrminclude_HEADERS = xf86drm.h xf86drmMode.h | 70 | libdrminclude_HEADERS = $(LIBDRM_H_FILES) |
77 | 71 | ||
78 | EXTRA_DIST = libdrm.pc.in include/drm/* | 72 | EXTRA_DIST = libdrm.pc.in include/drm/* |
79 | 73 | ||