aboutsummaryrefslogtreecommitdiffstats
path: root/libkms
diff options
context:
space:
mode:
authorEmil Velikov2014-09-07 12:00:16 -0500
committerEmil Velikov2014-09-28 11:09:34 -0500
commit1a75044a3905f9f4664e57e37e3fb216dfb7a8f7 (patch)
tree112b2b48fed325380a6059b9435d32d0bd503b6c /libkms
parentf3fd11beaa70b0624ab1d6c7d8e25c65eea942ac (diff)
downloadexternal-libdrm-1a75044a3905f9f4664e57e37e3fb216dfb7a8f7.tar.gz
external-libdrm-1a75044a3905f9f4664e57e37e3fb216dfb7a8f7.tar.xz
external-libdrm-1a75044a3905f9f4664e57e37e3fb216dfb7a8f7.zip
libkms: move sources lists to makefile.sources
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
Diffstat (limited to 'libkms')
-rw-r--r--libkms/Makefile.am20
-rw-r--r--libkms/Makefile.sources23
2 files changed, 32 insertions, 11 deletions
diff --git a/libkms/Makefile.am b/libkms/Makefile.am
index dae44e96..21c65aed 100644
--- a/libkms/Makefile.am
+++ b/libkms/Makefile.am
@@ -1,3 +1,5 @@
1include Makefile.sources
2
1AM_CFLAGS = \ 3AM_CFLAGS = \
2 $(WARN_CFLAGS) \ 4 $(WARN_CFLAGS) \
3 -I$(top_srcdir)/include/drm \ 5 -I$(top_srcdir)/include/drm \
@@ -12,35 +14,31 @@ libkms_la_LIBADD = ../libdrm.la
12#libkms_la_LIBADD += $(LIBUDEV_LIBS) 14#libkms_la_LIBADD += $(LIBUDEV_LIBS)
13#endif 15#endif
14 16
15libkms_la_SOURCES = \ 17libkms_la_SOURCES = $(LIBKMS_FILES)
16 internal.h \
17 linux.c \
18 dumb.c \
19 api.c
20 18
21if HAVE_VMWGFX 19if HAVE_VMWGFX
22libkms_la_SOURCES += vmwgfx.c 20libkms_la_SOURCES += $(LIBKMS_VMWGFX_FILES)
23endif 21endif
24 22
25if HAVE_INTEL 23if HAVE_INTEL
26libkms_la_SOURCES += intel.c 24libkms_la_SOURCES += $(LIBKMS_INTEL_FILES)
27endif 25endif
28 26
29if HAVE_NOUVEAU 27if HAVE_NOUVEAU
30libkms_la_SOURCES += nouveau.c 28libkms_la_SOURCES += $(LIBKMS_NOUVEAU_FILES)
31endif 29endif
32 30
33if HAVE_RADEON 31if HAVE_RADEON
34libkms_la_SOURCES += radeon.c 32libkms_la_SOURCES += $(LIBKMS_RADEON_FILES)
35endif 33endif
36 34
37if HAVE_EXYNOS 35if HAVE_EXYNOS
38libkms_la_SOURCES += exynos.c 36libkms_la_SOURCES += $(LIBKMS_EXYNOS_FILES)
39AM_CFLAGS += -I$(top_srcdir)/exynos 37AM_CFLAGS += -I$(top_srcdir)/exynos
40endif 38endif
41 39
42libkmsincludedir = ${includedir}/libkms 40libkmsincludedir = ${includedir}/libkms
43libkmsinclude_HEADERS = libkms.h 41libkmsinclude_HEADERS = $(LIBKMS_H_FILES)
44 42
45pkgconfigdir = @pkgconfigdir@ 43pkgconfigdir = @pkgconfigdir@
46pkgconfig_DATA = libkms.pc 44pkgconfig_DATA = libkms.pc
diff --git a/libkms/Makefile.sources b/libkms/Makefile.sources
new file mode 100644
index 00000000..3191f516
--- /dev/null
+++ b/libkms/Makefile.sources
@@ -0,0 +1,23 @@
1LIBKMS_FILES := \
2 internal.h \
3 linux.c \
4 dumb.c \
5 api.c
6
7LIBKMS_VMWGFX_FILES := \
8 vmwgfx.c
9
10LIBKMS_INTEL_FILES := \
11 intel.c
12
13LIBKMS_NOUVEAU_FILES := \
14 nouveau.c
15
16LIBKMS_RADEON_FILES := \
17 radeon.c
18
19LIBKMS_EXYNOS_FILES := \
20 exynos.c
21
22LIBKMS_H_FILES := \
23 libkms.h