chiark / gitweb /
login: add multi-session X wrapper
[elogind.git] / Makefile.am
index 1df603b..d6fcd23 100644 (file)
@@ -99,6 +99,7 @@ AM_CPPFLAGS = \
        -DUSER_GENERATOR_PATH=\"$(usergeneratordir)\" \
        -DSYSTEM_SHUTDOWN_PATH=\"$(systemshutdowndir)\" \
        -DSYSTEMD_KBD_MODEL_MAP=\"$(pkgdatadir)/kbd-model-map\" \
+        -DX_SERVER=\"$(bindir)/X\" \
        -I $(top_srcdir)/src \
        -I $(top_srcdir)/src/readahead \
        -I $(top_srcdir)/src/login \
@@ -1988,6 +1989,20 @@ logind-install-data-hook:
 INSTALL_DATA_HOOKS += \
        logind-install-data-hook
 
+systemd_multi_seat_x_SOURCES = \
+       src/login/multi-seat-x.c
+
+systemd_multi_seat_x_CFLAGS = \
+       $(AM_CFLAGS) \
+       $(UDEV_CFLAGS)
+
+systemd_multi_seat_x_LDADD = \
+       libsystemd-basic.la \
+       $(UDEV_LIBS)
+
+rootlibexec_PROGRAMS += \
+       systemd-multi-seat-x
+
 systemd_uaccess_SOURCES = \
        src/login/uaccess.c