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 /nouveau
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 'nouveau')
-rw-r--r--nouveau/Makefile.am11
-rw-r--r--nouveau/Makefile.sources9
2 files changed, 13 insertions, 7 deletions
diff --git a/nouveau/Makefile.am b/nouveau/Makefile.am
index 73cff9fc..a7df1abb 100644
--- a/nouveau/Makefile.am
+++ b/nouveau/Makefile.am
@@ -1,3 +1,5 @@
1include Makefile.sources
2
1AM_CFLAGS = \ 3AM_CFLAGS = \
2 $(WARN_CFLAGS) \ 4 $(WARN_CFLAGS) \
3 $(VISIBILITY_CFLAGS) \ 5 $(VISIBILITY_CFLAGS) \
@@ -12,15 +14,10 @@ libdrm_nouveau_ladir = $(libdir)
12libdrm_nouveau_la_LDFLAGS = -version-number 2:0:0 -no-undefined 14libdrm_nouveau_la_LDFLAGS = -version-number 2:0:0 -no-undefined
13libdrm_nouveau_la_LIBADD = ../libdrm.la @PTHREADSTUBS_LIBS@ 15libdrm_nouveau_la_LIBADD = ../libdrm.la @PTHREADSTUBS_LIBS@
14 16
15libdrm_nouveau_la_SOURCES = nouveau.c \ 17libdrm_nouveau_la_SOURCES = $(LIBDRM_NOUVEAU_FILES)
16 pushbuf.c \
17 bufctx.c \
18 abi16.c \
19 private.h
20
21 18
22libdrm_nouveauincludedir = ${includedir}/libdrm 19libdrm_nouveauincludedir = ${includedir}/libdrm
23libdrm_nouveauinclude_HEADERS = nouveau.h 20libdrm_nouveauinclude_HEADERS = $(LIBDRM_NOUVEAU_H_FILES)
24 21
25pkgconfigdir = @pkgconfigdir@ 22pkgconfigdir = @pkgconfigdir@
26pkgconfig_DATA = libdrm_nouveau.pc 23pkgconfig_DATA = libdrm_nouveau.pc
diff --git a/nouveau/Makefile.sources b/nouveau/Makefile.sources
new file mode 100644
index 00000000..89f2a2b5
--- /dev/null
+++ b/nouveau/Makefile.sources
@@ -0,0 +1,9 @@
1LIBDRM_NOUVEAU_FILES := \
2 nouveau.c \
3 pushbuf.c \
4 bufctx.c \
5 abi16.c \
6 private.h
7
8LIBDRM_NOUVEAU_H_FILES := \
9 nouveau.h