summaryrefslogtreecommitdiff
path: root/capplet/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'capplet/Makefile.am')
-rw-r--r--capplet/Makefile.am46
1 files changed, 46 insertions, 0 deletions
diff --git a/capplet/Makefile.am b/capplet/Makefile.am
new file mode 100644
index 0000000..95e6547
--- /dev/null
+++ b/capplet/Makefile.am
@@ -0,0 +1,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)
+