summaryrefslogtreecommitdiff
path: root/utils/Makefile.am
blob: ae3cc01fb02040bef495951152fb53423d62be91 (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
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_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)

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)

CLEANFILES = 			\
	$(NULL)

DISTCLEANFILES = 		\
	$(NULL)