summaryrefslogtreecommitdiff
path: root/gui/simple-greeter/Makefile.am
blob: 9d1828a6ce4a577c0f265205af4c681ada49ab9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
NULL =

SUBDIRS = 				\
	libnotificationarea		\
	$(NULL)

INCLUDES = \
	-I$(top_srcdir)/common				\
	-I$(top_srcdir)/libgreeter			\
	-I$(top_srcdir)/gui/simple-greeter/libnotificationarea	\
	-DDMCONFDIR=\""$(dmconfdir)"\"			\
	-DGDMCONFDIR=\"$(gdmconfdir)\"                  \
	-DDATADIR=\""$(datadir)"\"		 	\
	-DLIBLOCALEDIR=\""$(libdir)/locale"\"		\
	-DGNOMELOCALEDIR=\""$(datadir)/locale"\" 	\
	-DGLADEDIR=\""$(pkgdatadir)"\" 	\
	-DLIBEXECDIR=\""$(libexecdir)"\" 		\
	-DSBINDIR=\""$(sbindir)"\"		 	\
	$(GUI_CFLAGS)					\
	$(DBUS_CFLAGS)					\
	$(GREETER_CFLAGS)				\
	$(CAPPLET_CFLAGS)				\
	$(NULL)

noinst_PROGRAMS = 		\
	test-greeter-background	\
	test-greeter-panel	\
	test-language-chooser	\
	test-session-chooser	\
	test-user-chooser	\
	test-user-manager	\
	$(NULL)

test_greeter_background_SOURCES = 	\
	test-greeter-background.c	\
	gdm-greeter-background.h	\
	gdm-greeter-background.c	\
	$(NULL)

test_greeter_background_LDADD =	\
	$(CAPPLET_LIBS)		\
	$(GUI_LIBS)		\
	$(NULL)

test_greeter_panel_SOURCES = 	\
	test-greeter-panel.c	\
	gdm-greeter-panel.h	\
	gdm-greeter-panel.c	\
	$(NULL)

test_greeter_panel_LDADD =	\
	$(top_builddir)/gui/simple-greeter/libnotificationarea/libnotificationarea.la	\
	$(GUI_LIBS)		\
	$(NULL)

test_language_chooser_SOURCES = 	\
	test-language-chooser.c		\
	gdm-language-chooser-widget.h	\
	gdm-language-chooser-widget.c	\
	locarchive.h			\
	gdm-language-chooser-dialog.h	\
	gdm-language-chooser-dialog.c	\
	$(NULL)

test_language_chooser_LDADD =	\
	$(GUI_LIBS)		\
	$(NULL)

test_session_chooser_SOURCES = 	\
	test-session-chooser.c		\
	gdm-session-chooser-widget.h	\
	gdm-session-chooser-widget.c	\
	gdm-session-chooser-dialog.h	\
	gdm-session-chooser-dialog.c	\
	$(NULL)

test_session_chooser_LDADD =	\
	$(GUI_LIBS)		\
	$(NULL)

test_user_chooser_SOURCES = 	\
	test-user-chooser.c		\
	gdm-user-chooser-widget.h	\
	gdm-user-chooser-widget.c	\
	gdm-user-chooser-dialog.h	\
	gdm-user-chooser-dialog.c	\
	gdm-user-manager.h		\
	gdm-user-manager.c		\
	gdm-user.h			\
	gdm-user.c			\
	$(NULL)

test_user_chooser_LDADD =	\
	$(GUI_LIBS)		\
	$(NULL)

test_user_manager_SOURCES = 	\
	test-user-manager.c	\
	gdm-user-manager.h	\
	gdm-user-manager.c	\
	gdm-user.h		\
	gdm-user.c		\
	$(NULL)

test_user_manager_LDADD =	\
	$(GUI_LIBS)		\
	$(NULL)

libexec_PROGRAMS =					\
	gdm-simple-greeter

gdm_simple_greeter_SOURCES =  		\
	greeter-main.c 			\
	gdm-simple-greeter.c		\
	gdm-simple-greeter.h		\
	gdm-greeter-panel.h		\
	gdm-greeter-panel.c		\
	gdm-greeter-background.h	\
	gdm-greeter-background.c	\
	gdm-user-chooser-widget.h	\
	gdm-user-chooser-widget.c	\
	gdm-user-manager.h		\
	gdm-user-manager.c		\
	gdm-user.h			\
	gdm-user.c			\
	$(NULL)

gdm_simple_greeter_LDADD = 		\
	$(EXTRA_GREETER_LIBS)   	\
	-L$(top_builddir)/libgreeter	\
	-lgreeter			\
	$(top_builddir)/gui/simple-greeter/libnotificationarea/libnotificationarea.la	\
	$(GLIB_LIBS)		\
	$(DBUS_LIBS)		\
	$(GOBJECT_LIBS)		\
	$(GUI_LIBS)		\
	$(GREETER_LIBS)		\
	$(CAPPLET_LIBS)		\
	$(NULL)

gladedir = $(pkgdatadir)
glade_DATA = 				\
	gdm-simple-greeter.glade	\
	$(NULL)

EXTRA_DIST = 			\
	$(glade_DATA)		\
	$(NULL)