summaryrefslogtreecommitdiff
path: root/plugins/keybindings/Makefile.am
blob: 57e744a18461d6af98dbf24869e6b83e6ba702f3 (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
NULL =

plugin_LTLIBRARIES = \
	libkeybindings.la		\
	$(NULL)

libkeybindings_la_SOURCES = 		\
	dconf-util.h				\
	dconf-util.c				\
	msd-keybindings-plugin.h	\
	msd-keybindings-plugin.c	\
	msd-keybindings-manager.h	\
	msd-keybindings-manager.c	\
	$(NULL)

libkeybindings_la_CPPFLAGS = \
	-I$(top_srcdir)/mate-settings-daemon		\
	-I$(top_srcdir)/plugins/common			\
	-DMATE_SETTINGS_LOCALEDIR=\""$(datadir)/locale"\" \
	$(AM_CPPFLAGS)

libkeybindings_la_CFLAGS =		\
	$(SETTINGS_PLUGIN_CFLAGS)	\
	$(DCONF_CFLAGS)			\
	$(AM_CFLAGS)			\
	$(WARN_CFLAGS)

libkeybindings_la_LDFLAGS = 		\
	$(MSD_PLUGIN_LDFLAGS)	\
	$(NULL)

libkeybindings_la_LIBADD  = 		\
	$(top_builddir)/plugins/common/libcommon.la	\
	$(SETTINGS_PLUGIN_LIBS)		\
	$(DCONF_LIBS)	\
	$(NULL)

plugin_in_files = 		\
	keybindings.mate-settings-plugin.desktop.in	\
	$(NULL)

plugin_DATA = $(plugin_in_files:.mate-settings-plugin.desktop.in=.mate-settings-plugin)

EXTRA_DIST = 			\
	$(plugin_in_files)	\
	$(NULL)

CLEANFILES = 			\
	$(plugin_DATA)		\
	$(NULL)

DISTCLEANFILES =		\
	$(plugin_DATA)		\
	$(NULL)

$(plugin_DATA): $(plugin_in_files)
	$(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@