]> rtime.felk.cvut.cz Git - sojka/lightdm.git/blob - src/Makefile.am
Don't need to pass PKGLIBEXECDIR to lightdm source anymore
[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         configuration.c \
8         configuration.h \
9         console-kit.c \
10         console-kit.h \
11         display-manager.c \
12         display-manager.h \
13         display-server.c \
14         display-server.h \
15         dmrc.c \
16         dmrc.h \
17         greeter.c \
18         greeter.h \
19         guest-account.c \
20         guest-account.h \
21         lightdm.c \
22         logger.c \
23         logger.h \
24         login1.c \
25         login1.h \
26         mir-server.c \
27         mir-server.h \
28         plymouth.c \
29         plymouth.h \
30         privileges.c \
31         privileges.h \
32         process.c \
33         process.h \
34         seat.c \
35         seat.h \
36         seat-surfaceflinger.c \
37         seat-surfaceflinger.h \
38         seat-unity.c \
39         seat-unity.h \
40         seat-xdmcp-session.c \
41         seat-xdmcp-session.h \
42         seat-xlocal.c \
43         seat-xlocal.h \
44         seat-xremote.c \
45         seat-xremote.h \
46         seat-xvnc.c \
47         seat-xvnc.h \
48         session.c \
49         session.h \
50         session-child.c \
51         session-child.h \
52         session-config.c \
53         session-config.h \
54         surfaceflinger-server.c \
55         surfaceflinger-server.h \
56         vnc-server.c \
57         vnc-server.h \
58         vt.c \
59         vt.h \
60         x-authority.c \
61         x-authority.h \
62         x-server-local.c \
63         x-server-local.h \
64         x-server-remote.c \
65         x-server-remote.h \
66         x-server-xvnc.c \
67         x-server-xvnc.h \
68         x-server.c \
69         x-server.h \
70         xdmcp-protocol.c \
71         xdmcp-protocol.h \
72         xdmcp-server.c \
73         xdmcp-server.h \
74         xdmcp-session.c \
75         xdmcp-session.h \
76         xdmcp-session-private.h
77
78 lightdm_CFLAGS = \
79         $(LIGHTDM_CFLAGS) \
80         $(WARN_CFLAGS) \
81         -DSBIN_DIR=\"$(sbindir)\" \
82         -DCONFIG_DIR=\"$(sysconfdir)/lightdm\" \
83         -DLOG_DIR=\"$(localstatedir)/log/lightdm\" \
84         -DRUN_DIR=\"$(localstatedir)/run/lightdm\" \
85         -DCACHE_DIR=\"$(localstatedir)/cache/lightdm\" \
86         -DSYSTEM_CONFIG_DIR=\"$(pkgdatadir)/lightdm.conf.d\" \
87         -DSESSIONS_DIR=\"$(pkgdatadir)/sessions:$(datadir)/xsessions\" \
88         -DREMOTE_SESSIONS_DIR=\"$(pkgdatadir)/remote-sessions\" \
89         -DGREETERS_DIR=\"$(pkgdatadir)/greeters:$(datadir)/xgreeters\"
90
91 lightdm_LDADD = \
92         $(LIGHTDM_LIBS) \
93         -lgcrypt \
94         -lpam
95
96 dm_tool_SOURCES = \
97         dm-tool.c
98
99 dm_tool_CFLAGS = \
100         $(LIGHTDM_CFLAGS) \
101         -DCONFIG_DIR=\"$(sysconfdir)/lightdm\" \
102         -DLOCALE_DIR=\"$(datadir)/locale\"
103
104 dm_tool_LDADD = \
105         $(LIGHTDM_LIBS)
106
107 pkglibexec_PROGRAMS = lightdm-guest-session-wrapper
108
109 lightdm_guest_session_wrapper_SOURCES = lightdm-guest-session-wrapper.c
110
111 lightdm_guest_session_wrapper_CFLAGS = \
112         $(LIGHTDM_CFLAGS) \
113         $(WARN_CFLAGS)
114
115 EXTRA_DIST = \
116         display-manager.xml
117
118 DISTCLEANFILES = \
119         Makefile.in