aboutsummaryrefslogtreecommitdiffstats
path: root/radeon
diff options
context:
space:
mode:
authorEmil Velikov2014-08-24 13:26:14 -0500
committerEmil Velikov2014-09-01 10:06:01 -0500
commit4255d3d51dfe85be93d3e246f24b7bb56950a8c2 (patch)
treeee08aee5a3d0350f40e53cc17a3926662a074b99 /radeon
parent02b3ad7e19e3a73453a68354f9f3fa6224c38bfe (diff)
downloadexternal-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 'radeon')
-rw-r--r--radeon/Makefile.am22
-rw-r--r--radeon/Makefile.sources19
2 files changed, 23 insertions, 18 deletions
diff --git a/radeon/Makefile.am b/radeon/Makefile.am
index c9695739..aa66ca36 100644
--- a/radeon/Makefile.am
+++ b/radeon/Makefile.am
@@ -22,6 +22,8 @@
22# Authors: 22# Authors:
23# Jérôme Glisse <glisse@freedesktop.org> 23# Jérôme Glisse <glisse@freedesktop.org>
24 24
25include Makefile.sources
26
25AM_CFLAGS = \ 27AM_CFLAGS = \
26 $(WARN_CFLAGS) \ 28 $(WARN_CFLAGS) \
27 $(VISIBILITY_CFLAGS) \ 29 $(VISIBILITY_CFLAGS) \
@@ -35,26 +37,10 @@ libdrm_radeon_ladir = $(libdir)
35libdrm_radeon_la_LDFLAGS = -version-number 1:0:1 -no-undefined 37libdrm_radeon_la_LDFLAGS = -version-number 1:0:1 -no-undefined
36libdrm_radeon_la_LIBADD = ../libdrm.la @PTHREADSTUBS_LIBS@ 38libdrm_radeon_la_LIBADD = ../libdrm.la @PTHREADSTUBS_LIBS@
37 39
38libdrm_radeon_la_SOURCES = \ 40libdrm_radeon_la_SOURCES = $(LIBDRM_RADEON_FILES)
39 radeon_bo_gem.c \
40 radeon_cs_gem.c \
41 radeon_cs_space.c \
42 radeon_bo.c \
43 radeon_cs.c \
44 radeon_surface.c \
45 bof.c \
46 bof.h
47 41
48libdrm_radeonincludedir = ${includedir}/libdrm 42libdrm_radeonincludedir = ${includedir}/libdrm
49libdrm_radeoninclude_HEADERS = \ 43libdrm_radeoninclude_HEADERS = $(LIBDRM_RADEON_H_FILES)
50 radeon_bo.h \
51 radeon_cs.h \
52 radeon_surface.h \
53 radeon_bo_gem.h \
54 radeon_cs_gem.h \
55 radeon_bo_int.h \
56 radeon_cs_int.h \
57 r600_pci_ids.h
58 44
59pkgconfigdir = @pkgconfigdir@ 45pkgconfigdir = @pkgconfigdir@
60pkgconfig_DATA = libdrm_radeon.pc 46pkgconfig_DATA = libdrm_radeon.pc
diff --git a/radeon/Makefile.sources b/radeon/Makefile.sources
new file mode 100644
index 00000000..a17701aa
--- /dev/null
+++ b/radeon/Makefile.sources
@@ -0,0 +1,19 @@
1LIBDRM_RADEON_FILES := \
2 radeon_bo_gem.c \
3 radeon_cs_gem.c \
4 radeon_cs_space.c \
5 radeon_bo.c \
6 radeon_cs.c \
7 radeon_surface.c \
8 bof.c \
9 bof.h
10
11LIBDRM_RADEON_H_FILES := \
12 radeon_bo.h \
13 radeon_cs.h \
14 radeon_surface.h \
15 radeon_bo_gem.h \
16 radeon_cs_gem.h \
17 radeon_bo_int.h \
18 radeon_cs_int.h \
19 r600_pci_ids.h