File: common.am

package info (click to toggle)
rygel 0.36.2-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 40,656 kB
  • sloc: ansic: 237,502; sh: 4,986; xml: 1,706; makefile: 1,203; sed: 16
file content (137 lines) | stat: -rw-r--r-- 4,205 bytes parent folder | download | duplicates (3)
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
125
126
127
128
129
130
131
132
133
134
135
136
137
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 = $(abs_top_srcdir)/src/librygel-core
librygelserverdir = $(abs_top_srcdir)/src/librygel-server
librygelrendererdir = $(abs_top_srcdir)/src/librygel-renderer
librygelruihdir = $(abs_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

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_DB_VALAFLAGS = \
	--vapidir=$(abs_top_srcdir)/src/librygel-db \
	--pkg rygel-db-2.6 \
	$(RYGEL_COMMON_LIBRYGEL_CORE_VALAFLAGS)

RYGEL_COMMON_LIBRYGEL_DB_CFLAGS = \
	$(RYGEL_COMMON_DEFINES_CFLAGS) \
	-I$(top_builddir)/src/librygel-db \
	-I$(top_srcdir)/src/librygel-db

RYGEL_COMMON_LIBRYGEL_DB_LIBS = \
	$(RYGEL_COMMON_LIBRYGEL_CORE_LIBS) \
	$(top_builddir)/src/librygel-db/librygel-db-2.6.la

RYGEL_COMMON_LIBRYGEL_RENDERER_VALAFLAGS = \
	--vapidir=$(abs_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=$(abs_top_srcdir)/src/librygel-renderer-gst \
	--pkg rygel-renderer-gst-2.6 \
	--enable-experimental \
	$(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=$(abs_top_srcdir)/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"`