]> rtime.felk.cvut.cz Git - sojka/lightdm.git/blob - src/Makefile.am
Don't remove autotools generated files in distclean. That was kind of naughty and...
[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         x-authority.c \
55         x-authority.h \
56         x-server-local.c \
57         x-server-local.h \
58         x-server-remote.c \
59         x-server-remote.h \
60         x-server-xvnc.c \
61         x-server-xvnc.h \
62         x-server.c \
63         x-server.h \
64         xdmcp-protocol.c \
65         xdmcp-protocol.h \
66         xdmcp-server.c \
67         xdmcp-server.h \
68         xdmcp-session.c \
69         xdmcp-session.h \
70         xdmcp-session-private.h
71
72 lightdm_CFLAGS = \
73         $(WARN_CFLAGS) \
74         $(LIGHTDM_CFLAGS) \
75         -I"$(top_srcdir)/common" \
76         -DSBIN_DIR=\"$(sbindir)\" \
77         -DUSERS_DIR=\"$(localstatedir)/lib/lightdm-data\" \
78         -DLOG_DIR=\"$(localstatedir)/log/lightdm\" \
79         -DRUN_DIR=\"$(localstatedir)/run/lightdm\" \
80         -DCACHE_DIR=\"$(localstatedir)/cache/lightdm\" \
81         -DSESSIONS_DIR=\"$(pkgdatadir)/sessions:$(datadir)/xsessions\" \
82         -DREMOTE_SESSIONS_DIR=\"$(pkgdatadir)/remote-sessions\" \
83         -DGREETERS_DIR=\"$(pkgdatadir)/greeters:$(datadir)/xgreeters\"
84
85 lightdm_LDADD = \
86         $(LIGHTDM_LIBS) \
87         $(top_builddir)/common/libcommon.la \
88         -lgcrypt \
89         -lpam
90
91 dm_tool_SOURCES = \
92         dm-tool.c
93
94 dm_tool_CFLAGS = \
95         $(WARN_CFLAGS) \
96         $(LIGHTDM_CFLAGS) \
97         -DLOCALE_DIR=\"$(datadir)/locale\"
98
99 dm_tool_LDADD = \
100         $(LIGHTDM_LIBS)
101
102 libexec_PROGRAMS = lightdm-guest-session
103
104 lightdm_guest_session_SOURCES = lightdm-guest-session.c
105
106 lightdm_guest_session_CFLAGS = \
107         $(WARN_CFLAGS) \
108         $(LIGHTDM_CFLAGS)
109
110 EXTRA_DIST = \
111         display-manager.xml