Updated Finnish translation
[rhythmbox.git] / metadata / Makefile.am
blobd503d55b44e6a319cffb05e521652219a381c3a7
1 ## arch-tag: Automake rules for metadata library
3 SUBDIRS =
5 INCLUDES =                                              \
6         -DGNOMELOCALEDIR=\""$(datadir)/locale"\"        \
7         -DG_LOG_DOMAIN=\"Rhythmbox\"                    \
8         -I$(top_srcdir)                                 \
9         -I$(top_srcdir)/lib                             \
10         -I$(top_srcdir)/widgets                         \
11         $(RHYTHMBOX_CFLAGS)
13 if WITH_METADATA_HELPER
15 INCLUDES += $(DBUS_CFLAGS)                              \
16         -DLIBEXEC_DIR=\"$(libexecdir)\"
18 # client library
20 noinst_LTLIBRARIES = librbmetadata.la
22 librbmetadata_la_SOURCES =                              \
23         rb-metadata.h                                   \
24         rb-metadata-common.c                            \
25         rb-metadata-dbus.h                              \
26         rb-metadata-dbus.c                              \
27         rb-metadata-dbus-client.c
29 librbmetadata_la_LIBADD =                               \
30         $(DBUS_LIBS)                                    \
31         $(RHYTHMBOX_LIBS)
33 # service
35 noinst_LTLIBRARIES += librbmetadatasvc.la
37 librbmetadatasvc_la_SOURCES =                           \
38         rb-metadata.h                                   \
39         rb-metadata-common.c                            \
40         rb-metadata-dbus.h                              \
41         rb-metadata-dbus.c                              \
42         rb-metadata-gst.c
44 libexec_PROGRAMS = rhythmbox-metadata
45 rhythmbox_metadata_SOURCES =                            \
46         rb-metadata-dbus-service.c
48 rhythmbox_metadata_LDADD =                              \
49         $(top_builddir)/metadata/librbmetadatasvc.la    \
50         $(top_builddir)/lib/librb.la                    \
51         $(RHYTHMBOX_LIBS)                               \
52         $(DBUS_LIBS)
54 # test program?
55 noinst_PROGRAMS = test-metadata
56 test_metadata_SOURCES =                                 \
57         test-metadata.c
59 test_metadata_LDADD =                                   \
60         $(top_builddir)/metadata/librbmetadata.la       \
61         $(top_builddir)/lib/librb.la                    \
62         $(RHYTHMBOX_LIBS)                               \
63         $(DBUS_LIBS)
65 else
67 noinst_LTLIBRARIES = librbmetadata.la
69 librbmetadata_la_SOURCES = \
70         rb-metadata.h rb-metadata-common.c rb-metadata-gst.c
73 librbmetadata_la_LIBADD =                       \
74         $(RHYTHMBOX_LIBS)
76 endif
78 librbmetadata_la_LDFLAGS = -export-dynamic