librempeg/tools/Makefile
Michael Niedermayer e3096eb28f tools: add target_enc_fuzzer.c
Sponsored-by: Sovereign Tech Fund
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2024-04-24 22:10:39 +02:00

38 lines
1.0 KiB
Makefile

TOOLS = enc_recon_frame_test enum_options qt-faststart scale_slice_test trasher uncoded_frame
TOOLS-$(CONFIG_LIBMYSOFA) += sofa2wavs
TOOLS-$(CONFIG_ZLIB) += cws2fws
tools/target_dec_%_fuzzer.o: tools/target_dec_fuzzer.c
$(COMPILE_C) -DFFMPEG_DECODER=$*
tools/target_enc_%_fuzzer.o: tools/target_enc_fuzzer.c
$(COMPILE_C) -DFFMPEG_ENCODER=$*
tools/target_bsf_%_fuzzer.o: tools/target_bsf_fuzzer.c
$(COMPILE_C) -DFFMPEG_BSF=$*
tools/target_dem_%_fuzzer.o: tools/target_dem_fuzzer.c
$(COMPILE_C) -DFFMPEG_DEMUXER=$* -DIO_FLAT=0
tools/target_dem_fuzzer.o: tools/target_dem_fuzzer.c
$(COMPILE_C) -DIO_FLAT=1
tools/target_io_dem_fuzzer.o: tools/target_dem_fuzzer.c
$(COMPILE_C) -DIO_FLAT=0
tools/target_sws_fuzzer.o: tools/target_sws_fuzzer.c
$(COMPILE_C)
tools/enc_recon_frame_test$(EXESUF): tools/decode_simple.o
tools/venc_data_dump$(EXESUF): tools/decode_simple.o
tools/scale_slice_test$(EXESUF): tools/decode_simple.o
tools/decode_simple.o: | tools
OUTDIRS += tools
clean::
$(RM) $(CLEANSUFFIXES:%=tools/%)
-include $(wildcard tools/*.d)