-misc/version.c:
- $(TOOLBOX) --update-version
-
-stamp-version: misc/version.c
- $(TOOLBOX) --update-version
- touch $@
-
-.PHONY: stamp-version
-
-###############################################################################
-# Building builtin modules
-###############################################################################
-#
-# As long as we use builtins with a shared libvlc, we must build them before
-# we build libvlc. Maybe one day, libvlc will handle multiple modules per
-# shared object, which will make builtins fairly redumdant. Until then, we
-# need this workaround.
-
-stamp-builtins: Makefile ../vlc-config ../config.status
-if USE_LIBTOOL
- @for c in `$(VLC_CONFIG) --libs builtin`; do \
- case $$c in \
- ../modules/*.a) echo $$c ;; \
- esac ; \
- done | \
- sed -e 's/^\(.*\)\/\([^\/]*\)\.a$$/cd \1 \&\& $(MAKE) \2_builtin.la/g' | \
- while read cmd; do echo $$cmd; eval "($$cmd)" || exit $$? ; done
-endif
-if BUILD_SHARED
- @if test "$(pic)" = "pic"; then ext="_pic.a"; else ext=".a"; fi ; \
- for c in `$(VLC_CONFIG) --libs builtin`; do \
- case $$c in \
- ../modules/*.a) echo $$c ;; \
- esac ; \
- done | \
- sed -e 's/^\(.*\)\/\([^\/]*\)\.a$$/cd \1 \&\& $(MAKE) \2/g' | \
- while read cmd; do echo $$cmd$$ext; eval "($$cmd$$ext)" || exit $$? ; done
-endif
- touch $@
-