AUTOMAKE_OPTIONS = foreign
+DISTCHECK_CONFIGURE_FLAGS = --enable-nouveau-experimental-api --enable-radeon-experimental-api
+
pkgconfigdir = @pkgconfigdir@
pkgconfig_DATA = libdrm.pc
+if HAVE_LIBKMS
+LIBKMS_SUBDIR = libkms
+endif
+
if HAVE_INTEL
INTEL_SUBDIR = intel
endif
RADEON_SUBDIR = radeon
endif
-SUBDIRS = . $(INTEL_SUBDIR) $(NOUVEAU_SUBDIR) $(RADEON_SUBDIR) tests
+SUBDIRS = . $(LIBKMS_SUBDIR) $(INTEL_SUBDIR) $(NOUVEAU_SUBDIR) $(RADEON_SUBDIR) tests include
libdrm_la_LTLIBRARIES = libdrm.la
libdrm_ladir = $(libdir)