2015-06-25 17:37:11 +00:00
|
|
|
APITESTPROGS-$(call ENCDEC, FLAC, FLAC) += api-flac
|
2015-06-27 22:50:25 +00:00
|
|
|
APITESTPROGS-$(call DEMDEC, H264, H264) += api-h264
|
2018-10-09 12:07:15 +00:00
|
|
|
APITESTPROGS-$(call DEMDEC, H264, H264) += api-h264-slice
|
2015-07-31 13:01:43 +00:00
|
|
|
APITESTPROGS-yes += api-seek
|
2015-08-24 00:11:45 +00:00
|
|
|
APITESTPROGS-$(call DEMDEC, H263, H263) += api-band
|
2015-12-07 13:51:21 +00:00
|
|
|
APITESTPROGS-$(HAVE_THREADS) += api-threadmessage
|
2015-06-25 17:37:10 +00:00
|
|
|
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
|
|
|
|
|
2017-04-09 12:52:00 +00:00
|
|
|
$(APITESTPROGS): %$(EXESUF): %.o $(FF_DEP_LIBS)
|
2015-11-30 21:50:12 +00:00
|
|
|
$(LD) $(LDFLAGS) $(LDEXEFLAGS) $(LD_O) $(filter %.o,$^) $(FF_EXTRALIBS) $(ELIBS)
|
2015-06-25 17:37:10 +00:00
|
|
|
|
|
|
|
testclean::
|
|
|
|
$(RM) $(addprefix $(APITESTSDIR)/,$(CLEANSUFFIXES) *-test$(EXESUF))
|