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 = $(libdir)/rygel-2.0/plugins
18 enginedir = $(libdir)/rygel-2.0/engines
19 icondir = $(datadir)/icons/hicolor/32x32/apps
20 presetdir = $(shareddir)/presets
23 smallicondir = $(shareddir)/icons/48x48
24 bigicondir = $(shareddir)/icons/120x120
26 rygeldir = $(top_srcdir)/src/rygel
27 librygelcoredir = $(top_srcdir)/src/librygel-core
28 librygelserverdir = $(top_srcdir)/src/librygel-server
29 librygelrendererdir = $(top_srcdir)/src/librygel-renderer
31 MAINTAINERCLEANFILES = Makefile.in
35 $(LIBGUPNP_AV_CFLAGS) \
40 -I$(librygelcoredir) \
41 -I$(librygelserverdir) \
42 -I$(librygelrendererdir) \
43 -DDATA_DIR='"$(shareddir)"' -DSYS_CONFIG_DIR='"$(sysconfigdir)"'\
44 -DPLUGIN_DIR='"$(plugindir)"' -DDESKTOP_DIR='"$(desktopdir)"'\
45 -DPRESET_DIR='"$(presetdir)"' -DENGINE_DIR='"$(enginedir)"' \
56 $(top_builddir)/src/librygel-core/librygel-core-2.0.la
58 RYGEL_COMMON_SERVER_LIBS = \
59 $(top_builddir)/src/librygel-server/librygel-server-2.0.la \
62 RYGEL_COMMON_RENDERER_LIBS = \
63 $(top_builddir)/src/librygel-renderer/librygel-renderer-2.0.la \
66 # Note: the -g needs to be at the end of VALAFLAGS to not break make dist
67 RYGEL_COMMON_PLUGIN_VALAFLAGS = \
68 --pkg rygel-core-2.0 \
69 $(RYGEL_COMMON_VALAFLAGS)
71 RYGEL_COMMON_SERVER_PLUGIN_VALAFLAGS = \
72 --pkg rygel-server-2.0 \
73 --vapidir=$(top_builddir)/src/librygel-server \
74 $(RYGEL_COMMON_PLUGIN_VALAFLAGS)
76 RYGEL_COMMON_RENDERER_PLUGIN_VALAFLAGS = \
77 --pkg rygel-renderer-2.0 \
78 --vapidir=$(top_builddir)/src/librygel-renderer \
79 $(RYGEL_COMMON_PLUGIN_VALAFLAGS)
81 RYGEL_COMMON_VALAFLAGS_PKG = --pkg gupnp-1.0 --pkg gupnp-av-1.0 --pkg gee-0.8
83 RYGEL_COMMON_VALAFLAGS = \
84 --pkg rygel-build-config \
85 --vapidir=$(rygeldir) \
86 --vapidir=$(librygelcoredir) \
87 $(RYGEL_COMMON_VALAFLAGS_PKG) \
88 $(RYGEL_DEBUG_VALAFLAGS) \
91 RYGEL_PLUGIN_LINKER_FLAGS = -shared -fPIC -module -avoid-version
94 rm -f `find . -name "*.stamp"`