1 ## arch-tag: Automake rules for main Rhythmbox shell
7 AUTHORS.tab : $(top_srcdir)/AUTHORS
8 sed -e 's/^/"/' -e 's/$$/",/' < $(top_srcdir)/AUTHORS > $@.tmp
11 MAINTAINERS.tab : $(top_srcdir)/MAINTAINERS
12 sed -e 's/^/"/' -e 's/$$/",/' < $(top_srcdir)/MAINTAINERS > $@.tmp
15 MAINTAINERS.old.tab : $(top_srcdir)/MAINTAINERS.old
16 sed -e 's/^/"/' -e 's/$$/",/' < $(top_srcdir)/MAINTAINERS.old > $@.tmp
19 DOCUMENTERS.tab : $(top_srcdir)/DOCUMENTERS
20 sed -e 's/^/"/' -e 's/$$/",/' < $(top_srcdir)/DOCUMENTERS > $@.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
30 -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
31 -DG_LOG_DOMAIN=\"Rhythmbox\" \
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)"\" \
48 $(TOTEM_PLPARSER_CFLAGS) \
50 $(LIBNAUTILUS_BURN_CFLAGS) \
51 -D_XOPEN_SOURCE -D__EXTENSIONS__ -D_BSD_SOURCE
53 librbshell_la_SOURCES = \
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 \
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 \
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
108 INCLUDES += -I$(top_srcdir)/daapsharing
110 rhythmbox_LDADD += $(MDNS_LIBS) \
111 $(top_builddir)/daapsharing/libdaapsharing.la
113 rhythmbox_LDADD += $(GNOME_KEYRING_LIBS)
118 rhythmbox_LDADD += $(SOUP_LIBS)
119 INCLUDES += $(SOUP_CFLAGS)
123 rhythmbox_LDADD += $(NOTIFY_LIBS)
124 INCLUDES += $(NOTIFY_CFLAGS)
128 rhythmbox_LDADD += $(PYTHON_LIBS) $(top_builddir)/bindings/python/rb.la
131 if ENABLE_TRACK_TRANSFER
132 rhythmbox_LDADD += $(GNOME_MEDIA_PROFILES_LIBS)
133 INCLUDES += $(GNOME_MEDIA_PROFILES_CFLAGS)
138 rb-shell-glue.h: rb-shell.xml Makefile
139 $(LIBTOOL) --mode=execute $(DBUS_GLIB_BIN)/dbus-binding-tool --prefix=rb_shell --mode=glib-server --output=$@ $<
140 rb-shell-player-glue.h: rb-shell-player.xml Makefile
141 $(LIBTOOL) --mode=execute $(DBUS_GLIB_BIN)/dbus-binding-tool --prefix=rb_shell_player --mode=glib-server --output=$@ $<
142 rb-playlist-manager-glue.h: rb-playlist-manager.xml Makefile
143 $(LIBTOOL) --mode=execute $(DBUS_GLIB_BIN)/dbus-binding-tool --prefix=rb_playlist_manager --mode=glib-server --output=$@ $<
144 rb-shell-binding.h: rb-shell.xml Makefile
145 $(LIBTOOL) --mode=execute $(DBUS_GLIB_BIN)/dbus-binding-tool --prefix=rb_shell --mode=glib-client --output=$@ $<
146 rb-shell-player-binding.h: rb-shell-player.xml Makefile
147 $(LIBTOOL) --mode=execute $(DBUS_GLIB_BIN)/dbus-binding-tool --prefix=rb_shell --mode=glib-client --output=$@ $<
149 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
150 EXTRA_DIST += rb-shell.xml rb-shell-player.xml rb-playlist-manager.xml
152 rhythmbox_LDADD += $(DBUS_LIBS)
155 rhythmbox_LDADD += $(DBUS_LIBS)
160 $(TOTEM_PLPARSER_LIBS) \
162 $(LIBNAUTILUS_BURN_LIBS) \
165 rhythmbox_LDFLAGS = -export-dynamic -no-undefined
168 BUILT_SOURCES += $(tab_files)
170 CLEANFILES += $(BUILT_SOURCES)