~timo-jyrinki/ubuntu/utopic/rhythmbox/enable_grilo_rhythmbox

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
SUBDIRS = libmediaplayerid

noinst_LTLIBRARIES = librb.la

rbincludedir = $(includedir)/rhythmbox/lib
rbinclude_HEADERS =					\
	rb-builder-helpers.h				\
	rb-debug.h					\
	rb-file-helpers.h				\
	rb-stock-icons.h				\
	rb-string-value-map.h				\
	rb-util.h

librb_la_SOURCES =					\
	$(rbinclude_HEADERS)				\
	rb-debug.c					\
	eggdesktopfile.c				\
	eggdesktopfile.h				\
	eggsmclient.c					\
	eggsmclient.h					\
	eggsmclient-private.h				\
	eggsmclient-xsmp.c				\
	rb-file-helpers.c				\
	rb-builder-helpers.c				\
	rb-stock-icons.c				\
	rb-cut-and-paste-code.c				\
	rb-cut-and-paste-code.h				\
	rb-util.c					\
	rb-tree-dnd.c					\
	rb-tree-dnd.h					\
	rb-string-value-map.c				\
	rb-async-queue-watch.c				\
	rb-async-queue-watch.h				\
	rb-text-helpers.c				\
	rb-text-helpers.h				\
	rb-gst-media-types.c				\
	rb-gst-media-types.h				\
	rb-missing-plugins.c				\
	rb-missing-plugins.h				\
	rb-async-copy.c					\
	rb-async-copy.h					\
	rb-chunk-loader.c				\
	rb-chunk-loader.h

INCLUDES =						\
	-DGNOMELOCALEDIR=\""$(datadir)/locale"\"        \
	-DG_LOG_DOMAIN=\"Rhythmbox\"		 	\
	-DSHARE_DIR=\"$(pkgdatadir)\"			\
	-DDATADIR=\""$(datadir)"\"			\
	-DEGG_SM_CLIENT_BACKEND_XSMP			\
	-I$(top_srcdir) 				\
	-I$(top_srcdir)/widgets				\
	$(RHYTHMBOX_CFLAGS)

librb_la_LIBADD = -lSM -lICE

BUILT_SOURCES=

CLEAN_FILES = $(BUILT_SOURCES)

rb-marshal.c: rb-marshal.list
	@GLIB_GENMARSHAL@ --prefix=rb_marshal $(srcdir)/rb-marshal.list --header --body > rb-marshal.c

rb-marshal.h: rb-marshal.list
	@GLIB_GENMARSHAL@ --prefix=rb_marshal $(srcdir)/rb-marshal.list --header > rb-marshal.h

# inline icons
rhythmbox-set-star-inline.h: $(top_srcdir)/data/icons/hicolor/16x16/status/rhythmbox-set-star.png
	@GDK_PIXBUF_CSOURCE@ --raw --name=rhythmbox_set_star_inline $< > $@

rhythmbox-unset-star-inline.h: $(top_srcdir)/data/icons/hicolor/16x16/status/rhythmbox-unset-star.png
	@GDK_PIXBUF_CSOURCE@ --raw --name=rhythmbox_unset_star_inline $< > $@

rhythmbox-no-star-inline.h: $(top_srcdir)/data/icons/hicolor/16x16/status/rhythmbox-no-star.png
	@GDK_PIXBUF_CSOURCE@ --raw --name=rhythmbox_no_star_inline $< > $@


BUILT_SOURCES += 				\
	rb-marshal.c 				\
	rb-marshal.h 				\
	rhythmbox-set-star-inline.h		\
	rhythmbox-unset-star-inline.h		\
	rhythmbox-no-star-inline.h

librb_la_SOURCES += $(BUILT_SOURCES)

librb_la_LDFLAGS = -export-dynamic

EXTRA_DIST = rb-marshal.list