* podcast/rb-podcast-manager.c: (rb_podcast_manager_add_post): add
[rhythmbox.git] / shell / Makefile.am
blobdb472b86567149ac5ea9b998005651bbee7d018f
1 ## arch-tag: Automake rules for main Rhythmbox shell
3 BUILT_SOURCES = 
4 CLEANFILES =
5 EXTRA_DIST =
7 AUTHORS.tab : $(top_srcdir)/AUTHORS
8         sed -e 's/^/"/' -e 's/$$/",/' < $(top_srcdir)/AUTHORS > $@.tmp
9         mv $@.tmp $@
11 MAINTAINERS.tab : $(top_srcdir)/MAINTAINERS
12         sed -e 's/^/"/' -e 's/$$/",/' < $(top_srcdir)/MAINTAINERS > $@.tmp
13         mv $@.tmp $@
15 MAINTAINERS.old.tab : $(top_srcdir)/MAINTAINERS.old
16         sed -e 's/^/"/' -e 's/$$/",/' < $(top_srcdir)/MAINTAINERS.old > $@.tmp
17         mv $@.tmp $@
19 DOCUMENTERS.tab : $(top_srcdir)/DOCUMENTERS
20         sed -e 's/^/"/' -e 's/$$/",/' < $(top_srcdir)/DOCUMENTERS > $@.tmp
21         mv $@.tmp $@
23 tab_files = AUTHORS.tab MAINTAINERS.tab MAINTAINERS.old.tab DOCUMENTERS.tab
25 bin_PROGRAMS = rhythmbox
26 rhythmbox_SOURCES = main.c
27 noinst_LTLIBRARIES = librbshell.la
29 INCLUDES =                                              \
30         -DGNOMELOCALEDIR=\""$(datadir)/locale"\"        \
31         -DG_LOG_DOMAIN=\"Rhythmbox\"                    \
32         -I$(top_srcdir)                                 \
33         -I$(top_srcdir)/lib                             \
34         -I$(top_srcdir)/metadata                        \
35         -I$(top_srcdir)/rhythmdb                        \
36         -I$(top_srcdir)/widgets                         \
37         -I$(top_srcdir)/sources                         \
38         -I$(top_srcdir)/podcast                         \
39         -I$(top_builddir)/lib                           \
40         -I$(top_srcdir)/plugins                         \
41         -I$(top_srcdir)/backends                        \
42         -DPIXMAP_DIR=\""$(datadir)/pixmaps"\"           \
43         -DSHARE_DIR=\"$(pkgdatadir)\"                   \
44         -DDATADIR=\""$(datadir)"\"                      \
45         $(WARN_CFLAGS)                                  \
46         $(GDA_CFLAGS)                                   \
47         $(RHYTHMBOX_CFLAGS)                             \
48         $(TOTEM_PLPARSER_CFLAGS)                        \
49         $(DBUS_CFLAGS)                                  \
50         $(LIBNAUTILUS_BURN_CFLAGS)                      \
51         -D_XOPEN_SOURCE -D__EXTENSIONS__ -D_BSD_SOURCE
53 librbshell_la_SOURCES =                                 \
54         rb-shell.c                                      \
55         rb-shell.h                                      \
56         rb-shell-player.c                               \
57         rb-shell-player.h                               \
58         rb-source-header.c                              \
59         rb-source-header.h                              \
60         rb-statusbar.c                                  \
61         rb-statusbar.h                                  \
62         rb-shell-preferences.c                          \
63         rb-shell-preferences.h                          \
64         rb-shell-clipboard.c                            \
65         rb-shell-clipboard.h                            \
66         rb-playlist-manager.c                           \
67         rb-playlist-manager.h                           \
68         rb-removable-media-manager.c                    \
69         rb-removable-media-manager.h                    \
70         rb-history.c                                    \
71         rb-history.h                                    \
72         rb-play-order.c                                 \
73         rb-play-order.h                                 \
74         rb-play-order-linear.c                          \
75         rb-play-order-linear.h                          \
76         rb-play-order-linear-loop.c                     \
77         rb-play-order-linear-loop.h                     \
78         rb-play-order-queue.c                           \
79         rb-play-order-queue.h                           \
80         rb-play-order-shuffle.c                         \
81         rb-play-order-shuffle.h                         \
82         rb-play-order-random.c                          \
83         rb-play-order-random.h                          \
84         rb-play-order-random-equal-weights.c            \
85         rb-play-order-random-equal-weights.h            \
86         rb-play-order-random-by-age.c                   \
87         rb-play-order-random-by-age.h                   \
88         rb-play-order-random-by-age-and-rating.c        \
89         rb-play-order-random-by-age-and-rating.h        \
90         rb-play-order-random-by-rating.c                \
91         rb-play-order-random-by-rating.h                \
92         rb-tray-icon.c                                  \
93         rb-tray-icon.h                          
95 rhythmbox_LDADD =                                       \
96         librbshell.la                                   \
97         $(top_builddir)/sources/libsources.la           \
98         $(top_builddir)/sources/libsourcesimpl.la       \
99         $(top_builddir)/podcast/librbpodcast.la         \
100         $(top_builddir)/metadata/librbmetadata.la       \
101         $(top_builddir)/widgets/librbwidgets.la         \
102         $(top_builddir)/rhythmdb/librhythmdb.la         \
103         $(top_builddir)/backends/librbbackends.la       \
104         $(top_builddir)/plugins/librbplugins.la         \
105         $(top_builddir)/lib/librb.la
107 if USE_LIBSOUP
108 rhythmbox_LDADD += $(SOUP_LIBS)
109 INCLUDES += $(SOUP_CFLAGS)
110 endif
112 if USE_NOTIFY
113 rhythmbox_LDADD += $(NOTIFY_LIBS)
114 INCLUDES += $(NOTIFY_CFLAGS)
115 endif
117 if ENABLE_PYTHON
118 rhythmbox_LDADD += $(PYTHON_LIBS) $(top_builddir)/bindings/python/rb.la
119 endif
121 if ENABLE_TRACK_TRANSFER
122 rhythmbox_LDADD += $(GNOME_MEDIA_PROFILES_LIBS)
123 INCLUDES += $(GNOME_MEDIA_PROFILES_CFLAGS)
124 endif
127 if WITH_DBUS
128 rb-shell-glue.h: rb-shell.xml Makefile
129         $(LIBTOOL) --mode=execute $(DBUS_GLIB_BIN)/dbus-binding-tool --prefix=rb_shell --mode=glib-server --output=$@ $<
130 rb-shell-player-glue.h: rb-shell-player.xml Makefile
131         $(LIBTOOL) --mode=execute $(DBUS_GLIB_BIN)/dbus-binding-tool --prefix=rb_shell_player --mode=glib-server --output=$@ $<
132 rb-playlist-manager-glue.h: rb-playlist-manager.xml Makefile
133         $(LIBTOOL) --mode=execute $(DBUS_GLIB_BIN)/dbus-binding-tool --prefix=rb_playlist_manager --mode=glib-server --output=$@ $<
134 rb-shell-binding.h: rb-shell.xml Makefile
135         $(LIBTOOL) --mode=execute $(DBUS_GLIB_BIN)/dbus-binding-tool --prefix=rb_shell --mode=glib-client --output=$@ $<
136 rb-shell-player-binding.h: rb-shell-player.xml Makefile
137         $(LIBTOOL) --mode=execute $(DBUS_GLIB_BIN)/dbus-binding-tool --prefix=rb_shell --mode=glib-client --output=$@ $<
139 BUILT_SOURCES += rb-shell-glue.h rb-shell-binding.h rb-shell-player-glue.h rb-shell-player-binding.h rb-playlist-manager-glue.h
140 EXTRA_DIST += rb-shell.xml rb-shell-player.xml rb-playlist-manager.xml
142 rhythmbox_LDADD += $(DBUS_LIBS)
143 endif
144 if WITH_OLD_DBUS
145 rhythmbox_LDADD += $(DBUS_LIBS)
146 endif
148 rhythmbox_LDADD += \
149         $(GDA_LIBS)                                     \
150         $(TOTEM_PLPARSER_LIBS)                          \
151         $(HAL_LIBS)                                     \
152         $(LIBNAUTILUS_BURN_LIBS)                        \
153         $(RHYTHMBOX_LIBS)
155 rhythmbox_LDFLAGS = -export-dynamic -no-undefined
158 BUILT_SOURCES += $(tab_files)
160 CLEANFILES += $(BUILT_SOURCES)