Imported Upstream version 0.1.0
[debian/lxdm.git] / src / Makefile.am
1 NULL =
2
3 bin_PROGRAMS = lxdm-binary lxdm-greeter-gtk
4
5 lxdm_binary_CFLAGS = \
6         $(GTK_CFLAGS) \
7         -DCONFIG_DIR=\"$(sysconfdir)/lxdm\" \
8         -DLXDM_DATA_DIR=\"$(datadir)/lxdm\" \
9         $(CONSOLEKIT_CFLAGS) \
10         -Werror-implicit-function-declaration
11         $(NULL)
12
13 lxdm_binary_LDADD = \
14         $(GTK_LIBS) \
15         $(CONSOLEKIT_LIBS) \
16         $(NULL)
17
18 lxdm_binary_SOURCES = \
19         lxdm.c lxdm.h \
20         ui.c \
21         $(NULL)
22
23 lxdm_greeter_gtk_CFLAGS = \
24         $(GTK_CFLAGS) \
25         -DCONFIG_DIR=\"$(sysconfdir)/lxdm\" \
26         -DLXDM_DATA_DIR=\"$(datadir)/lxdm\" \
27         -DPACKAGE_LOCALE_DIR=\"$(datadir)/locale\" \
28         -DGNOMELOCALEDIR=PACKAGE_LOCALE_DIR \
29         -DLIBLOCALEDIR=\""$(prefix)/lib/locale"\" \
30         -Werror-implicit-function-declaration
31         $(NULL)
32
33 lxdm_greeter_gtk_LDADD = \
34         $(GTK_LIBS) \
35         $(NULL)
36
37 lxdm_greeter_gtk_SOURCES = \
38         greeter.c \
39         lang.c lang.h \
40         gdm/gdm-languages.c gdm/gdm-languages.h \
41         gdm/locarchive.h \
42         $(NULL)
43