2006-10-02 Jonathan Matthew <jonathan@kaolin.wh9.net>
[rhythmbox.git] / plugins / Makefile.am
blob38fd9c4d433e60322ebc4ad10e1a4f05b1ce47e7
1 ## arch-tag: Automake rules for Rhythmbox's plugin system
3 SUBDIRS =                                               \
4         generic-player                                  \
5         power-manager                                   \
6         audiocd                                         \
7         sample
9 if WITH_AUDIOSCROBBLER
10 SUBDIRS += audioscrobbler
11 endif
13 if WITH_LIRC
14 SUBDIRS += lirc
15 endif
17 if ENABLE_PYTHON
18 SUBDIRS +=                                              \
19         pythonconsole                                   \
20         sample-python                                   \
21         artdisplay                                      \
22         lyrics                                          \
23         rb
24 endif
26 if USE_IPOD
27 SUBDIRS += ipod
28 endif
30 if USE_CD_BURNING
31 SUBDIRS += cd-recorder
32 endif
34 noinst_LTLIBRARIES = librbplugins.la
36 librbplugins_la_SOURCES =                               \
37         rb-plugin.h                                     \
38         rb-plugin.c                                     \
39         rb-module.c                                     \
40         rb-module.h                                     \
41         rb-plugin-manager.h                             \
42         rb-plugin-manager.c                             \
43         rb-plugins-engine.h                             \
44         rb-plugins-engine.c
46 INCLUDES =                                              \
47         -DGNOMELOCALEDIR=\""$(datadir)/locale"\"        \
48         -DSHARE_DIR=\"$(pkgdatadir)\"                   \
49         -DG_LOG_DOMAIN=\"Rhythmbox\"                    \
50         -I$(top_srcdir)                                 \
51         -I$(top_srcdir)/lib                             \
52         -I$(top_builddir)/lib                           \
53         -I$(top_srcdir)/player                          \
54         -I$(top_srcdir)/metadata                        \
55         -I$(top_srcdir)/rhythmdb                        \
56         -I$(top_srcdir)/sources                         \
57         -I$(top_srcdir)/library                         \
58         -I$(top_srcdir)/iradio                          \
59         -I$(top_srcdir)/shell                           \
60         -I$(top_srcdir)/widgets                         \
61         $(WARN_CFLAGS)                                  \
62         $(RHYTHMBOX_CFLAGS)                             \
63         -DRB_PLUGIN_DIR=\"$(PLUGINDIR)\"
65 if ENABLE_PYTHON
66 librbplugins_la_SOURCES += \
67         rb-python-module.c              \
68         rb-python-module.h              \
69         rb-python-plugin.c              \
70         rb-python-plugin.h
72 INCLUDES += \
73         $(NO_STRICT_ALIASING_CFLAGS)    \
74         $(PYGTK_CFLAGS)                 \
75         $(PYTHON_CFLAGS)
76 endif
79 librbplugins_la_LDFLAGS = -export-dynamic