mirror of https://github.com/FFmpeg/FFmpeg.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
736 B
17 lines
736 B
APITESTPROGS-$(call ENCDEC, FLAC, FLAC) += api-flac |
|
APITESTPROGS-$(call DEMDEC, H264, H264) += api-h264 |
|
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 $(EXEOBJS) $(FF_DEP_LIBS) |
|
$(LD) $(LDFLAGS) $(LDEXEFLAGS) $(LD_O) $(filter %.o,$^) $(FF_DEP_LIBS) $(FFEXTRALIBS) $(ELIBS) |
|
|
|
testclean:: |
|
$(RM) $(addprefix $(APITESTSDIR)/,$(CLEANSUFFIXES) *-test$(EXESUF))
|
|
|