Updated Finnish translation
[rhythmbox.git] / plugins / audioscrobbler / Makefile.am
blob2209bfddc0c4217a9cfa74336629e25b52dac2a5
1 NULL =
3 plugindir = $(PLUGINDIR)/audioscrobbler
4 plugin_LTLIBRARIES = libaudioscrobbler.la
6 libaudioscrobbler_la_SOURCES = \
7         rb-audioscrobbler-plugin.c                      \
8         rb-audioscrobbler.c                             \
9         rb-audioscrobbler.h                             \
10         rb-lastfm-source.c                              \
11         rb-lastfm-source.h
13 if USE_GSTREAMER_0_10
14 libaudioscrobbler_la_SOURCES += rb-lastfm-gst-src.c
15 endif
17 libaudioscrobbler_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS)
18 libaudioscrobbler_la_LIBADD =                           \
19         $(top_builddir)/lib/librb.la                    \
20         $(SOUP_LIBS)
22 INCLUDES =                                              \
23         -DGNOMELOCALEDIR=\""$(datadir)/locale"\"        \
24         -DG_LOG_DOMAIN=\"Rhythmbox\"                    \
25         -I$(top_srcdir)                                 \
26         -I$(top_srcdir)/lib                             \
27         -I$(top_srcdir)/metadata                        \
28         -I$(top_srcdir)/player                          \
29         -I$(top_srcdir)/rhythmdb                        \
30         -I$(top_srcdir)/widgets                         \
31         -I$(top_srcdir)/sources                         \
32         -I$(top_srcdir)/iradio                          \
33         -I$(top_srcdir)/podcast                         \
34         -I$(top_srcdir)/plugins                         \
35         -I$(top_srcdir)/shell                           \
36         -DPIXMAP_DIR=\""$(datadir)/pixmaps"\"           \
37         -DSHARE_DIR=\"$(pkgdatadir)\"                   \
38         -DDATADIR=\""$(datadir)"\"                      \
39         $(SOUP_CFLAGS)                                  \
40         $(RHYTHMBOX_CFLAGS)                             \
41         $(WARN_CFLAGS)                                  \
42         -D_XOPEN_SOURCE -D_BSD_SOURCE
44 plugin_in_files = audioscrobbler.rb-plugin.desktop.in
46 %.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
48 BUILT_SOURCES =                                                 \
49         $(plugin_in_files:.rb-plugin.desktop.in=.rb-plugin)     \
50         $(NULL)
52 plugin_DATA =                   \
53         $(BUILT_SOURCES)        \
54         as-powered.png          \
55         $(NULL)
57 EXTRA_DIST =                    \
58         $(plugin_in_files)      \
59         $(NULL)
61 CLEANFILES =                    \
62         $(BUILT_SOURCES)        \
63         $(NULL)
65 DISTCLEANFILES =                \
66         $(BUILT_SOURCES)        \
67         $(NULL)