[MPlayer-cvslog] r23110 - in trunk: Makefile configure libaf/Makefile libmpcodecs/Makefile libmpdemux/Makefile mpcommon.mak

diego subversion at mplayerhq.hu
Wed Apr 25 10:35:35 CEST 2007


Author: diego
Date: Wed Apr 25 10:35:35 2007
New Revision: 23110

Log:
cosmetics: Remove CONFIG_ prefix from FFmpeg library Makefile variables.


Modified:
   trunk/Makefile
   trunk/configure
   trunk/libaf/Makefile
   trunk/libmpcodecs/Makefile
   trunk/libmpdemux/Makefile
   trunk/mpcommon.mak

Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile	(original)
+++ trunk/Makefile	Wed Apr 25 10:35:35 2007
@@ -8,7 +8,7 @@ include config.mak
 
 CFLAGS = -I. -I./libavutil $(OPTFLAGS)
 
-CFLAGS-$(CONFIG_LIBAVCODEC) += -I./libavcodec
+CFLAGS-$(LIBAVCODEC)        += -I./libavcodec
 CFLAGS                      += $(CFLAGS-yes)
 
 COMMON_LDFLAGS += $(EXTRA_LIB)\
@@ -60,10 +60,10 @@ COMMON_LIBS = libmpcodecs/libmpcodecs.a 
               libswscale/libswscale.a \
               libvo/libosd.a \
 
-COMMON_LIBS-$(CONFIG_LIBAVFORMAT) += libavformat/libavformat.a
-COMMON_LIBS-$(CONFIG_LIBAVCODEC)  += libavcodec/libavcodec.a
-COMMON_LIBS-$(CONFIG_LIBAVUTIL)   += libavutil/libavutil.a
-COMMON_LIBS-$(CONFIG_LIBPOSTPROC) += libpostproc/libpostproc.a
+COMMON_LIBS-$(LIBAVFORMAT)        += libavformat/libavformat.a
+COMMON_LIBS-$(LIBAVCODEC)         += libavcodec/libavcodec.a
+COMMON_LIBS-$(LIBAVUTIL)          += libavutil/libavutil.a
+COMMON_LIBS-$(LIBPOSTPROC)        += libpostproc/libpostproc.a
 COMMON_LIBS-$(WIN32DLL)           += loader/libloader.a
 COMMON_LIBS-$(MP3LIB)             += mp3lib/libmp3.a
 COMMON_LIBS-$(LIBA52)             += liba52/liba52.a

Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Wed Apr 25 10:35:35 2007
@@ -7750,14 +7750,14 @@ WIN32DLL = $_win32dll
 QTX_CODECS = $_qtx
 REAL_CODECS = $_real
 XANIM_CODECS = $_xanim
-CONFIG_LIBAVUTIL = $_libavutil
-CONFIG_LIBAVUTIL_SO = $_libavutil_so
-CONFIG_LIBAVCODEC = $_libavcodec
-CONFIG_LIBAVCODEC_SO = $_libavcodec_so
-CONFIG_LIBAVFORMAT = $_libavformat
-CONFIG_LIBAVFORMAT_SO = $_libavformat_so
-CONFIG_LIBPOSTPROC = $_libpostproc
-CONFIG_LIBPOSTPROC_SO = $_libpostproc_so
+LIBAVUTIL = $_libavutil
+LIBAVUTIL_SO = $_libavutil_so
+LIBAVCODEC = $_libavcodec
+LIBAVCODEC_SO = $_libavcodec_so
+LIBAVFORMAT = $_libavformat
+LIBAVFORMAT_SO = $_libavformat_so
+LIBPOSTPROC = $_libpostproc
+LIBPOSTPROC_SO = $_libpostproc_so
 ZORAN = $_zr
 LIBLZO = $_liblzo
 LIBDV = $_libdv

Modified: trunk/libaf/Makefile
==============================================================================
--- trunk/libaf/Makefile	(original)
+++ trunk/libaf/Makefile	Wed Apr 25 10:35:35 2007
@@ -28,8 +28,8 @@ SRCS_COMMON = af.c \
               window.c \
               $(AF_SRCS) \
 
-SRCS_COMMON-$(CONFIG_LIBAVCODEC)    += af_lavcresample.c
-SRCS_COMMON-$(CONFIG_LIBAVCODEC_SO) += af_lavcresample.c
 SRCS_COMMON-$(HAVE_SYS_MMAN_H)      += af_export.c
+SRCS_COMMON-$(LIBAVCODEC)           += af_lavcresample.c
+SRCS_COMMON-$(LIBAVCODEC_SO)        += af_lavcresample.c
 
 include ../mpcommon.mak

Modified: trunk/libmpcodecs/Makefile
==============================================================================
--- trunk/libmpcodecs/Makefile	(original)
+++ trunk/libmpcodecs/Makefile	Wed Apr 25 10:35:35 2007
@@ -95,24 +95,24 @@ SRCS_COMMON = native/nuppelvideo.c \
 
 SRCS_COMMON-$(CONFIG_ASS)            += vf_ass.c
 # These filters use private headers and do not work with shared libavcodec.
-SRCS_COMMON-$(CONFIG_LIBAVCODEC)     += vf_fspp.c \
+SRCS_COMMON-$(LIBAVCODEC)            += vf_fspp.c \
                                         vf_geq.c \
                                         vf_mcdeint.c \
                                         vf_qp.c \
                                         vf_spp.c \
                                         vf_uspp.c \
 
-SRCS_COMMON-$(CONFIG_LIBAVCODEC)     += ad_ffmpeg.c vd_ffmpeg.c vf_lavc.c vf_lavcdeint.c
-SRCS_COMMON-$(CONFIG_LIBAVCODEC_SO)  += ad_ffmpeg.c vd_ffmpeg.c vf_lavc.c vf_lavcdeint.c
-SRCS_COMMON-$(CONFIG_LIBPOSTPROC)    += vf_pp.c
-SRCS_COMMON-$(CONFIG_LIBPOSTPROC_SO) += vf_pp.c
 SRCS_COMMON-$(FAAD)                  += ad_faad.c
 SRCS_COMMON-$(HAVE_POSIX_SELECT)     += vf_bmovl.c
 SRCS_COMMON-$(JPEG)                  += vd_ijpg.c
 SRCS_COMMON-$(LIBA52)                += ad_liba52.c
+SRCS_COMMON-$(LIBAVCODEC)            += ad_ffmpeg.c vd_ffmpeg.c vf_lavc.c vf_lavcdeint.c
+SRCS_COMMON-$(LIBAVCODEC_SO)         += ad_ffmpeg.c vd_ffmpeg.c vf_lavc.c vf_lavcdeint.c
 SRCS_COMMON-$(LIBDV)                 += ad_libdv.c vd_libdv.c
 SRCS_COMMON-$(LIBMAD)                += ad_libmad.c
 SRCS_COMMON-$(LIBMPEG2)              += vd_libmpeg2.c
+SRCS_COMMON-$(LIBPOSTPROC)           += vf_pp.c
+SRCS_COMMON-$(LIBPOSTPROC_SO)        += vf_pp.c
 SRCS_COMMON-$(LIBTHEORA)             += vd_theora.c
 SRCS_COMMON-$(LIBVORBIS)             += ad_libvorbis.c
 SRCS_COMMON-$(MP3LIB)                += ad_mp3lib.c
@@ -133,8 +133,8 @@ SRCS_MENCODER = ae.c \
                 ve.c \
                 ve_raw.c \
 
-SRCS_MENCODER-$(CONFIG_LIBAVCODEC)    += ae_lavc.c ve_lavc.c
-SRCS_MENCODER-$(CONFIG_LIBAVCODEC_SO) += ae_lavc.c ve_lavc.c
+SRCS_MENCODER-$(LIBAVCODEC)           += ae_lavc.c ve_lavc.c
+SRCS_MENCODER-$(LIBAVCODEC_SO)        += ae_lavc.c ve_lavc.c
 SRCS_MENCODER-$(LIBDV)                += ve_libdv.c
 SRCS_MENCODER-$(LIBLZO)               += ve_nuv.c
 SRCS_MENCODER-$(QTX_CODECS)           += ve_qtvideo.c

Modified: trunk/libmpdemux/Makefile
==============================================================================
--- trunk/libmpdemux/Makefile	(original)
+++ trunk/libmpdemux/Makefile	Wed Apr 25 10:35:35 2007
@@ -45,9 +45,9 @@ SRCS_COMMON = asfheader.c \
               yuv4mpeg.c \
               yuv4mpeg_ratio.c \
 
-SRCS_COMMON-$(CONFIG_LIBAVFORMAT)      += demux_lavf.c
-SRCS_COMMON-$(CONFIG_LIBAVFORMAT_SO)   += demux_lavf.c
 SRCS_COMMON-$(GIF)                     += demux_gif.c
+SRCS_COMMON-$(LIBAVFORMAT)             += demux_lavf.c
+SRCS_COMMON-$(LIBAVFORMAT_SO)          += demux_lavf.c
 SRCS_COMMON-$(LIBDV)                   += demux_rawdv.c
 SRCS_COMMON-$(LIBNUT)                  += demux_nut.c
 SRCS_COMMON-$(LIBVORBIS)               += demux_ogg.c
@@ -62,7 +62,7 @@ SRCS_MENCODER = muxer.c \
                 muxer_rawaudio.c \
                 muxer_rawvideo.c \
 
-SRCS_MENCODER-$(CONFIG_LIBAVFORMAT)     += muxer_lavf.c
-SRCS_MENCODER-$(CONFIG_LIBAVFORMAT_SO)  += muxer_lavf.c
+SRCS_MENCODER-$(LIBAVFORMAT)           += muxer_lavf.c
+SRCS_MENCODER-$(LIBAVFORMAT_SO)        += muxer_lavf.c
 
 include ../mpcommon.mak

Modified: trunk/mpcommon.mak
==============================================================================
--- trunk/mpcommon.mak	(original)
+++ trunk/mpcommon.mak	Wed Apr 25 10:35:35 2007
@@ -6,8 +6,8 @@ OBJS_COMMON    += $(addsuffix .o, $(base
 OBJS_MPLAYER   += $(addsuffix .o, $(basename $(SRCS_MPLAYER)) )
 OBJS_MENCODER  += $(addsuffix .o, $(basename $(SRCS_MENCODER)) )
 
-CFLAGS-$(CONFIG_LIBAVCODEC)     += -I../libavcodec
-CFLAGS-$(CONFIG_LIBAVFORMAT)    += -I../libavformat
+CFLAGS-$(LIBAVCODEC)     += -I../libavcodec
+CFLAGS-$(LIBAVFORMAT)    += -I../libavformat
 CFLAGS += $(CFLAGS-yes) $(OPTFLAGS)
 
 LIBS-$(MPLAYER)  += $(LIBNAME_MPLAYER)



More information about the MPlayer-cvslog mailing list