diff options
author | Emil Velikov <emil.l.velikov@gmail.com> | 2014-09-07 18:00:16 +0100 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2014-09-28 17:09:34 +0100 |
commit | 1a75044a3905f9f4664e57e37e3fb216dfb7a8f7 (patch) | |
tree | 112b2b48fed325380a6059b9435d32d0bd503b6c | |
parent | f3fd11beaa70b0624ab1d6c7d8e25c65eea942ac (diff) | |
download | libdrm-1a75044a3905f9f4664e57e37e3fb216dfb7a8f7.tar.gz libdrm-1a75044a3905f9f4664e57e37e3fb216dfb7a8f7.tar.bz2 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>
-rw-r--r-- | libkms/Makefile.am | 20 | ||||
-rw-r--r-- | libkms/Makefile.sources | 23 |
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 @@ +include Makefile.sources + AM_CFLAGS = \ $(WARN_CFLAGS) \ -I$(top_srcdir)/include/drm \ @@ -12,35 +14,31 @@ libkms_la_LIBADD = ../libdrm.la #libkms_la_LIBADD += $(LIBUDEV_LIBS) #endif -libkms_la_SOURCES = \ - internal.h \ - linux.c \ - dumb.c \ - api.c +libkms_la_SOURCES = $(LIBKMS_FILES) if HAVE_VMWGFX -libkms_la_SOURCES += vmwgfx.c +libkms_la_SOURCES += $(LIBKMS_VMWGFX_FILES) endif if HAVE_INTEL -libkms_la_SOURCES += intel.c +libkms_la_SOURCES += $(LIBKMS_INTEL_FILES) endif if HAVE_NOUVEAU -libkms_la_SOURCES += nouveau.c +libkms_la_SOURCES += $(LIBKMS_NOUVEAU_FILES) endif if HAVE_RADEON -libkms_la_SOURCES += radeon.c +libkms_la_SOURCES += $(LIBKMS_RADEON_FILES) endif if HAVE_EXYNOS -libkms_la_SOURCES += exynos.c +libkms_la_SOURCES += $(LIBKMS_EXYNOS_FILES) AM_CFLAGS += -I$(top_srcdir)/exynos endif libkmsincludedir = ${includedir}/libkms -libkmsinclude_HEADERS = libkms.h +libkmsinclude_HEADERS = $(LIBKMS_H_FILES) pkgconfigdir = @pkgconfigdir@ pkgconfig_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 @@ +LIBKMS_FILES := \ + internal.h \ + linux.c \ + dumb.c \ + api.c + +LIBKMS_VMWGFX_FILES := \ + vmwgfx.c + +LIBKMS_INTEL_FILES := \ + intel.c + +LIBKMS_NOUVEAU_FILES := \ + nouveau.c + +LIBKMS_RADEON_FILES := \ + radeon.c + +LIBKMS_EXYNOS_FILES := \ + exynos.c + +LIBKMS_H_FILES := \ + libkms.h |