summaryrefslogtreecommitdiff
path: root/capplets/keybindings/Makefile.am
blob: 48d8435b67958c651e2bc3584d63df5b1f30afa0 (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
# This is used in MATECC_CAPPLETS_CFLAGS
cappletname = keybinding

ui_files = mate-keybinding-properties.ui

bin_PROGRAMS = mate-keybinding-properties

mate_keybinding_properties_LDADD = $(MATECC_CAPPLETS_LIBS)
BUILT_SOURCES = mate-keybinding-properties-resources.h mate-keybinding-properties-resources.c
nodist_mate_keybinding_properties_SOURCES = \
	$(BUILT_SOURCES)
mate_keybinding_properties_SOURCES = \
	mate-keybinding-properties.c \
	eggcellrendererkeys.c \
	eggcellrendererkeys.h \
	eggaccelerators.c \
	eggaccelerators.h

@INTLTOOL_DESKTOP_RULE@

include $(top_srcdir)/gla11y.mk

desktopdir = $(datadir)/applications
Desktop_in_files = mate-keybinding.desktop.in
desktop_DATA = $(Desktop_in_files:.desktop.in=.desktop)

@INTLTOOL_XML_NOMERGE_RULE@

xmldir = $(pkgdatadir)/keybindings
xml_in_files = 00-multimedia-key.xml.in 01-desktop-key.xml.in
xml_DATA = $(xml_in_files:.xml.in=.xml)

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = mate-keybindings.pc

mate-keybinding-properties-resources.h mate-keybinding-properties-resources.c: org.mate.mcc.keybindings.gresource.xml Makefile $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies --sourcedir $(srcdir) $(srcdir)/org.mate.mcc.keybindings.gresource.xml)
	$(AM_V_GEN) XMLLINT=$(XMLLINT) $(GLIB_COMPILE_RESOURCES) --target $@ --sourcedir $(srcdir) --generate --c-name keybindings $<

AM_CPPFLAGS = \
	$(MATECC_CAPPLETS_CFLAGS) \
	-DMATECC_DATA_DIR="\"$(pkgdatadir)\""
CLEANFILES = \
	$(BUILT_SOURCES) \
	$(MATECC_CAPPLETS_CLEANFILES) \
	$(desktop_DATA) \
	$(xml_DATA) \
	$(GLA11Y_OUTPUT)
EXTRA_DIST = $(xml_in_files) \
	mate-keybindings.pc.in \
	$(ui_files) \
	$(Desktop_in_files) \
	org.mate.mcc.keybindings.gresource.xml \
	ui-a11y.suppr

-include $(top_srcdir)/git.mk