Move adding the '-test$(EXESUF)' suffix to test programs into common.mak.

Originally committed as revision 18189 to svn://svn.ffmpeg.org/ffmpeg/trunk
release/0.6
Diego Biurrun 16 years ago
parent 6ccf540fa5
commit 7304c2c4ce
  1. 2
      common.mak
  2. 6
      libavcodec/Makefile
  3. 2
      libavformat/Makefile
  4. 2
      libavutil/Makefile

@ -67,7 +67,7 @@ FFLDFLAGS := $(addprefix -L$(BUILD_ROOT)/lib,$(FFLIBS)) $(LDFLAGS)
EXAMPLES := $(addprefix $(SUBDIR),$(EXAMPLES)) EXAMPLES := $(addprefix $(SUBDIR),$(EXAMPLES))
OBJS := $(addprefix $(SUBDIR),$(OBJS)) OBJS := $(addprefix $(SUBDIR),$(OBJS))
TESTPROGS := $(addprefix $(SUBDIR),$(TESTPROGS)) TESTPROGS := $(addprefix $(SUBDIR),$(addsuffix -test$(EXESUF),$(TESTPROGS)))
DEP_LIBS := $(foreach NAME,$(FFLIBS),lib$(NAME)/$($(BUILD_SHARED:yes=S)LIBNAME)) DEP_LIBS := $(foreach NAME,$(FFLIBS),lib$(NAME)/$($(BUILD_SHARED:yes=S)LIBNAME))

@ -533,9 +533,9 @@ OBJS-$(HAVE_VIS) += sparc/dsputil_vis.o \
EXAMPLES = apiexample$(EXESUF) EXAMPLES = apiexample$(EXESUF)
TESTPROGS = $(addsuffix -test$(EXESUF), cabac dct eval fft h264 rangecoder snow) TESTPROGS = cabac dct eval fft h264 rangecoder snow
TESTPROGS-$(ARCH_X86) += x86/cpuid-test$(EXESUF) TESTPROGS-$(ARCH_X86) += x86/cpuid
TESTPROGS-$(HAVE_MMX) += motion-test$(EXESUF) TESTPROGS-$(HAVE_MMX) += motion
DIRS = alpha arm bfin mlib ppc ps2 sh4 sparc x86 DIRS = alpha arm bfin mlib ppc ps2 sh4 sparc x86

@ -243,6 +243,6 @@ OBJS-$(CONFIG_RTP_PROTOCOL) += rtpproto.o
OBJS-$(CONFIG_TCP_PROTOCOL) += tcp.o OBJS-$(CONFIG_TCP_PROTOCOL) += tcp.o
OBJS-$(CONFIG_UDP_PROTOCOL) += udp.o OBJS-$(CONFIG_UDP_PROTOCOL) += udp.o
TESTPROGS = $(addsuffix -test$(EXESUF), timefilter) TESTPROGS = timefilter
include $(SUBDIR)../subdir.mak include $(SUBDIR)../subdir.mak

@ -41,7 +41,7 @@ OBJS = adler32.o \
tree.o \ tree.o \
utils.o \ utils.o \
TESTPROGS = $(addsuffix -test$(EXESUF), adler32 aes base64 crc des lls md5 pca sha1 softfloat tree) TESTPROGS = adler32 aes base64 crc des lls md5 pca sha1 softfloat tree
DIRS = arm bfin sh4 x86 DIRS = arm bfin sh4 x86

Loading…
Cancel
Save