File: Makefile.am

package info (click to toggle)
rhythmbox 3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 43,424 kB
  • ctags: 15,462
  • sloc: ansic: 115,908; sh: 11,821; xml: 5,144; python: 3,777; makefile: 2,438
file content (144 lines) | stat: -rw-r--r-- 4,204 bytes parent folder | download
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
BUILT_SOURCES = 
CLEANFILES =
EXTRA_DIST =

AUTHORS.tab : $(top_srcdir)/AUTHORS
	sed -e 's/^/"/' -e 's/$$/",/' < $(top_srcdir)/AUTHORS > $@.tmp
	mv $@.tmp $@

MAINTAINERS.tab : $(top_srcdir)/MAINTAINERS
	sed -e 's/^/"/' -e 's/$$/",/' < $(top_srcdir)/MAINTAINERS > $@.tmp
	mv $@.tmp $@

MAINTAINERS.old.tab : $(top_srcdir)/MAINTAINERS.old
	sed -e 's/^/"/' -e 's/$$/",/' < $(top_srcdir)/MAINTAINERS.old > $@.tmp
	mv $@.tmp $@

DOCUMENTERS.tab : $(top_srcdir)/DOCUMENTERS
	sed -e 's/^/"/' -e 's/$$/",/' < $(top_srcdir)/DOCUMENTERS > $@.tmp
	mv $@.tmp $@

tab_files = AUTHORS.tab MAINTAINERS.tab MAINTAINERS.old.tab DOCUMENTERS.tab

bin_PROGRAMS = rhythmbox
rhythmbox_SOURCES = main.c
lib_LTLIBRARIES = librhythmbox-core.la

INCLUDES = 						\
	-DGNOMELOCALEDIR=\""$(datadir)/locale"\"        \
	-DG_LOG_DOMAIN=\"Rhythmbox\"		 	\
	-I$(top_srcdir) 				\
	-I$(top_srcdir)/lib                        	\
	-I$(top_srcdir)/lib/libmediaplayerid		\
	-I$(top_srcdir)/metadata                       	\
	-I$(top_srcdir)/rhythmdb                       	\
	-I$(top_srcdir)/widgets                    	\
	-I$(top_srcdir)/sources                    	\
	-I$(top_srcdir)/podcast                    	\
	-I$(top_builddir)/lib				\
	-I$(top_srcdir)/plugins				\
	-I$(top_srcdir)/backends			\
	-DPIXMAP_DIR=\""$(datadir)/pixmaps"\"		\
	-DSHARE_DIR=\"$(pkgdatadir)\"                   \
	-DDATADIR=\""$(datadir)"\"			\
	-DLIBDIR=\""$(libdir)"\"			\
	$(RHYTHMBOX_CFLAGS)				\
	$(TOTEM_PLPARSER_CFLAGS)			\
	$(DBUS_CFLAGS)					\
	$(GUDEV_CFLAGS)					\
	$(WEBKIT_FLAGS)				\
	-D__EXTENSIONS__ -D_BSD_SOURCE


shellincludedir = $(includedir)/rhythmbox/shell
shellinclude_HEADERS =					\
	rb-shell.h					\
	rb-shell-player.h				\
	rb-shell-preferences.h				\
	rb-playlist-manager.h				\
	rb-removable-media-manager.h			\
	rb-history.h					\
	rb-play-order.h					\
	rb-track-transfer-batch.h			\
	rb-track-transfer-queue.h

librhythmbox_core_la_SOURCES =				\
	$(shellinclude_HEADERS)				\
	rb-application.c				\
	rb-application.h				\
	rb-history.c					\
	rb-play-order.c					\
	rb-play-order-linear.c				\
	rb-play-order-linear.h				\
	rb-play-order-linear-loop.c			\
	rb-play-order-linear-loop.h			\
	rb-play-order-queue.c				\
	rb-play-order-queue.h				\
	rb-play-order-random.c				\
	rb-play-order-random.h				\
	rb-play-order-random-by-age.c			\
	rb-play-order-random-by-age.h			\
	rb-play-order-random-by-age-and-rating.c	\
	rb-play-order-random-by-age-and-rating.h	\
	rb-play-order-random-by-rating.c		\
	rb-play-order-random-by-rating.h		\
	rb-play-order-random-equal-weights.c		\
	rb-play-order-random-equal-weights.h		\
	rb-play-order-shuffle.c				\
	rb-play-order-shuffle.h				\
	rb-playlist-manager.c				\
	rb-removable-media-manager.c			\
	rb-shell.c					\
	rb-shell-clipboard.c				\
	rb-shell-clipboard.h				\
	rb-shell-player.c				\
	rb-shell-preferences.c				\
	rb-shell-preferences.h				\
	rb-statusbar.c					\
	rb-statusbar.h					\
	rb-task-list.c					\
	rb-task-list.h					\
	rb-track-transfer-batch.c			\
	rb-track-transfer-queue.c

librhythmbox_core_la_LIBADD =				\
	$(top_builddir)/sources/libsources.la	        \
	$(top_builddir)/sources/sync/libsourcesync.la	\
	$(top_builddir)/podcast/librbpodcast.la	        \
	$(top_builddir)/metadata/librbmetadata.la	\
	$(top_builddir)/widgets/librbwidgets.la         \
	$(top_builddir)/rhythmdb/librhythmdb.la		\
	$(top_builddir)/backends/librbbackends.la	\
	$(top_builddir)/lib/librb.la			\
	$(top_builddir)/lib/libmediaplayerid/libmediaplayerid.la		\
	$(DBUS_LIBS)					\
	$(TOTEM_PLPARSER_LIBS)				\
	$(GUDEV_LIBS)					\
	$(WEBKIT_LIBS)				\
	$(RHYTHMBOX_LIBS)				\
	-lgstpbutils-1.0				\
	-lgstcontroller-1.0				\
	-lgsttag-1.0

librhythmbox_core_la_LDFLAGS = 				\
	-version-info $(RHYTHMBOX_CORE_CURRENT):$(RHYTHMBOX_CORE_REVISION):$(RHYTHMBOX_CORE_AGE)	\
	-export-dynamic -no-undefined
librhythmbox_core_la_LIBTOOLFLAGS = --tag=disable-static


rhythmbox_LDADD = 					\
	librhythmbox-core.la				\
	$(TOTEM_PLPARSER_LIBS)				\
	$(RHYTHMBOX_LIBS)				\
	$(DBUS_LIBS)					\
	$(INTROSPECTION_LIBS)

rhythmbox_LDFLAGS = -export-dynamic -no-undefined

if ENABLE_PYTHON
rhythmbox_LDADD += $(PYTHON_LIBS)
endif

BUILT_SOURCES += $(tab_files)

CLEANFILES += $(BUILT_SOURCES)