X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Favformat%2FMakefile;fp=src%2Fmodules%2Favformat%2FMakefile;h=5c8b8afaca2ee68ab8373345fac61d2994e6b1ef;hb=5dc7913c02c07dd97dba0fca6bac926af63dcdfc;hp=0007fd9f90e2e0664e283caa2aed8435b39ba46e;hpb=2878b432665c890b3cb3e59ed7603a00130f0eab;p=melted diff --git a/src/modules/avformat/Makefile b/src/modules/avformat/Makefile index 0007fd9..5c8b8af 100644 --- a/src/modules/avformat/Makefile +++ b/src/modules/avformat/Makefile @@ -1,16 +1,23 @@ include ../../../config.mak include config.mak +ifndef CODECS +TARGET = ../libmltffmpeg$(LIBSUF) +else TARGET = ../libmltavformat$(LIBSUF) +endif -OBJS = factory.o \ - filter_avcolour_space.o \ - filter_avresample.o \ - filter_avdeinterlace.o +OBJS = factory.o +ifdef FILTERS +OBJS += filter_avcolour_space.o \ + filter_avresample.o \ + filter_avdeinterlace.o ifdef SWSCALE OBJS += filter_swscale.o endif +CFLAGS += -DFILTERS +endif ifdef CODECS OBJS += producer_avformat.o \ @@ -58,7 +65,7 @@ distclean: clean clean: #if [ $(LOCAL_FFMPEG) ] ; then $(MAKE) -C ffmpeg clean ; fi - rm -f $(OBJS) $(TARGET) + rm -f $(OBJS) ../libmltffmpeg$(LIBSUF) ../libmltavformat$(LIBSUF) install: all install -m 755 $(TARGET) "$(DESTDIR)$(libdir)/mlt" @@ -67,6 +74,7 @@ install: all uninstall: rm "$(DESTDIR)$(libdir)/mlt/libmltavformat$(LIBSUF)" + rm "$(DESTDIR)$(libdir)/mlt/libmltffmpeg$(LIBSUF)" rm -rf "$(DESTDIR)$(prefix)/share/mlt/avformat" ifneq ($(wildcard .depend),)