forked from videolan/vlc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.am
311 lines (290 loc) · 8.9 KB
/
Makefile.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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
CLEANFILES = skins2/default.vlt
MOSTLYCLEANFILES =
EXTRA_DIST =
desktopdir = $(datadir)/applications
if !HAVE_WIN32
if !HAVE_DARWIN
desktop_DATA = vlc.desktop
appdatadir = $(datarootdir)/appdata
appdata_DATA = $(appdata_in_files:.xml.in=.xml)
appdata_in_files = vlc.appdata.xml.in
endif
endif
EXTRA_DIST += vlc.desktop.in vlc.desktop.mimetypes
CLEANFILES += $(desktop_DATA) $(appdata_DATA)
vlc.desktop: vlc.desktop.in $(top_builddir)/config.status
$(AM_V_GEN)mimetypes="$$(sed 's/\s*#.*$$//g' $(srcdir)/vlc.desktop.mimetypes | egrep -v '^$$' | tr "\n" ';')"; \
sed \
-e 's,\@bindir\@,$(bindir),g' \
-e "s,\@MIMETYPES\@,$$mimetypes,g" < "$<" > tmp-$@
$(AM_V_at)$(DESKTOP_FILE_VALIDATE) tmp-$@
$(AM_V_at)mv -f tmp-$@ $@
vlc.appdata.xml: vlc.appdata.xml.in
$(AM_V_GEN)$(MSGFMT) --xml --template $< -d $(top_srcdir)/po -o $@ || cp $< $@
iconsdatadir = $(datadir)/icons/hicolor
icons16dir = $(iconsdatadir)/16x16/apps
icons32dir = $(iconsdatadir)/32x32/apps
icons48dir = $(iconsdatadir)/48x48/apps
icons128dir = $(iconsdatadir)/128x128/apps
icons256dir = $(iconsdatadir)/256x256/apps
if !HAVE_WIN32
dist_vlcdata_DATA = icons/vlc.ico
dist_icons16_DATA = icons/16x16/vlc.png icons/16x16/vlc.xpm
dist_icons32_DATA = icons/32x32/vlc.png icons/32x32/vlc.xpm \
icons/32x32/vlc-xmas.xpm
dist_icons48_DATA = icons/48x48/vlc.png icons/48x48/vlc-xmas.png
dist_icons128_DATA = icons/128x128/vlc.png icons/128x128/vlc-xmas.png
dist_icons256_DATA = icons/256x256/vlc.png
nobase_dist_vlcdata_SCRIPTS = \
utils/gnome-vlc-default.sh \
utils/audio-vlc-default.sh \
utils/video-vlc-default.sh \
$(NULL)
endif
EXTRA_DIST += \
$(skins2_default_vlt_FILES) \
$(DIST_skins2) \
$(DIST_icons) \
$(DIST_http_lua) \
$(DIST_solid)
nobase_vlcdata_DATA =
if BUILD_SKINS
nobase_vlcdata_DATA += skins2/default.vlt
nobase_vlcdata_DATA += $(DIST_skins2)
endif
if KDE_SOLID
soliddata_DATA = $(DIST_solid)
endif
DIST_icons = \
vlc512x512.png
DIST_skins2 = \
skins2/fonts/FreeSans.ttf \
skins2/fonts/FreeSansBold.ttf \
skins2/skin.dtd \
skins2/skin.catalog \
skins2/winamp2.xml
skins2_default_vlt_FILES = \
skins2/default/theme.xml \
skins2/default/subX/about.png \
skins2/default/subX/eq.png \
skins2/default/subX/font.otf \
skins2/default/subX/main.png \
skins2/default/subX/playtreeglyphs.png \
skins2/default/subX/pl.png \
skins2/default/subX/sysbuttons.png \
skins2/default/subX/vol_anim.png \
skins2/default/subX/vol_slider.png
skins2/default.vlt: $(skins2_default_vlt_FILES)
$(AM_V_at)mkdir -p skins2
$(AM_V_at)rm -f -- skins2/default.vlt.tmp
$(AM_V_GEN)GZIP=--no-name \
tar cvvzf skins2/default.vlt.tmp \
--owner=root --group=root --directory="$(srcdir)/skins2" \
default/
$(AM_V_at)mv -f -- skins2/default.vlt.tmp skins2/default.vlt
#
# LUA
#
luac_verbose = $(luac_verbose_$(V))
luac_verbose_ = $(luac_verbose_$(AM_DEFAULT_VERBOSITY))
luac_verbose_0 = @echo " LUAC $@";
.lua.luac:
$(AM_V_at)for f in $(EXTRA_DIST); do \
test "$(srcdir)" = . || f="$(srcdir)/$$f"; \
if test $$f = $<; then \
exit 0; \
fi; \
done; \
echo "Attempt to byte-compile unknown file: $(<)!"; \
exit 1
$(AM_V_at)mkdir -p "$$(dirname '$@')"
$(luac_verbose)$(LUAC) -o $@ $<
if BUILD_LUA
nobase_vlclib_DATA = \
lua/extensions/VLSub.luac \
lua/intf/cli.luac \
lua/intf/dummy.luac \
lua/intf/dumpmeta.luac \
lua/intf/luac.luac \
lua/intf/modules/host.luac \
lua/intf/telnet.luac \
lua/meta/art/02_frenchtv.luac \
lua/meta/art/03_lastfm.luac \
lua/meta/art/01_googleimage.luac \
lua/meta/art/00_musicbrainz.luac \
lua/meta/reader/filename.luac \
lua/modules/common.luac \
lua/modules/dkjson.luac \
lua/modules/sandbox.luac \
lua/modules/simplexml.luac \
lua/playlist/anevia_streams.luac \
lua/playlist/anevia_xml.luac \
lua/playlist/appletrailers.luac \
lua/playlist/bbc_co_uk.luac \
lua/playlist/cue.luac \
lua/playlist/dailymotion.luac \
lua/playlist/jamendo.luac \
lua/playlist/koreus.luac \
lua/playlist/liveleak.luac \
lua/playlist/newgrounds.luac \
lua/playlist/rockbox_fm_presets.luac \
lua/playlist/soundcloud.luac \
lua/playlist/vimeo.luac \
lua/playlist/vocaroo.luac \
lua/playlist/youtube.luac \
lua/sd/fmc.luac \
lua/sd/icecast.luac \
lua/sd/icast.luac \
lua/sd/jamendo.luac \
$(NULL)
nobase_doc_DATA = \
lua/README.txt \
lua/extensions/README.txt \
lua/intf/README.txt \
lua/intf/dumpmeta.lua \
lua/meta/README.txt \
lua/meta/art/README.txt \
lua/meta/art/01_googleimage.lua \
lua/meta/fetcher/README.txt \
lua/meta/reader/README.txt \
lua/meta/reader/filename.lua \
lua/playlist/README.txt \
lua/playlist/liveleak.lua \
lua/playlist/youtube.lua \
lua/sd/README.txt \
lua/sd/icecast.lua \
lua/sd/icast.lua \
$(NULL)
if BUILD_HTTPD
nobase_vlclib_DATA += \
lua/intf/http.luac \
lua/intf/modules/httprequests.luac \
$(NULL)
nobase_vlcdata_DATA += $(DIST_http_lua)
nobase_doc_DATA += lua/http/requests/README.txt
endif
endif
MOSTLYCLEANFILES += $(nobase_vlclib_DATA)
EXTRA_DIST += \
lua/README.txt \
lua/extensions/README.txt \
lua/extensions/VLSub.lua \
lua/intf/README.txt \
lua/intf/cli.lua \
lua/intf/dummy.lua \
lua/intf/dumpmeta.lua \
lua/intf/http.lua \
lua/intf/luac.lua \
lua/intf/modules/host.lua \
lua/intf/modules/httprequests.lua \
lua/intf/telnet.lua \
lua/meta/README.txt \
lua/meta/art/README.txt \
lua/meta/art/02_frenchtv.lua \
lua/meta/art/03_lastfm.lua \
lua/meta/art/01_googleimage.lua \
lua/meta/art/00_musicbrainz.lua \
lua/meta/fetcher/README.txt \
lua/meta/reader/README.txt \
lua/meta/reader/filename.lua \
lua/modules/common.lua \
lua/modules/dkjson.lua \
lua/modules/sandbox.lua \
lua/modules/simplexml.lua \
lua/playlist/README.txt \
lua/playlist/anevia_streams.lua \
lua/playlist/anevia_xml.lua \
lua/playlist/appletrailers.lua \
lua/playlist/bbc_co_uk.lua \
lua/playlist/break.lua \
lua/playlist/canalplus.lua \
lua/playlist/cue.lua \
lua/playlist/dailymotion.lua \
lua/playlist/extreme.lua \
lua/playlist/france2.lua \
lua/playlist/jamendo.lua \
lua/playlist/katsomo.lua \
lua/playlist/koreus.lua \
lua/playlist/lelombrik.lua \
lua/playlist/liveleak.lua \
lua/playlist/metacafe.lua \
lua/playlist/mpora.lua \
lua/playlist/newgrounds.lua \
lua/playlist/pinkbike.lua \
lua/playlist/pluzz.lua \
lua/playlist/rockbox_fm_presets.lua \
lua/playlist/soundcloud.lua \
lua/playlist/vimeo.lua \
lua/playlist/vocaroo.lua \
lua/playlist/youtube.lua \
lua/playlist/zapiks.lua \
lua/sd/README.txt \
lua/sd/fmc.lua \
lua/sd/icecast.lua \
lua/sd/icast.lua \
lua/sd/jamendo.lua
DIST_http_lua = \
lua/http/view.html \
lua/http/mobile.html \
lua/http/dialogs/create_stream.html \
lua/http/dialogs/equalizer_window.html \
lua/http/dialogs/mosaic_window.html \
lua/http/dialogs/batch_window.html \
lua/http/dialogs/error_window.html \
lua/http/dialogs/browse_window.html \
lua/http/dialogs/stream_window.html \
lua/http/dialogs/offset_window.html \
lua/http/dialogs/stream_config_window.html \
lua/http/custom.lua \
lua/http/vlm.html \
lua/http/images/buttons.png \
lua/http/images/speaker-32.png \
lua/http/images/vlc-48.png \
lua/http/images/Audio-48.png \
lua/http/images/Folder-48.png \
lua/http/images/Other-48.png \
lua/http/images/Back-48.png \
lua/http/images/Video-48.png \
lua/http/images/vlc16x16.png \
lua/http/mobile_equalizer.html \
lua/http/vlm_export.html \
lua/http/mobile_browse.html \
lua/http/favicon.ico \
lua/http/mobile_view.html \
lua/http/requests/playlist.xml \
lua/http/requests/playlist.json \
lua/http/requests/README.txt \
lua/http/requests/playlist_jstree.xml \
lua/http/requests/browse.xml \
lua/http/requests/browse.json \
lua/http/requests/vlm_cmd.xml \
lua/http/requests/status.xml \
lua/http/requests/status.json \
lua/http/requests/vlm.xml \
lua/http/index.html \
lua/http/css/ui-lightness/jquery-ui-1.8.13.custom.css \
lua/http/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png \
lua/http/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png \
lua/http/css/ui-lightness/images/ui-icons_ffffff_256x240.png \
lua/http/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png \
lua/http/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png \
lua/http/css/ui-lightness/images/ui-icons_222222_256x240.png \
lua/http/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png \
lua/http/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png \
lua/http/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png \
lua/http/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png \
lua/http/css/ui-lightness/images/ui-icons_ffd27a_256x240.png \
lua/http/css/ui-lightness/images/ui-icons_228ef1_256x240.png \
lua/http/css/ui-lightness/images/ui-icons_ef8c08_256x240.png \
lua/http/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png \
lua/http/css/main.css \
lua/http/css/mobile.css \
lua/http/js/ui.js \
lua/http/js/common.js \
lua/http/js/jquery.jstree.js \
lua/http/js/controllers.js
DIST_solid = \
solid/vlc-openbd.desktop \
solid/vlc-opencda.desktop \
solid/vlc-opendvd.desktop \
solid/vlc-openvcd.desktop