aboutsummaryrefslogtreecommitdiff
path: root/mate-applet/Makefile.am
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2014-01-28 16:50:47 +0100
committerJavier <dev.git@javispedro.com>2014-01-28 16:50:47 +0100
commitc2d6d46b9ca89cb1c0729ee599c3566d3d1e7cf7 (patch)
tree7e1e2285437816c06ac884d68284d854413cf41e /mate-applet/Makefile.am
downloadtopmenu-gtk-c2d6d46b9ca89cb1c0729ee599c3566d3d1e7cf7.tar.gz
topmenu-gtk-c2d6d46b9ca89cb1c0729ee599c3566d3d1e7cf7.zip
initial import
Diffstat (limited to 'mate-applet/Makefile.am')
-rw-r--r--mate-applet/Makefile.am29
1 files changed, 29 insertions, 0 deletions
diff --git a/mate-applet/Makefile.am b/mate-applet/Makefile.am
new file mode 100644
index 0000000..dcebc77
--- /dev/null
+++ b/mate-applet/Makefile.am
@@ -0,0 +1,29 @@
+if WANT_MATE_APPLET
+
+libexec_PROGRAMS = topmenu-mate-panel-applet
+
+topmenu_mate_panel_applet_SOURCES = main.c topmenu-mate-panel-applet.c topmenu-mate-panel-applet.h
+topmenu_mate_panel_applet_CPPFLAGS = $(GTK_CFLAGS) $(MATEPANELAPPLET_CFLAGS) -DG_LOG_DOMAIN=\"topmenu-mate-panel-applet\"
+topmenu_mate_panel_applet_LDADD = $(GTK_LIBS) $(MATEPANELAPPLET_LIBS) ../libtopmenu-server/libtopmenu-server.la
+
+appletdir = $(datadir)/mate-panel/applets
+applet_DATA = com.javispedro.topmenu.MatePanelApplet.mate-panel-applet
+
+$(applet_DATA): %: %.in Makefile
+ $(AM_V_GEN)sed \
+ -e "s|\@LIBEXECDIR\@|$(libexecdir)|" \
+ $< > $@
+
+servicedir = $(datadir)/dbus-1/services
+service_DATA = org.mate.panel.applet.TopMenuMatePanelAppletFactory.service
+
+$(service_DATA): %: %.in Makefile
+ $(AM_V_GEN)sed \
+ -e "s|\@LIBEXECDIR\@|$(libexecdir)|" \
+ $< > $@
+
+EXTRA_DIST = com.javispedro.topmenu.MatePanelApplet.mate-panel-applet.in \
+ org.mate.panel.applet.TopMenuMatePanelAppletFactory.service.in
+CLEANFILES = $(applet_DATA) $(service_DATA)
+
+endif