File: Makefile.am

package info (click to toggle)
rhythmbox 0.11.6-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 26,232 kB
  • ctags: 11,434
  • sloc: ansic: 97,824; xml: 36,080; sh: 9,341; python: 4,193; makefile: 2,130; cpp: 153
file content (100 lines) | stat: -rw-r--r-- 2,673 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
## Process this file with automake to produce Makefile.in

noinst_LTLIBRARIES = rb.la

nodist_rb_la_SOURCES = rhythmdb.c rb.c

rb_la_SOURCES = override_common.c override_common.h

rb_la_LDFLAGS = \
	-module -avoid-version

rb_la_LIBADD = \
	$(PYTHON_LIBS)		\
	$(PYTHON_EXTRA_LIBS)	\
	$(PYGTK_LIBS)

rb_la_CFLAGS = \
	-I$(top_srcdir)			\
	-I$(top_srcdir)/lib             \
	-I$(top_srcdir)/metadata	\
	-I$(top_srcdir)/player		\
	-I$(top_srcdir)/rhythmdb	\
	-I$(top_srcdir)/widgets		\
	-I$(top_srcdir)/sources		\
	-I$(top_srcdir)/iradio		\
	-I$(top_srcdir)/podcast		\
	-I$(top_srcdir)/plugins		\
	-I$(top_srcdir)/backends	\
	-I$(top_srcdir)/shell		\
	$(RHYTHMBOX_CFLAGS)		\
	$(PYGTK_CFLAGS)			\
	$(PYTHON_CFLAGS)		\
	$(AM_CFLAGS)			\
	$(WNOERROR_CFLAGS)

rhythmdb.c: rhythmdb.defs rhythmdb.override
	( cd $(srcdir) && $(PYGTK_CODEGEN) \
		--register $(PYGTK_DEFSDIR)/gtk-types.defs \
		--register $(GST_PYTHON_DEFSDIR)/gst-types.defs \
		--override $*.override \
		--prefix py$* $(<F) ) > $@ 

rb.c: rb.defs rb.override
	( cd $(srcdir) && $(PYGTK_CODEGEN) \
		--register $(PYGTK_DEFSDIR)/gtk-types.defs \
		--register $(GST_PYTHON_DEFSDIR)/gst-types.defs \
		--register rhythmdb.defs \
		--override $*.override \
		--prefix py$* $(<F) ) > $@ 

BINDING_HEADERS_SRCDIR_IN = \
	backends/rb-player.h			\
	backends/gstreamer/rb-player-gst.h	\
	plugins/rb-plugin.h			\
	lib/rb-string-value-map.h		\
	lib/rb-cut-and-paste-code.h		\
	rhythmdb/rhythmdb.h			\
	rhythmdb/rhythmdb-property-model.h	\
	rhythmdb/rhythmdb-query-model.h		\
	rhythmdb/rhythmdb-query-results.h	\
	rhythmdb/rhythmdb-import-job.h		\
	shell/rb-shell.h			\
	shell/rb-shell-player.h			\
	shell/rb-removable-media-manager.h	\
	sources/rb-source.h			\
	sources/rb-auto-playlist-source.h	\
	sources/rb-browser-source.h		\
	sources/rb-playlist-source.h		\
	sources/rb-removable-media-source.h	\
	sources/rb-sourcelist.h			\
	sources/rb-sourcelist-model.h		\
	sources/rb-static-playlist-source.h	\
	sources/rb-streaming-source.h		\
	widgets/rb-entry-view.h			\
	widgets/rb-library-browser.h		\
	widgets/rb-property-view.h		\
	widgets/rb-song-info.h			\
	widgets/rb-uri-dialog.h			\
	$(NULL)

BINDING_HEADERS_BUILDDIR_IN = 

BINDING_HEADERS_SRCDIR		:= $(addprefix $(top_srcdir)/,$(BINDING_HEADERS_SRCDIR_IN))
BINDING_HEADERS_BUILDDIR	:= $(addprefix $(top_builddir)/,$(BINDING_HEADERS_BUILDDIR_IN))

regenerate-python-binding:
	$(PYGTK_H2DEF) $(sort $(BINDING_HEADERS_SRCDIR) $(BINDING_HEADERS_BUILDDIR)) > rhythmbox.defs.new

BUILT_SOURCES = rhythmdb.c rb.c

EXTRA_DIST = \
	rb.override		\
	rb.defs			\
	rhythmdb.override	\
	rhythmdb.defs

CLEANFILES = $(BUILT_SOURCES)

dist-hook:
	cd $(distdir); rm -f $(BUILT_SOURCES)