bin_PROGRAMS = xfce4-popup-notes xfce4_popup_notes_SOURCES = \ xfce4-popup-notes.c \ xfce4-popup-notes.h xfce4_popup_notes_CFLAGS = \ $(LIBX11_CFLAGS) \ $(GTK_CFLAGS) xfce4_popup_notes_LDADD = \ $(LIBX11_LDFLAGS) \ $(LIBX11_LIBS) \ $(GTK_LIBS) plugindir = $(libexecdir)/xfce4/panel-plugins plugin_PROGRAMS = xfce4-notes-plugin xfce4_notes_plugin_SOURCES = \ notes.c \ notes-window.c \ notes-options.c \ notes.h \ notes-window.h \ notes-options.h xfce4_notes_plugin_CFLAGS = \ -I$(top_srcdir) \ @LIBXFCE4PANEL_CFLAGS@ \ @LIBXFCEGUI4_CFLAGS@ \ @LIBXFCE4UTIL_CFLAGS@ \ -DPACKAGE_LOCALE_DIR=\"$(localedir)\" xfce4_notes_plugin_LDADD = \ @LIBXFCE4PANEL_LIBS@ \ @LIBXFCEGUI4_LIBS@ \ @LIBXFCE4UTIL_LIBS@ desktop_in_in_files = xfce4-notes-plugin.desktop.in.in desktop_in_files = $(desktop_in_in_files:.desktop.in.in=.desktop.in) desktopdir = $(datadir)/xfce4/panel-plugins desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) @INTLTOOL_DESKTOP_RULE@ EXTRA_DIST = \ $(desktop_in_in_files) DISTCLEANFILES = \ $(desktop_DATA) $(desktop_in_files) # get full path into .desktop file %.desktop.in: %.desktop.in.in sed -e "s^@EXTERNAL_PLUGIN_PATH@^$(libexecdir)/xfce4/panel-plugins^" \ $< > $@