summaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: e99509ed26b7bc685d434af682a77cecd21cef30 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
sbin_PROGRAMS = lightdm
bin_PROGRAMS = dm-tool

lightdm_SOURCES = \
	accounts.c \
	accounts.h \
	console-kit.c \
	console-kit.h \
	display-manager.c \
	display-manager.h \
	display-server.c \
	display-server.h \
	greeter.c \
	greeter.h \
	guest-account.c \
	guest-account.h \
	lightdm.c \
	logger.c \
	logger.h \
	login1.c \
	login1.h \
	log-file.c \
	log-file.h \
	mir-server.c \
	mir-server.h \
	plymouth.c \
	plymouth.h \
	process.c \
	process.h \
	seat.c \
	seat.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 \
	seat-xvnc.h \
	session.c \
	session.h \
	session-child.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-xvnc.c \
	x-server-xvnc.h \
	x-server.c \
	x-server.h \
	xdmcp-protocol.c \
	xdmcp-protocol.h \
	xdmcp-server.c \
	xdmcp-server.h \
	xdmcp-session.c \
	xdmcp-session.h \
	xdmcp-session-private.h

lightdm_CFLAGS = \
	$(WARN_CFLAGS) \
	$(LIGHTDM_CFLAGS) \
	-I"$(top_srcdir)/common" \
	-DSBIN_DIR=\"$(sbindir)\" \
	-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:$(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

dm_tool_SOURCES = \
	dm-tool.c

dm_tool_CFLAGS = \
	$(WARN_CFLAGS) \
	$(LIGHTDM_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