Makefile 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. TOOLS = enc_recon_frame_test enum_options qt-faststart scale_slice_test trasher uncoded_frame
  2. TOOLS-$(CONFIG_LIBMYSOFA) += sofa2wavs
  3. TOOLS-$(CONFIG_ZLIB) += cws2fws
  4. tools/target_dec_%_fuzzer.o: tools/target_dec_fuzzer.c
  5. $(COMPILE_C) -DFFMPEG_DECODER=$*
  6. tools/target_enc_%_fuzzer.o: tools/target_enc_fuzzer.c
  7. $(COMPILE_C) -DFFMPEG_ENCODER=$*
  8. tools/target_bsf_%_fuzzer.o: tools/target_bsf_fuzzer.c
  9. $(COMPILE_C) -DFFMPEG_BSF=$*
  10. tools/target_dem_%_fuzzer.o: tools/target_dem_fuzzer.c
  11. $(COMPILE_C) -DFFMPEG_DEMUXER=$* -DIO_FLAT=0
  12. tools/target_dem_fuzzer.o: tools/target_dem_fuzzer.c
  13. $(COMPILE_C) -DIO_FLAT=1
  14. tools/target_io_dem_fuzzer.o: tools/target_dem_fuzzer.c
  15. $(COMPILE_C) -DIO_FLAT=0
  16. tools/target_sws_fuzzer.o: tools/target_sws_fuzzer.c
  17. $(COMPILE_C)
  18. tools/enc_recon_frame_test$(EXESUF): tools/decode_simple.o
  19. tools/venc_data_dump$(EXESUF): tools/decode_simple.o
  20. tools/scale_slice_test$(EXESUF): tools/decode_simple.o
  21. tools/decode_simple.o: | tools
  22. OUTDIRS += tools
  23. clean::
  24. $(RM) $(CLEANSUFFIXES:%=tools/%)
  25. -include $(wildcard tools/*.d)