summaryrefslogtreecommitdiff
path: root/include/drm/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'include/drm/Makefile.am')
-rw-r--r--include/drm/Makefile.am20
1 files changed, 4 insertions, 16 deletions
diff --git a/include/drm/Makefile.am b/include/drm/Makefile.am
index 2bc34d2f..7a246aee 100644
--- a/include/drm/Makefile.am
+++ b/include/drm/Makefile.am
@@ -22,23 +22,11 @@
# however, r300 and via need their reg headers installed in order to build.
# better solutions are welcome.
+include Makefile.sources
+
klibdrmincludedir = ${includedir}/libdrm
-klibdrminclude_HEADERS = \
- drm.h \
- drm_mode.h \
- drm_fourcc.h \
- drm_sarea.h \
- i915_drm.h \
- mga_drm.h \
- nouveau_drm.h \
- r128_drm.h \
- radeon_drm.h \
- savage_drm.h \
- sis_drm.h \
- via_drm.h \
- mach64_drm.h \
- qxl_drm.h
+klibdrminclude_HEADERS = $(LIBDRM_INCLUDE_H_FILES)
if HAVE_VMWGFX
-klibdrminclude_HEADERS += vmwgfx_drm.h
+klibdrminclude_HEADERS += $(LIBDRM_INCLUDE_VMWGFX_H_FILES)
endif