Mercurial > mplayer.hg
view mpcommon.mak @ 24619:a2978c2e6790
r22679: Some more details for the mga_vid section taken from drivers/README.
r22686: tdfx_vid compilation has been simplified.
r22695: Add a link to Attila's mga_vid port to Linux 2.6.x.
r22704: 'make install' now takes care of most manual installation steps for *_vid.o.
r22800: Get rid of useless conditional
author | kraymer |
---|---|
date | Thu, 27 Sep 2007 23:30:20 +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