2015-06-25 19:37:11 +02:00
|
|
|
APITESTPROGS-$(call ENCDEC, FLAC, FLAC) += api-flac
|
2015-06-28 00:50:25 +02:00
|
|
|
APITESTPROGS-$(call DEMDEC, H264, H264) += api-h264
|
2015-07-31 15:01:43 +02:00
|
|
|
APITESTPROGS-yes += api-seek
|
2015-06-25 19:37:10 +02: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
|
|
|
|
|
2015-06-29 00:47:19 +02:00
|
|
|
$(APITESTPROGS): %$(EXESUF): %.o $(EXEOBJS) $(FF_DEP_LIBS)
|
2015-06-25 19:37:10 +02:00
|
|
|
$(LD) $(LDFLAGS) $(LDEXEFLAGS) $(LD_O) $(filter %.o,$^) $(FF_DEP_LIBS) $(FFEXTRALIBS) $(ELIBS)
|
|
|
|
|
|
|
|
testclean::
|
|
|
|
$(RM) $(addprefix $(APITESTSDIR)/,$(CLEANSUFFIXES) *-test$(EXESUF))
|