2 shareddir = $(abs_top_builddir)/data
3 sysconfigdir = $(shareddir)
4 desktopdir = $(shareddir)
5 plugindir = $(abs_top_builddir)/src/plugins
6 enginedir = $(abs_top_builddir)/src/media-engines
7 icondir = $(shareddir)/icons/32x32
8 presetdir = $(shareddir)/presets
11 @echo "You called configure with --enable-uninstalled. Cannot install"
14 shareddir = $(datadir)/rygel
15 sysconfigdir = $(sysconfdir)
16 desktopdir = $(datadir)/applications
17 plugindir = @RYGEL_PLUGIN_DIR@
18 enginedir = @RYGEL_MEDIA_ENGINE_DIR@
19 icondir = $(datadir)/icons/hicolor/32x32/apps
20 presetdir = $(shareddir)/presets
23 smallicondir = $(shareddir)/icons/48x48
24 bigicondir = $(shareddir)/icons/120x120
26 librygelcoredir = $(top_srcdir)/src/librygel-core
27 librygelserverdir = $(top_srcdir)/src/librygel-server
28 librygelrendererdir = $(top_srcdir)/src/librygel-renderer
30 MAINTAINERCLEANFILES = Makefile.in
32 RYGEL_COMMON_DEFINES_CFLAGS = \
33 -DDATA_DIR='"$(shareddir)"' \
37 RYGEL_COMMON_LIBRYGEL_CORE_VALAFLAGS = \
38 --vapidir=$(librygelcoredir) \
39 --pkg rygel-core-2.0 \
42 RYGEL_COMMON_LIBRYGEL_CORE_CFLAGS = \
43 $(RYGEL_COMMON_DEFINES_CFLAGS) \
44 -I$(top_builddir)/src/librygel-core \
45 -I$(top_srcdir)/src/librygel-core
47 RYGEL_COMMON_LIBRYGEL_CORE_LIBS = \
48 $(top_builddir)/src/librygel-core/librygel-core-2.0.la
51 RYGEL_COMMON_LIBRYGEL_RENDERER_VALAFLAGS = \
52 --vapidir=$(top_srcdir)/src/librygel-renderer \
53 --pkg rygel-renderer-2.0 \
54 $(RYGEL_COMMON_LIBRYGEL_CORE_VALAFLAGS)
56 RYGEL_COMMON_LIBRYGEL_RENDERER_CFLAGS = \
57 $(RYGEL_COMMON_LIBRYGEL_CORE_CFLAGS) \
58 -I$(top_builddir)/src/librygel-renderer \
59 -I$(top_srcdir)/src/librygel-renderer
61 RYGEL_COMMON_LIBRYGEL_RENDERER_LIBS = \
62 $(RYGEL_COMMON_LIBRYGEL_CORE_LIBS) \
63 $(top_builddir)/src/librygel-renderer/librygel-renderer-2.0.la
66 RYGEL_COMMON_LIBRYGEL_RENDERER_GST_VALAFLAGS = \
67 --vapidir=$(top_srcdir)/src/librygel-renderer-gst \
68 --pkg rygel-renderer-gst-2.0 \
69 $(RYGEL_COMMON_LIBRYGEL_RENDERER_VALAFLAGS)
71 RYGEL_COMMON_LIBRYGEL_RENDERER_GST_CFLAGS = \
72 $(RYGEL_COMMON_LIBRYGEL_RENDERER_CFLAGS) \
73 -I$(top_builddir)/src/librygel-renderer-gst \
74 -I$(top_srcdir)/src/librygel-renderer-gst
76 RYGEL_COMMON_LIBRYGEL_RENDERER_GST_LIBS = \
77 $(RYGEL_COMMON_LIBRYGEL_RENDERER_LIBS) \
78 $(top_builddir)/src/librygel-renderer-gst/librygel-renderer-gst-2.0.la
81 RYGEL_COMMON_LIBRYGEL_SERVER_VALAFLAGS = \
82 --vapidir=$(top_builddir)/src/librygel-server \
83 --pkg rygel-server-2.0 \
84 $(RYGEL_COMMON_LIBRYGEL_CORE_VALAFLAGS)
86 RYGEL_COMMON_LIBRYGEL_SERVER_CFLAGS = \
87 $(RYGEL_COMMON_LIBRYGEL_CORE_CFLAGS) \
88 -I$(top_builddir)/src/librygel-server \
89 -I$(top_srcdir)/src/librygel-server
91 RYGEL_COMMON_LIBRYGEL_SERVER_LIBS = \
92 $(RYGEL_COMMON_LIBRYGEL_CORE_LIBS) \
93 $(top_builddir)/src/librygel-server/librygel-server-2.0.la
95 RYGEL_COMMON_BUILD_CONFIG_VALAFLAGS = \
96 --vapidir=$(librygelcoredir) \
97 --pkg rygel-build-config
99 # Note: This must always be the last one in *_VALAFLAGS,
100 # because the -g needs to be at the end of VALAFLAGS to not break make dist.
101 RYGEL_COMMON_VALAFLAGS = \
102 $(RYGEL_COMMON_BUILD_CONFIG_VALAFLAGS) \
103 $(RYGEL_COMMON_VALAFLAGS_PKG) \
104 $(COVERAGE_VALAFLAGS) \
105 $(RYGEL_DEBUG_VALAFLAGS)
109 rm -f `find . -name "*.stamp"`