summaryrefslogtreecommitdiff
path: root/utils/Makefile.am
blob: 4517c5dbe68ec89bc2df1698dd896a9e02e5aa42 (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
## 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..						\
	-I$(top_srcdir)/daemon				\
	-I$(top_srcdir)/vicious-extensions		\
	-DGNOMELOCALEDIR=\""$(datadir)/locale"\" 	\
	$(UTILS_CFLAGS)

libexec_PROGRAMS = \
	@GDMASKPASS@	\
	@GDMOPEN@	\
	@GDMPREFETCH@	\
	gdmtranslate	

if DMX_SUPPORT
bin_PROGRAMS = gdm-dmx-reconnect-proxy
endif

EXTRA_PROGRAMS = gdmaskpass gdmopen gdmprefetch

gdmaskpass_SOURCES = \
	gdmaskpass.c

gdmtranslate_SOURCES = \
	gdmtranslate.c

gdmopen_SOURCES = \
	gdmopen.c

gdmprefetch_SOURCES = \
	gdmprefetch.c

gdmaskpass_LDADD = \
	$(INTLLIBS)		\
	-lpam			\
	$(EXTRA_GDMASKPASS_LIBS)

gdmopen_LDADD = \
	$(INTLLIBS)

gdmtranslate_LDADD = \
	$(INTLLIBS)

if DMX_SUPPORT
gdm_dmx_reconnect_proxy_SOURCES = \
	gdm-dmx-reconnect-proxy.c

gdm_dmx_reconnect_proxy_LDADD = \
	$(GLIB_LIBS) \
	$(X_EXTRA_LIBS) \
	$(X_LIBS) \
	-lX11 \
	$(DMX_LIBS)
endif