1 ###############################################################################
2 # Automake targets and declarations
3 ###############################################################################
7 # SUBDIRS stores the directories where a "make" is required when building
8 # something. DIST_SUBDIRS stores the directories where nothing is built but
9 # which have makefiles with distribution information.
10 # - intl should come before modules and . because all the code uses gettext
11 # - modules should come before . because vlc needs the builtins
12 # - . should come before mozilla because the plugin needs libvlc_pic.a
13 # - po should come before . because VLC.app needs the pofiles
14 # - loader should come before modules because some plugins need it
15 SUBDIRS = intl loader modules po . mozilla activex share m4 doc
16 DIST_SUBDIRS = $(SUBDIRS) debian ipkg lib
33 src/misc/modules_builtin.h.in \
36 BUILT_SOURCES_distclean = vlc-config
37 BUILT_SOURCES_clean = \
39 src/misc/modules_builtin.h \
43 BUILT_SOURCES = $(BUILT_SOURCES_distclean) $(BUILT_SOURCES_clean)
47 # Tell aclocal to use -I m4. Wonder if it really works.
48 ACLOCAL_AMFLAGS = -I m4
50 # XXX: these flags could be set in configure.ac, but we set them here
51 # because old versions of automake don't support them in configure.ac.
52 AUTOMAKE_OPTIONS = dist-bzip2 subdir-objects
54 ###############################################################################
56 ###############################################################################
58 pkgincludedir = $(includedir)/vlc
60 dist_pkginclude_HEADERS = \
65 include/vlc/decoder.h \
68 include/vlc/control.h \
71 noinst_HEADERS = $(HEADERS_include)
72 noinst_DATA = $(DATA_noinst_beos) $(DATA_noinst_libvlc)
75 include/aout_internal.h \
76 include/audio_output.h \
77 include/beos_specific.h \
80 include/configuration.h \
81 include/darwin_specific.h \
82 include/intf_eject.h \
87 include/modules_inner.h \
90 include/os_specific.h \
92 include/stream_output.h \
94 include/video_output.h \
95 include/vlc_access.h \
99 include/vlc_block_helper.h \
100 include/vlc_codec.h \
101 include/vlc_common.h \
102 include/vlc_config.h \
104 include/vlc_demux.h \
105 include/vlc_error.h \
107 include/vlc_es_out.h \
108 include/vlc_filter.h \
109 include/vlc_config_cat.h \
110 include/vlc_httpd.h \
113 include/vlc_image.h \
114 include/vlc_input.h \
115 include/vlc_interface.h \
117 include/vlc_messages.h \
119 include/vlc_objects.h \
121 include/vlc_playlist.h \
123 include/vlc_stream.h \
124 include/vlc_symbols.h \
125 include/vlc_threads_funcs.h \
126 include/vlc_threads.h \
127 include/vlc_video.h \
131 include/vout_synchro.h \
132 include/win32_specific.h \
135 src/misc/modules_builtin.h: Makefile src/misc/modules_builtin.h.in vlc-config
136 srcdir=$(srcdir) $(srcdir)/toolbox --update-includes
137 touch src/misc/modules_builtin.h
139 src/misc/modules.c: src/misc/modules_builtin.h
141 src/misc/version.c: FORCE
142 srcdir=$(srcdir) $(srcdir)/toolbox --update-version
144 # These dependencies are mandatory
145 $(SOURCES_libvlc): $(LIB_intl)
147 ###############################################################################
148 # Optional libintl - FIXME, bad dependencies
149 ###############################################################################
151 intl/libintl.a: FORCE
152 cd $(top_builddir)/intl && $(MAKE) $(AM_MAKEFLAGS)
155 LIB_intl = intl/libintl.a
158 ###############################################################################
160 ###############################################################################
163 extras/MacOSX/Resources/English.lproj/MainMenu.nib/classes.nib \
164 extras/MacOSX/Resources/English.lproj/MainMenu.nib/info.nib \
165 extras/MacOSX/Resources/English.lproj/MainMenu.nib/keyedobjects.nib \
166 extras/MacOSX/Resources/English.lproj/About.nib/classes.nib \
167 extras/MacOSX/Resources/English.lproj/About.nib/info.nib \
168 extras/MacOSX/Resources/English.lproj/About.nib/keyedobjects.nib \
169 extras/MacOSX/Resources/English.lproj/Open.nib/classes.nib \
170 extras/MacOSX/Resources/English.lproj/Open.nib/info.nib \
171 extras/MacOSX/Resources/English.lproj/Open.nib/keyedobjects.nib \
172 extras/MacOSX/Resources/English.lproj/Preferences.nib/classes.nib \
173 extras/MacOSX/Resources/English.lproj/Preferences.nib/info.nib \
174 extras/MacOSX/Resources/English.lproj/Preferences.nib/keyedobjects.nib \
175 extras/MacOSX/Resources/English.lproj/Wizard.nib/classes.nib \
176 extras/MacOSX/Resources/English.lproj/Wizard.nib/info.nib \
177 extras/MacOSX/Resources/English.lproj/Wizard.nib/keyedobjects.nib \
178 extras/MacOSX/Resources/English.lproj/Bookmarks.nib/classes.nib \
179 extras/MacOSX/Resources/English.lproj/Bookmarks.nib/info.nib \
180 extras/MacOSX/Resources/English.lproj/Bookmarks.nib/keyedobjects.nib \
181 extras/MacOSX/Resources/English.lproj/Extended.nib/classes.nib \
182 extras/MacOSX/Resources/English.lproj/Extended.nib/info.nib \
183 extras/MacOSX/Resources/English.lproj/Extended.nib/keyedobjects.nib \
184 extras/MacOSX/Resources/English.lproj/Update.nib/classes.nib \
185 extras/MacOSX/Resources/English.lproj/Update.nib/info.nib \
186 extras/MacOSX/Resources/English.lproj/Update.nib/keyedobjects.nib \
187 extras/MacOSX/Resources/English.lproj/InfoPlist.strings \
188 extras/MacOSX/Resources/a52.icns \
189 extras/MacOSX/Resources/aac.icns \
190 extras/MacOSX/Resources/asf.icns \
191 extras/MacOSX/Resources/asx.icns \
192 extras/MacOSX/Resources/avi.icns \
193 extras/MacOSX/Resources/bin.icns \
194 extras/MacOSX/Resources/cue.icns \
195 extras/MacOSX/Resources/dat.icns \
196 extras/MacOSX/Resources/divx.icns \
197 extras/MacOSX/Resources/dv.icns \
198 extras/MacOSX/Resources/generic.icns \
199 extras/MacOSX/Resources/m3u.icns \
200 extras/MacOSX/Resources/mov.icns \
201 extras/MacOSX/Resources/mp3.icns \
202 extras/MacOSX/Resources/mp4.icns \
203 extras/MacOSX/Resources/mpeg.icns \
204 extras/MacOSX/Resources/mpeg1.icns \
205 extras/MacOSX/Resources/mpeg2.icns \
206 extras/MacOSX/Resources/mpeg4.icns \
207 extras/MacOSX/Resources/mpg.icns \
208 extras/MacOSX/Resources/ogg.icns \
209 extras/MacOSX/Resources/ogm.icns \
210 extras/MacOSX/Resources/pls.icns \
211 extras/MacOSX/Resources/srt.icns \
212 extras/MacOSX/Resources/sub.icns \
213 extras/MacOSX/Resources/vlc.icns \
214 extras/MacOSX/Resources/vob.icns \
215 extras/MacOSX/Resources/wma.icns \
216 extras/MacOSX/Resources/wmv.icns \
217 extras/MacOSX/Resources/pause.png \
218 extras/MacOSX/Resources/pause_blue.png \
219 extras/MacOSX/Resources/play.png \
220 extras/MacOSX/Resources/play_blue.png \
221 extras/MacOSX/Resources/stop.png \
222 extras/MacOSX/Resources/stop_blue.png \
223 extras/MacOSX/Resources/display.png \
224 extras/MacOSX/Resources/display_slider.png \
225 extras/MacOSX/Resources/display_track.png \
226 extras/MacOSX/Resources/equalizerdrawer_active.png \
227 extras/MacOSX/Resources/equalizerdrawer_blue.png \
228 extras/MacOSX/Resources/fullscreen_active.png \
229 extras/MacOSX/Resources/fullscreen_blue.png \
230 extras/MacOSX/Resources/next_active.png \
231 extras/MacOSX/Resources/next_blue.png \
232 extras/MacOSX/Resources/playlistdrawer_active.png \
233 extras/MacOSX/Resources/playlistdrawer_blue.png \
234 extras/MacOSX/Resources/previous_active.png \
235 extras/MacOSX/Resources/previous_blue.png \
236 extras/MacOSX/Resources/skip_forward_active.png \
237 extras/MacOSX/Resources/skip_forward_blue.png \
238 extras/MacOSX/Resources/skip_previous_active.png \
239 extras/MacOSX/Resources/skip_previous_blue.png \
240 extras/MacOSX/Resources/volume_high.png \
241 extras/MacOSX/Resources/volume_low.png \
242 extras/MacOSX/Resources/volumeslider_blue.png \
243 extras/MacOSX/Resources/volumeslider_normal.png \
244 extras/MacOSX/Resources/volumetrack.png \
245 extras/MacOSX/Resources/about_bg.png \
246 extras/MacOSX/Resources/vlc.scriptSuite \
247 extras/MacOSX/Resources/vlc.scriptTerminology \
248 extras/MacOSX/Resources/README \
249 extras/MacOSX/vlc.pbproj/project.pbxproj \
250 extras/MacOSX/macosx-dmg \
256 ###############################################################################
257 # MS Visual Studio and eMbedded Visual Studio projects
258 ###############################################################################
263 msvc/plugins.dsp.in \
266 msvc/modules_builtin_msvc.h \
273 evc/modules_builtin_evc.h \
277 cd $(distdir) && srcdir=. $(SHELL) ./toolbox --update-vc
278 distdir=$(distdir) srcdir=$(srcdir) $(SHELL) $(srcdir)/toolbox --dist-contrib
280 ###############################################################################
282 ###############################################################################
284 bin_SCRIPTS = vlc-config
285 vlc-config: $(top_builddir)/config.status $(top_builddir)/vlc-config.in
286 $(SHELL) ./config.status --file=vlc-config
287 chmod 0755 vlc-config
289 vlc-config.in: vlc-config.in.in
290 ./config.status --recheck
292 MOSTLYCLEANFILES = $(DATA_noinst_libvlc)
293 CLEANFILES = $(BUILT_SOURCES_clean) stamp-builtin
294 DISTCLEANFILES = $(BUILT_SOURCES_distclean) vlc-config.in
297 lib_LIBRARIES = lib/libvlc.a
300 lib_LIBRARIES = lib/libvlc_pic.a
302 lib_LIBRARIES = lib/libvlc.a
304 lib_LIBRARIES += lib/libvlc_pic.a
309 lib_libvlc_a_SOURCES = $(SOURCES_libvlc)
310 lib_libvlc_a_CFLAGS = `$(VLC_CONFIG) --cflags vlc`
311 lib_libvlc_a_CXXFLAGS = `$(VLC_CONFIG) --cxxflags vlc`
312 lib_libvlc_a_OBJCFLAGS = `$(VLC_CONFIG) --objcflags vlc`
314 lib_libvlc_pic_a_SOURCES = $(SOURCES_libvlc)
315 lib_libvlc_pic_a_CFLAGS = `$(VLC_CONFIG) --cflags vlc pic`
316 lib_libvlc_pic_a_CXXFLAGS = `$(VLC_CONFIG) --cxxflags vlc pic`
317 lib_libvlc_pic_a_OBJCFLAGS = `$(VLC_CONFIG) --objcflags vlc pic`
320 OPT_SOURCES_libvlc_beos = $(SOURCES_libvlc_beos)
323 OPT_SOURCES_libvlc_darwin = $(SOURCES_libvlc_darwin)
326 OPT_SOURCES_libvlc_win32 = $(SOURCES_libvlc_win32)
329 OPT_SOURCES_libvlc_win32 = $(SOURCES_libvlc_win32)
332 OPT_SOURCES_libvlc_dirent = $(SOURCES_libvlc_dirent)
335 OPT_SOURCES_libvlc_getopt = $(SOURCES_libvlc_getopt)
338 # Build libvlc as a shared library
340 DATA_noinst_libvlc = libvlc$(LIBEXT)
342 OBJECTS_libvlc_so = $(lib_libvlc_a_OBJECTS)
344 OBJECTS_libvlc_so = $(lib_libvlc_pic_a_OBJECTS)
348 libvlc$(LIBEXT): $(OBJECTS_libvlc_so)
349 @ldfl="`$(VLC_CONFIG) --libs plugin vlc $(pic) builtin`" ; \
350 case `$(VLC_CONFIG) --linkage vlc` in \
351 c++) ld="$(CXXLINK)" ;; \
352 objc) ld="$(OBJCLINK)" ;; \
353 c|*) ld="$(LINK)" ;; \
355 echo $$ld $(OBJECTS_libvlc_so) $$ldfl ; \
356 $$ld $(OBJECTS_libvlc_so) $$ldfl
359 $(SOURCES_libvlc_beos) \
360 $(SOURCES_libvlc_darwin) \
361 $(SOURCES_libvlc_win32) \
362 $(SOURCES_libvlc_dirent) \
363 $(SOURCES_libvlc_getopt) \
366 SOURCES_libvlc_beos = \
367 src/misc/beos_specific.cpp \
370 SOURCES_libvlc_darwin = \
371 src/misc/darwin_specific.m \
374 SOURCES_libvlc_win32 = \
375 src/misc/win32_specific.c \
378 SOURCES_libvlc_dirent = \
379 src/extras/dirent.c \
382 SOURCES_libvlc_getopt = \
383 src/extras/getopt.c \
384 src/extras/getopt.h \
385 src/extras/getopt1.c \
388 SOURCES_libvlc_common = \
391 src/interface/interface.c \
392 src/interface/intf_eject.c \
393 src/playlist/playlist.c \
394 src/playlist/sort.c \
395 src/playlist/loadsave.c \
396 src/playlist/view.c \
397 src/playlist/item.c \
398 src/playlist/item-ext.c \
399 src/playlist/services_discovery.c \
402 src/input/control.c \
403 src/input/decoder.c \
407 src/input/input_internal.h \
409 src/input/mem_stream.c \
410 src/input/subtitles.c \
412 src/video_output/video_output.c \
413 src/video_output/vout_pictures.c \
414 src/video_output/vout_pictures.h \
415 src/video_output/video_text.c \
416 src/video_output/video_widgets.c \
417 src/video_output/vout_subpictures.c \
418 src/video_output/vout_synchro.c \
419 src/video_output/vout_intf.c \
420 src/audio_output/common.c \
421 src/audio_output/dec.c \
422 src/audio_output/filters.c \
423 src/audio_output/input.c \
424 src/audio_output/mixer.c \
425 src/audio_output/output.c \
426 src/audio_output/intf.c \
427 src/stream_output/stream_output.c \
428 src/stream_output/announce.c \
429 src/stream_output/sap.c \
430 src/stream_output/acl.c \
432 src/osd/osd_parser.c \
434 src/osd/osd_widgets.c \
445 src/misc/configuration.c \
447 src/misc/iso_lang.c \
448 src/misc/iso-639_def.h \
449 src/misc/messages.c \
451 src/misc/variables.c \
454 src/misc/getaddrinfo.c \
461 src/control/audio_video.c \
465 $(SOURCES_libvlc_common) \
466 $(OPT_SOURCES_libvlc_beos) \
467 $(OPT_SOURCES_libvlc_darwin) \
468 $(OPT_SOURCES_libvlc_win32) \
469 $(OPT_SOURCES_libvlc_dirent) \
470 $(OPT_SOURCES_libvlc_getopt) \
473 ###############################################################################
475 ###############################################################################
479 vlc_SOURCES = src/vlc.c
481 # Work around a bug in the arm-wince-pe linker
483 vlc_WORKAROUNDLDFLAGS = $(LIB_libvlc)
487 ### libvlc.so cannot be created into lib/
488 LIB_libvlc = libvlc$(LIBEXT)
490 #-Wl,-rpath $(libdir)
492 LIB_libvlc = lib/libvlc.a
493 LDFLAGS_libvlc = `$(VLC_CONFIG) --libs vlc builtin`
496 vlc_LDFLAGS = $(LDFLAGS_libvlc) $(vlc_WORKAROUNDLDFLAGS)
497 vlc_LDADD = $(LIB_libvlc) $(DATA_win32_rc) $(LIB_intl)
498 vlc_CFLAGS = `$(VLC_CONFIG) --cflags vlc`
500 # We use DEPENDENCIES_vlc instead of vlc_DEPENDENCIES because of an
501 # old automake-1.5 bug (automake/279).
502 DEPENDENCIES_vlc = $(LIB_libvlc) $(DATA_win32_rc) $(LIB_intl)
504 vlc$(EXEEXT): $(vlc_OBJECTS) $(DEPENDENCIES_vlc) stamp-builtin
506 @case `$(VLC_CONFIG) --linkage vlc builtin` in \
507 c++) cmd="$(CXXLINK)" ;; \
508 objc) cmd="$(OBJCLINK)" ;; \
509 c|*) cmd="$(LINK)" ;; \
511 cmd="$$cmd $(vlc_OBJECTS) $(vlc_LDADD) $(vlc_LDFLAGS) $(LIBS)" ; \
516 DATA_noinst_beos = vlc-bundle
518 rm -Rf $(top_builddir)/vlc-bundle ; mkdir -p $(top_builddir)/vlc-bundle
519 cp $(top_builddir)/vlc $(top_builddir)/vlc-bundle/
520 xres -o $(top_builddir)/vlc-bundle/vlc $(srcdir)/share/vlc_beos.rsrc
521 for i in "" `$(VLC_CONFIG) --target plugin` ; do \
522 if test -n "$$i" ; then \
523 mkdir -p $(top_builddir)/vlc-bundle/plugins ; \
524 cp "$$i$(LIBEXT)" $(top_builddir)/vlc-bundle/plugins/ ; \
527 if test -d $(top_builddir)/extras/contrib/vlc-lib ; then \
528 mkdir -p $(top_builddir)/vlc-bundle/lib ; \
529 for i in $(top_builddir)/extras/contrib/vlc-lib/*.so ; do \
530 cp $$i $(top_builddir)/vlc-bundle/lib/ ; \
533 for i in $(ALL_LINGUAS); do \
534 mkdir -p "$(top_builddir)/vlc-bundle/locale/$$i/LC_MESSAGES" ; \
535 cp "$(top_builddir)/po/$$i.gmo" \
536 "$(top_builddir)/vlc-bundle/locale/$$i/LC_MESSAGES/vlc.mo" || true ; \
538 find $(top_builddir)/vlc-bundle -type f -exec mimeset -f "{}" \;
541 # Install the symlinks and shared libvlc
543 for i in "" $(ALIASES) ; do if test -n "$$i" ; then \
544 rm -f "$(DESTDIR)$(bindir)/$$i" && \
545 ln -s vlc "$(DESTDIR)$(bindir)/$$i" ; \
547 test -z "$(DATA_noinst_libvlc)" || $(INSTALL_PROGRAM) "$(DATA_noinst_libvlc)" "$(DESTDIR)$(libdir)"
549 # the opposite of install-{data,exec}-local
551 for i in "" $(ALIASES) ; do if test -n "$$i" ; then \
552 rm -f "$(DESTDIR)$(bindir)/$$i" ; \
554 test -z "$(DATA_noinst_libvlc)" || rm -f "$(DESTDIR)$(libdir)/$(DATA_noinst_libvlc)"
557 # Create the MacOS X app
558 vlc_app_DATA = VLC.app
559 vlc_appdir = $(bindir)
560 # VLC-release.app is the old VLC.app target
562 @if test -e "$(top_builddir)/tmp"; then \
563 echo "Error: please remove $(top_builddir)/tmp, it is in the way"; \
566 echo "OK."; mkdir -p "$(top_builddir)/tmp/extras"; \
568 rm -Rf $(top_builddir)/VLC-release.app
569 cp -r $(srcdir)/extras/MacOSX $(top_builddir)/tmp/extras
570 for i in AUTHORS COPYING README.MacOSX.rtf THANKS; do \
571 cp "$(srcdir)/$$i" $(top_builddir)/tmp; \
573 mkdir -p $(top_builddir)/tmp/modules/audio_output
574 cp $(srcdir)/modules/audio_output/coreaudio.c \
575 $(top_builddir)/tmp/modules/audio_output/coreaudio.c
576 mkdir -p $(top_builddir)/tmp/modules/gui/macosx
615 cp "$(srcdir)/modules/gui/macosx/$$i" \
616 $(top_builddir)/tmp/modules/gui/macosx; \
618 case $(target_triplet) in \
619 *darwin6*) cd $(top_builddir)/tmp/extras/MacOSX && pbxbuild -target vlc | grep -v '^\([ \t]\|$$\)'; \
621 cp -r $(top_builddir)/tmp/extras/MacOSX/build/VLC.bundle \
622 $(top_builddir)/VLC-release.app;; \
623 *darwin7*) cd $(top_builddir)/tmp/extras/MacOSX && xcodebuild -target vlc | grep -v '^\([ \t]\|$$\)'; \
625 cp -r $(top_builddir)/tmp/extras/MacOSX/build/VLC.bundle \
626 $(top_builddir)/VLC-release.app;; \
627 *darwin8*) cd $(top_builddir)/tmp/extras/MacOSX && xcodebuild -target vlc | grep -v '^\([ \t]\|$$\)'; \
629 cp -r $(top_builddir)/tmp/extras/MacOSX/build/Default/VLC.bundle \
630 $(top_builddir)/VLC-release.app;; \
632 rm -Rf $(top_builddir)/tmp
633 $(INSTALL) -d $(top_builddir)/VLC-release.app/Contents/MacOS
634 $(INSTALL) $(top_builddir)/vlc \
635 $(top_builddir)/VLC-release.app/Contents/MacOS/VLC
636 ln -sf ./VLC $(top_builddir)/VLC-release.app/Contents/MacOS/clivlc
637 $(INSTALL) -d $(top_builddir)/VLC-release.app/Contents/MacOS/modules
638 for i in "" `$(VLC_CONFIG) --target plugin` ; do \
640 then $(INSTALL) "$$i$(LIBEXT)" \
641 "$(top_builddir)/VLC-release.app/Contents/MacOS/modules" ; \
643 if test -d $(srcdir)/extras/contrib/vlc-lib; then \
644 mkdir -p $(top_builddir)/VLC-release.app/Contents/MacOS/lib ; \
645 for i in $(srcdir)/extras/contrib/vlc-lib/*.dylib ; do \
646 $(INSTALL) -m 644 $${i} $(top_builddir)/VLC-release.app/Contents/MacOS/lib/vlc_`basename $${i}` ; \
649 $(INSTALL) -d $(top_builddir)/VLC-release.app/Contents/MacOS/share
650 $(INSTALL) -d $(top_builddir)/VLC-release.app/Contents/MacOS/share/http
651 for i in $(srcdir)/share/http/* ; do \
652 $(INSTALL) -m 644 $${i} $(top_builddir)/VLC-release.app/Contents/MacOS/share/http/`basename $${i}` ; \
654 $(INSTALL) -d $(top_builddir)/VLC-release.app/Contents/MacOS/share/http/vlm
655 for i in $(srcdir)/share/http/vlm/* ; do \
656 $(INSTALL) -m 644 $${i} $(top_builddir)/VLC-release.app/Contents/MacOS/share/http/vlm/`basename $${i}` ; \
658 $(INSTALL) -d $(top_builddir)/VLC-release.app/Contents/MacOS/share/http/admin
659 for i in $(srcdir)/share/http/admin/* ; do \
660 $(INSTALL) -m 644 $${i} $(top_builddir)/VLC-release.app/Contents/MacOS/share/http/admin/`basename $${i}` ; \
662 $(INSTALL) -m 644 $(srcdir)/share/http/admin/.access $(top_builddir)/VLC-release.app/Contents/MacOS/share/http/admin/.access
663 $(INSTALL) -d $(top_builddir)/VLC-release.app/Contents/MacOS/locale
664 for i in $(ALL_LINGUAS); do \
665 mkdir -p $(top_builddir)/VLC-release.app/Contents/MacOS/locale/$${i}/LC_MESSAGES ; \
666 cp $(srcdir)/po/$${i}.gmo $(top_builddir)/VLC-release.app/Contents/MacOS/locale/$${i}/LC_MESSAGES/vlc.mo || true ; \
667 mkdir -p $(top_builddir)/VLC-release.app/Contents/Resources/$${i}.lproj ; \
668 ln -sf ../English.lproj/InfoPlist.strings \
669 $(top_builddir)/VLC-release.app/Contents/Resources/$${i}.lproj ; \
670 ln -sf ../English.lproj/MainMenu.nib \
671 $(top_builddir)/VLC-release.app/Contents/Resources/$${i}.lproj ; \
672 ln -sf ../English.lproj/vlc.scriptTerminology \
673 $(top_builddir)/VLC-release.app/Contents/Resources/$${i}.lproj ; \
675 printf "APPLVLC#" >| $(top_builddir)/VLC-release.app/Contents/PkgInfo
678 @if test -e "$(top_builddir)/tmp"; then \
679 echo "Error: please remove $(top_builddir)/tmp, it is in the way"; \
682 echo "OK."; mkdir -p "$(top_builddir)/tmp/extras"; \
684 rm -Rf $(top_builddir)/VLC.app
685 cp -r $(srcdir)/extras/MacOSX $(top_builddir)/tmp/extras
686 for i in AUTHORS COPYING README.MacOSX.rtf THANKS; do \
687 cp "$(srcdir)/$$i" $(top_builddir)/tmp; \
689 mkdir -p $(top_builddir)/tmp/modules/audio_output
690 cp $(srcdir)/modules/audio_output/coreaudio.c \
691 $(top_builddir)/tmp/modules/audio_output/coreaudio.c
692 mkdir -p $(top_builddir)/tmp/modules/gui/macosx
731 cp "$(srcdir)/modules/gui/macosx/$$i" \
732 $(top_builddir)/tmp/modules/gui/macosx; \
734 case $(target_triplet) in \
735 *darwin6*) cd $(top_builddir)/tmp/extras/MacOSX && pbxbuild -target vlc | grep -v '^\([ \t]\|$$\)'; \
737 cp -r $(top_builddir)/tmp/extras/MacOSX/build/VLC.bundle \
738 $(top_builddir)/VLC.app;; \
739 *darwin7*) cd $(top_builddir)/tmp/extras/MacOSX && xcodebuild -target vlc | grep -v '^\([ \t]\|$$\)'; \
741 cp -r $(top_builddir)/tmp/extras/MacOSX/build/VLC.bundle \
742 $(top_builddir)/VLC.app;; \
743 *darwin8*) cd $(top_builddir)/tmp/extras/MacOSX && xcodebuild -target vlc | grep -v '^\([ \t]\|$$\)'; \
745 cp -r $(top_builddir)/tmp/extras/MacOSX/build/Default/VLC.bundle \
746 $(top_builddir)/VLC.app;; \
748 rm -Rf $(top_builddir)/tmp
749 $(INSTALL) -d $(top_builddir)/VLC.app/Contents/MacOS
750 $(INSTALL) $(top_builddir)/vlc \
751 $(top_builddir)/VLC.app/Contents/MacOS/VLC
752 ln -sf ./VLC $(top_builddir)/VLC.app/Contents/MacOS/clivlc
753 $(INSTALL) -d $(top_builddir)/VLC.app/Contents/MacOS/modules
754 for i in "" `$(VLC_CONFIG) --target plugin` ; do \
756 then ln -sfn "`pwd`/$$i$(LIBEXT)" \
757 "$(top_builddir)/VLC.app/Contents/MacOS/modules" ; \
759 if test -d $(srcdir)/extras/contrib/vlc-lib; then \
760 mkdir -p $(top_builddir)/VLC.app/Contents/MacOS/lib ; \
761 for i in $(srcdir)/extras/contrib/vlc-lib/*.dylib ; do \
762 ln -sfn `pwd`/$${i} $(top_builddir)/VLC.app/Contents/MacOS/lib/vlc_`basename $${i}` ; \
765 ln -sfn `pwd`/share $(top_builddir)/VLC.app/Contents/MacOS/
766 $(INSTALL) -d $(top_builddir)/VLC.app/Contents/MacOS/locale
767 for i in $(ALL_LINGUAS); do \
768 mkdir -p $(top_builddir)/VLC.app/Contents/MacOS/locale/$${i}/LC_MESSAGES ; \
769 ln -sfn `pwd`/po/$${i}.gmo $(top_builddir)/VLC.app/Contents/MacOS/locale/$${i}/LC_MESSAGES/vlc.mo || true ; \
770 mkdir -p $(top_builddir)/VLC.app/Contents/Resources/$${i}.lproj ; \
771 ln -sf ../English.lproj/InfoPlist.strings \
772 $(top_builddir)/VLC.app/Contents/Resources/$${i}.lproj ; \
773 ln -sf ../English.lproj/MainMenu.nib \
774 $(top_builddir)/VLC.app/Contents/Resources/$${i}.lproj ; \
776 printf "APPLVLC#" >| $(top_builddir)/VLC.app/Contents/PkgInfo
780 DATA_win32_rc = $(noinst_share_vlc_win32_rc_DATA)
781 noinst_share_vlc_win32_rc_DATA = share/vlc_win32_rc.$(OBJEXT)
782 noinst_share_vlc_win32_rcdir = $(libdir)
783 share/vlc_win32_rc.$(OBJEXT): share/vlc_win32_rc.rc
784 $(WINDRES) -DVERSION=$(VERSION) -DVERSION_NUMBER=`echo $(VERSION).0.0.0 | sed 's/\([0-9]*\)[^.]*\.*\([0-9]*\)[^.]*\.*\([0-9]*\)[^.]*\.*\([0-9]*\).*/\1,\2,\3,\4/'` --include-dir $(srcdir)/share -i $< -o $@
788 ###############################################################################
789 # Building specific source packages
790 ###############################################################################
793 $(remove_distdir_woody)
794 mv $(distdir) $(PACKAGE)-woody-$(VERSION)
795 $(srcdir)/toolbox --make-woody $(PACKAGE)-woody-$(VERSION)
796 $(AMTAR) chof - $(PACKAGE)-woody-$(VERSION) \
797 | GZIP=$(GZIP_ENV) gzip -c >$(PACKAGE)-woody-$(VERSION).tar.gz
798 $(remove_distdir_woody)
800 remove_distdir_woody = \
801 { test ! -d $(PACKAGE)-woody-$(VERSION) \
802 || { find $(PACKAGE)-woody-$(VERSION) -type d ! -perm -200 \
803 -exec chmod u+w {} ';' \
804 && rm -fr $(PACKAGE)-woody-$(VERSION); }; }
806 ###############################################################################
807 # Building architecture-specific binary packages
808 ###############################################################################
810 # XXX: this rule is probably only useful to you if you have exactly
811 # the same setup as me. Contact sam@zoy.org if you need to use it.
814 # Check that tmp isn't in the way
815 @if test -e "$(top_builddir)/vlc-${VERSION}"; then \
816 echo "Error: please remove $(top_builddir)/vlc-${VERSION}, it is in the way"; \
819 echo "OK."; mkdir -p "$(top_builddir)/vlc-${VERSION}"; \
822 # Copy relevant files
823 cp "$(srcdir)/vlc.win32.nsi" "$(top_builddir)/vlc-${VERSION}/"
824 cp "$(top_builddir)/vlc$(EXEEXT)" "$(top_builddir)/vlc-${VERSION}/"
825 cp "$(top_srcdir)/vlc.exe.manifest" "$(top_builddir)/vlc-${VERSION}/"
826 $(STRIP) "$(top_builddir)/vlc-${VERSION}/vlc$(EXEEXT)"
828 for file in AUTHORS MAINTAINERS THANKS NEWS COPYING README ; \
829 do sed 's/@/_AT_/' < "$(srcdir)/$$file" > "$(top_builddir)/vlc-${VERSION}/$${file}.txt" ; \
830 unix2dos "$(top_builddir)/vlc-${VERSION}/$${file}.txt" ; done
832 mkdir -p "$(top_builddir)/vlc-${VERSION}/plugins"
833 for i in "" `$(VLC_CONFIG) --target plugin` ; do \
834 if test -n "$$i" ; then \
835 $(INSTALL) "$(top_builddir)/$$i$(LIBEXT)" \
836 "$(top_builddir)/vlc-${VERSION}/plugins/" ; \
839 for i in "" $(top_builddir)/vlc-${VERSION}/plugins/*$(LIBEXT) ; \
840 do if test -n "$$i" ; then $(STRIP) "$$i" ; fi ; done
842 mkdir $(top_builddir)/vlc-${VERSION}/locale
843 for i in $(ALL_LINGUAS); do \
844 mkdir -p "$(top_builddir)/vlc-${VERSION}/locale/$${i}/LC_MESSAGES" ; \
845 cp "$(srcdir)/po/$${i}.gmo" \
846 "$(top_builddir)/vlc-${VERSION}/locale/$${i}/LC_MESSAGES/vlc.mo" \
850 mkdir -p $(top_builddir)/vlc-${VERSION}/skins/fonts
851 for i in $(srcdir)/share/skins2/fonts/*.*; do \
852 cp $$i $(top_builddir)/vlc-${VERSION}/skins/fonts/ || true ; \
854 for i in $(srcdir)/share/skins2/*.*; do \
855 cp $$i $(top_builddir)/vlc-${VERSION}/skins/ || true ; \
858 mkdir -p "$(top_builddir)/vlc-${VERSION}/osdmenu"
859 cp $(srcdir)/share/osdmenu/*.* "$(top_builddir)/vlc-${VERSION}/osdmenu"
860 for dir in dvd dvd/selected dvd/unselect dvd/selection dvd/volume default default/selected default/selection default/volume;do \
861 mkdir -p "$(top_builddir)/vlc-${VERSION}/osdmenu/$$dir"; \
862 for file in $(srcdir)/share/osdmenu/$${dir}/*.*;do \
863 cp $$file "$(top_builddir)/vlc-${VERSION}/osdmenu/$$dir" || true; \
866 unix2dos $(top_builddir)/vlc-${VERSION}/osdmenu/*.cfg;
867 sed -i 's%share/osdmenu%osdmenu%g' $(top_builddir)/vlc-${VERSION}/osdmenu/*.cfg
868 sed -i 's%/%\\%g' $(top_builddir)/vlc-${VERSION}/osdmenu/*.cfg
870 mkdir -p "$(top_builddir)/vlc-${VERSION}/http/admin"
871 mkdir -p "$(top_builddir)/vlc-${VERSION}/http/vlm"
872 cp $(srcdir)/share/http/*.html $(top_builddir)/vlc-${VERSION}/http/ ;
873 unix2dos $(top_builddir)/vlc-${VERSION}/http/*.html ;:
874 cp $(srcdir)/share/http/*.css $(top_builddir)/vlc-${VERSION}/http/ ;
875 unix2dos $(top_builddir)/vlc-${VERSION}/http/*.css ;
876 cp $(srcdir)/share/http/*.png $(top_builddir)/vlc-${VERSION}/http/
877 cp $(srcdir)/share/http/*.ico $(top_builddir)/vlc-${VERSION}/http/ ;
878 cp $(srcdir)/share/http/admin/*.html \
879 $(top_builddir)/vlc-${VERSION}/http/admin/ ;
880 unix2dos $(top_builddir)/vlc-${VERSION}/http/admin/*.html ;
881 cp $(srcdir)/share/http/admin/dboxfiles.html \
882 $(top_builddir)/vlc-${VERSION}/http/admin/ ;
883 cp $(srcdir)/share/http/admin/.access \
884 $(top_builddir)/vlc-${VERSION}/http/admin/ ;
885 unix2dos $(top_builddir)/vlc-${VERSION}/http/admin/.access ;
886 cp $(srcdir)/share/http/vlm/*.html \
887 $(top_builddir)/vlc-${VERSION}/http/vlm/ ;
888 unix2dos $(top_builddir)/vlc-${VERSION}/http/vlm/*.html ;
890 cp $(srcdir)/share/vlc48x48new.ico $(top_builddir)/vlc-${VERSION}/ ;
892 mkdir -p "$(top_builddir)/vlc-${VERSION}/mozilla"
894 cp $(top_builddir)/mozilla/*$(LIBEXT) $(top_builddir)/vlc-${VERSION}/mozilla/ ;
895 $(STRIP) $(top_builddir)/vlc-${VERSION}/mozilla/*$(LIBEXT);
896 cp $(top_builddir)/mozilla/vlcintf.xpt $(top_builddir)/vlc-${VERSION}/mozilla/ ;
899 mkdir -p "$(top_builddir)/vlc-${VERSION}/activex"
901 cp $(srcdir)/activex/README.TXT $(top_builddir)/vlc-${VERSION}/activex/ ;
902 cp $(srcdir)/activex/test.html $(top_builddir)/vlc-${VERSION}/activex/ ;
903 unix2dos $(top_builddir)/vlc-${VERSION}/activex/* ;
905 cp $(top_builddir)/activex/*$(LIBEXT) $(top_builddir)/vlc-${VERSION}/activex/ ;
906 $(STRIP) $(top_builddir)/vlc-${VERSION}/activex/*$(LIBEXT);
908 # Rebase all those DLLs to speed up loading (need cygwin rebase)
909 if [ -x rebase ]; then \
910 find $(top_builddir)/vlc-${VERSION} -type f -name '*.dll' -print | rebase -b 0x70000000 -T -; \
913 package-win32-base-exe:
915 wine C:/Program\ Files/NSIS/makensis.exe \
916 /DVERSION=${VERSION} $(top_builddir)/vlc-${VERSION}/vlc.win32.nsi
918 package-win32-base-exe-cygwin:
920 C:/Program\ Files/NSIS/makensis.exe \
921 /DVERSION=${VERSION} $(top_builddir)/vlc-${VERSION}/vlc.win32.nsi
923 package-win32-base-exe-linux:
925 makensis -DVERSION=${VERSION} $(top_builddir)/vlc-${VERSION}/vlc.win32.nsi
927 package-win32-base-zip:
929 zip -r vlc-${VERSION}-win32.zip vlc-${VERSION}
931 package-win32-exe: package-win32-base package-win32-base-exe
933 rm -Rf $(top_builddir)/vlc-${VERSION}
935 package-win32-exe-linux: package-win32-base package-win32-base-exe-linux
937 rm -Rf $(top_builddir)/vlc-${VERSION}
939 package-win32-zip: package-win32-base package-win32-base-zip
941 rm -Rf $(top_builddir)/vlc-${VERSION}
943 package-win32: package-win32-base package-win32-base-exe package-win32-base-zip
945 rm -Rf $(top_builddir)/vlc-${VERSION}
948 # Check that tmp isn't in the way
949 @if test -e "$(top_builddir)/vlc-${VERSION}"; then \
950 echo "Error: please remove $(top_builddir)/vlc-${VERSION}, it is in the way"; \
953 echo "OK."; mkdir -p "$(top_builddir)/vlc-${VERSION}"; \
956 # Copy relevant files
957 cp "$(top_builddir)/vlc$(EXEEXT)" "$(top_builddir)/vlc-${VERSION}/"
958 cp "$(top_srcdir)/vlc.exe.manifest" "$(top_builddir)/vlc-${VERSION}/"
959 $(STRIP) "$(top_builddir)/vlc-${VERSION}/vlc$(EXEEXT)"
961 for file in AUTHORS MAINTAINERS THANKS NEWS COPYING README ; \
962 do sed 's/@/_AT_/' < "$(srcdir)/$$file" > "$(top_builddir)/vlc-${VERSION}/$${file}.txt" ; \
963 unix2dos "$(top_builddir)/vlc-${VERSION}/$${file}.txt" ; done
965 mkdir $(top_builddir)/vlc-${VERSION}/locale
966 for i in $(ALL_LINGUAS); do \
967 mkdir -p "$(top_builddir)/vlc-${VERSION}/locale/$${i}/LC_MESSAGES" ; \
968 cp "$(srcdir)/po/$${i}.gmo" \
969 "$(top_builddir)/vlc-${VERSION}/locale/$${i}/LC_MESSAGES/vlc.mo" \
974 mkdir -p "$(top_builddir)/vlc-${VERSION}/http/admin"
975 mkdir -p "$(top_builddir)/vlc-${VERSION}/http/vlm"
976 cp $(srcdir)/share/http/*.html $(top_builddir)/vlc-${VERSION}/http/ ;
977 unix2dos $(top_builddir)/vlc-${VERSION}/http/*.html ;
978 cp $(srcdir)/share/http/*.css $(top_builddir)/vlc-${VERSION}/http/ ;
979 unix2dos $(top_builddir)/vlc-${VERSION}/http/*.css ;
980 cp $(srcdir)/share/http/*.png $(top_builddir)/vlc-${VERSION}/http/
981 cp $(srcdir)/share/http/*.ico $(top_builddir)/vlc-${VERSION}/http/ ;
982 cp $(srcdir)/share/http/admin/*.html \
983 $(top_builddir)/vlc-${VERSION}/http/admin/ ;
984 unix2dos $(top_builddir)/vlc-${VERSION}/http/admin/*.html ;
985 cp $(srcdir)/share/http/admin/dboxfiles.html \
986 $(top_builddir)/vlc-${VERSION}/http/admin/ ;
987 cp $(srcdir)/share/http/admin/.access \
988 $(top_builddir)/vlc-${VERSION}/http/admin/ ;
989 unix2dos $(top_builddir)/vlc-${VERSION}/http/admin/.access ;
990 cp $(srcdir)/share/http/vlm/*.html \
991 $(top_builddir)/vlc-${VERSION}/http/vlm/ ;
992 unix2dos $(top_builddir)/vlc-${VERSION}/http/vlm/*.html ;
994 cp $(srcdir)/share/vlc48x48new.ico $(top_builddir)/vlc-${VERSION}/ ;
997 mkdir -p "$(top_builddir)/vlc-${VERSION}/mozilla"
998 cp $(top_builddir)/mozilla/*$(LIBEXT) $(top_builddir)/vlc-${VERSION}/mozilla/ ;
999 $(STRIP) $(top_builddir)/vlc-${VERSION}/mozilla/*$(LIBEXT);
1000 cp $(top_builddir)/mozilla/vlcintf.xpt $(top_builddir)/vlc-${VERSION}/mozilla/ ;
1004 mkdir -p "$(top_builddir)/vlc-${VERSION}/activex"
1005 cp $(srcdir)/activex/README.TXT $(top_builddir)/vlc-${VERSION}/activex/ ;
1006 cp $(srcdir)/activex/test.html $(top_builddir)/vlc-${VERSION}/activex/ ;
1007 unix2dos $(top_builddir)/vlc-${VERSION}/activex/* ;
1009 cp $(top_builddir)/activex/*$(LIBEXT) $(top_builddir)/vlc-${VERSION}/activex/ ;
1010 $(STRIP) $(top_builddir)/vlc-${VERSION}/activex/*$(LIBEXT);
1012 # Rebase all those DLLs to speed up loading (need cygwin rebase)
1013 if [ -x rebase ]; then \
1014 find $(top_builddir)/vlc-${VERSION} -type f -name '*.dll' -print | rebase -b 0x70000000 -T -; \
1017 package-wince-base-zip:
1019 zip -r vlc-${VERSION}-wince.zip vlc-${VERSION}
1021 package-wince: package-wince-base package-wince-base-zip
1023 rm -Rf $(top_builddir)/vlc-${VERSION}
1027 # Check that tmp isn't in the way
1028 @if test -e $(srcdir)/tmp; then \
1029 echo "Error: please remove $(srcdir)/tmp, it is in the way"; \
1032 echo "OK." ; mkdir $(srcdir)/tmp ; \
1035 # Copy relevant files
1036 mkdir -p $(srcdir)/tmp/vlc ;
1037 cd $(srcdir) && cp -R vlc-bundle/* AUTHORS COPYING ChangeLog README \
1038 THANKS NEWS tmp/vlc/ ;
1040 # Create debug package
1041 xres -o $(srcdir)/tmp/vlc/vlc $(srcdir)/share/vlc_beos.rsrc ;
1042 find $(srcdir)/tmp/vlc -exec mimeset -f {} \; ;
1043 mv $(srcdir)/tmp/vlc $(srcdir)/tmp/vlc-${VERSION} ;
1044 (cd $(srcdir)/tmp ; zip -9 -r vlc-${VERSION}-BeOS-debug.zip vlc-${VERSION} )
1045 mv $(srcdir)/tmp/vlc-${VERSION}-BeOS-debug.zip $(srcdir)/ ;
1046 mv $(srcdir)/tmp/vlc-${VERSION} $(srcdir)/tmp/vlc ;
1048 # Create normal package
1049 $(STRIP) --strip-debug --strip-unneeded $(srcdir)/tmp/vlc/vlc ;
1050 find $(srcdir)/tmp/vlc -name 'lib*.so' -exec $(STRIP) \
1051 --strip-debug --strip-unneeded "{}" \; ;
1052 xres -o $(srcdir)/tmp/vlc/vlc $(srcdir)/share/vlc_beos.rsrc ;
1053 find $(srcdir)/tmp/vlc -exec mimeset -f {} \; ;
1054 mv $(srcdir)/tmp/vlc $(srcdir)/tmp/vlc-${VERSION} ;
1055 (cd $(srcdir)/tmp ; zip -9 -r vlc-${VERSION}-BeOS.zip vlc-${VERSION} )
1056 mv $(srcdir)/tmp/vlc-${VERSION}-BeOS.zip $(srcdir)/ ;
1059 rm -Rf $(srcdir)/tmp ;
1062 # Check that tmp isn't in the way
1063 @if test -e "$(top_builddir)/tmp"; then \
1064 echo "Error: please remove $(top_builddir)/tmp, it is in the way"; \
1067 echo "OK."; mkdir -p "$(top_builddir)/tmp"; \
1070 # Copy relevant files
1071 cp -R "$(top_builddir)/VLC-release.app" "$(top_builddir)/tmp/VLC.app"
1072 cd "$(srcdir)" && cp AUTHORS COPYING ChangeLog README README.MacOSX.rtf THANKS NEWS $(top_builddir)/tmp/ && cp -r extras/MacOSX/Delete\ Preferences.app $(top_builddir)/tmp/
1075 $(srcdir)/extras/MacOSX/macosx-dmg "vlc-${VERSION}" $(top_builddir)/tmp
1078 rm -Rf $(top_builddir)/tmp
1080 package-translations:
1081 @if test -e "$(srcdir)/vlc-translations-${VERSION}"; then \
1082 echo "Error: please remove $(srcdir)/vlc-translations-${VERSION}, it is in the way"; \
1085 echo "OK."; mkdir -p "$(srcdir)/vlc-translations-${VERSION}"; \
1088 for i in $(ALL_LINGUAS); do \
1089 cp "$(srcdir)/po/$${i}.po" \
1090 "$(srcdir)/vlc-translations-${VERSION}/$${i}.po" \
1093 cp "$(srcdir)/doc/translations.txt" \
1094 "$(srcdir)/vlc-translations-${VERSION}/README.txt"
1096 echo "#!/bin/sh" >>"$(srcdir)/vlc-translations-$(VERSION)/convert.po.sh"
1097 echo "" >>"$(srcdir)/vlc-translations-$(VERSION)/convert.po.sh"
1098 echo 'if test $$# != 1; then' >>"$(srcdir)/vlc-translations-$(VERSION)/convert.po.sh"
1099 echo " echo \"Usage: convert-po.sh <.po file>\"" >>"$(srcdir)/vlc-translations-$(VERSION)/convert.po.sh"
1100 echo " exit 1" >>"$(srcdir)/vlc-translations-$(VERSION)/convert.po.sh"
1101 echo "fi" >>"$(srcdir)/vlc-translations-$(VERSION)/convert.po.sh"
1102 echo "" >>"$(srcdir)/vlc-translations-$(VERSION)/convert.po.sh"
1103 echo 'msgfmt --statistics -o vlc.mo $$1' >>"$(srcdir)/vlc-translations-$(VERSION)/convert.po.sh"
1105 $(AMTAR) chof - $(srcdir)/vlc-translations-$(VERSION) \
1106 | GZIP=$(GZIP_ENV) gzip -c >$(srcdir)/vlc-translations-$(VERSION).tar.gz
1108 ###############################################################################
1109 # PO translation files update
1110 ###############################################################################
1114 rm -f $(top_srcdir)/po/POTFILES.in
1116 cd $(top_srcdir) ; \
1117 echo "# automatically created by make update-po" ; \
1119 echo "# main sources" ; \
1120 find include src -name '*.[chm]' -o -name '*.[ch]pp' \
1121 | grep -v '\(vlc_symbols\|misc/modules_\)' \
1124 echo "# modules" ; \
1125 find modules -name '*.[chm]' -o -name '*.[ch]pp' \
1126 | grep -v '\(\.moc\.\|gui/gtk2/\)' \
1128 } > $(top_srcdir)/po/POTFILES.in
1129 rm -f $(top_srcdir)/po/vlc.pot
1130 cd po && $(MAKE) POTFILES vlc.pot update-po
1132 #cd po && $(MAKE) update-po
1134 ###############################################################################
1136 ###############################################################################
1137 stamp-builtin: FORCE
1138 @for dep in "" `$(VLC_CONFIG) --target builtin`; do \
1139 if test "$${dep}" -nt "$(top_builddir)/vlc$(EXEEXT)"; then \
1144 @if test ! -f $@; then printf "" > $@; fi
1146 stamp-api: Makefile.in $(HEADERS_include) vlc-config vlc-api.pl
1147 ( cd $(srcdir) && cat $(HEADERS_include) ) | \
1148 top_srcdir="$(top_srcdir)" perl $(top_srcdir)/vlc-api.pl
1151 ###############################################################################
1153 ###############################################################################