2 shareddir = $(abs_top_builddir)/data
3 sysconfigdir = $(shareddir)
4 desktopdir = $(shareddir)
5 plugindir = $(abs_top_builddir)/src/plugins
6 icondir = $(shareddir)/icons/32x32
7 presetdir = $(shareddir)/presets
9 shareddir = $(datadir)/rygel
10 sysconfigdir = $(sysconfdir)
11 desktopdir = $(datadir)/applications
12 plugindir = $(libdir)/rygel-1.0
13 icondir = $(datadir)/icons/hicolor/32x32/apps
14 presetdir = $(shareddir)/presets
17 smallicondir = $(shareddir)/icons/48x48
18 bigicondir = $(shareddir)/icons/120x120
20 rygeldir = $(top_srcdir)/src/rygel
21 librygelcoredir = $(top_srcdir)/src/librygel-core
23 MAINTAINERCLEANFILES = Makefile.in
27 $(LIBGUPNP_AV_CFLAGS) \
28 $(LIBGSTREAMER_CFLAGS) \
29 $(GSTREAMER_BASE_CFLAGS) \
34 -I$(librygelcoredir) \
35 -DDATA_DIR='"$(shareddir)"' -DSYS_CONFIG_DIR='"$(sysconfigdir)"'\
36 -DPLUGIN_DIR='"$(plugindir)"' -DDESKTOP_DIR='"$(desktopdir)"'\
37 -DPRESET_DIR='"$(presetdir)"'\
43 $(LIBGSTREAMER_LIBS) \
44 $(GSTREAMER_BASE_LIBS) \
51 $(top_builddir)/src/librygel-core/librygel-core-1.0.la
53 # Note: the -g needs to be at the end of VALAFLAGS to not break make dist
54 RYGEL_COMMON_PLUGIN_VALAFLAGS = \
55 --pkg rygel-core-1.0 \
56 $(RYGEL_COMMON_VALAFLAGS)
58 RYGEL_COMMON_VALAFLAGS_PKG = --pkg gupnp-1.0 --pkg gupnp-av-1.0 --pkg gee-1.0
60 RYGEL_COMMON_VALAFLAGS = \
61 --pkg rygel-build-config \
62 --vapidir=$(rygeldir) \
63 --vapidir=$(librygelcoredir) \
64 $(RYGEL_COMMON_VALAFLAGS_PKG)
65 $(RYGEL_DEBUG_VALAFLAGS) \
68 RYGEL_PLUGIN_LINKER_FLAGS = -shared -fPIC -module -avoid-version
71 rm -f `find . -name "*.stamp"`