examples: Simulate image rendering in vala example
[profile/ivi/rygel.git] / examples / Makefile.am
1 # Avoid using the example plugins dirs at all
2 # if they are not enabled, to avoid
3 # installing them.
4 if BUILD_EXAMPLE_PLUGINS
5 EXAMPLE_PLUGINS = renderer-plugins server-plugins
6 endif
7
8 SUBDIRS = $(EXAMPLE_PLUGINS)
9
10
11 include $(top_srcdir)/common.am
12
13
14 #TODO: Remove the src/rygel from here?
15 noinst_PROGRAMS = standalone-server
16 standalone_server_SOURCES = standalone-server.c
17 standalone_server_CFLAGS = \
18         $(EXAMPLE_DEPS_CFLAGS) \
19         $(RYGEL_COMMON_LIBRYGEL_SERVER_CFLAGS)
20 standalone_server_LDADD = \
21         $(EXAMPLE_DEPS_LIBS) \
22         $(RYGEL_COMMON_LIBRYGEL_SERVER_LIBS)
23
24 if HAVE_GSTREAMER
25
26 noinst_PROGRAMS += standalone-renderer-gst
27 standalone_renderer_gst_SOURCES = standalone-renderer-gst.c
28 standalone_renderer_gst_CFLAGS = \
29         $(EXAMPLE_DEPS_CFLAGS) \
30         $(LIBRYGEL_RENDERER_GST_DEPS_CFLAGS) \
31         $(RYGEL_COMMON_LIBRYGEL_RENDERER_GST_CFLAGS)
32 standalone_renderer_gst_LDADD = \
33         $(EXAMPLE_DEPS_LIBS) \
34         $(LIBRYGEL_RENDERER_GST_DEPS_LIBS) \
35         $(RYGEL_COMMON_LIBRYGEL_RENDERER_GST_LIBS)
36
37 if BUILD_UI
38 noinst_PROGRAMS += fullscreen-renderer
39 fullscreen_renderer_SOURCES = fullscreen-renderer.c
40 fullscreen_renderer_CFLAGS = \
41         $(EXAMPLE_UI_DEPS_CFLAGS) \
42         $(LIBRYGEL_RENDERER_GST_DEPS_CFLAGS) \
43         $(RYGEL_COMMON_LIBRYGEL_RENDERER_GST_CFLAGS)
44 fullscreen_renderer_LDADD = \
45         $(EXAMPLE_UI_DEPS_LIBS) \
46         $(LIBRYGEL_RENDERER_GST_DEPS_LIBS) \
47         $(RYGEL_COMMON_LIBRYGEL_RENDERER_GST_LIBS)
48 endif
49 endif
50
51 EXTRA_DIST = service/wrap-dbus \
52 service/sysv/rygel \
53 service/README.Ubuntu \
54 service/upstart/rygel.conf \
55 service/systemd/rygel.service