mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-23 11:19:55 +00:00
65994f5530
Signed-off-by: gg0907 <guohui_1701@163.com>
22 lines
900 B
Makefile
22 lines
900 B
Makefile
APITESTPROGS-$(call ENCDEC, FLAC, FLAC) += api-flac
|
|
APITESTPROGS-$(call DEMDEC, H264, H264) += api-h264
|
|
APITESTPROGS-$(call DEMDEC, H264, H264) += api-h264-slice
|
|
APITESTPROGS-yes += api-seek
|
|
APITESTPROGS-$(call DEMDEC, H263, H263) += api-band
|
|
APITESTPROGS-$(HAVE_THREADS) += api-threadmessage
|
|
APITESTPROGS += $(APITESTPROGS-yes)
|
|
|
|
APITESTOBJS := $(APITESTOBJS:%=$(APITESTSDIR)%) $(APITESTPROGS:%=$(APITESTSDIR)/%-test.o)
|
|
APITESTPROGS := $(APITESTPROGS:%=$(APITESTSDIR)/%-test$(EXESUF))
|
|
-include $(wildcard $(APITESTOBJS:.o=.d))
|
|
|
|
$(APITESTOBJS): | $(sort $(dir $(APITESTOBJS)))
|
|
$(APITESTOBJS) $(APITESTOBJS:.o=.i): CPPFLAGS += -DTEST
|
|
$(APITESTOBJS) $(APITESTOBJS:.o=.i): CFLAGS += -Umain
|
|
|
|
$(APITESTPROGS): %$(EXESUF): %.o $(FF_DEP_LIBS)
|
|
$(LD) $(LDFLAGS) $(LDEXEFLAGS) $(LD_O) $(filter %.o,$^) $(FF_EXTRALIBS) $(ELIBS)
|
|
|
|
testclean::
|
|
$(RM) $(addprefix $(APITESTSDIR)/,$(CLEANSUFFIXES) *-test$(EXESUF))
|