aboutsummaryrefslogtreecommitdiff
path: root/mate-applet/Makefile.am
blob: 6877eff7afc681e4f79fb4447ea7ac7c4e2f55f0 (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
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-gtk$(GTK_VERSION).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