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

Originally committed as revision 18189 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Diego Biurrun 2009-03-25 18:19:20 +00:00
parent 6ccf540fa5
commit 7304c2c4ce
4 changed files with 6 additions and 6 deletions

View File

@ -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))

View File

@ -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

View File

@ -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

View File

@ -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