Build the plugin as a module.
This commit is contained in:
parent
eba51dfe79
commit
64c5b6460a
5 changed files with 28 additions and 23 deletions
|
|
@ -1,38 +1,39 @@
|
|||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-DPACKAGE_LOCALE_DIR=\"$(localedir)\" \
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir) \
|
||||
-DPACKAGE_LOCALE_DIR=\"$(localedir)\" \
|
||||
-DTHEMESDIR=\"$(datadir)/xfce4/eyes/themes\"
|
||||
|
||||
plugindir = $(libexecdir)/xfce4/panel-plugins
|
||||
plugin_PROGRAMS = xfce4-eyes-plugin
|
||||
plugindir = $(libdir)/xfce4/panel/plugins
|
||||
plugin_LTLIBRARIES = libeyes.la
|
||||
|
||||
xfce4_eyes_plugin_SOURCES = \
|
||||
libeyes_la_SOURCES = \
|
||||
eyes.h \
|
||||
eyes.c \
|
||||
themes.h \
|
||||
themes.c
|
||||
|
||||
xfce4_eyes_plugin_CFLAGS = \
|
||||
$(LIBXFCE4UI_CFLAGS) \
|
||||
libeyes_la_CFLAGS = \
|
||||
$(LIBXFCE4UI_CFLAGS) \
|
||||
$(LIBXFCE4PANEL_CFLAGS)
|
||||
|
||||
xfce4_eyes_plugin_LDADD = \
|
||||
$(LIBXFCE4PANEL_LIBS) \
|
||||
libeyes_la_LIBADD = \
|
||||
$(LIBXFCE4PANEL_LIBS) \
|
||||
$(LIBXFCE4UI_LIBS)
|
||||
|
||||
desktopdir = $(datadir)/xfce4/panel-plugins
|
||||
desktop_in_in_files = eyes.desktop.in.in
|
||||
desktop_in_files = $(desktop_in_in_files:.desktop.in.in=.desktop.in)
|
||||
%.desktop.in: %.desktop.in.in
|
||||
sed -e "s,\@libexecdir\@,$(libexecdir),g" < $< > $@
|
||||
libeyes_la_LDFLAGS = \
|
||||
-avoid-version \
|
||||
-module \
|
||||
-no-undefined \
|
||||
-export-symbols-regex '^xfce_panel_module_(preinit|init|construct)' \
|
||||
$(PLATFORM_LDFLAGS)
|
||||
|
||||
desktopdir = $(datadir)/xfce4/panel/plugins
|
||||
desktop_in_files = eyes.desktop.in
|
||||
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
|
||||
@INTLTOOL_DESKTOP_RULE@
|
||||
|
||||
EXTRA_DIST = \
|
||||
$(desktop_in_in_files)
|
||||
EXTRA_DIST = $(desktop_in_files)
|
||||
|
||||
CLEANFILES = \
|
||||
$(desktop_in_files) \
|
||||
$(desktop_DATA)
|
||||
CLEANFILES = $(desktop_DATA)
|
||||
|
||||
# vi:set ts=8 sw=8 noet ai nocindent syntax=automake:
|
||||
|
|
|
|||
Reference in a new issue