-###############################################################################
-# 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 BUILD_SHARED
- @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.a; eval "($$cmd.a)" || exit $$? ; done
-endif
- touch $@
-