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