diff libmpcodecs/Makefile @ 18765:1ba0aff3ed0a

Remove separation between Win32 DLL and DirectShow support in the build system.
author diego
date Wed, 21 Jun 2006 09:45:17 +0000
parents a80c7de8a4ba
children a1807995e2ab
line wrap: on
line diff
--- a/libmpcodecs/Makefile	Wed Jun 21 09:42:43 2006 +0000
+++ b/libmpcodecs/Makefile	Wed Jun 21 09:45:17 2006 +0000
@@ -23,8 +23,6 @@
                ad_pcm.c \
 
 AUDIO_SRCS_OPT=ad_acm.c \
-               ad_dmo.c \
-               ad_dshow.c \
                ad_faad.c \
                ad_libdv.c \
                ad_libmad.c \
@@ -39,6 +37,9 @@
 ifeq ($(CONFIG_LIBAVCODEC_SO),yes)
 AUDIO_SRCS_OPT+=ad_ffmpeg.c
 endif
+ifeq ($(WIN32DLL),yes)
+AUDIO_SRCS_OPT+=ad_dshow.c ad_dmo.c
+endif
 
 AUDIO_SRCS=dec_audio.c \
            ad.c \
@@ -58,8 +59,6 @@
                vd_sgi.c \
 
 VIDEO_SRCS_OPT=vd_divx4.c \
-               vd_dmo.c \
-               vd_dshow.c \
                vd_libdv.c \
                vd_odivx.c \
                vd_qtvideo.c \
@@ -78,6 +77,9 @@
 ifeq ($(CONFIG_LIBAVCODEC_SO),yes)
 VIDEO_SRCS_OPT+=vd_ffmpeg.c
 endif
+ifeq ($(WIN32DLL),yes)
+VIDEO_SRCS_OPT+=vd_dmo.c vd_dshow.c
+endif
 
 VIDEO_SRCS=dec_video.c \
            vd.c \