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/bindings 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 bindings 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/SFilters.nib/classes.nib \
185 extras/MacOSX/Resources/English.lproj/SFilters.nib/info.nib \
186 extras/MacOSX/Resources/English.lproj/SFilters.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 \
251 extras/MacOSX/Delete_Preferences.app/Contents/Info.plist \
252 extras/MacOSX/Delete_Preferences.app/Contents/PkgInfo \
253 extras/MacOSX/Delete_Preferences.app/Contents/MacOS/applet \
254 extras/MacOSX/Delete_Preferences.app/Contents/Resources/description.rtfd/TXT.rtf \
255 extras/MacOSX/Delete_Preferences.app/Contents/Resources/applet.icns \
256 extras/MacOSX/Delete_Preferences.app/Contents/Resources/applet.rsrc \
257 extras/MacOSX/Delete_Preferences.app/Contents/Resources/Scripts/main.scpt \
262 ###############################################################################
263 # MS Visual Studio and eMbedded Visual Studio projects
264 ###############################################################################
269 msvc/plugins.dsp.in \
272 msvc/modules_builtin_msvc.h \
279 evc/modules_builtin_evc.h \
283 cd $(distdir) && srcdir=. $(SHELL) ./toolbox --update-vc
284 distdir=$(distdir) srcdir=$(srcdir) $(SHELL) $(srcdir)/toolbox --dist-contrib
286 ###############################################################################
288 ###############################################################################
290 bin_SCRIPTS = vlc-config
291 vlc-config: $(top_builddir)/config.status $(top_builddir)/vlc-config.in
292 $(SHELL) ./config.status --file=vlc-config
293 chmod 0755 vlc-config
295 vlc-config.in: vlc-config.in.in
296 ./config.status --recheck
298 MOSTLYCLEANFILES = $(DATA_noinst_libvlc)
299 CLEANFILES = $(BUILT_SOURCES_clean) stamp-builtin
300 DISTCLEANFILES = $(BUILT_SOURCES_distclean) vlc-config.in
303 lib_LIBRARIES = lib/libvlc.a
305 lib_LIBRARIES = lib/libvlc.a
307 lib_LIBRARIES += lib/libvlc_pic.a
312 lib_libvlc_a_SOURCES = $(SOURCES_libvlc)
313 lib_libvlc_a_CFLAGS = `$(VLC_CONFIG) --cflags vlc`
314 lib_libvlc_a_CXXFLAGS = `$(VLC_CONFIG) --cxxflags vlc`
315 lib_libvlc_a_OBJCFLAGS = `$(VLC_CONFIG) --objcflags vlc`
317 lib_libvlc_pic_a_SOURCES = $(SOURCES_libvlc)
318 lib_libvlc_pic_a_CFLAGS = `$(VLC_CONFIG) --cflags vlc pic`
319 lib_libvlc_pic_a_CXXFLAGS = `$(VLC_CONFIG) --cxxflags vlc pic`
320 lib_libvlc_pic_a_OBJCFLAGS = `$(VLC_CONFIG) --objcflags vlc pic`
323 OPT_SOURCES_libvlc_beos = $(SOURCES_libvlc_beos)
326 OPT_SOURCES_libvlc_darwin = $(SOURCES_libvlc_darwin)
329 OPT_SOURCES_libvlc_win32 = $(SOURCES_libvlc_win32)
332 OPT_SOURCES_libvlc_win32 = $(SOURCES_libvlc_win32)
335 OPT_SOURCES_libvlc_dirent = $(SOURCES_libvlc_dirent)
338 OPT_SOURCES_libvlc_getopt = $(SOURCES_libvlc_getopt)
341 # Build libvlc as a shared library
343 DATA_noinst_libvlc = libvlc$(LIBEXT)
345 OBJECTS_libvlc_so = $(lib_libvlc_a_OBJECTS)
347 OBJECTS_libvlc_so = $(lib_libvlc_pic_a_OBJECTS)
351 libvlc$(LIBEXT): $(OBJECTS_libvlc_so)
352 @ldfl="`$(VLC_CONFIG) --libs plugin vlc $(pic) builtin`" ; \
353 case `$(VLC_CONFIG) --linkage vlc` in \
354 c++) ld="$(CXXLINK)" ;; \
355 objc) ld="$(OBJCLINK)" ;; \
356 c|*) ld="$(LINK)" ;; \
358 echo $$ld $(OBJECTS_libvlc_so) $$ldfl ; \
359 $$ld $(OBJECTS_libvlc_so) $$ldfl
362 $(SOURCES_libvlc_beos) \
363 $(SOURCES_libvlc_darwin) \
364 $(SOURCES_libvlc_win32) \
365 $(SOURCES_libvlc_dirent) \
366 $(SOURCES_libvlc_getopt) \
369 SOURCES_libvlc_beos = \
370 src/misc/beos_specific.cpp \
373 SOURCES_libvlc_darwin = \
374 src/misc/darwin_specific.m \
377 SOURCES_libvlc_win32 = \
378 src/misc/win32_specific.c \
381 SOURCES_libvlc_dirent = \
382 src/extras/dirent.c \
385 SOURCES_libvlc_getopt = \
386 src/extras/getopt.c \
387 src/extras/getopt.h \
388 src/extras/getopt1.c \
391 SOURCES_libvlc_common = \
394 src/interface/interface.c \
395 src/interface/intf_eject.c \
396 src/playlist/playlist.c \
397 src/playlist/sort.c \
398 src/playlist/loadsave.c \
399 src/playlist/view.c \
400 src/playlist/item.c \
401 src/playlist/item-ext.c \
402 src/playlist/services_discovery.c \
405 src/input/control.c \
406 src/input/decoder.c \
410 src/input/input_internal.h \
412 src/input/mem_stream.c \
413 src/input/subtitles.c \
415 src/video_output/video_output.c \
416 src/video_output/vout_pictures.c \
417 src/video_output/vout_pictures.h \
418 src/video_output/video_text.c \
419 src/video_output/video_widgets.c \
420 src/video_output/vout_subpictures.c \
421 src/video_output/vout_synchro.c \
422 src/video_output/vout_intf.c \
423 src/audio_output/common.c \
424 src/audio_output/dec.c \
425 src/audio_output/filters.c \
426 src/audio_output/input.c \
427 src/audio_output/mixer.c \
428 src/audio_output/output.c \
429 src/audio_output/intf.c \
430 src/stream_output/stream_output.c \
431 src/stream_output/announce.c \
432 src/stream_output/sap.c \
433 src/stream_output/acl.c \
435 src/osd/osd_parser.c \
437 src/osd/osd_widgets.c \
438 src/network/httpd.c \
441 src/network/getaddrinfo.c \
450 src/misc/configuration.c \
452 src/misc/iso_lang.c \
453 src/misc/iso-639_def.h \
454 src/misc/messages.c \
456 src/misc/variables.c \
464 src/control/audio_video.c \
468 $(SOURCES_libvlc_common) \
469 $(OPT_SOURCES_libvlc_beos) \
470 $(OPT_SOURCES_libvlc_darwin) \
471 $(OPT_SOURCES_libvlc_win32) \
472 $(OPT_SOURCES_libvlc_dirent) \
473 $(OPT_SOURCES_libvlc_getopt) \
476 ###############################################################################
478 ###############################################################################
482 vlc_SOURCES = src/vlc.c
484 # Work around a bug in the arm-wince-pe linker
486 vlc_WORKAROUNDLDFLAGS = $(LIB_libvlc)
490 ### libvlc.so cannot be created into lib/
491 LIB_libvlc = libvlc$(LIBEXT)
493 #-Wl,-rpath $(libdir)
495 LIB_libvlc = lib/libvlc.a
496 LDFLAGS_libvlc = `$(VLC_CONFIG) --libs vlc builtin`
499 vlc_LDFLAGS = $(LDFLAGS_libvlc) $(vlc_WORKAROUNDLDFLAGS)
500 vlc_LDADD = $(LIB_libvlc) $(DATA_win32_rc) $(LIB_intl)
501 vlc_CFLAGS = `$(VLC_CONFIG) --cflags vlc`
503 # We use DEPENDENCIES_vlc instead of vlc_DEPENDENCIES because of an
504 # old automake-1.5 bug (automake/279).
505 DEPENDENCIES_vlc = $(LIB_libvlc) $(DATA_win32_rc) $(LIB_intl)
507 vlc$(EXEEXT): $(vlc_OBJECTS) $(DEPENDENCIES_vlc) stamp-builtin
509 @case `$(VLC_CONFIG) --linkage vlc builtin` in \
510 c++) cmd="$(CXXLINK)" ;; \
511 objc) cmd="$(OBJCLINK)" ;; \
512 c|*) cmd="$(LINK)" ;; \
514 cmd="$$cmd $(vlc_OBJECTS) $(vlc_LDADD) $(vlc_LDFLAGS) $(LIBS)" ; \
519 DATA_noinst_beos = vlc-bundle
521 rm -Rf $(top_builddir)/vlc-bundle ; mkdir -p $(top_builddir)/vlc-bundle
522 cp $(top_builddir)/vlc $(top_builddir)/vlc-bundle/
523 xres -o $(top_builddir)/vlc-bundle/vlc $(srcdir)/share/vlc_beos.rsrc
524 for i in "" `$(VLC_CONFIG) --target plugin` ; do \
525 if test -n "$$i" ; then \
526 mkdir -p $(top_builddir)/vlc-bundle/plugins ; \
527 cp "$$i$(LIBEXT)" $(top_builddir)/vlc-bundle/plugins/ ; \
530 if test -d $(top_builddir)/extras/contrib/vlc-lib ; then \
531 mkdir -p $(top_builddir)/vlc-bundle/lib ; \
532 for i in $(top_builddir)/extras/contrib/vlc-lib/*.so ; do \
533 cp $$i $(top_builddir)/vlc-bundle/lib/ ; \
536 for i in $(ALL_LINGUAS); do \
537 mkdir -p "$(top_builddir)/vlc-bundle/locale/$$i/LC_MESSAGES" ; \
538 cp "$(top_builddir)/po/$$i.gmo" \
539 "$(top_builddir)/vlc-bundle/locale/$$i/LC_MESSAGES/vlc.mo" || true ; \
541 find $(top_builddir)/vlc-bundle -type f -exec mimeset -f "{}" \;
544 # Install the symlinks and shared libvlc
546 for i in "" $(ALIASES) ; do if test -n "$$i" ; then \
547 rm -f "$(DESTDIR)$(bindir)/$$i" && \
548 ln -s vlc "$(DESTDIR)$(bindir)/$$i" ; \
550 test -z "$(DATA_noinst_libvlc)" || $(INSTALL_PROGRAM) "$(DATA_noinst_libvlc)" "$(DESTDIR)$(libdir)"
552 # the opposite of install-{data,exec}-local
554 for i in "" $(ALIASES) ; do if test -n "$$i" ; then \
555 rm -f "$(DESTDIR)$(bindir)/$$i" ; \
557 test -z "$(DATA_noinst_libvlc)" || rm -f "$(DESTDIR)$(libdir)/$(DATA_noinst_libvlc)"
560 # Create the MacOS X app
561 vlc_app_DATA = VLC.app
562 vlc_appdir = $(bindir)
563 # VLC-release.app is the old VLC.app target
565 @if test -e "$(top_builddir)/tmp"; then \
566 echo "Error: please remove $(top_builddir)/tmp, it is in the way"; \
569 echo "OK."; mkdir -p "$(top_builddir)/tmp/extras"; \
571 rm -Rf $(top_builddir)/VLC-release.app
572 cp -R $(srcdir)/extras/MacOSX $(top_builddir)/tmp/extras
573 for i in AUTHORS COPYING README.MacOSX.rtf THANKS; do \
574 cp "$(srcdir)/$$i" $(top_builddir)/tmp; \
576 mkdir -p $(top_builddir)/tmp/modules/audio_output
577 cp $(srcdir)/modules/audio_output/coreaudio.c \
578 $(top_builddir)/tmp/modules/audio_output/coreaudio.c
579 mkdir -p $(top_builddir)/tmp/modules/gui/macosx
618 cp "$(srcdir)/modules/gui/macosx/$$i" \
619 $(top_builddir)/tmp/modules/gui/macosx; \
621 case $(target_triplet) in \
622 *darwin6*) cd $(top_builddir)/tmp/extras/MacOSX && pbxbuild -target vlc | grep -v '^\([ \t]\|$$\)'; \
624 cp -R $(top_builddir)/tmp/extras/MacOSX/build/VLC.bundle \
625 $(top_builddir)/VLC-release.app;; \
626 *darwin7*) cd $(top_builddir)/tmp/extras/MacOSX && xcodebuild -target vlc | grep -v '^\([ \t]\|$$\)'; \
628 cp -R $(top_builddir)/tmp/extras/MacOSX/build/VLC.bundle \
629 $(top_builddir)/VLC-release.app;; \
630 *darwin8*) cd $(top_builddir)/tmp/extras/MacOSX && xcodebuild -target vlc | grep -v '^\([ \t]\|$$\)'; \
632 cp -R $(top_builddir)/tmp/extras/MacOSX/build/Default/VLC.bundle \
633 $(top_builddir)/VLC-release.app;; \
635 rm -Rf $(top_builddir)/tmp
636 $(INSTALL) -d $(top_builddir)/VLC-release.app/Contents/MacOS
637 $(INSTALL) $(top_builddir)/vlc \
638 $(top_builddir)/VLC-release.app/Contents/MacOS/VLC
639 ln -sf ./VLC $(top_builddir)/VLC-release.app/Contents/MacOS/clivlc
640 $(INSTALL) -d $(top_builddir)/VLC-release.app/Contents/MacOS/modules
641 for i in "" `$(VLC_CONFIG) --target plugin` ; do \
643 then $(INSTALL) "$$i$(LIBEXT)" \
644 "$(top_builddir)/VLC-release.app/Contents/MacOS/modules" ; \
646 if test -d $(srcdir)/extras/contrib/vlc-lib; then \
647 mkdir -p $(top_builddir)/VLC-release.app/Contents/MacOS/lib ; \
648 for i in $(srcdir)/extras/contrib/vlc-lib/*.dylib ; do \
649 $(INSTALL) -m 644 $${i} $(top_builddir)/VLC-release.app/Contents/MacOS/lib/vlc_`basename $${i}` ; \
652 $(INSTALL) -d $(top_builddir)/VLC-release.app/Contents/MacOS/share
653 $(INSTALL) -d $(top_builddir)/VLC-release.app/Contents/MacOS/share/http
654 for i in $(srcdir)/share/http/* ; do \
655 $(INSTALL) -m 644 $${i} $(top_builddir)/VLC-release.app/Contents/MacOS/share/http/`basename $${i}` ; \
657 $(INSTALL) -d $(top_builddir)/VLC-release.app/Contents/MacOS/share/http/vlm
658 for i in $(srcdir)/share/http/vlm/* ; do \
659 $(INSTALL) -m 644 $${i} $(top_builddir)/VLC-release.app/Contents/MacOS/share/http/vlm/`basename $${i}` ; \
661 $(INSTALL) -d $(top_builddir)/VLC-release.app/Contents/MacOS/share/http/admin
662 for i in $(srcdir)/share/http/admin/* ; do \
663 $(INSTALL) -m 644 $${i} $(top_builddir)/VLC-release.app/Contents/MacOS/share/http/admin/`basename $${i}` ; \
665 $(INSTALL) -m 644 $(srcdir)/share/http/admin/.access $(top_builddir)/VLC-release.app/Contents/MacOS/share/http/admin/.access
666 $(INSTALL) -d $(top_builddir)/VLC-release.app/Contents/MacOS/locale
667 for i in $(ALL_LINGUAS); do \
668 mkdir -p $(top_builddir)/VLC-release.app/Contents/MacOS/locale/$${i}/LC_MESSAGES ; \
669 cp $(srcdir)/po/$${i}.gmo $(top_builddir)/VLC-release.app/Contents/MacOS/locale/$${i}/LC_MESSAGES/vlc.mo || true ; \
670 mkdir -p $(top_builddir)/VLC-release.app/Contents/Resources/$${i}.lproj ; \
671 ln -sf ../English.lproj/InfoPlist.strings \
672 $(top_builddir)/VLC-release.app/Contents/Resources/$${i}.lproj ; \
673 ln -sf ../English.lproj/MainMenu.nib \
674 $(top_builddir)/VLC-release.app/Contents/Resources/$${i}.lproj ; \
675 ln -sf ../English.lproj/vlc.scriptTerminology \
676 $(top_builddir)/VLC-release.app/Contents/Resources/$${i}.lproj ; \
678 printf "APPLVLC#" >| $(top_builddir)/VLC-release.app/Contents/PkgInfo
681 @if test -e "$(top_builddir)/tmp"; then \
682 echo "Error: please remove $(top_builddir)/tmp, it is in the way"; \
685 echo "OK."; mkdir -p "$(top_builddir)/tmp/extras"; \
687 rm -Rf $(top_builddir)/VLC.app
688 cp -R $(srcdir)/extras/MacOSX $(top_builddir)/tmp/extras
689 for i in AUTHORS COPYING README.MacOSX.rtf THANKS; do \
690 cp "$(srcdir)/$$i" $(top_builddir)/tmp; \
692 mkdir -p $(top_builddir)/tmp/modules/audio_output
693 cp $(srcdir)/modules/audio_output/coreaudio.c \
694 $(top_builddir)/tmp/modules/audio_output/coreaudio.c
695 mkdir -p $(top_builddir)/tmp/modules/gui/macosx
734 cp "$(srcdir)/modules/gui/macosx/$$i" \
735 $(top_builddir)/tmp/modules/gui/macosx; \
737 case $(target_triplet) in \
738 *darwin6*) cd $(top_builddir)/tmp/extras/MacOSX && pbxbuild -target vlc | grep -v '^\([ \t]\|$$\)'; \
740 cp -R $(top_builddir)/tmp/extras/MacOSX/build/VLC.bundle \
741 $(top_builddir)/VLC.app;; \
742 *darwin7*) cd $(top_builddir)/tmp/extras/MacOSX && xcodebuild -target vlc | grep -v '^\([ \t]\|$$\)'; \
744 cp -R $(top_builddir)/tmp/extras/MacOSX/build/VLC.bundle \
745 $(top_builddir)/VLC.app;; \
746 *darwin8*) cd $(top_builddir)/tmp/extras/MacOSX && xcodebuild -target vlc | grep -v '^\([ \t]\|$$\)'; \
748 cp -R $(top_builddir)/tmp/extras/MacOSX/build/Default/VLC.bundle \
749 $(top_builddir)/VLC.app;; \
751 rm -Rf $(top_builddir)/tmp
752 $(INSTALL) -d $(top_builddir)/VLC.app/Contents/MacOS
753 $(INSTALL) $(top_builddir)/vlc \
754 $(top_builddir)/VLC.app/Contents/MacOS/VLC
755 ln -sf ./VLC $(top_builddir)/VLC.app/Contents/MacOS/clivlc
756 $(INSTALL) -d $(top_builddir)/VLC.app/Contents/MacOS/modules
757 for i in "" `$(VLC_CONFIG) --target plugin` ; do \
759 then ln -sfn "`pwd`/$$i$(LIBEXT)" \
760 "$(top_builddir)/VLC.app/Contents/MacOS/modules" ; \
762 if test -d $(srcdir)/extras/contrib/vlc-lib; then \
763 mkdir -p $(top_builddir)/VLC.app/Contents/MacOS/lib ; \
764 for i in $(srcdir)/extras/contrib/vlc-lib/*.dylib ; do \
765 ln -sfn `pwd`/$${i} $(top_builddir)/VLC.app/Contents/MacOS/lib/vlc_`basename $${i}` ; \
768 ln -sfn `pwd`/share $(top_builddir)/VLC.app/Contents/MacOS/
769 $(INSTALL) -d $(top_builddir)/VLC.app/Contents/MacOS/locale
770 for i in $(ALL_LINGUAS); do \
771 mkdir -p $(top_builddir)/VLC.app/Contents/MacOS/locale/$${i}/LC_MESSAGES ; \
772 ln -sfn `pwd`/po/$${i}.gmo $(top_builddir)/VLC.app/Contents/MacOS/locale/$${i}/LC_MESSAGES/vlc.mo || true ; \
773 mkdir -p $(top_builddir)/VLC.app/Contents/Resources/$${i}.lproj ; \
774 ln -sf ../English.lproj/InfoPlist.strings \
775 $(top_builddir)/VLC.app/Contents/Resources/$${i}.lproj ; \
776 ln -sf ../English.lproj/MainMenu.nib \
777 $(top_builddir)/VLC.app/Contents/Resources/$${i}.lproj ; \
779 printf "APPLVLC#" >| $(top_builddir)/VLC.app/Contents/PkgInfo
783 DATA_win32_rc = $(noinst_share_vlc_win32_rc_DATA)
784 noinst_share_vlc_win32_rc_DATA = share/vlc_win32_rc.$(OBJEXT)
785 noinst_share_vlc_win32_rcdir = $(libdir)
786 share/vlc_win32_rc.$(OBJEXT): share/vlc_win32_rc.rc
787 $(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 $@
791 ###############################################################################
792 # Building specific source packages
793 ###############################################################################
796 $(remove_distdir_woody)
797 mv $(distdir) $(PACKAGE)-woody-$(VERSION)
798 $(srcdir)/toolbox --make-woody $(PACKAGE)-woody-$(VERSION)
799 $(AMTAR) chof - $(PACKAGE)-woody-$(VERSION) \
800 | GZIP=$(GZIP_ENV) gzip -c >$(PACKAGE)-woody-$(VERSION).tar.gz
801 $(remove_distdir_woody)
803 remove_distdir_woody = \
804 { test ! -d $(PACKAGE)-woody-$(VERSION) \
805 || { find $(PACKAGE)-woody-$(VERSION) -type d ! -perm -200 \
806 -exec chmod u+w {} ';' \
807 && rm -fr $(PACKAGE)-woody-$(VERSION); }; }
809 ###############################################################################
810 # Building architecture-specific binary packages
811 ###############################################################################
813 # XXX: this rule is probably only useful to you if you have exactly
814 # the same setup as me. Contact sam@zoy.org if you need to use it.
817 # Check that tmp isn't in the way
818 @if test -e "$(top_builddir)/vlc-${VERSION}"; then \
819 echo "Error: please remove $(top_builddir)/vlc-${VERSION}, it is in the way"; \
822 echo "OK."; mkdir -p "$(top_builddir)/vlc-${VERSION}"; \
825 # Copy relevant files
826 cp "$(srcdir)/vlc.win32.nsi" "$(top_builddir)/vlc-${VERSION}/"
827 cp "$(top_builddir)/vlc$(EXEEXT)" "$(top_builddir)/vlc-${VERSION}/"
828 cp "$(top_srcdir)/vlc.exe.manifest" "$(top_builddir)/vlc-${VERSION}/"
829 $(STRIP) "$(top_builddir)/vlc-${VERSION}/vlc$(EXEEXT)"
831 for file in AUTHORS MAINTAINERS THANKS NEWS COPYING README ; \
832 do sed 's/@/_AT_/' < "$(srcdir)/$$file" > "$(top_builddir)/vlc-${VERSION}/$${file}.txt" ; \
833 unix2dos "$(top_builddir)/vlc-${VERSION}/$${file}.txt" ; done
835 mkdir -p "$(top_builddir)/vlc-${VERSION}/plugins"
836 for i in "" `$(VLC_CONFIG) --target plugin` ; do \
837 if test -n "$$i" ; then \
838 $(INSTALL) "$(top_builddir)/$$i$(LIBEXT)" \
839 "$(top_builddir)/vlc-${VERSION}/plugins/" ; \
842 for i in "" $(top_builddir)/vlc-${VERSION}/plugins/*$(LIBEXT) ; \
843 do if test -n "$$i" ; then $(STRIP) "$$i" ; fi ; done
845 mkdir $(top_builddir)/vlc-${VERSION}/locale
846 for i in $(ALL_LINGUAS); do \
847 mkdir -p "$(top_builddir)/vlc-${VERSION}/locale/$${i}/LC_MESSAGES" ; \
848 cp "$(srcdir)/po/$${i}.gmo" \
849 "$(top_builddir)/vlc-${VERSION}/locale/$${i}/LC_MESSAGES/vlc.mo" \
853 mkdir -p $(top_builddir)/vlc-${VERSION}/skins/fonts
854 for i in $(srcdir)/share/skins2/fonts/*.*; do \
855 cp $$i $(top_builddir)/vlc-${VERSION}/skins/fonts/ || true ; \
857 for i in $(srcdir)/share/skins2/*.*; do \
858 cp $$i $(top_builddir)/vlc-${VERSION}/skins/ || true ; \
861 mkdir -p "$(top_builddir)/vlc-${VERSION}/osdmenu"
862 cp $(srcdir)/share/osdmenu/*.* "$(top_builddir)/vlc-${VERSION}/osdmenu"
863 for dir in dvd dvd/selected dvd/unselect dvd/selection dvd/volume default default/selected default/selection default/volume;do \
864 mkdir -p "$(top_builddir)/vlc-${VERSION}/osdmenu/$$dir"; \
865 for file in $(srcdir)/share/osdmenu/$${dir}/*.*;do \
866 cp $$file "$(top_builddir)/vlc-${VERSION}/osdmenu/$$dir" || true; \
869 unix2dos $(top_builddir)/vlc-${VERSION}/osdmenu/*.cfg;
870 sed -i 's%share/osdmenu%osdmenu%g' $(top_builddir)/vlc-${VERSION}/osdmenu/*.cfg
871 sed -i 's%/%\\%g' $(top_builddir)/vlc-${VERSION}/osdmenu/*.cfg
873 mkdir -p "$(top_builddir)/vlc-${VERSION}/http/admin"
874 mkdir -p "$(top_builddir)/vlc-${VERSION}/http/vlm"
875 cp $(srcdir)/share/http/*.html $(top_builddir)/vlc-${VERSION}/http/ ;
876 unix2dos $(top_builddir)/vlc-${VERSION}/http/*.html ;:
877 cp $(srcdir)/share/http/*.css $(top_builddir)/vlc-${VERSION}/http/ ;
878 unix2dos $(top_builddir)/vlc-${VERSION}/http/*.css ;
879 cp $(srcdir)/share/http/*.png $(top_builddir)/vlc-${VERSION}/http/
880 cp $(srcdir)/share/http/*.ico $(top_builddir)/vlc-${VERSION}/http/ ;
881 cp $(srcdir)/share/http/admin/*.html \
882 $(top_builddir)/vlc-${VERSION}/http/admin/ ;
883 unix2dos $(top_builddir)/vlc-${VERSION}/http/admin/*.html ;
884 cp $(srcdir)/share/http/admin/dboxfiles.html \
885 $(top_builddir)/vlc-${VERSION}/http/admin/ ;
886 cp $(srcdir)/share/http/admin/.access \
887 $(top_builddir)/vlc-${VERSION}/http/admin/ ;
888 unix2dos $(top_builddir)/vlc-${VERSION}/http/admin/.access ;
889 cp $(srcdir)/share/http/vlm/*.html \
890 $(top_builddir)/vlc-${VERSION}/http/vlm/ ;
891 unix2dos $(top_builddir)/vlc-${VERSION}/http/vlm/*.html ;
893 cp $(srcdir)/share/vlc48x48.ico $(top_builddir)/vlc-${VERSION}/ ;
895 mkdir -p "$(top_builddir)/vlc-${VERSION}/mozilla"
897 cp $(top_builddir)/mozilla/*$(LIBEXT) $(top_builddir)/vlc-${VERSION}/mozilla/ ;
898 $(STRIP) $(top_builddir)/vlc-${VERSION}/mozilla/*$(LIBEXT);
899 cp $(top_builddir)/mozilla/vlcintf.xpt $(top_builddir)/vlc-${VERSION}/mozilla/ ;
902 mkdir -p "$(top_builddir)/vlc-${VERSION}/activex"
904 cp $(srcdir)/activex/README.TXT $(top_builddir)/vlc-${VERSION}/activex/ ;
905 cp $(srcdir)/activex/test.html $(top_builddir)/vlc-${VERSION}/activex/ ;
906 unix2dos $(top_builddir)/vlc-${VERSION}/activex/* ;
908 cp $(top_builddir)/activex/*$(LIBEXT) $(top_builddir)/vlc-${VERSION}/activex/ ;
909 $(STRIP) $(top_builddir)/vlc-${VERSION}/activex/*$(LIBEXT);
911 # Rebase all those DLLs to speed up loading (need cygwin rebase)
912 if [ -x rebase ]; then \
913 find $(top_builddir)/vlc-${VERSION} -type f -name '*.dll' -print | rebase -b 0x70000000 -T -; \
916 package-win32-base-exe:
918 wine C:/Program\ Files/NSIS/makensis.exe \
919 /DVERSION=${VERSION} $(top_builddir)/vlc-${VERSION}/vlc.win32.nsi
921 package-win32-base-exe-cygwin:
923 C:/Program\ Files/NSIS/makensis.exe \
924 /DVERSION=${VERSION} $(top_builddir)/vlc-${VERSION}/vlc.win32.nsi
926 package-win32-base-exe-linux:
928 makensis -DVERSION=${VERSION} $(top_builddir)/vlc-${VERSION}/vlc.win32.nsi
930 package-win32-base-zip:
932 zip -r vlc-${VERSION}-win32.zip vlc-${VERSION}
934 package-win32-exe: package-win32-base package-win32-base-exe
936 rm -Rf $(top_builddir)/vlc-${VERSION}
938 package-win32-exe-linux: package-win32-base package-win32-base-exe-linux
940 rm -Rf $(top_builddir)/vlc-${VERSION}
942 package-win32-zip: package-win32-base package-win32-base-zip
944 rm -Rf $(top_builddir)/vlc-${VERSION}
946 package-win32: package-win32-base package-win32-base-exe package-win32-base-zip
948 rm -Rf $(top_builddir)/vlc-${VERSION}
951 # Check that tmp isn't in the way
952 @if test -e "$(top_builddir)/vlc-${VERSION}"; then \
953 echo "Error: please remove $(top_builddir)/vlc-${VERSION}, it is in the way"; \
956 echo "OK."; mkdir -p "$(top_builddir)/vlc-${VERSION}"; \
959 # Copy relevant files
960 cp "$(top_builddir)/vlc$(EXEEXT)" "$(top_builddir)/vlc-${VERSION}/"
961 cp "$(top_srcdir)/vlc.exe.manifest" "$(top_builddir)/vlc-${VERSION}/"
962 $(STRIP) "$(top_builddir)/vlc-${VERSION}/vlc$(EXEEXT)"
964 for file in AUTHORS MAINTAINERS THANKS NEWS COPYING README ; \
965 do sed 's/@/_AT_/' < "$(srcdir)/$$file" > "$(top_builddir)/vlc-${VERSION}/$${file}.txt" ; \
966 unix2dos "$(top_builddir)/vlc-${VERSION}/$${file}.txt" ; done
968 mkdir $(top_builddir)/vlc-${VERSION}/locale
969 for i in $(ALL_LINGUAS); do \
970 mkdir -p "$(top_builddir)/vlc-${VERSION}/locale/$${i}/LC_MESSAGES" ; \
971 cp "$(srcdir)/po/$${i}.gmo" \
972 "$(top_builddir)/vlc-${VERSION}/locale/$${i}/LC_MESSAGES/vlc.mo" \
977 mkdir -p "$(top_builddir)/vlc-${VERSION}/http/admin"
978 mkdir -p "$(top_builddir)/vlc-${VERSION}/http/vlm"
979 cp $(srcdir)/share/http/*.html $(top_builddir)/vlc-${VERSION}/http/ ;
980 unix2dos $(top_builddir)/vlc-${VERSION}/http/*.html ;
981 cp $(srcdir)/share/http/*.css $(top_builddir)/vlc-${VERSION}/http/ ;
982 unix2dos $(top_builddir)/vlc-${VERSION}/http/*.css ;
983 cp $(srcdir)/share/http/*.png $(top_builddir)/vlc-${VERSION}/http/
984 cp $(srcdir)/share/http/*.ico $(top_builddir)/vlc-${VERSION}/http/ ;
985 cp $(srcdir)/share/http/admin/*.html \
986 $(top_builddir)/vlc-${VERSION}/http/admin/ ;
987 unix2dos $(top_builddir)/vlc-${VERSION}/http/admin/*.html ;
988 cp $(srcdir)/share/http/admin/dboxfiles.html \
989 $(top_builddir)/vlc-${VERSION}/http/admin/ ;
990 cp $(srcdir)/share/http/admin/.access \
991 $(top_builddir)/vlc-${VERSION}/http/admin/ ;
992 unix2dos $(top_builddir)/vlc-${VERSION}/http/admin/.access ;
993 cp $(srcdir)/share/http/vlm/*.html \
994 $(top_builddir)/vlc-${VERSION}/http/vlm/ ;
995 unix2dos $(top_builddir)/vlc-${VERSION}/http/vlm/*.html ;
997 cp $(srcdir)/share/vlc48x48.ico $(top_builddir)/vlc-${VERSION}/ ;
1000 mkdir -p "$(top_builddir)/vlc-${VERSION}/mozilla"
1001 cp $(top_builddir)/mozilla/*$(LIBEXT) $(top_builddir)/vlc-${VERSION}/mozilla/ ;
1002 $(STRIP) $(top_builddir)/vlc-${VERSION}/mozilla/*$(LIBEXT);
1003 cp $(top_builddir)/mozilla/vlcintf.xpt $(top_builddir)/vlc-${VERSION}/mozilla/ ;
1007 mkdir -p "$(top_builddir)/vlc-${VERSION}/activex"
1008 cp $(srcdir)/activex/README.TXT $(top_builddir)/vlc-${VERSION}/activex/ ;
1009 cp $(srcdir)/activex/test.html $(top_builddir)/vlc-${VERSION}/activex/ ;
1010 unix2dos $(top_builddir)/vlc-${VERSION}/activex/* ;
1012 cp $(top_builddir)/activex/*$(LIBEXT) $(top_builddir)/vlc-${VERSION}/activex/ ;
1013 $(STRIP) $(top_builddir)/vlc-${VERSION}/activex/*$(LIBEXT);
1015 # Rebase all those DLLs to speed up loading (need cygwin rebase)
1016 if [ -x rebase ]; then \
1017 find $(top_builddir)/vlc-${VERSION} -type f -name '*.dll' -print | rebase -b 0x70000000 -T -; \
1020 package-wince-base-zip:
1022 zip -r vlc-${VERSION}-wince.zip vlc-${VERSION}
1024 package-wince: package-wince-base package-wince-base-zip
1026 rm -Rf $(top_builddir)/vlc-${VERSION}
1030 # Check that tmp isn't in the way
1031 @if test -e $(srcdir)/tmp; then \
1032 echo "Error: please remove $(srcdir)/tmp, it is in the way"; \
1035 echo "OK." ; mkdir $(srcdir)/tmp ; \
1038 # Copy relevant files
1039 mkdir -p $(srcdir)/tmp/vlc ;
1040 cd $(srcdir) && cp -R vlc-bundle/* AUTHORS COPYING ChangeLog README \
1041 THANKS NEWS tmp/vlc/ ;
1043 # Create debug package
1044 xres -o $(srcdir)/tmp/vlc/vlc $(srcdir)/share/vlc_beos.rsrc ;
1045 find $(srcdir)/tmp/vlc -exec mimeset -f {} \; ;
1046 mv $(srcdir)/tmp/vlc $(srcdir)/tmp/vlc-${VERSION} ;
1047 (cd $(srcdir)/tmp ; zip -9 -r vlc-${VERSION}-BeOS-debug.zip vlc-${VERSION} )
1048 mv $(srcdir)/tmp/vlc-${VERSION}-BeOS-debug.zip $(srcdir)/ ;
1049 mv $(srcdir)/tmp/vlc-${VERSION} $(srcdir)/tmp/vlc ;
1051 # Create normal package
1052 $(STRIP) --strip-debug --strip-unneeded $(srcdir)/tmp/vlc/vlc ;
1053 find $(srcdir)/tmp/vlc -name 'lib*.so' -exec $(STRIP) \
1054 --strip-debug --strip-unneeded "{}" \; ;
1055 xres -o $(srcdir)/tmp/vlc/vlc $(srcdir)/share/vlc_beos.rsrc ;
1056 find $(srcdir)/tmp/vlc -exec mimeset -f {} \; ;
1057 mv $(srcdir)/tmp/vlc $(srcdir)/tmp/vlc-${VERSION} ;
1058 (cd $(srcdir)/tmp ; zip -9 -r vlc-${VERSION}-BeOS.zip vlc-${VERSION} )
1059 mv $(srcdir)/tmp/vlc-${VERSION}-BeOS.zip $(srcdir)/ ;
1062 rm -Rf $(srcdir)/tmp ;
1065 # Check that tmp isn't in the way
1066 @if test -e "$(top_builddir)/tmp"; then \
1067 echo "Error: please remove $(top_builddir)/tmp, it is in the way"; \
1070 echo "OK."; mkdir -p "$(top_builddir)/tmp"; \
1073 # Copy relevant files
1074 cp -R "$(top_builddir)/VLC-release.app" "$(top_builddir)/tmp/VLC.app"
1075 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/
1078 $(srcdir)/extras/MacOSX/macosx-dmg "vlc-${VERSION}" $(top_builddir)/tmp
1081 rm -Rf $(top_builddir)/tmp
1083 package-translations:
1084 @if test -e "$(srcdir)/vlc-translations-${VERSION}"; then \
1085 echo "Error: please remove $(srcdir)/vlc-translations-${VERSION}, it is in the way"; \
1088 echo "OK."; mkdir -p "$(srcdir)/vlc-translations-${VERSION}"; \
1091 for i in $(ALL_LINGUAS); do \
1092 cp "$(srcdir)/po/$${i}.po" \
1093 "$(srcdir)/vlc-translations-${VERSION}/$${i}.po" \
1096 cp "$(srcdir)/doc/translations.txt" \
1097 "$(srcdir)/vlc-translations-${VERSION}/README.txt"
1099 echo "#!/bin/sh" >>"$(srcdir)/vlc-translations-$(VERSION)/convert.po.sh"
1100 echo "" >>"$(srcdir)/vlc-translations-$(VERSION)/convert.po.sh"
1101 echo 'if test $$# != 1; then' >>"$(srcdir)/vlc-translations-$(VERSION)/convert.po.sh"
1102 echo " echo \"Usage: convert-po.sh <.po file>\"" >>"$(srcdir)/vlc-translations-$(VERSION)/convert.po.sh"
1103 echo " exit 1" >>"$(srcdir)/vlc-translations-$(VERSION)/convert.po.sh"
1104 echo "fi" >>"$(srcdir)/vlc-translations-$(VERSION)/convert.po.sh"
1105 echo "" >>"$(srcdir)/vlc-translations-$(VERSION)/convert.po.sh"
1106 echo 'msgfmt --statistics -o vlc.mo $$1' >>"$(srcdir)/vlc-translations-$(VERSION)/convert.po.sh"
1108 $(AMTAR) chof - $(srcdir)/vlc-translations-$(VERSION) \
1109 | GZIP=$(GZIP_ENV) gzip -c >$(srcdir)/vlc-translations-$(VERSION).tar.gz
1111 ###############################################################################
1112 # PO translation files update
1113 ###############################################################################
1117 rm -f $(top_srcdir)/po/POTFILES.in
1119 cd $(top_srcdir) ; \
1120 echo "# automatically created by make update-po" ; \
1122 echo "# main sources" ; \
1123 find include src -name '*.[chm]' -o -name '*.[ch]pp' \
1124 | grep -v '\(vlc_symbols\|misc/modules_\|src/misc/version.c\)' \
1127 echo "# modules" ; \
1128 find modules -name '*.[chm]' -o -name '*.[ch]pp' \
1129 | grep -v '\(\.moc\.\|gui/gtk2/\)' \
1131 } > $(top_srcdir)/po/POTFILES.in
1132 rm -f $(top_srcdir)/po/vlc.pot
1133 cd po && $(MAKE) POTFILES vlc.pot update-po
1135 #cd po && $(MAKE) update-po
1137 ###############################################################################
1139 ###############################################################################
1140 stamp-builtin: FORCE
1141 @for dep in "" `$(VLC_CONFIG) --target builtin`; do \
1142 if test "$${dep}" -nt "$(top_builddir)/vlc$(EXEEXT)"; then \
1147 @if test ! -f $@; then printf "" > $@; fi
1149 stamp-api: Makefile.in $(HEADERS_include) vlc-config vlc-api.pl
1150 ( cd $(srcdir) && cat $(HEADERS_include) ) | \
1151 top_srcdir="$(top_srcdir)" perl $(top_srcdir)/vlc-api.pl
1154 ###############################################################################
1156 ###############################################################################