-nice:
- \$(top_builddir)/compile
-
-# Find out which modules were enabled and tell make to build them
-all-modules:
- @set fnord \$\$MAKEFLAGS; amf=\$\$2; targets=\`\\
- z=\$\$(\$(VLC_CONFIG) --list plugin); for mod in \$(mods); do case "\$\$z " in *\ \$\${mod}\ *) echo lib\$\${mod}_plugin.la;; esac; done; \\
- \`; case "\$\$targets" in *lib*) \$(MAKE) \$(AM_MAKEFLAGS) \$\$targets || case "\$\$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; ;; esac; \\
- test -z "\$\$fail"
-
-# Build a plugin with the adequate linker and linker's flags
-_plugin.la_plugin\$(LIBEXT):
- @mod="\$*" ; mod=\$\${mod#lib} ; \
- ldfl="\`\$(VLC_CONFIG) --libs plugin \$\$mod\` \$(LIBVLC) -u \$(SYMPREF)\$(VLC_ENTRY)" ; \
- case \`\$(VLC_CONFIG) --linkage \$\$mod\` in \\
- c++) ld="\$(CXXLINK)" ;; \
- objc) ld="\$(OBJCLINK)" ;; \
- c|*) ld="\$(LINK)" ;; \
- esac ; \
- echo \$\$ld \$< \$\$ldfl ; \
- \$\$ld \$< \$\$ldfl