Commit 7304c2c4 authored by Diego Biurrun's avatar Diego Biurrun
Browse files

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

Originally committed as revision 18189 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 6ccf540f
......@@ -67,7 +67,7 @@ FFLDFLAGS := $(addprefix -L$(BUILD_ROOT)/lib,$(FFLIBS)) $(LDFLAGS)
EXAMPLES := $(addprefix $(SUBDIR),$(EXAMPLES))
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))
......
......@@ -533,9 +533,9 @@ OBJS-$(HAVE_VIS) += sparc/dsputil_vis.o \
EXAMPLES = apiexample$(EXESUF)
TESTPROGS = $(addsuffix -test$(EXESUF), cabac dct eval fft h264 rangecoder snow)
TESTPROGS-$(ARCH_X86) += x86/cpuid-test$(EXESUF)
TESTPROGS-$(HAVE_MMX) += motion-test$(EXESUF)
TESTPROGS = cabac dct eval fft h264 rangecoder snow
TESTPROGS-$(ARCH_X86) += x86/cpuid
TESTPROGS-$(HAVE_MMX) += motion
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_UDP_PROTOCOL) += udp.o
TESTPROGS = $(addsuffix -test$(EXESUF), timefilter)
TESTPROGS = timefilter
include $(SUBDIR)../subdir.mak
......@@ -41,7 +41,7 @@ OBJS = adler32.o \
tree.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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment