+install-man:
+ install -d "$(MANDIR)/man1"
+ install -m 644 $(MANPAGES) "$(MANDIR)/man1"
+
+install-vhook: videohook
+ install -d "$(SHLIBDIR)/vhook"
+ install -m 755 $(HOOKS) "$(SHLIBDIR)/vhook"
+
+install-libs:
+ $(MAKE) -C libavutil install-libs
+ $(MAKE) -C libavcodec install-libs
+ $(MAKE) -C libavformat install-libs
+ $(MAKE) -C libavdevice install-libs
+ $(MAKE-$(CONFIG_POSTPROC)) -C libpostproc install-libs
+ $(MAKE-$(CONFIG_SWSCALE)) -C libswscale install-libs
+ $(MAKE-$(CONFIG_AVFILTER)) -C libavfilter install-libs
+
+install-headers:
+ $(MAKE) -C libavutil install-headers
+ $(MAKE) -C libavcodec install-headers
+ $(MAKE) -C libavformat install-headers
+ $(MAKE) -C libavdevice install-headers
+ $(MAKE-$(CONFIG_POSTPROC)) -C libpostproc install-headers
+ $(MAKE) -C libswscale install-headers
+ $(MAKE-$(CONFIG_AVFILTER)) -C libavfilter install-headers
+
+uninstall: uninstall-progs uninstall-libs uninstall-headers uninstall-man uninstall-vhook
+
+uninstall-progs:
+ rm -f $(addprefix "$(BINDIR)/", $(ALLPROGS))
+
+uninstall-man:
+ rm -f $(addprefix "$(MANDIR)/man1/",$(ALLMANPAGES))
+
+uninstall-vhook:
+ rm -f $(addprefix "$(SHLIBDIR)/",$(ALLHOOKS_SRCS:.c=$(SLIBSUF)))
+ -rmdir "$(SHLIBDIR)/vhook/"
+
+uninstall-libs:
+ $(MAKE) -C libavutil uninstall-libs
+ $(MAKE) -C libavcodec uninstall-libs
+ $(MAKE) -C libavformat uninstall-libs
+ $(MAKE) -C libavdevice uninstall-libs
+ $(MAKE) -C libpostproc uninstall-libs
+ $(MAKE) -C libswscale uninstall-libs
+ $(MAKE) -C libavfilter uninstall-libs
+
+uninstall-headers:
+ $(MAKE) -C libavutil uninstall-headers
+ $(MAKE) -C libavcodec uninstall-headers
+ $(MAKE) -C libavformat uninstall-headers
+ $(MAKE) -C libavdevice uninstall-headers
+ $(MAKE) -C libpostproc uninstall-headers
+ $(MAKE) -C libswscale uninstall-headers
+ $(MAKE) -C libavfilter uninstall-headers
+ -rmdir "$(INCDIR)"
+
+depend dep: .depend .vhookdep
+ $(MAKE) -C libavutil depend
+ $(MAKE) -C libavcodec depend
+ $(MAKE) -C libavformat depend
+ $(MAKE) -C libavdevice depend
+ $(MAKE-$(CONFIG_POSTPROC)) -C libpostproc depend
+ $(MAKE-$(CONFIG_SWSCALE)) -C libswscale depend
+ $(MAKE-$(CONFIG_AVFILTER)) -C libavfilter depend
+
+.depend: $(SRCS) version.h
+ $(DEPEND_CMD) > $@
+
+.vhookdep: $(ALLHOOKS_SRCS) version.h
+ $(VHOOK_DEPEND_CMD) > $@
+
+$(DEP_LIBS): lib
+
+.libs: $(DEP_LIBS)
+ touch $@
+
+clean:
+ $(MAKE) -C libavutil clean
+ $(MAKE) -C libavcodec clean