summaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: 58f950794a36426b2891e4e34ce0af70e4363b3e (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

FULL_LIBEXECDIR=$(libexecdir)

desktopdir = $(sysconfdir)/xdg/autostart
desktop_DATA = polkit-mate-authentication-agent-1.desktop

@INTLTOOL_DESKTOP_RULE@

polkit-mate-authentication-agent-1.desktop.in : polkit-mate-authentication-agent-1.desktop.in.in
	cat polkit-mate-authentication-agent-1.desktop.in.in | sed 's,@FULL_LIBEXECDIR@,$(FULL_LIBEXECDIR),' > $@

libexec_PROGRAMS = polkit-mate-authentication-agent-1

polkit_mate_authentication_agent_1_SOURCES = 						\
	polkitmatelistener.h			polkitmatelistener.c			\
	polkitmateauthenticator.h		polkitmateauthenticator.c		\
	polkitmateauthenticationdialog.h	polkitmateauthenticationdialog.c	\
	main.c										\
	$(BUILT_SOURCES)

polkit_mate_authentication_agent_1_CPPFLAGS = 		\
	-I$(top_srcdir)					\
	-DG_LOG_DOMAIN=\"polkit-mate-1\"		\
	-DDATADIR=\""$(pkgdatadir)"\"			\
	-DMATELOCALEDIR=\""$(datadir)/locale"\"	\
	-DPOLKIT_AGENT_I_KNOW_API_IS_SUBJECT_TO_CHANGE	\
	$(DISABLE_DEPRECATED)				\
	$(AM_CPPFLAGS)

polkit_mate_authentication_agent_1_CFLAGS = 		\
	$(GTK_CFLAGS)					\
	$(MATECONF_CFLAGS)					\
	$(POLKIT_AGENT_CFLAGS)				\
	$(POLKIT_GOBJECT_CFLAGS)			\
	$(WARN_CFLAGS)					\
	$(AM_CFLAGS)

polkit_mate_authentication_agent_1_LDFLAGS = 		\
	$(AM_LDFLAGS)

polkit_mate_authentication_agent_1_LDADD = 		\
	$(GTK_LIBS)					\
	$(MATECONF_LIBS)					\
	$(POLKIT_AGENT_LIBS)				\
	$(POLKIT_GOBJECT_LIBS)				\
	$(INTLLIBS)

EXTRA_DIST = polkit-mate-authentication-agent-1.desktop.in.in

clean-local :
	rm -f *~ polkit-mate-authentication-agent-1.desktop polkit-mate-authentication-agent-1.desktop.in