-
Notifications
You must be signed in to change notification settings - Fork 0
/
common.am
124 lines (95 loc) · 3.67 KB
/
common.am
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
if UNINSTALLED
shareddir = $(abs_top_builddir)/data
sysconfigdir = $(shareddir)
desktopdir = $(shareddir)
plugindir = $(abs_top_builddir)/src/plugins
enginedir = $(abs_top_builddir)/src/media-engines
icondir = $(shareddir)/icons/32x32
presetdir = $(shareddir)/presets
install: all-am
@echo "You called configure with --enable-uninstalled. Cannot install"
else
shareddir = $(datadir)/rygel
sysconfigdir = $(sysconfdir)
desktopdir = $(datadir)/applications
plugindir = @RYGEL_PLUGIN_DIR@
enginedir = @RYGEL_MEDIA_ENGINE_DIR@
icondir = $(datadir)/icons/hicolor/32x32/apps
presetdir = $(shareddir)/presets
endif
smallicondir = $(shareddir)/icons/48x48
bigicondir = $(shareddir)/icons/120x120
librygelcoredir = $(top_srcdir)/src/librygel-core
librygelserverdir = $(top_srcdir)/src/librygel-server
librygelrendererdir = $(top_srcdir)/src/librygel-renderer
librygelruihdir = $(top_srcdir)/src/librygel-ruih
MAINTAINERCLEANFILES = Makefile.in
RYGEL_COMMON_DEFINES_CFLAGS = \
-DDATA_DIR='"$(shareddir)"' \
-include config.h
RYGEL_COMMON_LIBRYGEL_CORE_VALAFLAGS = \
--vapidir=$(librygelcoredir) \
--pkg rygel-core-2.6 \
--pkg uuid
RYGEL_COMMON_LIBRYGEL_CORE_CFLAGS = \
$(RYGEL_COMMON_DEFINES_CFLAGS) \
-I$(top_builddir)/src/librygel-core \
-I$(top_srcdir)/src/librygel-core
RYGEL_COMMON_LIBRYGEL_CORE_LIBS = \
$(top_builddir)/src/librygel-core/librygel-core-2.6.la
RYGEL_COMMON_LIBRYGEL_RENDERER_VALAFLAGS = \
--vapidir=$(top_srcdir)/src/librygel-renderer \
--pkg rygel-renderer-2.6 \
$(RYGEL_COMMON_LIBRYGEL_CORE_VALAFLAGS)
RYGEL_COMMON_LIBRYGEL_RENDERER_CFLAGS = \
$(RYGEL_COMMON_LIBRYGEL_CORE_CFLAGS) \
-I$(top_builddir)/src/librygel-renderer \
-I$(top_srcdir)/src/librygel-renderer
RYGEL_COMMON_LIBRYGEL_RENDERER_LIBS = \
$(RYGEL_COMMON_LIBRYGEL_CORE_LIBS) \
$(top_builddir)/src/librygel-renderer/librygel-renderer-2.6.la
RYGEL_COMMON_LIBRYGEL_RENDERER_GST_VALAFLAGS = \
--vapidir=$(top_srcdir)/src/librygel-renderer-gst \
--pkg rygel-renderer-gst-2.6 \
$(RYGEL_COMMON_LIBRYGEL_RENDERER_VALAFLAGS)
RYGEL_COMMON_LIBRYGEL_RENDERER_GST_CFLAGS = \
$(RYGEL_COMMON_LIBRYGEL_RENDERER_CFLAGS) \
-I$(top_builddir)/src/librygel-renderer-gst \
-I$(top_srcdir)/src/librygel-renderer-gst
RYGEL_COMMON_LIBRYGEL_RENDERER_GST_LIBS = \
$(RYGEL_COMMON_LIBRYGEL_RENDERER_LIBS) \
$(top_builddir)/src/librygel-renderer-gst/librygel-renderer-gst-2.6.la
RYGEL_COMMON_LIBRYGEL_SERVER_VALAFLAGS = \
--vapidir=$(top_builddir)/src/librygel-server \
--pkg rygel-server-2.6 \
$(RYGEL_COMMON_LIBRYGEL_CORE_VALAFLAGS)
RYGEL_COMMON_LIBRYGEL_SERVER_CFLAGS = \
$(RYGEL_COMMON_LIBRYGEL_CORE_CFLAGS) \
-I$(top_builddir)/src/librygel-server \
-I$(top_srcdir)/src/librygel-server
RYGEL_COMMON_LIBRYGEL_SERVER_LIBS = \
$(RYGEL_COMMON_LIBRYGEL_CORE_LIBS) \
$(top_builddir)/src/librygel-server/librygel-server-2.6.la
RYGEL_COMMON_LIBRYGEL_RUIH_VALAFLAGS = \
--vapidir=$(top_builddir)/src/librygel-ruih \
--pkg rygel-ruih-2.0 \
$(RYGEL_COMMON_LIBRYGEL_CORE_VALAFLAGS)
RYGEL_COMMON_LIBRYGEL_RUIH_CFLAGS = \
$(RYGEL_COMMON_LIBRYGEL_CORE_CFLAGS) \
-I$(top_builddir)/src/librygel-ruih \
-I$(top_srcdir)/src/librygel-ruih
RYGEL_COMMON_LIBRYGEL_RUIH_LIBS = \
$(RYGEL_COMMON_LIBRYGEL_CORE_LIBS) \
$(top_builddir)/src/librygel-ruih/librygel-ruih-2.0.la
RYGEL_COMMON_BUILD_CONFIG_VALAFLAGS = \
--vapidir=$(librygelcoredir) \
--pkg rygel-build-config
# Note: This must always be the last one in *_VALAFLAGS,
# because the -g needs to be at the end of VALAFLAGS to not break make dist.
RYGEL_COMMON_VALAFLAGS = \
$(RYGEL_COMMON_BUILD_CONFIG_VALAFLAGS) \
$(RYGEL_COMMON_VALAFLAGS_PKG) \
$(COVERAGE_VALAFLAGS) \
$(RYGEL_DEBUG_VALAFLAGS)
vala-clean:
rm -f `find . -name "*.stamp"`