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 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
|
plugindir = $(libdir)/xfce4/panel/plugins
plugin_LTLIBRARIES = libcpugraph.la
AM_CPPFLAGS = -I${top_srcdir}
libcpugraph_la_CFLAGS = \
-DPACKAGE_LOCALE_DIR=\"$(localedir)\" \
@LIBXFCE4UI_CFLAGS@ \
@LIBXFCE4PANEL_CFLAGS@ \
@XFCONF_CFLAGS@
libcpugraph_la_CXXFLAGS = $(libcpugraph_la_CFLAGS)
libcpugraph_la_LIBADD = \
@LIBXFCE4UI_LIBS@ \
@LIBXFCE4PANEL_LIBS@ \
-lm \
@XFCONF_LIBS@
libcpugraph_la_SOURCES = \
mode.cc \
mode.h \
cpu.cc \
cpu.h \
os.cc \
os.h \
plugin.h \
plugin.c \
properties.cc \
properties.h \
settings.cc \
settings.h
libcpugraph_la_LDFLAGS = \
-avoid-version \
-module \
-no-undefined \
-export-symbols-regex '^xfce_panel_module_(preinit|init|construct)' \
$(PLATFORM_LDFLAGS)
#
# .desktop file
#
desktop_in_files = cpugraph.desktop.in
desktopdir = $(datadir)/xfce4/panel/plugins
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
@INTLTOOL_DESKTOP_RULE@
EXTRA_DIST = $(desktop_in_files)
DISTCLEANFILES = $(desktop_DATA)
|