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 SUBDIRS = intl modules po . mozilla share m4
15 DIST_SUBDIRS = $(SUBDIRS) src debian doc ipkg lib autotools
35 # Tell aclocal to use -I m4. Wonder if it really works.
36 ACLOCAL_AMFLAGS = -I m4
38 # XXX: these flags could be set in configure.ac, but we set them here
39 # because old versions of automake don't support them in configure.ac.
40 AUTOMAKE_OPTIONS = dist-bzip2 subdir-objects
42 ###############################################################################
44 ###############################################################################
47 include/vlc_symbols.h \
48 src/misc/modules_builtin.h \
49 src/misc/modules_plugin.h \
52 pkgincludedir = $(includedir)/vlc
54 dist_pkginclude_HEADERS = \
59 include/vlc/decoder.h \
64 noinst_HEADERS = $(HEADERS_include) $(HEADERS_include_built)
67 include/aout_internal.h \
68 include/audio_output.h \
69 include/beos_specific.h \
70 include/configuration.h \
71 include/darwin_specific.h \
75 include/input_ext-dec.h \
76 include/input_ext-intf.h \
77 include/input_ext-plugins.h \
78 include/intf_eject.h \
84 include/modules_inner.h \
87 include/os_specific.h \
88 include/stream_control.h \
89 include/stream_output.h \
91 include/video_output.h \
93 include/vlc_block_helper.h \
94 include/vlc_common.h \
95 include/vlc_config.h \
98 include/vlc_interface.h \
99 include/vlc_messages.h \
100 include/vlc_objects.h \
101 include/vlc_playlist.h \
102 include/vlc_threads.h \
103 include/vlc_threads_funcs.h \
104 include/vlc_video.h \
105 include/vout_synchro.h \
106 include/win32_specific.h \
110 HEADERS_include_built = \
111 include/vlc_symbols.h \
114 include/vlc_symbols.h: Makefile $(HEADERS_include)
115 srcdir=$(srcdir) $(srcdir)/toolbox --update-includes
117 src/misc/modules_plugin.h: Makefile src/misc/modules_plugin.h.in $(HEADERS_include)
118 srcdir=$(srcdir) $(srcdir)/toolbox --update-includes
120 src/misc/modules_builtin.h: Makefile src/misc/modules_builtin.h.in
121 srcdir=$(srcdir) $(srcdir)/toolbox --update-includes
123 # These dependencies are mandatory
124 $(SOURCES): include/vlc_symbols.h
125 $(SOURCES_libvlc): src/misc/modules_plugin.h src/misc/modules_builtin.h $(LIB_intl)
127 ###############################################################################
128 # Optional libintl - FIXME, bad dependencies
129 ###############################################################################
131 intl/libintl.a: FORCE
132 cd $(top_builddir)/intl && $(MAKE) $(AM_MAKEFLAGS)
135 LIB_intl = intl/libintl.a
138 ###############################################################################
140 ###############################################################################
143 extras/MacOSX/Resources/English.lproj/MainMenu.nib/classes.nib \
144 extras/MacOSX/Resources/English.lproj/MainMenu.nib/info.nib \
145 extras/MacOSX/Resources/English.lproj/MainMenu.nib/objects.nib \
146 extras/MacOSX/Resources/English.lproj/InfoPlist.strings \
147 extras/MacOSX/Resources/English.lproj/vlc.scriptTerminology \
148 extras/MacOSX/Resources/a52.icns \
149 extras/MacOSX/Resources/aac.icns \
150 extras/MacOSX/Resources/asf.icns \
151 extras/MacOSX/Resources/asx.icns \
152 extras/MacOSX/Resources/avi.icns \
153 extras/MacOSX/Resources/bin.icns \
154 extras/MacOSX/Resources/cue.icns \
155 extras/MacOSX/Resources/dat.icns \
156 extras/MacOSX/Resources/divx.icns \
157 extras/MacOSX/Resources/dv.icns \
158 extras/MacOSX/Resources/generic.icns \
159 extras/MacOSX/Resources/m3u.icns \
160 extras/MacOSX/Resources/mov.icns \
161 extras/MacOSX/Resources/mp3.icns \
162 extras/MacOSX/Resources/mp4.icns \
163 extras/MacOSX/Resources/mpeg.icns \
164 extras/MacOSX/Resources/mpeg1.icns \
165 extras/MacOSX/Resources/mpeg2.icns \
166 extras/MacOSX/Resources/mpeg4.icns \
167 extras/MacOSX/Resources/mpg.icns \
168 extras/MacOSX/Resources/ogg.icns \
169 extras/MacOSX/Resources/ogm.icns \
170 extras/MacOSX/Resources/pls.icns \
171 extras/MacOSX/Resources/srt.icns \
172 extras/MacOSX/Resources/sub.icns \
173 extras/MacOSX/Resources/vlc.icns \
174 extras/MacOSX/Resources/vob.icns \
175 extras/MacOSX/Resources/wma.icns \
176 extras/MacOSX/Resources/wmv.icns \
177 extras/MacOSX/Resources/back.png \
178 extras/MacOSX/Resources/begin.png \
179 extras/MacOSX/Resources/end.png \
180 extras/MacOSX/Resources/forw.png \
181 extras/MacOSX/Resources/list.png \
182 extras/MacOSX/Resources/pause.png \
183 extras/MacOSX/Resources/play.png \
184 extras/MacOSX/Resources/prefs.png \
185 extras/MacOSX/Resources/slow.png \
186 extras/MacOSX/Resources/stop.png \
187 extras/MacOSX/Resources/vlc_hg.png \
188 extras/MacOSX/Resources/about_bg.png \
189 extras/MacOSX/Resources/vlc.scriptSuite \
190 extras/MacOSX/Resources/README \
191 extras/MacOSX/vlc.pbproj/project.pbxproj \
192 extras/MacOSX/macosx-dmg \
195 ###############################################################################
196 # MS Visual Studio and eMbedded Visual Studio projects
197 ###############################################################################
202 msvc/plugins.dsp.in \
205 msvc/modules_builtin_msvc.h \
212 evc/modules_builtin_evc.h \
216 mv $(distdir)/vlc.ebuild $(distdir)/vlc-${VERSION}.ebuild
217 cd $(distdir) && srcdir=$(srcdir) $(srcdir)/toolbox --update-vc
219 ###############################################################################
221 ###############################################################################
223 bin_SCRIPTS = vlc-config
225 lib_LIBRARIES = lib/libvlc.a $(LIBRARIES_libvlc_pic)
227 lib_libvlc_a_SOURCES = $(SOURCES_libvlc)
228 dist_lib_libvlc_a_SOURCES = src/misc/modules_plugin.h
229 lib_libvlc_a_CFLAGS = `$(VLC_CONFIG) --cflags vlc`
230 lib_libvlc_a_CXXFLAGS = `$(VLC_CONFIG) --cxxflags vlc`
231 lib_libvlc_a_OBJCFLAGS = `$(VLC_CONFIG) --objcflags vlc`
233 lib_libvlc_pic_a_SOURCES = $(SOURCES_libvlc)
234 lib_libvlc_pic_a_CFLAGS = `$(VLC_CONFIG) --cflags vlc pic`
235 lib_libvlc_pic_a_CXXFLAGS = `$(VLC_CONFIG) --cxxflags vlc pic`
236 lib_libvlc_pic_a_OBJCFLAGS = `$(VLC_CONFIG) --objcflags vlc pic`
239 OPT_SOURCES_libvlc_beos = $(SOURCES_libvlc_beos)
242 OPT_SOURCES_libvlc_darwin = $(SOURCES_libvlc_darwin)
245 OPT_SOURCES_libvlc_win32 = $(SOURCES_libvlc_win32)
248 OPT_SOURCES_libvlc_dirent = $(SOURCES_libvlc_dirent)
251 OPT_SOURCES_libvlc_getopt = $(SOURCES_libvlc_getopt)
254 LIBRARIES_libvlc_pic = lib/libvlc_pic.a
258 $(SOURCES_libvlc_beos) \
259 $(SOURCES_libvlc_darwin) \
260 $(SOURCES_libvlc_win32) \
261 $(SOURCES_libvlc_dirent) \
262 $(SOURCES_libvlc_getopt) \
265 SOURCES_libvlc_beos = \
266 src/misc/beos_specific.cpp \
269 SOURCES_libvlc_darwin = \
270 src/misc/darwin_specific.m \
273 SOURCES_libvlc_win32 = \
274 src/misc/win32_specific.c \
277 SOURCES_libvlc_dirent = \
278 src/extras/dirent.c \
279 src/extras/dirent.h \
282 SOURCES_libvlc_getopt = \
283 src/extras/getopt.c \
284 src/extras/getopt.h \
285 src/extras/getopt1.c \
288 SOURCES_libvlc_common = \
291 src/interface/interface.c \
292 src/interface/intf_eject.c \
293 src/playlist/playlist.c \
297 src/input/subtitles.c \
298 src/input/input_ext-plugins.c \
299 src/input/input_ext-dec.c \
300 src/input/input_ext-intf.c \
301 src/input/input_dec.c \
302 src/input/input_programs.c \
303 src/input/input_clock.c \
304 src/input/input_info.c \
305 src/video_output/video_output.c \
306 src/video_output/vout_pictures.c \
307 src/video_output/vout_pictures.h \
308 src/video_output/video_text.c \
309 src/video_output/video_text.h \
310 src/video_output/vout_subpictures.c \
311 src/video_output/vout_synchro.c \
312 src/audio_output/common.c \
313 src/audio_output/dec.c \
314 src/audio_output/filters.c \
315 src/audio_output/input.c \
316 src/audio_output/mixer.c \
317 src/audio_output/output.c \
318 src/audio_output/intf.c \
319 src/stream_output/stream_output.c \
326 src/misc/configuration.c \
327 src/misc/iso_lang.c \
328 src/misc/iso-639_def.h \
329 src/misc/messages.c \
331 src/misc/variables.c \
337 $(SOURCES_libvlc_common) \
338 $(OPT_SOURCES_libvlc_beos) \
339 $(OPT_SOURCES_libvlc_darwin) \
340 $(OPT_SOURCES_libvlc_win32) \
341 $(OPT_SOURCES_libvlc_dirent) \
342 $(OPT_SOURCES_libvlc_getopt) \
345 ###############################################################################
347 ###############################################################################
351 vlc_SOURCES = src/vlc.c
353 vlc_LDFLAGS = `$(VLC_CONFIG) --libs vlc builtin`
354 vlc_LDADD = lib/libvlc.a $(DATA_win32_rc) $(LIB_intl)
355 vlc_CFLAGS = `$(VLC_CONFIG) --cflags vlc`
357 # We use DEPENDENCIES_vlc instead of vlc_DEPENDENCIES because of an
358 # old automake-1.5 bug (automake/279).
359 DEPENDENCIES_vlc = lib/libvlc.a $(DATA_win32_rc) $(LIB_intl)
361 vlc$(EXEEXT): $(vlc_OBJECTS) $(DEPENDENCIES_vlc) stamp-builtin
362 @rm -f $(top_builddir)/vlc$(EXEEXT)
363 @case `$(VLC_CONFIG) --linkage vlc builtin` in \
364 c++) echo $(CXXLINK) $(vlc_OBJECTS) $(vlc_LDADD) $(vlc_LDFLAGS) $(LIBS) ; $(CXXLINK) $(vlc_OBJECTS) $(vlc_LDADD) $(vlc_LDFLAGS) $(LIBS) ;; \
365 objc) echo $(OBJCLINK) $(vlc_OBJECTS) $(vlc_LDADD) $(vlc_LDFLAGS) $(LIBS) ; $(OBJCLINK) $(vlc_OBJECTS) $(vlc_LDADD) $(vlc_LDFLAGS) $(LIBS) ;; \
366 c|*) echo $(LINK) $(vlc_OBJECTS) $(vlc_LDADD) $(vlc_LDFLAGS) $(LIBS) ; $(LINK) $(vlc_OBJECTS) $(vlc_LDADD) $(vlc_LDFLAGS) $(LIBS) ;; \
370 xres -o $@ $(srcdir)/share/vlc_beos.rsrc
372 rm -Rf $(srcdir)/locale ; mkdir -p "$(srcdir)/locale"
373 for i in $(ALL_LINGUAS); do \
374 mkdir -p "$(srcdir)/locale/$${i}/LC_MESSAGES" ; \
375 cp "$(srcdir)/po/$${i}.gmo" \
376 "$(srcdir)/locale/$${i}/LC_MESSAGES/vlc.mo" || true ; \
380 # Install the modules and the symlinks
382 for i in "" `$(VLC_CONFIG) --target plugin` ; do if test -n "$$i" ; then \
383 echo $(INSTALL) -m 755 "$$i$(LIBEXT)" "$(DESTDIR)$(libdir)/vlc/`echo $$i | sed -e 's,.*modules/\([^/]*\).*,\1,'`" ; \
384 $(INSTALL) -m 755 "$$i$(LIBEXT)" "$(DESTDIR)$(libdir)/vlc/`echo $$i | sed -e 's,.*modules/\([^/]*\).*,\1,'`" ; \
386 for i in "" `$(VLC_CONFIG) --target builtin` ; do if test -n "$$i" ; then \
387 echo $(INSTALL) -m 644 "$$i" "$(DESTDIR)$(libdir)/vlc" ; \
388 $(INSTALL) -m 644 "$$i" "$(DESTDIR)$(libdir)/vlc" ; \
391 for i in "" `$(VLC_CONFIG) --target builtin pic` ; do if test -n "$$i" ; then \
392 echo $(INSTALL) -m 644 "$$i" "$(DESTDIR)$(libdir)/vlc" ; \
393 $(INSTALL) -m 644 "$$i" "$(DESTDIR)$(libdir)/vlc" ; \
396 for i in "" $(ALIASES) ; do if test -n "$$i" ; then \
397 rm -f "$(DESTDIR)$(bindir)/$$i" && \
398 ln -s vlc "$(DESTDIR)$(bindir)/$$i" ; \
402 # Create the MacOS X app
403 vlc_app_DATA = VLC.app
404 vlc_appdir = $(bindir)
406 @if test -e "$(top_builddir)/tmp"; then \
407 echo "Error: please remove $(top_builddir)/tmp, it is in the way"; \
410 echo "OK."; mkdir -p "$(top_builddir)/tmp/extras"; \
412 rm -Rf $(top_builddir)/VLC.app
413 cp -r $(srcdir)/extras/MacOSX $(top_builddir)/tmp/extras
414 for i in AUTHORS COPYING README.MacOSX.rtf THANKS; do \
415 cp "$(srcdir)/$$i" $(top_builddir)/tmp; \
417 mkdir -p $(top_builddir)/tmp/modules/audio_output
418 cp $(srcdir)/modules/audio_output/coreaudio.c \
419 $(top_builddir)/tmp/modules/audio_output/coreaudio.c
420 mkdir -p $(top_builddir)/tmp/modules/gui/macosx
445 cp "$(srcdir)/modules/gui/macosx/$$i" \
446 $(top_builddir)/tmp/modules/gui/macosx; \
448 cd $(top_builddir)/tmp/extras/MacOSX && pbxbuild -target vlc | grep -v '^\([ \t]\|$$\)'
449 cp -r $(top_builddir)/tmp/extras/MacOSX/build/vlc.bundle \
450 $(top_builddir)/VLC.app
451 rm -Rf $(top_builddir)/tmp
452 $(INSTALL) -d $(top_builddir)/VLC.app/Contents/MacOS
453 $(INSTALL) $(top_builddir)/vlc \
454 $(top_builddir)/VLC.app/Contents/MacOS/VLC
455 $(INSTALL) -d $(top_builddir)/VLC.app/Contents/MacOS/modules
456 for i in "" `$(VLC_CONFIG) --target plugin` ; do \
458 then $(INSTALL) "$$i$(LIBEXT)" \
459 "$(top_builddir)/VLC.app/Contents/MacOS/modules" ; \
461 $(INSTALL) -d $(top_builddir)/VLC.app/Contents/MacOS/share
462 $(INSTALL) -d $(top_builddir)/VLC.app/Contents/MacOS/share/http
463 $(INSTALL) -m 644 $(srcdir)/share/http/*.html \
464 $(top_builddir)/VLC.app/Contents/MacOS/share/http
465 $(INSTALL) -d $(top_builddir)/VLC.app/Contents/MacOS/share/http/admin
466 $(INSTALL) -m 644 $(srcdir)/share/http/admin/*.html \
467 $(top_builddir)/VLC.app/Contents/MacOS/share/http/admin
468 $(INSTALL) -d $(top_builddir)/VLC.app/Contents/MacOS/locale
469 for i in $(ALL_LINGUAS); do \
470 mkdir -p $(top_builddir)/VLC.app/Contents/MacOS/locale/$${i}/LC_MESSAGES ; \
471 cp $(srcdir)/po/$${i}.gmo $(top_builddir)/VLC.app/Contents/MacOS/locale/$${i}/LC_MESSAGES/vlc.mo || true ; \
472 mkdir -p $(top_builddir)/VLC.app/Contents/Resources/$${i}.lproj ; \
473 ln -sf ../English.lproj/InfoPlist.strings \
474 $(top_builddir)/VLC.app/Contents/Resources/$${i}.lproj ; \
475 ln -sf ../English.lproj/MainMenu.nib \
476 $(top_builddir)/VLC.app/Contents/Resources/$${i}.lproj ; \
477 ln -sf ../English.lproj/vlc.scriptTerminology \
478 $(top_builddir)/VLC.app/Contents/Resources/$${i}.lproj ; \
480 printf "APPLVLC#" >| $(top_builddir)/VLC.app/Contents/PkgInfo
484 DATA_win32_rc = $(noinst_share_vlc_win32_rc_DATA)
485 noinst_share_vlc_win32_rc_DATA = share/vlc_win32_rc.$(OBJEXT)
486 noinst_share_vlc_win32_rcdir = $(libdir)
487 share/vlc_win32_rc.$(OBJEXT): share/vlc_win32_rc.rc
488 $(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 $@
491 ###############################################################################
492 # Building specific source packages
493 ###############################################################################
496 $(remove_distdir_woody)
497 mv $(distdir) $(PACKAGE)-woody-$(VERSION)
498 $(srcdir)/toolbox --make-woody $(PACKAGE)-woody-$(VERSION)
499 $(AMTAR) chof - $(PACKAGE)-woody-$(VERSION) \
500 | GZIP=$(GZIP_ENV) gzip -c >$(PACKAGE)-woody-$(VERSION).tar.gz
501 $(remove_distdir_woody)
503 remove_distdir_woody = \
504 { test ! -d $(PACKAGE)-woody-$(VERSION) \
505 || { find $(PACKAGE)-woody-$(VERSION) -type d ! -perm -200 \
506 -exec chmod u+w {} ';' \
507 && rm -fr $(PACKAGE)-woody-$(VERSION); }; }
509 ###############################################################################
510 # Building architecture-specific binary packages
511 ###############################################################################
513 # XXX: this rule is probably only useful to you if you have exactly
514 # the same setup as me. Contact sam@zoy.org if you need to use it.
516 # Check that tmp isn't in the way
518 @if test -e "$(srcdir)/vlc-${VERSION}"; then \
519 echo "Error: please remove $(srcdir)/vlc-${VERSION}, it is in the way"; \
522 echo "OK."; mkdir -p "$(srcdir)/vlc-${VERSION}"; \
524 # Create installation script
525 cp "$(srcdir)/install-win32" "$(srcdir)/vlc-${VERSION}/nsi"
526 # Copy relevant files
527 cp "$(top_builddir)/vlc$(EXEEXT)" "$(srcdir)/vlc-${VERSION}/"
528 $(STRIP) "$(srcdir)/vlc-${VERSION}/vlc$(EXEEXT)"
529 for file in AUTHORS MAINTAINERS THANKS NEWS COPYING README ; \
530 do cp "$(srcdir)/$$file" "$(srcdir)/vlc-${VERSION}/$${file}.txt" ; \
531 unix2dos "$(srcdir)/vlc-${VERSION}/$${file}.txt" ; done
533 mkdir -p "$(srcdir)/vlc-${VERSION}/plugins"
534 for i in "" `$(VLC_CONFIG) --target plugin` ; do \
535 if test -n "$$i" ; then \
536 $(INSTALL) "$(srcdir)/$$i$(LIBEXT)" \
537 "$(srcdir)/vlc-${VERSION}/plugins/" ; \
540 for i in "" $(srcdir)/vlc-${VERSION}/plugins/*$(LIBEXT) ; \
541 do if test -n "$$i" ; then $(STRIP) "$$i" ; fi ; done
543 mkdir $(srcdir)/vlc-${VERSION}/locale
544 for i in $(ALL_LINGUAS); do \
545 mkdir -p "$(srcdir)/vlc-${VERSION}/locale/$${i}/LC_MESSAGES" ; \
546 cp "$(srcdir)/po/$${i}.gmo" \
547 "$(srcdir)/vlc-${VERSION}/locale/$${i}/LC_MESSAGES/vlc.mo" \
551 mkdir -p $(srcdir)/vlc-${VERSION}/skins/default
552 for i in $(srcdir)/share/skins/default/*.*; do \
553 cp $$i $(srcdir)/vlc-${VERSION}/skins/default/ || true ; \
555 for i in $(srcdir)/doc/skins/*.txt; do \
556 cp $$i $(srcdir)/vlc-${VERSION}/skins/ || true ; \
559 mkdir -p "$(srcdir)/vlc-${VERSION}/http/admin"
560 cp $(srcdir)/share/http/*.html $(srcdir)/vlc-${VERSION}/http/ ;
561 cp $(srcdir)/share/http/admin/*.html \
562 $(srcdir)/vlc-${VERSION}/http/admin/ ;
563 cp $(srcdir)/share/http/admin/.access \
564 $(srcdir)/vlc-${VERSION}/http/admin/ ;
566 package-win32-base-exe:
568 wine ~/.wine/fake_windows/Program\ Files/NSIS/makensis.exe \
569 -- /DVERSION=${VERSION} $(srcdir)/vlc-${VERSION}/nsi
571 package-win32-base-zip:
573 zip -r vlc-${VERSION}-win32.zip vlc-${VERSION}
575 package-win32-exe: package-win32-base package-win32-base-exe
577 rm -Rf $(srcdir)/vlc-${VERSION}
579 package-win32-zip: package-win32-base package-win32-base-zip
581 rm -Rf $(srcdir)/vlc-${VERSION}
583 package-win32: package-win32-base package-win32-base-exe package-win32-base-zip
585 rm -Rf $(srcdir)/vlc-${VERSION}
588 # Check that tmp isn't in the way
589 @if test -e $(srcdir)/tmp; then \
590 echo "Error: please remove $(srcdir)/tmp, it is in the way"; \
593 echo "OK."; mkdir $(srcdir)/tmp; \
596 # Copy relevant files
597 mkdir -p $(srcdir)/tmp/vlc
599 cp vlc AUTHORS COPYING ChangeLog README THANKS NEWS tmp/vlc/
600 # We cannot use ${PLUGIN_FILES} as it looks like it is too "long" for the BeOS shell...
601 if [ `find $(srcdir)/modules -name "lib*_plugin.so" | wc -l` -gt 0 ]; then \
602 mkdir -p $(srcdir)/tmp/vlc/plugins; \
603 find $(srcdir)/modules -name "lib*_plugin.so" | xargs -i{} cp {} $(srcdir)/tmp/vlc/plugins/; \
605 for i in $(ALL_LINGUAS); do \
606 mkdir -p $(srcdir)/tmp/vlc/locale/$${i}/LC_MESSAGES ; \
607 cp $(srcdir)/po/$${i}.gmo $(srcdir)/tmp/vlc/locale/$${i}/LC_MESSAGES/vlc.mo || true ; \
610 # Create package with debug symbols
611 mimeset -f $(srcdir)/tmp/vlc/* $(srcdir)/tmp/vlc/*/*
612 mv $(srcdir)/tmp/vlc $(srcdir)/tmp/vlc-${VERSION}
613 (cd $(srcdir)/tmp ; zip -9 -r vlc-${VERSION}-BeOS-debug.zip vlc-${VERSION} )
614 mv $(srcdir)/tmp/vlc-${VERSION}-BeOS-debug.zip $(srcdir)/
616 # Create package without debug symbols
617 mv $(srcdir)/tmp/vlc-${VERSION} $(srcdir)/tmp/vlc
618 strip $(srcdir)/tmp/vlc/vlc
619 if [ -d $(srcdir)/tmp/vlc/plugins ]; then \
620 strip $(srcdir)/tmp/vlc/plugins/lib*_plugin.so; \
622 xres -o $(srcdir)/tmp/vlc/vlc $(srcdir)/share/vlc_beos.rsrc
623 mimeset -f $(srcdir)/tmp/vlc/* $(srcdir)/tmp/vlc/*/*
624 mv $(srcdir)/tmp/vlc $(srcdir)/tmp/vlc-${VERSION}
625 (cd $(srcdir)/tmp ; zip -9 -r vlc-${VERSION}-BeOS.zip vlc-${VERSION} )
626 mv $(srcdir)/tmp/vlc-${VERSION}-BeOS.zip $(srcdir)/
632 # Check that tmp isn't in the way
633 @if test -e "$(top_builddir)/tmp"; then \
634 echo "Error: please remove $(top_builddir)/tmp, it is in the way"; \
637 echo "OK."; mkdir -p "$(top_builddir)/tmp"; \
640 # Copy relevant files
641 cp -R "$(top_builddir)/VLC.app" "$(top_builddir)/tmp/"
642 cd "$(srcdir)" && cp AUTHORS COPYING ChangeLog README README.MacOSX.rtf THANKS NEWS $(top_builddir)/tmp/
645 $(srcdir)/extras/MacOSX/macosx-dmg 18 "vlc-${VERSION}" $(top_builddir)/tmp/*
648 rm -Rf $(top_builddir)/tmp
650 ###############################################################################
652 ###############################################################################
658 @for dep in "" `$(VLC_CONFIG) --target builtin`; do \
659 if test "$${dep}" -nt "$(top_builddir)/vlc$(EXEEXT)"; then \
664 @if test ! -f $@; then printf "" > $@; fi
666 ###############################################################################
668 ###############################################################################