checkasm: Add tests for h264 idct
[ffmpeg.git] / tests / checkasm / Makefile
1 # libavcodec tests
2 # subsystems
3 AVCODECOBJS-$(CONFIG_BSWAPDSP)          += bswapdsp.o
4 AVCODECOBJS-$(CONFIG_FMTCONVERT)        += fmtconvert.o
5 AVCODECOBJS-$(CONFIG_H264DSP)           += h264dsp.o
6 AVCODECOBJS-$(CONFIG_H264PRED)          += h264pred.o
7 AVCODECOBJS-$(CONFIG_H264QPEL)          += h264qpel.o
8
9 # decoders/encoders
10 AVCODECOBJS-$(CONFIG_DCA_DECODER)       += dcadsp.o synth_filter.o
11 AVCODECOBJS-$(CONFIG_HEVC_DECODER)      += hevc_mc.o
12 AVCODECOBJS-$(CONFIG_V210_ENCODER)      += v210enc.o
13
14 CHECKASMOBJS-$(CONFIG_AVCODEC)          += $(AVCODECOBJS-yes)
15
16
17 -include $(SRC_PATH)/tests/checkasm/$(ARCH)/Makefile
18
19 CHECKASMOBJS += $(CHECKASMOBJS-yes) checkasm.o
20 CHECKASMOBJS := $(sort $(CHECKASMOBJS:%=tests/checkasm/%))
21
22 -include $(CHECKASMOBJS:.o=.d)
23
24 CHECKASMDIRS := $(sort $(dir $(CHECKASMOBJS)))
25 $(CHECKASMOBJS): | $(CHECKASMDIRS)
26 OBJDIRS += $(CHECKASMDIRS)
27
28 CHECKASM := tests/checkasm/checkasm$(EXESUF)
29
30 $(CHECKASM): $(EXEOBJS) $(CHECKASMOBJS) $(FF_STATIC_DEP_LIBS)
31         $(LD) $(LDFLAGS) $(LDEXEFLAGS) $(LD_O) $(CHECKASMOBJS) $(FF_STATIC_DEP_LIBS) $(EXTRALIBS)
32
33 checkasm: $(CHECKASM)
34
35 clean:: checkasmclean
36
37 checkasmclean:
38         $(RM) $(CHECKASM) $(CLEANSUFFIXES:%=tests/checkasm/%) $(CLEANSUFFIXES:%=tests/checkasm/$(ARCH)/%)
39
40 .PHONY: checkasm