summaryrefslogtreecommitdiff
path: root/capplet/Makefile.am
blob: 95e654717853955221c4746449b11ff9237c5225 (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
bin_PROGRAMS = matekbd-indicator-plugins-capplet

uidir="$(pkgdatadir)/ui"
ui_DATA = matekbd-indicator-plugins.ui \
	matekbd-indicator-plugins_add.ui

@INTLTOOL_DESKTOP_RULE@

desktopdir = $(datadir)/applications
Desktop_in_files = matekbd-indicator-plugins-capplet.desktop.in
desktop_DATA = $(Desktop_in_files:.desktop.in=.desktop)

matekbd_indicator_plugins_capplet_CFLAGS = \
	-I$(top_srcdir)	-Wall 				\
	$(MATECONF_CFLAGS)					\
	$(GTK_CFLAGS)				\
	$(LIBXKLAVIER_CFLAGS)				\
	-I$(top_srcdir)/intl				\
	-DSYS_PLUGIN_DIR=\"$(libdir)/matekbd/\"	\
	-DG_LOG_DOMAIN=\"MateKbdIndicatorPluginsCapplet\"	\
        -DPREFIX=\"$(prefix)\"				\
        -DUIDIR=\"$(uidir)\"                      \
        -DDATADIR=\"$(datadir)\"                        \
        -DSYSCONFDIR=\"$(sysconfdir)\"                  \
        -DMATELOCALEDIR="\"$(datadir)/locale\""	\
        -DLIBDIR=\"$(libdir)\"

matekbd_indicator_plugins_capplet_SOURCES = matekbd-indicator-plugins-capplet.c \
                                    matekbd-indicator-plugins-add.c \
                                    matekbd-indicator-plugins-capplet.h

matekbd_indicator_plugins_capplet_LDFLAGS = -export-dynamic

matekbd_indicator_plugins_capplet_LDADD = \
            	$(MATECONF_LIBS) 	\
            	$(GTK_LIBS) 	\
            	$(LIBXKLAVIER_LIBS)	\
		$(top_builddir)/libmatekbd/libmatekbd.la \
		$(top_builddir)/libmatekbd/libmatekbdui.la

EXTRA_DIST = matekbd-indicator-plugins-capplet.desktop.in.in \
             $(ui_DATA) \
             $(pixmap_DATA)

DISTCLEANFILES = $(desktop_DATA)