2010-07-27 13:02:24 -06:00
|
|
|
AM_CFLAGS = $(DIX_CFLAGS)
|
2007-11-24 10:55:21 -07:00
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
noinst_LTLIBRARIES = libconfig.la
|
|
|
|
libconfig_la_SOURCES = config.c config-backends.h
|
2014-09-27 11:52:59 -06:00
|
|
|
libconfig_la_LIBADD =
|
|
|
|
|
|
|
|
if NEED_DBUS
|
|
|
|
AM_CFLAGS += $(DBUS_CFLAGS)
|
|
|
|
libconfig_la_SOURCES += dbus-core.c
|
|
|
|
libconfig_la_LIBADD += $(DBUS_LIBS)
|
|
|
|
endif
|
2010-07-27 13:02:24 -06:00
|
|
|
|
|
|
|
if CONFIG_UDEV
|
|
|
|
|
|
|
|
AM_CFLAGS += $(UDEV_CFLAGS)
|
|
|
|
libconfig_la_SOURCES += udev.c
|
2014-09-27 11:52:59 -06:00
|
|
|
libconfig_la_LIBADD += $(UDEV_LIBS)
|
2010-07-27 13:02:24 -06:00
|
|
|
|
2011-11-05 07:32:40 -06:00
|
|
|
if XORG
|
2010-07-27 13:02:24 -06:00
|
|
|
xorgconfddir = $(datadir)/X11/$(XF86CONFIGDIR)
|
2014-05-02 13:27:46 -06:00
|
|
|
xorgconfd_DATA = 10-evdev.conf 10-quirks.conf
|
2011-11-05 07:32:40 -06:00
|
|
|
endif
|
2010-07-27 13:02:24 -06:00
|
|
|
|
|
|
|
else
|
2007-11-24 10:55:21 -07:00
|
|
|
|
|
|
|
if CONFIG_HAL
|
2010-07-27 13:02:24 -06:00
|
|
|
AM_CFLAGS += $(HAL_CFLAGS)
|
|
|
|
libconfig_la_SOURCES += hal.c
|
|
|
|
libconfig_la_LIBADD += $(HAL_LIBS)
|
2007-11-24 10:55:21 -07:00
|
|
|
|
2011-06-29 13:55:01 -06:00
|
|
|
else
|
|
|
|
|
|
|
|
if CONFIG_WSCONS
|
|
|
|
libconfig_la_SOURCES += wscons.c
|
|
|
|
endif # CONFIG_WSCONS
|
|
|
|
|
2014-09-27 11:52:59 -06:00
|
|
|
endif # !CONFIG_HAL
|
2010-07-27 13:02:24 -06:00
|
|
|
|
|
|
|
endif # !CONFIG_UDEV
|
|
|
|
|
2014-09-27 11:52:59 -06:00
|
|
|
EXTRA_DIST = x11-input.fdi 10-evdev.conf fdi2iclass.py 10-quirks.conf
|