view mpcommon.mak @ 24824:70a64a5a85c3

r24740: misc roff fixes r24746: document filter -vf ow: Overcomplete Wavelet denoiser. r24772: DirectShow based tv:// driver for win32 r24783: Consistently set NOTE: in italics. r24784: small grammar fix r24785: Add -lavfdopts cryptokey r24807: Docs update: -ao openal handles more than one channels since some time already r24808: Add a space behind openal to get minimum length of 7 r24809: Replace Polyp- by PulseAudio output. r24820: Clarify that -vo gl bicubic filtering is B-spline, not polynomial r24837: Spelling, vf_ow parameters are optional. r24841: type fix: there was a 'not' too much
author voroshil
date Thu, 25 Oct 2007 17:37:49 +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