[FFmpeg-cvslog] r15708 - in trunk: Makefile common.mak libavcodec/Makefile libavdevice/Makefile
mru
subversion
Sat Oct 25 16:00:29 CEST 2008
Author: mru
Date: Sat Oct 25 16:00:28 2008
New Revision: 15708
Log:
Use OBJS variable for all object files
There is no longer any need to differentiate the object files
by source type.
Modified:
trunk/Makefile
trunk/common.mak
trunk/libavcodec/Makefile
trunk/libavdevice/Makefile
Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile (original)
+++ trunk/Makefile Sat Oct 25 16:00:28 2008
@@ -46,7 +46,7 @@ $(PROGS): %$(EXESUF): %_g$(EXESUF)
cp -p $< $@
$(STRIP) $@
-SUBDIR_VARS := OBJS ASM_OBJS CPP_OBJS FFLIBS CLEANFILES DIRS TESTS
+SUBDIR_VARS := OBJS FFLIBS CLEANFILES DIRS TESTS
define RESET
$(1) :=
Modified: trunk/common.mak
==============================================================================
--- trunk/common.mak (original)
+++ trunk/common.mak Sat Oct 25 16:00:28 2008
@@ -60,16 +60,12 @@ endif
CFLAGS += $(CFLAGS-yes)
OBJS += $(OBJS-yes)
-ASM_OBJS += $(ASM_OBJS-yes)
-CPP_OBJS += $(CPP_OBJS-yes)
FFLIBS := $(FFLIBS-yes) $(FFLIBS)
TESTS += $(TESTS-yes)
FFEXTRALIBS := $(addprefix -l,$(addsuffix $(BUILDSUF),$(FFLIBS))) $(EXTRALIBS)
FFLDFLAGS := $(addprefix -L$(BUILD_ROOT)/lib,$(FFLIBS)) $(LDFLAGS)
-OBJS := $(OBJS) $(ASM_OBJS) $(CPP_OBJS)
-
OBJS := $(addprefix $(SUBDIR),$(OBJS))
TESTS := $(addprefix $(SUBDIR),$(TESTS))
Modified: trunk/libavcodec/Makefile
==============================================================================
--- trunk/libavcodec/Makefile (original)
+++ trunk/libavcodec/Makefile Sat Oct 25 16:00:28 2008
@@ -420,7 +420,7 @@ OBJS-$(CONFIG_VP6F_DECODER) +
OBJS-$(CONFIG_WMV3_DECODER) += i386/vc1dsp_mmx.o
endif
-ASM_OBJS-$(ARCH_ARMV4L) += armv4l/jrevdct_arm.o \
+OBJS-$(ARCH_ARMV4L) += armv4l/jrevdct_arm.o \
armv4l/simple_idct_arm.o \
armv4l/dsputil_arm_s.o \
@@ -434,9 +434,9 @@ OBJS-$(HAVE_ARMV5TE) +
OBJS-$(HAVE_ARMVFP) += armv4l/float_arm_vfp.o \
-ASM_OBJS-$(HAVE_ARMV5TE) += armv4l/simple_idct_armv5te.o \
+OBJS-$(HAVE_ARMV5TE) += armv4l/simple_idct_armv5te.o \
-ASM_OBJS-$(HAVE_ARMV6) += armv4l/simple_idct_armv6.o \
+OBJS-$(HAVE_ARMV6) += armv4l/simple_idct_armv6.o \
OBJS-$(HAVE_VIS) += sparc/dsputil_vis.o \
sparc/simple_idct_vis.o \
@@ -448,7 +448,7 @@ OBJS-$(ARCH_ALPHA) +
alpha/mpegvideo_alpha.o \
alpha/simple_idct_alpha.o \
-ASM_OBJS-$(ARCH_ALPHA) += alpha/dsputil_alpha_asm.o \
+OBJS-$(ARCH_ALPHA) += alpha/dsputil_alpha_asm.o \
alpha/motion_est_mvi_asm.o \
OBJS-$(ARCH_POWERPC) += ppc/dsputil_ppc.o \
@@ -486,7 +486,7 @@ OBJS-$(ARCH_BFIN) +
bfin/mpegvideo_bfin.o \
bfin/vp3_bfin.o \
-ASM_OBJS-$(ARCH_BFIN) += bfin/pixels_bfin.o \
+OBJS-$(ARCH_BFIN) += bfin/pixels_bfin.o \
bfin/fdct_bfin.o \
bfin/idct_bfin.o \
bfin/vp3_idct_bfin.o \
Modified: trunk/libavdevice/Makefile
==============================================================================
--- trunk/libavdevice/Makefile (original)
+++ trunk/libavdevice/Makefile Sat Oct 25 16:00:28 2008
@@ -20,7 +20,7 @@ OBJS-$(CONFIG_X11_GRAB_DEVICE_DEMUXER)
# external libraries
OBJS-$(CONFIG_LIBDC1394_DEMUXER) += libdc1394.o
-CPP_OBJS-$(CONFIG_AUDIO_BEOS_DEMUXER) += beosaudio.o
-CPP_OBJS-$(CONFIG_AUDIO_BEOS_MUXER) += beosaudio.o
+OBJS-$(CONFIG_AUDIO_BEOS_DEMUXER) += beosaudio.o
+OBJS-$(CONFIG_AUDIO_BEOS_MUXER) += beosaudio.o
include $(SUBDIR)../subdir.mak
More information about the ffmpeg-cvslog
mailing list