summaryrefslogtreecommitdiff
path: root/config/Makefile.am
blob: e1f1c4e161e1ddfc0ee2ab837979fb7bb073f28c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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)

xorgconfddir = $(datadir)/X11/$(XF86CONFIGDIR)
xorgconfd_DATA = 10-evdev.conf

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 10-evdev.conf fdi2iclass.py