Adding upstream version 0.4.1.
[debian/lxdm.git] / src / Makefile.am
1 NULL =
2
3 sbin_PROGRAMS = lxdm-binary
4
5 lxdm_binary_CFLAGS = \
6         $(GLIB_CFLAGS) \
7         -DCONFIG_FILE=\"@sysconfdir@/@PACKAGE@/@PACKAGE@.conf\" \
8         -DXSESSIONS_DIR=\"@datarootdir@/xsessions\" \
9         -DLXDM_DATA_DIR=@datadir@/@PACKAGE@ \
10         -DLXDM_NUMLOCK_PATH=\"@libexecdir@/lxdm-numlock\" \
11         $(CONSOLEKIT_CFLAGS) \
12         -Werror-implicit-function-declaration \
13         -Wall \
14         $(NULL)
15
16 lxdm_binary_LDADD = \
17         $(GLIB_LIBS) \
18         $(XCONN_LIBS) \
19         $(CONSOLEKIT_LIBS) \
20         $(NULL)
21
22 lxdm_binary_SOURCES = \
23         lxdm.c lxdm.h ui.c lxcom.c lxcom.h xconn.c xconn.h \
24         $(NULL)
25
26 libexec_PROGRAMS = lxdm-greeter-gdk lxdm-numlock lxdm-greeter-gtk
27
28 lxdm_greeter_gtk_CFLAGS = \
29         $(GTK_CFLAGS) \
30         -DCONFIG_FILE=\"@sysconfdir@/@PACKAGE@/@PACKAGE@.conf\" \
31         -DXSESSIONS_DIR=\"@datarootdir@/xsessions\" \
32         -DLXDM_DATA_DIR=\"@datadir@/@PACKAGE@\" \
33         -DPACKAGE_LOCALE_DIR=\"@localedir@\" \
34         -DGNOMELOCALEDIR=\"@localedir@\" \
35         -DLIBLOCALEDIR=\"@prefix@/lib/locale\" \
36         -Werror-implicit-function-declaration \
37         -Wall \
38         $(NULL)
39
40 lxdm_greeter_gtk_LDADD = \
41         $(XLIB_LIBS) \
42         $(GTK_LIBS) \
43         $(NULL)
44
45 lxdm_greeter_gtk_SOURCES = \
46         greeter.c \
47         lang.c lang.h \
48         gdm/gdm-languages.c gdm/gdm-languages.h \
49         gdm/locarchive.h \
50         lxcom.c lxcom.h \
51         greeter-utils.c greeter-utils.h \
52         $(NULL)
53
54 lxdm_greeter_gdk_CFLAGS = \
55         $(GTK_CFLAGS) \
56         -DCONFIG_FILE=\"@sysconfdir@/@PACKAGE@/@PACKAGE@.conf\" \
57         -DXSESSIONS_DIR=\"@datarootdir@/xsessions\" \
58         -DLXDM_DATA_DIR=\"@datadir@/@PACKAGE@\" \
59         -DPACKAGE_LOCALE_DIR=\"@localedir@\" \
60         -DGNOMELOCALEDIR=\"@localedir@\" \
61         -DLIBLOCALEDIR=\"@prefix@/lib/locale\" \
62         -Werror-implicit-function-declaration \
63         -Wall \
64         $(NULL)
65
66 lxdm_greeter_gdk_LDADD = \
67         $(XLIB_LIBS) \
68         $(GDK_LIBS) \
69         $(NULL)
70
71 lxdm_greeter_gdk_SOURCES = \
72         greeter-gdk.c greeter-utils.c
73
74 lxdm_numlock_SOURCES = \
75         numlock.c \
76         $(NULL)
77
78 lxdm_numlock_CFLAGS = \
79         $(XLIB_CFLAGS) \
80         -DLXDM_NUMLOCK_PATH=\"@libexecdir@/lxdm-numlock\" \
81         $(NULL)
82
83 lxdm_numlock_LDADD = \
84         $(XLIB_LIBS) \
85         $(NULL)
86
87 bin_PROGRAMS = lxdm-config
88
89 lxdm_config_CFLAGS = \
90         $(GTK_CFLAGS) \
91         -DCONFIG_FILE=\"@sysconfdir@/@PACKAGE@/@PACKAGE@.conf\" \
92         -DLXDM_DATA_DIR=\"@datadir@/@PACKAGE@\" \
93         $(NULL)
94
95 lxdm_config_LDADD = \
96         $(GTK_LIBS) \
97         $(NULL)
98
99 lxdm_config_SOURCES = \
100         config.c \
101         $(NULL)
102