blob: 7f99e9e54c4eeb4967a29a0ac380e4bbe5000ad2 (
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
|
if UNINSTALLED
shareddir = $(abs_top_builddir)/data
sysconfigdir = $(shareddir)
desktopdir = $(shareddir)
plugindir = $(abs_top_builddir)/src/plugins
icondir = $(shareddir)/icons/32x32
else
shareddir = $(datadir)/rygel
sysconfigdir = $(sysconfdir)
desktopdir = $(datadir)/applications
plugindir = $(libdir)/rygel-1.0
icondir = $(datadir)/icons/hicolor/32x32/apps
endif
smallicondir = $(shareddir)/icons/48x48
bigicondir = $(shareddir)/icons/120x120
rygeldir = $(top_srcdir)/src/rygel
MAINTAINERCLEANFILES = Makefile.in
AM_CFLAGS = \
$(LIBGUPNP_CFLAGS) \
$(LIBGUPNP_AV_CFLAGS) \
$(LIBGSTREAMER_CFLAGS) \
$(GSTREAMER_BASE_CFLAGS) \
$(GEE_CFLAGS) \
$(UUID_CFLAGS) \
-I$(rygeldir) \
-DDATA_DIR='"$(shareddir)"' -DSYS_CONFIG_DIR='"$(sysconfigdir)"'\
-DPLUGIN_DIR='"$(plugindir)"' -DDESKTOP_DIR='"$(desktopdir)"'\
-include config.h
RYGEL_COMMON_LDADD = \
$(LIBGUPNP_LIBS) \
$(LIBGUPNP_AV_LIBS) \
$(LIBGSTREAMER_LIBS) \
$(GSTREAMER_BASE_LIBS) \
$(GEE_LIBS) \
$(UUID_LIBS)
# Note: the -g needs to be at the end of VALAFLAGS to not break make dist
RYGEL_COMMON_PLUGIN_VALAFLAGS = \
--pkg rygel-1.0 \
$(RYGEL_COMMON_VALAFLAGS)
RYGEL_COMMON_VALAFLAGS = \
--pkg rygel-build-config --pkg gupnp-1.0 \
--vapidir=$(rygeldir) \
--pkg gupnp-av-1.0 --pkg gee-1.0 \
$(RYGEL_DEBUG_VALAFLAGS)
RYGEL_PLUGIN_LINKER_FLAGS = -shared -fPIC -module -avoid-version
vala-clean:
rm -f `find . -name "*.stamp"`
|