diff libmpcodecs/Makefile @ 17882:8dd9503e4d19

compile in the filters that depend on libavcodec/dsputil.h only when mplayer is configured to use the imported libavcodec
author nicodvb
date Thu, 16 Mar 2006 21:56:24 +0000
parents cc6cf286e337
children 2fa15de8806b
line wrap: on
line diff
--- a/libmpcodecs/Makefile	Thu Mar 16 19:16:07 2006 +0000
+++ b/libmpcodecs/Makefile	Thu Mar 16 21:56:24 2006 +0000
@@ -150,12 +150,13 @@
              vf_yvu9.c \
              vf_screenshot.c \
 
-VFILTER_LAVC_SRCS += vf_uspp.c \
-                     vf_fspp.c \
-                     vf_lavc.c \
+VFILTER_LAVC_SRCS += vf_lavc.c \
                      vf_lavcdeint.c \
-                     vf_qp.c \
-                     vf_spp.c \
+
+VFILTER_LAVC_DSPUTIL_SRCS += vf_uspp.c \
+                             vf_fspp.c \
+                             vf_qp.c \
+                             vf_spp.c \
 
 ifeq ($(CONFIG_LIBPOSTPROC),yes)
 VFILTER_SRCS += vf_pp.c
@@ -166,6 +167,7 @@
 
 ifeq ($(CONFIG_LIBAVCODEC),yes)
 VFILTER_SRCS += $(VFILTER_LAVC_SRCS)
+VFILTER_SRCS += $(VFILTER_LAVC_DSPUTIL_SRCS)
 endif
 ifeq ($(CONFIG_LIBAVCODEC_SO),yes)
 VFILTER_SRCS += $(VFILTER_LAVC_SRCS)