view mpcommon.mak @ 23968:a9c0184eedcb

r23687: Implemented tv://[<channel>][/<input_id>] url syntax r23748: Leave out (no) prefix from option names for consistency. r23852: af channels example for ffdca to ALSA reordering r23856: small wording improvement r23897: Experimental negative panscan values r23898: Set -vo gl slice-height default to 0 r23917: Document -rawvideo format="format string" r23920 + r23924: Teletext support r23926: update man page with v4l2 a/v outputs r23978: add possibly incorrect subfont entry r23982: i_certify_that_my_video_stream_does_not_use_b_frames is gone. r23984: Added FIXME skeletons for missing lavc options.
author kraymer
date Wed, 01 Aug 2007 09:55:57 +0000
parents 1955b4e60574
children 8ca532b5e704
line wrap: on
line source

SRCS_COMMON          += $(SRCS_COMMON-yes)
SRCS_MPLAYER         += $(SRCS_MPLAYER-yes)
SRCS_MENCODER        += $(SRCS_MENCODER-yes)

OBJS_COMMON    += $(addsuffix .o, $(basename $(SRCS_COMMON)) )
OBJS_MPLAYER   += $(addsuffix .o, $(basename $(SRCS_MPLAYER)) )
OBJS_MENCODER  += $(addsuffix .o, $(basename $(SRCS_MENCODER)) )

CFLAGS-$(LIBAVCODEC)     += -I../libavcodec
CFLAGS-$(LIBAVFORMAT)    += -I../libavformat
CFLAGS += $(CFLAGS-yes) $(OPTFLAGS)

LIBS-$(MPLAYER)  += $(LIBNAME_MPLAYER)
LIBS-$(MENCODER) += $(LIBNAME_MENCODER)
LIBS              = $(LIBNAME_COMMON) $(LIBS-yes)

libs: $(LIBS)

$(LIBNAME_COMMON):   $(OBJS_COMMON)
$(LIBNAME_MPLAYER):  $(OBJS_MPLAYER)
$(LIBNAME_MENCODER): $(OBJS_MENCODER)
$(LIBNAME_COMMON) $(LIBNAME_MPLAYER) $(LIBNAME_MENCODER):
	$(AR) r $@ $^
	$(RANLIB) $@

clean::
	rm -f *.o *.a *~

distclean:: clean
	rm -f .depend test test2

dep depend::
	$(CC) -MM $(CFLAGS) $(SRCS_COMMON) $(SRCS_MPLAYER) $(SRCS_MENCODER) 1>.depend

-include .depend

.PHONY: libs clean distclean dep depend