summaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: 62ed09de806f61b2e8cefd85038b1485fd4caf18 (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
sbin_PROGRAMS = lightdm

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 \
	guest-account.c \
	guest-account.h \
	lightdm.c \
	logger.c \
	logger.h \
	login1.c \
	login1.h \
	mir-server.c \
	mir-server.h \
	plymouth.c \
	plymouth.h \
	privileges.c \
	privileges.h \
	process.c \
	process.h \
	seat.c \
	seat.h \
	seat-surfaceflinger.c \
	seat-surfaceflinger.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 \
	surfaceflinger-server.c \
	surfaceflinger-server.h \
	vnc-server.c \
	vnc-server.h \
	vt.c \
	vt.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 = \
	$(LIGHTDM_CFLAGS) \
	$(WARN_CFLAGS) \
	-DPKGLIBEXEC_DIR=\"$(pkglibexecdir)\" \
	-DSBIN_DIR=\"$(sbindir)\" \
	-DCONFIG_DIR=\"$(sysconfdir)/lightdm\" \
	-DLOG_DIR=\"$(localstatedir)/log/lightdm\" \
	-DRUN_DIR=\"$(localstatedir)/run/lightdm\" \
	-DCACHE_DIR=\"$(localstatedir)/cache/lightdm\" \
	-DSYSTEM_CONFIG_DIR=\"$(pkgdatadir)/lightdm.conf.d\" \
	-DSESSIONS_DIR=\"$(pkgdatadir)/sessions:$(datadir)/xsessions\" \
	-DREMOTE_SESSIONS_DIR=\"$(pkgdatadir)/remote-sessions\" \
	-DGREETERS_DIR=\"$(pkgdatadir)/greeters:$(datadir)/xgreeters\"

lightdm_LDADD = \
	$(LIGHTDM_LIBS) \
	-lgcrypt \
	-lpam

pkglibexec_PROGRAMS = lightdm-guest-session-wrapper

lightdm_guest_session_wrapper_SOURCES = lightdm-guest-session-wrapper.c

lightdm_guest_session_wrapper_CFLAGS = \
	$(LIGHTDM_CFLAGS) \
	$(WARN_CFLAGS)

EXTRA_DIST = \
	display-manager.xml

DISTCLEANFILES = \
	Makefile.in