]> rtime.felk.cvut.cz Git - sojka/lightdm.git/blob - src/Makefile.am
Also support loading config from /usr/share since Debian (stupidly) wont remove files...
[sojka/lightdm.git] / src / Makefile.am
1 sbin_PROGRAMS = lightdm
2
3 lightdm_SOURCES = \
4         accounts.c \
5         accounts.h \
6         configuration.c \
7         configuration.h \
8         console-kit.c \
9         console-kit.h \
10         display-manager.c \
11         display-manager.h \
12         display-server.c \
13         display-server.h \
14         dmrc.c \
15         dmrc.h \
16         greeter.c \
17         greeter.h \
18         guest-account.c \
19         guest-account.h \
20         lightdm.c \
21         logger.c \
22         logger.h \
23         login1.c \
24         login1.h \
25         mir-server.c \
26         mir-server.h \
27         plymouth.c \
28         plymouth.h \
29         privileges.c \
30         privileges.h \
31         process.c \
32         process.h \
33         seat.c \
34         seat.h \
35         seat-unity.c \
36         seat-unity.h \
37         seat-xdmcp-session.c \
38         seat-xdmcp-session.h \
39         seat-xlocal.c \
40         seat-xlocal.h \
41         seat-xremote.c \
42         seat-xremote.h \
43         seat-xvnc.c \
44         seat-xvnc.h \
45         session.c \
46         session.h \
47         session-child.c \
48         session-child.h \
49         session-config.c \
50         session-config.h \
51         vnc-server.c \
52         vnc-server.h \
53         vt.c \
54         vt.h \
55         x-authority.c \
56         x-authority.h \
57         x-server-local.c \
58         x-server-local.h \
59         x-server-remote.c \
60         x-server-remote.h \
61         x-server-xvnc.c \
62         x-server-xvnc.h \
63         x-server.c \
64         x-server.h \
65         xdmcp-protocol.c \
66         xdmcp-protocol.h \
67         xdmcp-server.c \
68         xdmcp-server.h \
69         xdmcp-session.c \
70         xdmcp-session.h \
71         xdmcp-session-private.h
72
73 lightdm_CFLAGS = \
74         $(LIGHTDM_CFLAGS) \
75         $(WARN_CFLAGS) \
76         -DPKGLIBEXEC_DIR=\"$(pkglibexecdir)\" \
77         -DSBIN_DIR=\"$(sbindir)\" \
78         -DCONFIG_DIR=\"$(sysconfdir)/lightdm\" \
79         -DLOG_DIR=\"$(localstatedir)/log/lightdm\" \
80         -DRUN_DIR=\"$(localstatedir)/run/lightdm\" \
81         -DCACHE_DIR=\"$(localstatedir)/cache/lightdm\" \
82         -DSYSTEM_CONFIG_DIR=\"$(pkgdatadir)/lightdm.conf.d\" \
83         -DSESSIONS_DIR=\"$(pkgdatadir)/sessions:$(datadir)/xsessions\" \
84         -DREMOTE_SESSIONS_DIR=\"$(pkgdatadir)/remote-sessions\" \
85         -DGREETERS_DIR=\"$(pkgdatadir)/greeters:$(datadir)/xgreeters\"
86
87 lightdm_LDADD = \
88         $(LIGHTDM_LIBS) \
89         -lgcrypt \
90         -lpam
91
92 pkglibexec_PROGRAMS = lightdm-guest-session-wrapper
93
94 lightdm_guest_session_wrapper_SOURCES = lightdm-guest-session-wrapper.c
95
96 lightdm_guest_session_wrapper_CFLAGS = \
97         $(LIGHTDM_CFLAGS) \
98         $(WARN_CFLAGS)
99
100 EXTRA_DIST = \
101         display-manager.xml
102
103 DISTCLEANFILES = \
104         Makefile.in