3 plugindir = $(PLUGINDIR)/audioscrobbler
4 plugin_LTLIBRARIES = libaudioscrobbler.la
6 libaudioscrobbler_la_SOURCES = \
7 rb-audioscrobbler-plugin.c \
14 libaudioscrobbler_la_SOURCES += rb-lastfm-gst-src.c
17 libaudioscrobbler_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS)
18 libaudioscrobbler_la_LIBADD = \
19 $(top_builddir)/lib/librb.la \
20 $(top_builddir)/sources/libsources.la \
24 -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
25 -DG_LOG_DOMAIN=\"Rhythmbox\" \
28 -I$(top_srcdir)/metadata \
29 -I$(top_srcdir)/player \
30 -I$(top_srcdir)/rhythmdb \
31 -I$(top_srcdir)/widgets \
32 -I$(top_srcdir)/sources \
33 -I$(top_srcdir)/iradio \
34 -I$(top_srcdir)/podcast \
35 -I$(top_srcdir)/plugins \
36 -I$(top_srcdir)/shell \
37 -DPIXMAP_DIR=\""$(datadir)/pixmaps"\" \
38 -DSHARE_DIR=\"$(pkgdatadir)\" \
39 -DDATADIR=\""$(datadir)"\" \
43 -D_XOPEN_SOURCE -D_BSD_SOURCE
45 plugin_in_files = audioscrobbler.rb-plugin.desktop.in
47 %.rb-plugin: %.rb-plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
50 $(plugin_in_files:.rb-plugin.desktop.in=.rb-plugin) \
55 $(top_srcdir)/plugins/audioscrobbler/audioscrobbler-ui.xml \
60 $(top_srcdir)/plugins/audioscrobbler/as-powered.png \