sbin_PROGRAMS = lightdm
+bin_PROGRAMS = dm-tool
lightdm_SOURCES = \
accounts.c \
accounts.h \
- configuration.c \
- configuration.h \
console-kit.c \
console-kit.h \
display-manager.c \
display-manager.h \
display-server.c \
display-server.h \
- dmrc.c \
- dmrc.h \
greeter.c \
greeter.h \
+ greeter-session.c \
+ greeter-session.h \
+ greeter-socket.c \
+ greeter-socket.h \
guest-account.c \
guest-account.h \
lightdm.c \
logger.h \
login1.c \
login1.h \
- mir-server.c \
- mir-server.h \
+ log-file.c \
+ log-file.h \
plymouth.c \
plymouth.h \
- privileges.c \
- privileges.h \
process.c \
process.h \
seat.c \
seat.h \
+ seat-local.c \
+ seat-local.h \
seat-unity.c \
seat-unity.h \
seat-xdmcp-session.c \
seat-xdmcp-session.h \
- seat-xlocal.c \
- seat-xlocal.h \
seat-xremote.c \
seat-xremote.h \
seat-xvnc.c \
session-child.h \
session-config.c \
session-config.h \
+ shared-data-manager.c \
+ shared-data-manager.h \
+ unity-system-compositor.c \
+ unity-system-compositor.h \
vnc-server.c \
vnc-server.h \
vt.c \
vt.h \
+ wayland-session.c \
+ wayland-session.h \
x-authority.c \
x-authority.h \
x-server-local.c \
x-server-local.h \
x-server-remote.c \
x-server-remote.h \
+ x-server-xmir.c \
+ x-server-xmir.h \
x-server-xvnc.c \
x-server-xvnc.h \
x-server.c \
xdmcp-session-private.h
lightdm_CFLAGS = \
- $(LIGHTDM_CFLAGS) \
$(WARN_CFLAGS) \
- -DPKGLIBEXEC_DIR=\"$(pkglibexecdir)\" \
+ $(LIGHTDM_CFLAGS) \
+ -I"$(top_srcdir)/common" \
-DSBIN_DIR=\"$(sbindir)\" \
- -DCONFIG_DIR=\"$(sysconfdir)/lightdm\" \
+ -DUSERS_DIR=\"$(localstatedir)/lib/lightdm-data\" \
-DLOG_DIR=\"$(localstatedir)/log/lightdm\" \
-DRUN_DIR=\"$(localstatedir)/run/lightdm\" \
-DCACHE_DIR=\"$(localstatedir)/cache/lightdm\" \
- -DSESSIONS_DIR=\"$(pkgdatadir)/sessions:$(datadir)/xsessions\" \
+ -DSESSIONS_DIR=\"$(pkgdatadir)/sessions:$(datadir)/xsessions:$(datadir)/wayland-sessions\" \
+ -DWAYLAND_SESSIONS_DIR=\"$(datadir)/wayland-sessions\" \
-DREMOTE_SESSIONS_DIR=\"$(pkgdatadir)/remote-sessions\" \
-DGREETERS_DIR=\"$(pkgdatadir)/greeters:$(datadir)/xgreeters\"
lightdm_LDADD = \
$(LIGHTDM_LIBS) \
+ $(top_builddir)/common/libcommon.la \
-lgcrypt \
-lpam
-pkglibexec_PROGRAMS = lightdm-guest-session-wrapper
-
-lightdm_guest_session_wrapper_SOURCES = lightdm-guest-session-wrapper.c
+dm_tool_SOURCES = \
+ dm-tool.c
-lightdm_guest_session_wrapper_CFLAGS = \
+dm_tool_CFLAGS = \
+ $(WARN_CFLAGS) \
$(LIGHTDM_CFLAGS) \
- $(WARN_CFLAGS)
+ -DLOCALE_DIR=\"$(datadir)/locale\"
+
+dm_tool_LDADD = \
+ $(LIGHTDM_LIBS)
+
+libexec_PROGRAMS = lightdm-guest-session
+
+lightdm_guest_session_SOURCES = lightdm-guest-session.c
+
+lightdm_guest_session_CFLAGS = \
+ $(WARN_CFLAGS) \
+ $(LIGHTDM_CFLAGS)
EXTRA_DIST = \
display-manager.xml
-
-DISTCLEANFILES = \
- Makefile.in