summaryrefslogtreecommitdiff
path: root/examples/Makefile.am
blob: f355248755c9faa661e326ea0ed97f6012386a16 (plain)
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
# Avoid using the example plugins dirs at all
# if they are not enabled, to avoid
# installing them.
if BUILD_EXAMPLE_PLUGINS
EXAMPLE_PLUGINS = renderer-plugins server-plugins
endif

SUBDIRS = $(EXAMPLE_PLUGINS)


include $(top_srcdir)/common.am


#TODO: Remove the src/rygel from here?
noinst_PROGRAMS = standalone-server
standalone_server_SOURCES = standalone-server.c
standalone_server_CFLAGS = \
	$(EXAMPLE_DEPS_CFLAGS) \
	$(RYGEL_COMMON_LIBRYGEL_SERVER_CFLAGS)
standalone_server_LDADD = \
	$(EXAMPLE_DEPS_LIBS) \
	$(RYGEL_COMMON_LIBRYGEL_SERVER_LIBS)

noinst_PROGRAMS += standalone-ruih
standalone_ruih_SOURCES = standalone-ruih.c
standalone_ruih_CFLAGS = \
        $(EXAMPLE_DEPS_CFLAGS) \
        $(RYGEL_COMMON_LIBRYGEL_RUIH_CFLAGS)
standalone_ruih_LDADD = \
        $(EXAMPLE_DEPS_LIBS) \
        $(RYGEL_COMMON_LIBRYGEL_RUIH_LIBS)

if HAVE_GSTREAMER

noinst_PROGRAMS += standalone-renderer-gst
standalone_renderer_gst_SOURCES = standalone-renderer-gst.c
standalone_renderer_gst_CFLAGS = \
	$(EXAMPLE_DEPS_CFLAGS) \
	$(LIBRYGEL_RENDERER_GST_DEPS_CFLAGS) \
	$(RYGEL_COMMON_LIBRYGEL_RENDERER_GST_CFLAGS)
standalone_renderer_gst_LDADD = \
	$(EXAMPLE_DEPS_LIBS) \
	$(LIBRYGEL_RENDERER_GST_DEPS_LIBS) \
	$(RYGEL_COMMON_LIBRYGEL_RENDERER_GST_LIBS)

if BUILD_UI

org.gnome.Rygel.FullscreenRenderer.gresource.c: $(abs_srcdir)/org.gnome.Rygel.FullscreenRenderer.gresource.xml
	$(AM_V_GEN)$(GLIB_COMPILE_RESOURCES) \
		--target=$@ \
		--sourcedir=$(abs_top_srcdir)/data/icons/scalable \
		--generate $<

noinst_PROGRAMS += fullscreen-renderer
fullscreen_renderer_SOURCES = \
	fullscreen-renderer.c \
	org.gnome.Rygel.FullscreenRenderer.gresource.c
fullscreen_renderer_CFLAGS = \
	$(EXAMPLE_UI_DEPS_CFLAGS) \
	$(LIBRYGEL_RENDERER_GST_DEPS_CFLAGS) \
	$(RYGEL_COMMON_LIBRYGEL_RENDERER_GST_CFLAGS)
fullscreen_renderer_LDADD = \
	$(EXAMPLE_UI_DEPS_LIBS) \
	$(LIBRYGEL_RENDERER_GST_DEPS_LIBS) \
	$(RYGEL_COMMON_LIBRYGEL_RENDERER_GST_LIBS)
endif
endif

EXTRA_DIST = service/wrap-dbus \
service/sysv/rygel \
service/README.Ubuntu \
service/upstart/rygel.conf \
service/systemd/rygel.service \
org.gnome.Rygel.FullscreenRenderer.gresource.xml