2006-08-04 James Livingston <doclivingston@gmail.com>
[rhythmbox.git] / sources / Makefile.am
blobe235b0520ebc4e69a497788d8bf838b8e8b18382
1 ## arch-tag: Automake rules for source object library
2 noinst_LTLIBRARIES = libsources.la libsourcesimpl.la
4 libsources_la_SOURCES = rb-source.c rb-source.h
6 libsourcesimpl_la_SOURCES =             \
7         rb-sourcelist.c                 \
8         rb-sourcelist.h                 \
9         rb-sourcelist-model.c           \
10         rb-sourcelist-model.h           \
11         rb-browser-source.c     \
12         rb-browser-source.h     \
13         rb-library-source.c             \
14         rb-library-source.h             \
15         rb-iradio-source.c              \
16         rb-iradio-source.h              \
17         rb-podcast-source.c             \
18         rb-podcast-source.h             \
19         rb-removable-media-source.c     \
20         rb-removable-media-source.h     \
21         rb-audiocd-source.c             \
22         rb-audiocd-source.h             \
23         rb-playlist-source.c            \
24         rb-playlist-source.h            \
25         rb-playlist-xml.h               \
26         rb-auto-playlist-source.c       \
27         rb-auto-playlist-source.h       \
28         rb-static-playlist-source.c     \
29         rb-static-playlist-source.h     \
30         rb-play-queue-source.c          \
31         rb-play-queue-source.h          \
32         rb-missing-files-source.c       \
33         rb-missing-files-source.h       \
34         rb-import-errors-source.c       \
35         rb-import-errors-source.h
37 INCLUDES =                                              \
38         -DGNOMELOCALEDIR=\""$(datadir)/locale"\"        \
39         -DG_LOG_DOMAIN=\"Rhythmbox\"                    \
40         -I$(top_srcdir)                                 \
41         -I$(top_srcdir)/lib                             \
42         -I$(top_builddir)/lib                           \
43         -I$(top_srcdir)/rhythmdb                        \
44         -I$(top_srcdir)/metadata                        \
45         -I$(top_srcdir)/widgets                         \
46         -I$(top_srcdir)/library                         \
47         -I$(top_srcdir)/player                          \
48         -I$(top_srcdir)/iradio                          \
49         -I$(top_srcdir)/podcast                         \
50         -I$(top_srcdir)/shell                           \
51         -I$(top_srcdir)/daapsharing                     \
52         -DPIXMAP_DIR=\""$(datadir)/pixmaps"\"           \
53         -DSHARE_DIR=\"$(pkgdatadir)\"                   \
54         -DDATADIR=\""$(datadir)"\"                      \
55         $(WARN_CFLAGS)                                  \
56         $(TOTEM_PLPARSER_CFLAGS)                        \
57         $(HAL_CFLAGS)                                   \
58         $(RHYTHMBOX_CFLAGS)
60 libsources_la_LDFLAGS = -export-dynamic
61 libsourcesimpl_la_LDFLAGS = -export-dynamic
63 daap_files =                            \
64         rb-daap-source.c                \
65         rb-daap-source.h
66 if USE_DAAP
67 libsourcesimpl_la_SOURCES += $(daap_files)
68 if USE_GNOME_KEYRING
69 INCLUDES +=                                             \
70         $(GNOME_KEYRING_CFLAGS)
71 endif
72 endif
74 if USE_LIBSOUP
75 INCLUDES += $(SOUP_CFLAGS)
76 endif
78 if ENABLE_TRACK_TRANSFER
79 INCLUDES +=$(GNOME_MEDIA_PROFILES_CFLAGS)
80 endif
82 EXTRA_DIST = $(daap_files)