435f27667f
Add a backend using libudev for input hotplug, and disable the hal and dbus backends if this one is enabled. XKB configuration happens using xkb{rules,model,layout,variant,options} properties (case-insensitive) on the device. We fill in InputAttributes to allow configuration through InputClass in Xorg. Requires udev 148 for the input_id helper and ID_INPUT* properties. Signed-off-by: Julien Cristau <jcristau@debian.org> Acked-by: Dan Nicholson <dbn.lists@gmail.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
37 lines
693 B
Makefile
37 lines
693 B
Makefile
AM_CFLAGS = $(DIX_CFLAGS)
|
|
|
|
noinst_LTLIBRARIES = libconfig.la
|
|
libconfig_la_SOURCES = config.c config-backends.h
|
|
|
|
if CONFIG_UDEV
|
|
|
|
AM_CFLAGS += $(UDEV_CFLAGS)
|
|
libconfig_la_SOURCES += udev.c
|
|
libconfig_la_LIBADD = $(UDEV_LIBS)
|
|
|
|
else
|
|
|
|
if CONFIG_NEED_DBUS
|
|
AM_CFLAGS += $(DBUS_CFLAGS)
|
|
libconfig_la_SOURCES += dbus-core.c
|
|
libconfig_la_LIBADD = $(DBUS_LIBS)
|
|
|
|
if CONFIG_DBUS_API
|
|
dbusconfigdir = $(sysconfdir)/dbus-1/system.d
|
|
dbusconfig_DATA = xorg-server.conf
|
|
|
|
libconfig_la_SOURCES += dbus.c
|
|
endif
|
|
|
|
if CONFIG_HAL
|
|
AM_CFLAGS += $(HAL_CFLAGS)
|
|
libconfig_la_SOURCES += hal.c
|
|
libconfig_la_LIBADD += $(HAL_LIBS)
|
|
endif
|
|
|
|
endif # CONFIG_NEED_DBUS
|
|
|
|
endif # !CONFIG_UDEV
|
|
|
|
EXTRA_DIST = xorg-server.conf x11-input.fdi
|