summaryrefslogtreecommitdiff
path: root/gui/Makefile.am
blob: 8dd1f57118740555521ecb723aa38a03381b284f (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
149
150
151
152
153
154
155
156
157
158
159
160
SUBDIRS = . greeter modules

## Process this file with automake to produce makefile.in
DEFS = @DEFS@ -DGDM_CONFIG_FILE=\"@sysconfdir@/gdm/gdm.conf\" \
	-DGDM_FACTORY_CONFIG_FILE=\"@sysconfdir@/gdm/factory-gdm.conf\" \
	-DGDM_GLADE_DIR=\"@datadir@/gdm\"


INCLUDES = \
	-I.						\
	-I..						\
	-DG_DISABLE_DEPRECATED				\
	-DGDK_DISABLE_DEPRECATED			\
	-DGDK_PIXBUF_DISABLE_DEPRECATED			\
	-DGTK_DISABLE_DEPRECATED			\
	-DGNOME_DISABLE_DEPRECATED			\
	-I$(top_srcdir)/daemon				\
	-I$(top_srcdir)/vicious-extensions		\
	-DGNOMELOCALEDIR=\""$(datadir)/locale"\" 	\
	$(GUI_CFLAGS)

noinst_LIBRARIES = libgdmwm.a libgdmlang.a

bin_PROGRAMS = \
	@GDMCHOOSER@ 		\
	gdmlogin 		\
	gdmsetup 		\
	gdmphotosetup 		\
	@GDMXNESTCHOOSER@	\
	gdmflexiserver
EXTRA_PROGRAMS = gdmchooser gdmXnestchooser

gdmphotosetup_SOURCES = \
	gdmphotosetup.c

gdmXnestchooser_SOURCES = \
	gdmXnestchooser.c	\
	gdmcomm.c		\
	gdmcomm.h

gdmflexiserver_SOURCES = \
	gdmflexiserver.c	\
	gdmcomm.c		\
	gdmcomm.h

libgdmwm_a_SOURCES = \
	gdmwm.c			\
	gdmwm.h

libgdmlang_a_SOURCES = \
	gdmlanguages.c		\
	gdmlanguages.h

gdmchooser_SOURCES = \
	gdmchooser.c		\
	misc.c			\
	misc.h			

gdmlogin_SOURCES = \
	gdmlogin.c		\
	misc.c			\
	misc.h

gdmsetup_SOURCES = \
	gdmsetup.c		\
	gdmcomm.c		\
	gdmcomm.h		\
	misc.c			\
	misc.h

gdmchooser_LDFLAGS = -export-dynamic
gdmchooser_LDADD = \
	libgdmwm.a		\
	$(GUI_LIBS)		\
	$(X_LIBS)		\
	$(XDMCP_LIBS)		\
	-lX11			\
	$(XINERAMA_LIBS)	\
	$(X_EXTRA_LIBS)	\
	$(INTLLIBS)		\
	-L$(top_builddir)/vicious-extensions	\
	-lviciousui

gdmlogin_LDADD = \
	libgdmwm.a		\
	libgdmlang.a		\
	$(GUING_LIBS)		\
	$(X_LIBS)		\
	-lX11			\
	$(XINERAMA_LIBS)	\
	$(X_EXTRA_LIBS)		\
	$(INTLLIBS)		\
	-L$(top_builddir)/vicious-extensions	\
	-lviciousui-minimal

gdmsetup_LDFLAGS = -export-dynamic
gdmsetup_LDADD = \
	$(GUI_LIBS)		\
	-lXau			\
	-lX11			\
	$(INTLLIBS)		\
	-L$(top_builddir)/vicious-extensions	\
	-lviciousui-gnome

gdmphotosetup_LDADD = \
	$(GUI_LIBS)		\
	$(INTLLIBS)		\
	-L$(top_builddir)/vicious-extensions	\
	-lviciousui-gnome

gdmXnestchooser_LDADD = \
	$(GUI_LIBS)		\
	-lXau			\
	-lX11			\
	$(INTLLIBS)		\
	-L$(top_builddir)/vicious-extensions	\
	-lviciousui-gnome

gdmflexiserver_LDADD = \
	$(GUI_LIBS)		\
	-lXau			\
	$(INTLLIBS)		\
	-L$(top_builddir)/vicious-extensions	\
	-lviciousui-gnome

Settingsdir = $(datadir)/gnome/capplets
Settings_in_files = gdmphotosetup.desktop.in
Settings_DATA = $(Settings_in_files:.desktop.in=.desktop)

Systemdir = $(datadir)/applications
System_in_files = \
	gdmsetup.desktop.in		\
	gdmflexiserver.desktop.in	\
	gdmflexiserver-xnest.desktop.in
System_DATA = $(System_in_files:.desktop.in=.desktop)

@INTLTOOL_DESKTOP_RULE@

Gladedir = $(datadir)/gdm
Glade_DATA = gdmsetup.glade gdmchooser.glade

Iconsdir = $(datadir)/pixmaps

Icons_DATA = \
	login-photo.png

install-data-local:
	$(LN_S) -f gdmXnestchooser $(DESTDIR)$(bindir)/gdmXnest

EXTRA_DIST = \
	gdmsetup-strings.c	\
	gdmchooser-strings.c	\
	gdmsetup.gladep		\
	gdmchooser.gladep	\
	$(Glade_DATA)		\
	$(Icons_DATA)		\
	$(System_DATA)		\
	$(System_in_files)	\
	$(Settings_DATA)	\
	$(Settings_in_files)