udapted vi.po
[rhythmbox.git] / plugins / power-manager / Makefile.am
blob43108f2f5a4a0cf5ead4abd9802dfa7946379ae8
1 plugindir = $(PLUGINDIR)/power-manager
2 plugin_LTLIBRARIES = libpower-manager.la
4 libpower_manager_la_SOURCES = \
5         rb-power-manager-plugin.c
7 libpower_manager_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS)
9 INCLUDES =                                              \
10         -DGNOMELOCALEDIR=\""$(datadir)/locale"\"        \
11         -DG_LOG_DOMAIN=\"Rhythmbox\"                    \
12         -I$(top_srcdir)                                 \
13         -I$(top_srcdir)/lib                             \
14         -I$(top_srcdir)/metadata                        \
15         -I$(top_srcdir)/player                          \
16         -I$(top_srcdir)/rhythmdb                        \
17         -I$(top_srcdir)/widgets                         \
18         -I$(top_srcdir)/sources                         \
19         -I$(top_srcdir)/iradio                          \
20         -I$(top_srcdir)/podcast                         \
21         -I$(top_srcdir)/plugins                         \
22         -I$(top_srcdir)/shell                           \
23         -DPIXMAP_DIR=\""$(datadir)/pixmaps"\"           \
24         -DSHARE_DIR=\"$(pkgdatadir)\"                   \
25         -DDATADIR=\""$(datadir)"\"                      \
26         $(RHYTHMBOX_CFLAGS)                             \
27         $(WARN_CFLAGS)                                  \
28         $(DBUS_CFLAGS)                                  \
29         -D_XOPEN_SOURCE -D_BSD_SOURCE
31 plugin_in_files = power-manager.rb-plugin.desktop.in
33 %.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
35 plugin_DATA = $(plugin_in_files:.rb-plugin.desktop.in=.rb-plugin)
37 EXTRA_DIST = $(plugin_in_files)
39 CLEANFILES = $(plugin_DATA)
40 DISTCLEANFILES = $(plugin_DATA)