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
|
|
|
|
|
|
|
|
if CONFIG_UDEV
|
|
|
|
|
|
|
|
AM_CFLAGS += $(UDEV_CFLAGS)
|
|
|
|
libconfig_la_SOURCES += udev.c
|
|
|
|
libconfig_la_LIBADD = $(UDEV_LIBS)
|
|
|
|
|
|
|
|
xorgconfddir = $(datadir)/X11/$(XF86CONFIGDIR)
|
|
|
|
xorgconfd_DATA = 10-evdev.conf
|
|
|
|
|
|
|
|
else
|
2007-11-24 10:55:21 -07:00
|
|
|
|
2009-09-06 13:44:18 -06:00
|
|
|
if CONFIG_NEED_DBUS
|
2010-07-27 13:02:24 -06:00
|
|
|
AM_CFLAGS += $(DBUS_CFLAGS)
|
|
|
|
libconfig_la_SOURCES += dbus-core.c
|
|
|
|
libconfig_la_LIBADD = $(DBUS_LIBS)
|
2007-11-24 10:55:21 -07:00
|
|
|
|
|
|
|
if CONFIG_DBUS_API
|
|
|
|
dbusconfigdir = $(sysconfdir)/dbus-1/system.d
|
|
|
|
dbusconfig_DATA = xorg-server.conf
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
libconfig_la_SOURCES += dbus.c
|
2007-11-24 10:55:21 -07:00
|
|
|
endif
|
|
|
|
|
|
|
|
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
|
|
|
endif
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
endif # CONFIG_NEED_DBUS
|
|
|
|
|
|
|
|
endif # !CONFIG_UDEV
|
|
|
|
|
|
|
|
EXTRA_DIST = xorg-server.conf x11-input.fdi 10-evdev.conf
|