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