Makefile 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # libavcodec tests
  2. AVCODECOBJS-$(CONFIG_ALAC_DECODER) += alacdsp.o
  3. AVCODECOBJS-$(CONFIG_BLEND_FILTER) += vf_blend.o
  4. AVCODECOBJS-$(CONFIG_BSWAPDSP) += bswapdsp.o
  5. AVCODECOBJS-$(CONFIG_DCA_DECODER) += synth_filter.o
  6. AVCODECOBJS-$(CONFIG_FLACDSP) += flacdsp.o
  7. AVCODECOBJS-$(CONFIG_FMTCONVERT) += fmtconvert.o
  8. AVCODECOBJS-$(CONFIG_H264PRED) += h264pred.o
  9. AVCODECOBJS-$(CONFIG_H264QPEL) += h264qpel.o
  10. AVCODECOBJS-$(CONFIG_JPEG2000_DECODER) += jpeg2000dsp.o
  11. AVCODECOBJS-$(CONFIG_PIXBLOCKDSP) += pixblockdsp.o
  12. AVCODECOBJS-$(CONFIG_V210_ENCODER) += v210enc.o
  13. AVCODECOBJS-$(CONFIG_VP9_DECODER) += vp9dsp.o
  14. AVCODECOBJS-$(CONFIG_VIDEODSP) += videodsp.o
  15. CHECKASMOBJS-$(CONFIG_AVCODEC) += $(AVCODECOBJS-yes)
  16. -include $(SRC_PATH)/tests/checkasm/$(ARCH)/Makefile
  17. CHECKASMOBJS += $(CHECKASMOBJS-yes) checkasm.o
  18. CHECKASMOBJS := $(sort $(CHECKASMOBJS:%=tests/checkasm/%))
  19. -include $(CHECKASMOBJS:.o=.d)
  20. CHECKASMDIRS := $(sort $(dir $(CHECKASMOBJS)))
  21. $(CHECKASMOBJS): | $(CHECKASMDIRS)
  22. OBJDIRS += $(CHECKASMDIRS)
  23. tests/checkasm/checkasm.o: CFLAGS += -Umain
  24. CHECKASM := tests/checkasm/checkasm$(EXESUF)
  25. $(CHECKASM): $(EXEOBJS) $(CHECKASMOBJS) $(FF_STATIC_DEP_LIBS)
  26. $(LD) $(LDFLAGS) $(LDEXEFLAGS) $(LD_O) $(CHECKASMOBJS) $(FF_STATIC_DEP_LIBS) $(EXTRALIBS)
  27. checkasm: $(CHECKASM)
  28. testclean:: checkasmclean
  29. checkasmclean:
  30. $(RM) $(CHECKASM) $(CLEANSUFFIXES:%=tests/checkasm/%) $(CLEANSUFFIXES:%=tests/checkasm/$(ARCH)/%)
  31. .PHONY: checkasm