+shared-modules-recursive:
+ @if test `pwd` = "$(top_builddir)"; then \
+ $(PRE_SHARED_CMDS) ; \
+ fi; \
+ list='$(SUBDIRS)'; for i in $$list; do \
+ target="shared-modules"; \
+ if test "$$i" = "."; then \
+ ok = yes; \
+ target="shared-modules-p"; \
+ fi; \
+ if test "$$i" != "srclib"; then \
+ (cd $$i && $(MAKE) $$target) || exit 1; \
+ fi; \
+ done; \
+ if test -e 'modules.mk'; then \
+ if test -n '$(shared_targets)'; then \
+ echo "Building shared modules: $(shared_targets)"; \
+ if test -z '$(shared_targets)'; then ok=yes; fi; \
+ if test "$$ok" != "yes"; then \
+ $(MAKE) "shared-modules-p" || exit 1; \
+ fi; \
+ fi; \
+ fi; \
+ if test `pwd` = "$(top_builddir)"; then \
+ $(POST_SHARED_CMDS) ; \
+ fi
+