]> rtime.felk.cvut.cz Git - sojka/lightdm.git/blob - src/Makefile.am
abf506425a380eacd5ad11a362010c61bde668b0
[sojka/lightdm.git] / src / Makefile.am
1 sbin_PROGRAMS = lightdm
2 bin_PROGRAMS = dm-tool
3
4 lightdm_SOURCES = \
5         accounts.c \
6         accounts.h \
7         console-kit.c \
8         console-kit.h \
9         display-manager.c \
10         display-manager.h \
11         display-server.c \
12         display-server.h \
13         greeter.c \
14         greeter.h \
15         greeter-session.c \
16         greeter-session.h \
17         guest-account.c \
18         guest-account.h \
19         lightdm.c \
20         logger.c \
21         logger.h \
22         login1.c \
23         login1.h \
24         log-file.c \
25         log-file.h \
26         plymouth.c \
27         plymouth.h \
28         process.c \
29         process.h \
30         seat.c \
31         seat.h \
32         seat-local.c \
33         seat-local.h \
34         seat-unity.c \
35         seat-unity.h \
36         seat-xdmcp-session.c \
37         seat-xdmcp-session.h \
38         seat-xremote.c \
39         seat-xremote.h \
40         seat-xvnc.c \
41         seat-xvnc.h \
42         session.c \
43         session.h \
44         session-child.c \
45         session-child.h \
46         session-config.c \
47         session-config.h \
48         shared-data-manager.c \
49         shared-data-manager.h \
50         unity-system-compositor.c \
51         unity-system-compositor.h \
52         vnc-server.c \
53         vnc-server.h \
54         vt.c \
55         vt.h \
56         wayland-session.c \
57         wayland-session.h \
58         x-authority.c \
59         x-authority.h \
60         x-server-local.c \
61         x-server-local.h \
62         x-server-remote.c \
63         x-server-remote.h \
64         x-server-xmir.c \
65         x-server-xmir.h \
66         x-server-xvnc.c \
67         x-server-xvnc.h \
68         x-server.c \
69         x-server.h \
70         xdmcp-protocol.c \
71         xdmcp-protocol.h \
72         xdmcp-server.c \
73         xdmcp-server.h \
74         xdmcp-session.c \
75         xdmcp-session.h \
76         xdmcp-session-private.h
77
78 lightdm_CFLAGS = \
79         $(WARN_CFLAGS) \
80         $(LIGHTDM_CFLAGS) \
81         -I"$(top_srcdir)/common" \
82         -DSBIN_DIR=\"$(sbindir)\" \
83         -DUSERS_DIR=\"$(localstatedir)/lib/lightdm-data\" \
84         -DLOG_DIR=\"$(localstatedir)/log/lightdm\" \
85         -DRUN_DIR=\"$(localstatedir)/run/lightdm\" \
86         -DCACHE_DIR=\"$(localstatedir)/cache/lightdm\" \
87         -DSESSIONS_DIR=\"$(pkgdatadir)/sessions:$(datadir)/xsessions:$(datadir)/wayland-sessions\" \
88         -DWAYLAND_SESSIONS_DIR=\"$(datadir)/wayland-sessions\" \
89         -DREMOTE_SESSIONS_DIR=\"$(pkgdatadir)/remote-sessions\" \
90         -DGREETERS_DIR=\"$(pkgdatadir)/greeters:$(datadir)/xgreeters\"
91
92 lightdm_LDADD = \
93         $(LIGHTDM_LIBS) \
94         $(top_builddir)/common/libcommon.la \
95         -lgcrypt \
96         -lpam
97
98 dm_tool_SOURCES = \
99         dm-tool.c
100
101 dm_tool_CFLAGS = \
102         $(WARN_CFLAGS) \
103         $(LIGHTDM_CFLAGS) \
104         -DLOCALE_DIR=\"$(datadir)/locale\"
105
106 dm_tool_LDADD = \
107         $(LIGHTDM_LIBS)
108
109 libexec_PROGRAMS = lightdm-guest-session
110
111 lightdm_guest_session_SOURCES = lightdm-guest-session.c
112
113 lightdm_guest_session_CFLAGS = \
114         $(WARN_CFLAGS) \
115         $(LIGHTDM_CFLAGS)
116
117 EXTRA_DIST = \
118         display-manager.xml