1APITESTPROGS-$(call ENCDEC, FLAC, FLAC) += api-flac 2APITESTPROGS-$(call DEMDEC, H264, H264) += api-h264 3APITESTPROGS-$(call DEMDEC, H264, H264) += api-h264-slice 4APITESTPROGS-yes += api-seek 5APITESTPROGS-$(call DEMDEC, H263, H263) += api-band 6APITESTPROGS-$(HAVE_THREADS) += api-threadmessage 7APITESTPROGS += $(APITESTPROGS-yes) 8 9APITESTOBJS := $(APITESTOBJS:%=$(APITESTSDIR)%) $(APITESTPROGS:%=$(APITESTSDIR)/%-test.o) 10APITESTPROGS := $(APITESTPROGS:%=$(APITESTSDIR)/%-test$(EXESUF)) 11-include $(wildcard $(APITESTOBJS:.o=.d)) 12 13$(APITESTOBJS): | $(sort $(dir $(APITESTOBJS))) 14$(APITESTOBJS) $(APITESTOBJS:.o=.i): CPPFLAGS += -DTEST 15$(APITESTOBJS) $(APITESTOBJS:.o=.i): CFLAGS += -Umain 16 17$(APITESTPROGS): %$(EXESUF): %.o $(FF_DEP_LIBS) 18 $(LD) $(LDFLAGS) $(LDEXEFLAGS) $(LD_O) $(filter %.o,$^) $(FF_EXTRALIBS) $(ELIBS) 19 20testclean:: 21 $(RM) $(addprefix $(APITESTSDIR)/,$(CLEANSUFFIXES) *-test$(EXESUF)) 22