]> rtime.felk.cvut.cz Git - sojka/lightdm.git/blob - src/Makefile.am
Move config loading into one function; move that function into libcommon; call it...
[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-surfaceflinger.c \
31         seat-surfaceflinger.h \
32         seat-unity.c \
33         seat-unity.h \
34         seat-xdmcp-session.c \
35         seat-xdmcp-session.h \
36         seat-xlocal.c \
37         seat-xlocal.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         surfaceflinger-server.c \
51         surfaceflinger-server.h \
52         unity-system-compositor.c \
53         unity-system-compositor.h \
54         vnc-server.c \
55         vnc-server.h \
56         vt.c \
57         vt.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-xvnc.c \
65         x-server-xvnc.h \
66         x-server.c \
67         x-server.h \
68         xdmcp-protocol.c \
69         xdmcp-protocol.h \
70         xdmcp-server.c \
71         xdmcp-server.h \
72         xdmcp-session.c \
73         xdmcp-session.h \
74         xdmcp-session-private.h
75
76 lightdm_CFLAGS = \
77         $(WARN_CFLAGS) \
78         $(LIGHTDM_CFLAGS) \
79         -I"$(top_srcdir)/common" \
80         -DSBIN_DIR=\"$(sbindir)\" \
81         -DUSERS_DIR=\"$(localstatedir)/lib/lightdm-data\" \
82         -DLOG_DIR=\"$(localstatedir)/log/lightdm\" \
83         -DRUN_DIR=\"$(localstatedir)/run/lightdm\" \
84         -DCACHE_DIR=\"$(localstatedir)/cache/lightdm\" \
85         -DSESSIONS_DIR=\"$(pkgdatadir)/sessions:$(datadir)/xsessions\" \
86         -DREMOTE_SESSIONS_DIR=\"$(pkgdatadir)/remote-sessions\" \
87         -DGREETERS_DIR=\"$(pkgdatadir)/greeters:$(datadir)/xgreeters\"
88
89 lightdm_LDADD = \
90         $(LIGHTDM_LIBS) \
91         $(top_builddir)/common/libcommon.la \
92         -lgcrypt \
93         -lpam
94
95 dm_tool_SOURCES = \
96         dm-tool.c
97
98 dm_tool_CFLAGS = \
99         $(WARN_CFLAGS) \
100         $(LIGHTDM_CFLAGS) \
101         -DLOCALE_DIR=\"$(datadir)/locale\"
102
103 dm_tool_LDADD = \
104         $(LIGHTDM_LIBS)
105
106 libexec_PROGRAMS = lightdm-guest-session
107
108 lightdm_guest_session_SOURCES = lightdm-guest-session.c
109
110 lightdm_guest_session_CFLAGS = \
111         $(WARN_CFLAGS) \
112         $(LIGHTDM_CFLAGS)
113
114 EXTRA_DIST = \
115         display-manager.xml
116
117 DISTCLEANFILES = \
118         Makefile.in