lua:add dkjson
[vlc.git] / share / Makefile.am
blob0acb31f3efe45f823430a77627f97b09cf612c7d
1 CLEANFILES = skins2/default.vlt
2 MOSTLYCLEANFILES =
4 appdatadir = $(datadir)/applications/
6 iconsdatadir = $(datadir)/icons/hicolor/
7 icons16dir = $(iconsdatadir)/16x16/apps/
8 icons32dir = $(iconsdatadir)/32x32/apps/
9 icons48dir = $(iconsdatadir)/48x48/apps/
10 icons128dir = $(iconsdatadir)/128x128/apps/
11 icons256dir = $(iconsdatadir)/256x256/apps/
13 dist_appdata_DATA = vlc.desktop
15 dist_vlcdata_DATA = icons/vlc.ico
16 dist_icons16_DATA = icons/16x16/vlc.png icons/16x16/vlc.xpm
17 dist_icons32_DATA = icons/32x32/vlc.png icons/32x32/vlc.xpm \
18                         icons/32x32/vlc-xmas.xpm
19 dist_icons48_DATA = icons/48x48/vlc.png icons/48x48/vlc-xmas.png
20 dist_icons128_DATA = icons/128x128/vlc.png icons/128x128/vlc-xmas.png
21 dist_icons256_DATA = icons/256x256/vlc.png
23 nobase_dist_vlcdata_SCRIPTS = \
24         utils/gnome-vlc-default.sh \
25         utils/audio-vlc-default.sh \
26         utils/video-vlc-default.sh \
27         $(NULL)
29 EXTRA_DIST = \
30         $(skins2_default_vlt_FILES) \
31         $(DIST_rsrc) \
32         $(DIST_skins2) \
33         $(DIST_http_lua) \
34         $(DIST_lua) \
35         $(DIST_osdmenu_default) \
36         $(DIST_maemo) \
37         $(DIST_solid)
39 nobase_vlcdata_DATA =
40 if BUILD_SKINS
41 nobase_vlcdata_DATA += skins2/default.vlt
42 nobase_vlcdata_DATA += $(DIST_skins2)
43 endif
44 if BUILD_OSDMENU
45 nobase_vlcdata_DATA += \
46         $(DIST_osdmenu_default)
47 endif
48 if BUILD_HILDON
49 nobase_vlcdata_DATA += $(DIST_maemo) $(maemo_FILES)
50 endif
51 if KDE_SOLID
52 soliddata_DATA = $(DIST_solid)
53 endif
55 DIST_rsrc = \
56         newres.h \
57         resource.h \
58         vlc_wince_rc.rc
60 DIST_skins2 = \
61         skins2/fonts/FreeSans.ttf \
62         skins2/fonts/FreeSansBold.ttf \
63         skins2/skin.dtd \
64         skins2/skin.catalog \
65         skins2/winamp2.xml
67 skins2_default_vlt_FILES = \
68             skins2/default/theme.xml \
69         skins2/default/subX/about.png \
70         skins2/default/subX/eq.png \
71         skins2/default/subX/font.otf \
72         skins2/default/subX/main.png \
73         skins2/default/subX/playtreeglyphs.png \
74         skins2/default/subX/pl.png \
75         skins2/default/subX/sysbuttons.png \
76         skins2/default/subX/vol_anim.png \
77         skins2/default/subX/vol_slider.png
79 skins2/default.vlt: $(skins2_default_vlt_FILES)
80         mkdir -p skins2
81         (cd "$(srcdir)/skins2"; find default -print0 | \
82                 LC_ALL=C sort -z | \
83                 tar cvv --exclude .svn --no-recursion --null -T -) | \
84         gzip -n > skins2/default.vlt
85 DIST_osdmenu_default = \
86         osdmenu/default.cfg \
87         osdmenu/default/unselected.png \
88         osdmenu/default/selection/bw.png \
89         osdmenu/default/selection/esc.png \
90         osdmenu/default/selection/fw.png \
91         osdmenu/default/selection/volume.png \
92         osdmenu/default/selection/next.png \
93         osdmenu/default/selection/play_pause.png \
94         osdmenu/default/selection/previous.png \
95         osdmenu/default/selection/stop.png \
96         osdmenu/default/selected/bw.png \
97         osdmenu/default/selected/next.png \
98         osdmenu/default/selected/play_pause.png \
99         osdmenu/default/selected/fw.png \
100         osdmenu/default/selected/stop.png \
101         osdmenu/default/selected/previous.png \
102         osdmenu/default/selected/esc.png \
103         osdmenu/default/selected/volume.png \
104         osdmenu/default/volume/volume_00.png \
105         osdmenu/default/volume/volume_01.png \
106         osdmenu/default/volume/volume_02.png \
107         osdmenu/default/volume/volume_03.png \
108         osdmenu/default/volume/volume_04.png \
109         osdmenu/default/volume/volume_05.png \
110         osdmenu/default/volume/volume_06.png \
111         osdmenu/default/volume/volume_07.png \
112         osdmenu/default/volume/volume_08.png \
113         osdmenu/default/volume/volume_09.png \
114         osdmenu/default/volume/volume_10.png
117 # LUA
119 luac_verbose = $(luac_verbose_$(V))
120 luac_verbose_ = $(luac_verbose_$(AM_DEFAULT_VERBOSITY))
121 luac_verbose_0 = @echo "  LUAC   $@";
123 .lua.luac:
124         $(AM_V_at)for f in $(EXTRA_DIST); do \
125                 test "$(srcdir)" = . || f="$(srcdir)/$$f"; \
126                 if test $$f = $<; then \
127                         exit 0; \
128                 fi; \
129         done; \
130         echo "Attempt to byte-compile unknown file: $(<)!"; \
131         exit 1
132         $(AM_V_at)mkdir -p "$$(dirname '$@')"
133         $(luac_verbose)$(LUAC) -o $@ $<
135 if BUILD_LUA
136 nobase_vlclib_DATA = \
137         lua/extensions/allocine-fr.luac \
138         lua/intf/cli.luac \
139         lua/intf/dummy.luac \
140         lua/intf/dumpmeta.luac \
141         lua/intf/hotkeys.luac \
142         lua/intf/luac.luac \
143         lua/intf/modules/common.luac \
144         lua/intf/modules/host.luac \
145         lua/intf/telnet.luac \
146         lua/meta/art/04_musicbrainz.luac \
147         lua/meta/art/02_frenchtv.luac \
148         lua/meta/art/03_lastfm.luac \
149         lua/meta/art/01_googleimage.luac \
150         lua/meta/fetcher/tvrage.luac \
151         lua/meta/reader/filename.luac \
152         lua/modules/dkjson.luac \
153         lua/modules/sandbox.luac \
154         lua/modules/simplexml.luac \
155         lua/playlist/anevia_streams.luac \
156         lua/playlist/anevia_xml.luac \
157         lua/playlist/appletrailers.luac \
158         lua/playlist/bbc_co_uk.luac \
159         lua/playlist/break.luac \
160         lua/playlist/canalplus.luac \
161         lua/playlist/cue.luac \
162         lua/playlist/dailymotion.luac \
163         lua/playlist/france2.luac \
164         lua/playlist/googlevideo.luac \
165         lua/playlist/jamendo.luac \
166         lua/playlist/joox.luac \
167         lua/playlist/katsomo.luac \
168         lua/playlist/koreus.luac \
169         lua/playlist/lelombrik.luac \
170         lua/playlist/megavideo.luac \
171         lua/playlist/metacafe.luac \
172         lua/playlist/metachannels.luac \
173         lua/playlist/mpora.luac \
174         lua/playlist/pinkbike.luac \
175         lua/playlist/pluzz.luac \
176         lua/playlist/rockbox_fm_presets.luac \
177         lua/playlist/youtube.luac \
178         lua/playlist/youtube_homepage.luac \
179         lua/sd/fmc.luac \
180         lua/sd/freebox.luac \
181         lua/sd/icecast.luac \
182         lua/sd/jamendo.luac \
183         lua/sd/metachannels.luac \
184         $(NULL)
185 if BUILD_HTTPD
186 nobase_vlclib_DATA += \
187         lua/intf/http.luac \
188         lua/intf/modules/httprequests.luac \
189         $(NULL)
190 nobase_vlcdata_DATA += $(DIST_http_lua)
191 endif
192 endif
193 MOSTLYCLEANFILES += $(nobase_vlclib_DATA)
195 EXTRA_DIST += \
196         lua/README.txt \
197         lua/extensions/README.txt \
198         lua/extensions/allocine-fr.lua \
199         lua/intf/README.txt \
200         lua/intf/cli.lua \
201         lua/intf/dummy.lua \
202         lua/intf/dumpmeta.lua \
203         lua/intf/hotkeys.lua \
204         lua/intf/http.lua \
205         lua/intf/luac.lua \
206         lua/intf/modules/common.lua \
207         lua/intf/modules/host.lua \
208         lua/intf/modules/httprequests.lua \
209         lua/intf/telnet.lua \
210         lua/meta/art/README.txt \
211         lua/meta/art/04_musicbrainz.lua \
212         lua/meta/art/02_frenchtv.lua \
213         lua/meta/art/03_lastfm.lua \
214         lua/meta/art/01_googleimage.lua \
215         lua/meta/fetcher/README.txt \
216         lua/meta/fetcher/tvrage.lua \
217         lua/meta/reader/README.txt \
218         lua/meta/reader/filename.lua \
219         lua/modules/dkjson.lua \
220         lua/modules/sandbox.lua \
221         lua/modules/simplexml.lua \
222         lua/playlist/README.txt \
223         lua/playlist/anevia_streams.lua \
224         lua/playlist/anevia_xml.lua \
225         lua/playlist/appletrailers.lua \
226         lua/playlist/bbc_co_uk.lua \
227         lua/playlist/break.lua \
228         lua/playlist/canalplus.lua \
229         lua/playlist/cue.lua \
230         lua/playlist/dailymotion.lua \
231         lua/playlist/france2.lua \
232         lua/playlist/googlevideo.lua \
233         lua/playlist/jamendo.lua \
234         lua/playlist/joox.lua \
235         lua/playlist/katsomo.lua \
236         lua/playlist/koreus.lua \
237         lua/playlist/lelombrik.lua \
238         lua/playlist/megavideo.lua \
239         lua/playlist/metacafe.lua \
240         lua/playlist/metachannels.lua \
241         lua/playlist/mpora.lua \
242         lua/playlist/pinkbike.lua \
243         lua/playlist/pluzz.lua \
244         lua/playlist/rockbox_fm_presets.lua \
245         lua/playlist/youtube.lua \
246         lua/playlist/youtube_homepage.lua \
247         lua/sd/README.txt \
248         lua/sd/fmc.lua \
249         lua/sd/freebox.lua \
250         lua/sd/icecast.lua \
251         lua/sd/jamendo.lua \
252         lua/sd/metachannels.lua
254 DIST_http_lua = \
255         lua/http/view.html \
256         lua/http/mobile.html \
257         lua/http/dialogs/create_stream.html \
258         lua/http/dialogs/equalizer_window.html \
259         lua/http/dialogs/mosaic_window.html \
260         lua/http/dialogs/batch_window.html \
261         lua/http/dialogs/error_window.html \
262         lua/http/dialogs/browse_window.html \
263         lua/http/dialogs/.hosts \
264         lua/http/dialogs/stream_window.html \
265         lua/http/dialogs/offset_window.html \
266         lua/http/dialogs/stream_config_window.html \
267         lua/http/dialogs/old/browse \
268         lua/http/dialogs/old/footer \
269         lua/http/dialogs/old/input \
270         lua/http/dialogs/old/main \
271         lua/http/dialogs/old/playlist \
272         lua/http/dialogs/old/sout \
273         lua/http/dialogs/old/vlm \
274         lua/http/custom.lua \
275         lua/http/vlm.html \
276         lua/http/old/images/loop.png \
277         lua/http/images/buttons.png \
278         lua/http/images/speaker-32.png \
279         lua/http/old/images/fullscreen.png \
280         lua/http/images/vlc-48.png \
281         lua/http/old/images/prev.png \
282         lua/http/old/images/play.png \
283         lua/http/images/Audio-48.png \
284         lua/http/old/images/empty.png \
285         lua/http/old/images/minus.png \
286         lua/http/old/images/slider_right.png \
287         lua/http/old/images/slider_point.png \
288         lua/http/old/images/pause.png \
289         lua/http/old/images/speaker_mute.png \
290         lua/http/old/images/delete_small.png \
291         lua/http/old/images/snapshot.png \
292         lua/http/images/Folder-48.png \
293         lua/http/old/images/info.png \
294         lua/http/old/images/refresh.png \
295         lua/http/old/images/sout.png \
296         lua/http/old/images/sort.png \
297         lua/http/old/images/white_cross_small.png \
298         lua/http/old/images/shuffle.png \
299         lua/http/images/Other-48.png \
300         lua/http/old/images/repeat.png \
301         lua/http/old/images/slow.png \
302         lua/http/old/images/slider_left.png \
303         lua/http/old/images/help.png \
304         lua/http/old/images/stop.png \
305         lua/http/old/images/sd.png \
306         lua/http/old/images/speaker.png \
307         lua/http/old/images/delete.png \
308         lua/http/images/Back-48.png \
309         lua/http/images/Video-48.png \
310         lua/http/old/images/playlist_small.png \
311         lua/http/old/images/eject.png \
312         lua/http/old/images/playlist.png \
313         lua/http/old/images/volume_up.png \
314         lua/http/old/images/next.png \
315         lua/http/old/images/volume_down.png \
316         lua/http/old/images/slider_bar.png \
317         lua/http/images/vlc16x16.png \
318         lua/http/old/images/plus.png \
319         lua/http/old/images/white.png \
320         lua/http/old/images/reset.png \
321         lua/http/mobile_equalizer.html \
322         lua/http/vlm_export.html \
323         lua/http/mobile_browse.html \
324         lua/http/favicon.ico \
325         lua/http/mobile_view.html \
326         lua/http/.hosts \
327         lua/http/requests/playlist.xml \
328         lua/http/requests/playlist.json \
329         lua/http/requests/README.txt \
330         lua/http/requests/playlist_jstree.xml \
331         lua/http/requests/browse.xml \
332         lua/http/requests/browse.json \
333         lua/http/requests/vlm_cmd.xml \
334         lua/http/requests/status.xml \
335         lua/http/requests/status.json \
336         lua/http/requests/vlm.xml \
337         lua/http/index.html \
338         lua/http/css/ui-lightness/jquery-ui-1.8.13.custom.css \
339         lua/http/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png \
340         lua/http/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png \
341         lua/http/css/ui-lightness/images/ui-icons_ffffff_256x240.png \
342         lua/http/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png \
343         lua/http/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png \
344         lua/http/css/ui-lightness/images/ui-icons_222222_256x240.png \
345         lua/http/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png \
346         lua/http/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png \
347         lua/http/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png \
348         lua/http/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png \
349         lua/http/css/ui-lightness/images/ui-icons_ffd27a_256x240.png \
350         lua/http/css/ui-lightness/images/ui-icons_228ef1_256x240.png \
351         lua/http/css/ui-lightness/images/ui-icons_ef8c08_256x240.png \
352         lua/http/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png \
353         lua/http/css/main.css \
354         lua/http/js/jquery-1.5.1.min.js \
355         lua/http/old/js/functions.js \
356         lua/http/old/js/vlm.js \
357         lua/http/js/ui.js \
358         lua/http/js/common.js \
359         lua/http/js/jquery.jstree.js \
360         lua/http/js/controlers.js \
361         lua/http/js/jquery-ui-1.8.13.custom.min.js \
362         lua/http/old/style.css
364 DIST_maemo = \
365         maemo/vlc_intf.rc \
366         maemo/vlc_left_tab_active.png \
367         maemo/vlc_left_tab_passive.png \
368         maemo/playlist.png \
369         maemo/play.png \
370         maemo/pause.png \
371         maemo/stop.png \
372         maemo/previous.png \
373         maemo/next.png
375 maemo_FILES = \
376         icons/32x32/vlc.png
378 DIST_solid = \
379         solid/vlc-opencda.desktop \
380         solid/vlc-opendvd.desktop \
381         solid/vlc-openvcd.desktop