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