summaryrefslogtreecommitdiff
path: root/utils/Makefile.am
blob: babe890b973b01b216db9830cf5bf2529e770c19 (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
NULL =

AM_CPPFLAGS = \
	-I$(srcdir)					\
	-I$(builddir)					\
	-I$(top_srcdir)					\
	-I$(top_builddir)				\
	-I$(top_srcdir)/common				\
	-I$(top_builddir)/common			\
	-DDATADIR=\"$(datadir)\"			\
	-DGDMCONFDIR=\"$(gdmconfdir)\"			\
	-DLOCALSTATEDIR=\""$(localstatedir)"\" 		\
	-DGDM_RUN_DIR=\"$(GDM_RUN_DIR)\"		\
	-DGDM_RUNTIME_CONF=\"$(GDM_RUNTIME_CONF)\"	\
	-DGDM_SCREENSHOT_DIR=\""$(GDM_SCREENSHOT_DIR)"\"\
	-DGNOMELOCALEDIR=\""$(datadir)/locale"\" 	\
	$(UTILS_CFLAGS)					\
	$(CANBERRA_GTK_CFLAGS)				\
	$(GTK_CFLAGS)					\
	$(XLIB_CFLAGS)					\
	$(SYSTEMD_CFLAGS)				\
	$(COMMON_CFLAGS)				\
	$(NULL)

edit = sed \
	-e 's|@sbindir[@]|$(sbindir)|g' \
	-e 's|@sysconfdir[@]|$(sysconfdir)|g' \
	-e 's|@localstatedir[@]|$(localstatedir)|g' \
	-e 's|@GDM_PID_FILE[@]|$(GDM_PID_FILE)|g'

bin_PROGRAMS = \
	gdmflexiserver		\
	gdm-screenshot		\
	$(NULL)

libexec_PROGRAMS = \
	gdm-disable-wayland	\
	$(NULL)

gdmflexiserver_LDADD =		\
	$(top_builddir)/common/libgdmcommon.la	\
	$(GTK_LIBS)		\
	$(COMMON_LIBS)		\
	$(SYSTEMD_LIBS)         \
	$(NULL)

gdm_screenshot_SOURCES =	\
	gdm-screenshot.c	\
	$(NULL)

gdm_screenshot_LDADD =		\
	$(GTK_LIBS)		\
	$(CANBERRA_GTK_LIBS)	\
	$(XLIB_LIBS)		\
	$(COMMON_LIBS)		\
	$(NULL)

gdm_disable_wayland_LDADD =	\
	$(COMMON_LIBS)		\
	$(NULL)

gdm_disable_wayland_SOURCES =	\
	gdm-disable-wayland.c	\
	$(NULL)

CLEANFILES = 			\
	$(NULL)

DISTCLEANFILES = 		\
	$(NULL)